From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Mon, 18 Dec 2017 10:38:18 +0100 Subject: [U-Boot] questions on SPL In-Reply-To: <66802d20-b938-54c3-3829-4326ac0ce3b4@hust.edu.cn> References: <66802d20-b938-54c3-3829-4326ac0ce3b4@hust.edu.cn> Message-ID: <20171218103818.30db5957@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Wed, 13 Dec 2017 22:20:57 +0800 herbert 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: