All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] questions on SPL
Date: Mon, 18 Dec 2017 10:38:18 +0100	[thread overview]
Message-ID: <20171218103818.30db5957@jawa> (raw)
In-Reply-To: <66802d20-b938-54c3-3829-4326ac0ce3b4@hust.edu.cn>

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>

      reply	other threads:[~2017-12-18  9:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-13 14:20 [U-Boot] questions on SPL herbert
2017-12-18  9:38 ` Lukasz Majewski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171218103818.30db5957@jawa \
    --to=lukma@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.