This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3358: SDK Linux kernel as compiled does not match prebuilt kernel binary

Part Number: AM3358

Hello,

I am compiling the Linux kernel using TI Processor SDK Linux am335x evm 08.02.00.24 on a x86 system running Ubuntu, for use on an AM3358 processor.

I follow the directions provided at https://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_Kernel_Users_Guide.html

Running

cd board-support/linux-5.10.100+gitAUTOINC+7a7a3af903-g7a7a3af903/
export PATH=/home/anya/cleansdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/:$PATH
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- distclean
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- tisdk_am335x-evm_defconfig
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- zImage
diff arch/arm/boot/zImage ../prebuilt-images/zImage-am335x-evm.bin

Returns

Binary files arch/arm/boot/zImage and ../prebuilt-images/zImage-am335x-evm.bin differ


Further, the provided image under prebuilt-images/zImage-am335x-evm.bin boots on the processor, but the compiled zImage hangs.

How do I reproduce the prebuilt kernel image?

Thank you kindly,

Anya

  • Hi Anya,

    Binary files arch/arm/boot/zImage and ../prebuilt-images/zImage-am335x-evm.bin differ

    The kernel image has build time signature which includes the timestamp when the image was compiled, so the zImage you built now won't be the same with which was built months ago.

    Further, the provided image under prebuilt-images/zImage-am335x-evm.bin boots on the processor, but the compiled zImage hangs.

    Are the file size different in both zImage?

    Please attach the full kernel boot log.