[U-Boot] Implementing spl_start_uboot() for directly booting linux

Heshsham Abdul Basit hf.basit at gmail.com
Wed Jul 30 10:21:23 CEST 2014


Hello,

I am trying to directly boot the kernel i.e without u-boot, on my
Xilinx Zynq based microzed board.


I understand that for that I must implement the function
spl_start_uboot() in spl.c



Right now the definition is:



#ifdef CONFIG_SPL_OS_BOOT
int spl_start_uboot(void)
{
/* boot linux */
return 0;
}
#endif


Given here:
https://github.com/Xilinx/u-boot-xlnx/blob/2a0536fa48db1fc5332e3cd33b846d0da0c8bc1e/arch/arm/cpu/armv7/zynq/spl.c


Can someone explain how to implement this function for directly
booting the kernel?  Actually till now all the boards I have searched
have not implemented this function, So if you can provide any example
board implementation , it would give me a clear picture of how to do
this for my zynq board.

Thanks in advance,


Abdul Basit


More information about the U-Boot mailing list