Skip to main content
added 28 characters in body
Source Link
GAD3R
  • 69.9k
  • 32
  • 147
  • 216
  1. vmlinux is an ELF file not a binary.

    vmlinux is an ELF file not a binary.

  2. kernel build may create zImage, that is a binary file. You can find it at $kernel/arch/arm/boot/zImage in case of ARM. Keep in mind that zImage is a zip compressed binary file and a header is attached at the top of zImage. With this header, zImage can decompress by itself.

    kernel build may create zImage, that is a binary file. You can find it at $kernel/arch/arm/boot/zImage in case of ARM. Keep in mind that zImage is a zip compressed binary file and a header is attached at the top of zImage. With this header, zImage can decompress by itself.

    To run zImage, you need to move pc(program counter) to the first point of zImage.

To run zImage, you need to move pc(program counter) to the first point of zImage.

  1. vmlinux is an ELF file not a binary.
  2. kernel build may create zImage, that is a binary file. You can find it at $kernel/arch/arm/boot/zImage in case of ARM. Keep in mind that zImage is a zip compressed binary file and a header is attached at the top of zImage. With this header, zImage can decompress by itself. To run zImage, you need to move pc(program counter) to the first point of zImage.
  1. vmlinux is an ELF file not a binary.

  2. kernel build may create zImage, that is a binary file. You can find it at $kernel/arch/arm/boot/zImage in case of ARM. Keep in mind that zImage is a zip compressed binary file and a header is attached at the top of zImage. With this header, zImage can decompress by itself.

To run zImage, you need to move pc(program counter) to the first point of zImage.

Source Link
yw_in_k
  • 308
  • 2
  • 7

  1. vmlinux is an ELF file not a binary.
  2. kernel build may create zImage, that is a binary file. You can find it at $kernel/arch/arm/boot/zImage in case of ARM. Keep in mind that zImage is a zip compressed binary file and a header is attached at the top of zImage. With this header, zImage can decompress by itself. To run zImage, you need to move pc(program counter) to the first point of zImage.