Hi!
I wanted to leverage a little better I/O speed and mirrored the SD-card's root-fs to an USB flash drive stick and did some partitioning while I was at it ( dedicated /var/log and such ). Worked fine for my RPI2 so far, so I thought, it's worth a try.
The ext4 filesystem is happily located on /dev/sda1, mountable and looks perfectly healthy,
but I cannot figure out how to tell U-Boot to use it instead of /dev/mmcblk0p2
I tried several /boot/uEnv.txt parameters
Code:
root=/dev/sda1
nand_root=/dev/sda1
extraargs=root=/dev/sda1 rootwait rootfstype=ext4
and pretty much all combinations of the above I could come up with.
Still the pine keeps booting from root=/dev/mmcblk0p2, which also seems to be the default environment in U-Boot,which I found in longsleep's u-boot simpleimage of 23-Apr-2016
Code:
# dd if=simpleimage.img bs=1k skip=19096 count=1384 of=uboot.img
# strings uboot.img | grep mmcblk0p2
root=/dev/mmcblk0p2
Am I missing something in order to get /dev/sda1 to be used as rootFS?
Or does u-boot currently not honor the root/nand_root configuration option in uEnv.txt ?
Could also compile my own U-boot from longsleep's source and change the default environment...
Thanks for advice!
Thomas