U-Boot for A64 git
#26
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


Messages In This Thread
U-Boot for A64 git - by longsleep - 01-09-2016, 01:11 AM
RE: U-Boot for A64 git - by longsleep - 02-07-2016, 11:44 AM
RE: U-Boot for A64 git - by taros - 02-08-2016, 04:48 PM
RE: U-Boot for A64 git - by taros - 02-07-2016, 04:39 PM
RE: U-Boot for A64 git - by longsleep - 02-08-2016, 02:52 PM
RE: U-Boot for A64 git - by longsleep - 02-08-2016, 05:17 PM
RE: U-Boot for A64 git - by patrickhwood - 02-08-2016, 11:08 PM
RE: U-Boot for A64 git - by taros - 02-09-2016, 10:39 AM
RE: U-Boot for A64 git - by longsleep - 02-09-2016, 04:19 PM
RE: U-Boot for A64 git - by longsleep - 02-14-2016, 02:48 AM
RE: U-Boot for A64 git - by longsleep - 02-21-2016, 06:27 AM
RE: U-Boot for A64 git - by longsleep - 02-27-2016, 06:46 AM
RE: U-Boot for A64 git - by tllim - 02-27-2016, 02:14 PM
RE: U-Boot for A64 git - by longsleep - 03-04-2016, 03:23 PM
RE: U-Boot for A64 git - by longsleep - 03-06-2016, 10:09 AM
RE: U-Boot for A64 git - by longsleep - 03-12-2016, 03:25 AM
RE: U-Boot for A64 git - by longsleep - 03-19-2016, 03:40 PM
RE: U-Boot for A64 git - by longsleep - 04-03-2016, 04:59 AM
RE: U-Boot for A64 git - by longsleep - 04-23-2016, 01:29 PM
RE: U-Boot for A64 git - by rahlquist - 04-23-2016, 02:17 PM
RE: U-Boot for A64 git - by rhkean - 04-29-2016, 01:57 PM
RE: U-Boot for A64 git - by longsleep - 04-29-2016, 02:02 PM
RE: U-Boot for A64 git - by rhkean - 04-29-2016, 05:17 PM
RE: U-Boot for A64 git - by rhkean - 04-29-2016, 08:16 PM
RE: U-Boot for A64 git - by rhkean - 05-02-2016, 07:21 AM
RE: U-Boot for A64 git - by spezi - 05-10-2016, 01:13 PM
RE: U-Boot for A64 git - by longsleep - 05-10-2016, 01:29 PM
RE: U-Boot for A64 git - by spezi - 05-11-2016, 01:03 PM
RE: U-Boot for A64 git - by jozzy - 05-12-2016, 02:45 AM
RE: U-Boot for A64 git - by mont3z - 05-29-2016, 10:59 AM
RE: U-Boot for A64 git - by longsleep - 05-29-2016, 11:02 AM
RE: U-Boot for A64 git - by mont3z - 05-29-2016, 08:17 PM
RE: U-Boot for A64 git - by mont3z - 06-02-2016, 12:26 PM
RE: U-Boot for A64 git - by longsleep - 06-19-2016, 09:34 AM
RE: U-Boot for A64 git - by longsleep - 03-11-2017, 12:10 PM
RE: U-Boot for A64 git - by ak_hepcat - 03-21-2017, 12:36 PM
RE: U-Boot for A64 git - by longsleep - 03-21-2017, 01:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine Board using linux stuck during boot sequence ktaragorn 4 8,044 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Secure boot & OTP efuse program devangpanchal90 0 2,573 05-25-2018, 01:59 AM
Last Post: devangpanchal90
  boot process for pine a64 awaysu 1 4,360 01-24-2018, 05:09 AM
Last Post: xalius
  Can't boot headless after running update_uboot.sh Borglesnorgle Williams 2 4,201 08-17-2017, 04:08 AM
Last Post: Borglesnorgle Williams
Exclamation Pine A64 Plus Fails to Boot grobbs 35 40,437 06-28-2017, 08:53 AM
Last Post: sarav_sara
  Boot issues: What todo when you muck up your FSTAB file Dagremote 1 3,708 04-16-2017, 10:28 PM
Last Post: pfeerick
Question Pine64 cannot boot jamiechang917 6 9,519 04-16-2017, 10:21 PM
Last Post: pfeerick
  OpenWRT supports ARMv8 - arm64, u-boot problem? rgdonato 4 6,669 03-20-2017, 03:59 PM
Last Post: rgdonato
  USB OTG Boot devilsclaw 25 38,565 03-01-2017, 03:22 PM
Last Post: CaptainZalo
  How to boot alternative kernel image with u-boot? zhouer 3 6,743 06-27-2016, 04:15 AM
Last Post: ssvb

Forum Jump:


Users browsing this thread: 2 Guest(s)