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.

Does start_kernel will be called from u-boot

Hi Experts,

I am using AM335x EVMSK.

From the vmlinux binary it is observed that the code starts at the arch/arm/kernel/head.S but while loading zImage from u-boot the startup code will be executed or straightaway the start_kernel() function will be invoked ?

Is it possible to customize the u-boot and change the function being invoked ?

  • Hi,

    The u-boot at the end executes the 'bootcmd' environment variable, Usually this command is to load the kernel image from some source(flash/sd/network...) and keep it into the RAM at particular address, the compressed image is decompressed into RAM and
    and then finally the start_kernel() function will be invoked.

    Cheers,
    --Prabhakar Lad