public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] questions on SPL
@ 2017-12-13 14:20 herbert
  2017-12-18  9:38 ` Lukasz Majewski
  0 siblings, 1 reply; 2+ messages in thread
From: herbert @ 2017-12-13 14:20 UTC (permalink / raw)
  To: u-boot

Hi

I am very sorry to ask this simple question. I read a lot of document 
and googled online, but I still feel puzzled by the SPL of U-Boot.


I has an ancient SoC s3c2440 which is armv4t architecture. s3c2440 will 
copy the first 4K code on NAND to static SRAM. It is obvious that u-boot 
bin is bigger than 4K. so Here is my question:

1. In this condition, do I must compile a SPL bin? and flash it to the 
first page of NAND flash. if it's, I think the SPL should be less than 
4K, or it's meaningless, It still need to copy remain content, and has 
no difference with a single u-boot.

2. can I only compile a regular u-boot and do copy work and relocate 
work at this single u-boot. namely, merge SPL and regular u-boot, does 
u-boot support this framework?


thanks very much!

 From 袁建鹏 (Yuan Jianpeng)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] questions on SPL
  2017-12-13 14:20 [U-Boot] questions on SPL herbert
@ 2017-12-18  9:38 ` Lukasz Majewski
  0 siblings, 0 replies; 2+ messages in thread
From: Lukasz Majewski @ 2017-12-18  9:38 UTC (permalink / raw)
  To: u-boot

On Wed, 13 Dec 2017 22:20:57 +0800
herbert <yuanjp@hust.edu.cn> wrote:

> Hi
> 
> I am very sorry to ask this simple question. I read a lot of document 
> and googled online, but I still feel puzzled by the SPL of U-Boot.
> 
> 
> I has an ancient SoC s3c2440 which is armv4t architecture. s3c2440
> will copy the first 4K code on NAND to static SRAM. It is obvious
> that u-boot bin is bigger than 4K. so Here is my question:
> 

It is very unlikely that the 4K that you load is the SPL.

It may be a bl1 image, which is crafted by SoC vendor and needs to be
signed.

I can only recommend looking on the old u-boot from the board BSP and
check what is going on.

IIRC the s3c2440 is not supported by u-boot anymore.

> 1. In this condition, do I must compile a SPL bin? and flash it to
> the first page of NAND flash. if it's, I think the SPL should be less
> than 4K, or it's meaningless, It still need to copy remain content,
> and has no difference with a single u-boot.
> 
> 2. can I only compile a regular u-boot and do copy work and relocate 
> work at this single u-boot. namely, merge SPL and regular u-boot,
> does u-boot support this framework?
> 
> 
> thanks very much!
> 
>  From 袁建鹏 (Yuan Jianpeng)
> 
> 
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot



Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171218/2789258e/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-18  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-13 14:20 [U-Boot] questions on SPL herbert
2017-12-18  9:38 ` Lukasz Majewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox