public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [SPL mode] Question
@ 2012-11-15 15:51 Lukasz Majewski
  2012-11-15 16:32 ` Andreas Bießmann
  2012-11-15 16:43 ` Stefano Babic
  0 siblings, 2 replies; 4+ messages in thread
From: Lukasz Majewski @ 2012-11-15 15:51 UTC (permalink / raw)
  To: u-boot

Hi Stefano,

I've got some questions about Falcon mode and spl export command.

I've looked into the ./common/cmd_spl.c at master branch
SHA1: 59852d03867108217fe88e3bfc3e1e9cedfe63c5

Correct me if I'm wrong (or I've overlooked something). 
It looks that, this file version is a very early version. 

After reading "Falcon" mode README - I'd expect, that "spl export" will
write either ATAGS or FDT to NAND (or any other memory).
For this file it doesn't do that. Am I missing some additional patches?

Since you stated, that Falcon mode is only (now) supported on NAND
memory, I'd like to ask if it is acceptable to extend cmd_spl.c to
write ATAGS/FDT image to eMMC or (better) to partition formatted as EXT4
of FAT?

I can imagine a following scenario:

1. Use u-boot to generate ATAGS (from bootcmd args defined for board
or cmd line parameters) or FDT blob with "spl export". Store it on a
partition or eMMC.

2. Use SPL (second stage bootloader) to parse this blob, place ATAGS or
FDT accordingly, read uImage and pass execution to it.

What is your opinion?


-- 
Best regards,

Lukasz Majewski

Samsung Poland R&D Center | Linux Platform Group

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

end of thread, other threads:[~2012-11-16 10:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-15 15:51 [U-Boot] [SPL mode] Question Lukasz Majewski
2012-11-15 16:32 ` Andreas Bießmann
2012-11-16 10:59   ` Lukasz Majewski
2012-11-15 16:43 ` Stefano Babic

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