[meta-xilinx] u-boot SPL from QSPI flash

Alan DuBoff aland at softorchestra.com
Tue Feb 25 11:21:08 PST 2014


On Tue, February 25, 2014 7:13 am, Mike Looijmans wrote:
> I boot from SD card, and program the flash from within linux using "flashcp"
> and "ubiformat" commands.

Ok, I will need to look at those. I have seen them in the repo, and have heard
some people mention them, but flashcp didn't work for me on the Enclustra SoC
last year, and I haven't looked at it since.

> Takes less than half a minute to completely replace the kernel and rootfs.

I would be fine with that.

> For speedy booting, put the bootloaders in the QSPI flash, and set the jumpers
> to boot from flash.
>
> My patches made it so that u-boot will still look for an "autorun.scr" on the
> SD card, so you can boot from SD while getting the bootloader from flash.

Ok, that is the best of both worlds as I would like to have it. I will look at
doing just this...

> I plan on adding UBI support to the bootloader. Then all the partitions -
> except the bootloader ones - can be replaced with one big ubi volume.
>
> This will increase the boot time a bit, but allows everything (fpga image,
> kernel, devicetree) to just live inside the filesystem, and give much better
> wear leveling.

Yes, that would be ideal!

Thanks for all your hard work. I have both an 010 and an 020 microZed on the
way to me I'm told. These same files should work on the 010 from what I have
read. Is that correct ?

-- 
Cheers,
Alan




More information about the meta-xilinx mailing list