- vmlinux is an ELF file not a binary.
vmlinux is an ELF file not a binary.
- 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
To run zImage, you need to move pc(program counter) to the first point of zImage.$kernel/arch/arm/boot/zImagein 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.