Hi Marek,
Thanks for your reply! I hope you don't mind me writing a bit longer question for you.
Currently, we're not using uboot, but imx bootlets to boot from memory card. However,we're now planning to move to u-boot, since it's much more modern system, with an active development community.
You mention that we could move our bootstream to spi flash, but is it really that simple ?
I have couple of concerns:
- If we would move to u-boot, it's my understanding that uboot & spi on mx23 is not yet fully supported ? There is some work going on by Otavio Salvatore on this, but it doesnt seem to yet be complete.
- And if I would keep using the bootlets option from Freescale, I guess the currently elftosb2 tool generated sd_mmc_bootstream.raw can't be used as is in SPI flash ? Or maybe I'm still confused by something here, and I should study this area more.
Anyhow, I would prefer to move to u-boot, since it seems to have much more support, and could provide a good knowledge also for future.
In general, this may sound like a silly question, but I noticed you have done quite a bit of work in this arena (ie. usb loader fox mx23), so maybe you could give some hint: How do I specify "partitions" in SPI flash ? I know that in memory card it's a bit different because of that flash transition layer, and you can create normal partitions in fdisk for kernel and then rootfs, but for flash, and SPI flash in particularly, I'm not really yet sure...
So for example, first needs to be loader of course, let's say u-boot, then zImage with dtb, but how about rootfs ? How does kernel know where to find it ? Am I just confusing myself with irrelevant details ?
Thank you!