Search code examples
linuxlinux-kernelu-bootzynq

Zynq Linux Kernel Load address


I want to build linux for zed board. When I look into zynq-common.h file in u-boot/include/configs directory, I see that kernel_load_address is 0x02080000.

Why kernel load address is 0x02080000? What is the logic of it?

I am using version 2018.01. Value that I mentioned is "kernel_load_address=0x2080000" in CONFIG_EXTRA_ENV_SETTINGS


Solution

  • I don't think that's the actual load address. UBoot should load it to 0x8000 by default. It could be modified, but you arn't going to want to do that through the header files.

    (You shouldn't need to be looking at those files, especially not modifying them.)

    If you want to build the kernel for the zedboard, I reccomend following either of these guides: https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/linux/zynq_2014r2 https://highlevel-synthesis.com/2016/10/31/how-to-compile-xilinx-linux-kernel-for-zynq/

    You will also need the toolchains from Xilinx if you don't want to build the kernel on platform which will take 4-6 or more hours (I have had to do it before, not fun).