On Wed, Jul 20, 2011 at 3:53 PM, Hamo hamo.by@gmail.com wrote:
On Wed, Jul 20, 2011 at 11:29 PM, Bari Ari bari@onelabs.com wrote:
http://www.mini-box.com/mini2440v2 is an old ARM9 dev board that is still readily available the uses a 2MB NOR Flash for init and bootloader. Most ARM systems that will make use of coreboot won't have a separate SPI or NOR flash to hold the init and bootloader. But you have to start somewhere. We'll just have to make this work from on-board NAND, eMMC or SD Card later.
If we don't add romstage to the romfile and don't compress the ramstage since the decompress code is too big for bootblock we can boot from the NAND Flash or SD card. In the ramstage, we init the Flash controller so that we can read the payload and kernel from the NAND flash later. I don't test my thought yet. Maybe it doesn't work for that I may assume something like we have a romstage in my code.
Why would you exclude romstage? What will setup the RAM? bootblock? i suspect that the stuff you are doing in bootblock should be done in romstage.
Marc