[U-Boot] problem on SPL build

Hi,
I'am studying on u-boot, and i am trying to port it on smdkc100. I setup cross-compile on ubuntu12.04 and build the u-boot, it works okay. But i have a problem on SPL build.
I hope you can help me to solve it, thanks!
problem:
insert file "smdkc100.h" at Line 25 #define CONFIG_SPL and then make distclean make smdkc100_config make all but get error: /u-boot-2014.01/arch/arm/lib/crt0.S:74: undefined reference to `board_init_f'

you can use board_init_f from arch/arm/lib/spl.c in SPL
2014-03-19 11:29 GMT+08:00 Simon shuminchen86@gmail.com:
Hi,
I'am studying on u-boot, and i am trying to port it on smdkc100. I setup cross-compile on ubuntu12.04 and build the u-boot, it works okay. But i have a problem on SPL build.
I hope you can help me to solve it, thanks!
problem:
insert file "smdkc100.h" at Line 25 #define CONFIG_SPL and then make distclean make smdkc100_config make all but get error: /u-boot-2014.01/arch/arm/lib/crt0.S:74: undefined reference to `board_init_f'
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

On 19/03/14 15:25, hua dillon wrote:
you can use board_init_f from arch/arm/lib/spl.c in SPL
2014-03-19 11:29 GMT+08:00 Simon shuminchen86@gmail.com:
Hi,
I'am studying on u-boot, and i am trying to port it on smdkc100. I setup cross-compile on ubuntu12.04 and build the u-boot, it works okay. But i have a problem on SPL build.
I hope you can help me to solve it, thanks!
problem:
insert file "smdkc100.h" at Line 25 #define CONFIG_SPL and then make distclean make smdkc100_config make all but get error: /u-boot-2014.01/arch/arm/lib/crt0.S:74: undefined reference to `board_init_f'
SPL is not supported at smdkc100. You can contribute on this. Patches always welcome.
Thanks, Minkyu Kang.

Hi Minkyu,
I want to try to support SPL at smdkc100, but I just a newer to u-boot and linux. I am afraid that it's a difficult job to me. Still, I will try. If you could contribute this, It will be a wonderful job.
Best regards, Simon
2014-03-19 18:17 GMT+08:00 Minkyu Kang mk7.kang@samsung.com:
On 19/03/14 15:25, hua dillon wrote:
you can use board_init_f from arch/arm/lib/spl.c in SPL
SPL is not supported at smdkc100. You can contribute on this. Patches always welcome.
Thanks, Minkyu Kang.
participants (3)
-
hua dillon
-
Minkyu Kang
-
Simon