Notice: Trying to access array offset on value of type bool in /srv/www/vhosts/openpandora.org/domains/bugs.openpandora.org/httpdocs/scripts/details.php on line 649 FS#226 : Boot from /dev/sda devices requested

OpenPandora Main OS

  • Status Closed
  • Percent Complete
    100%
  • Task Type Feature Request
  • Category Core
  • Operating System Release 1 (Zaxxon)
  • Severity High
  • Reported Version Hotfix 5
Attached to Project: OpenPandora Main OS
Opened by Matt Lewis - 30.03.2011
Last edited by John Willis - 18.01.2012

FS#226 - Boot from /dev/sda devices requested

Boot from usb hard disk not supported. This should be a rather simple fix of adding the sdx devices and adjust the boot scripts?? I was able to put this autoboot.txt on mmc 0:1 setenv bootargs debug root=/dev/sda1 rw rootdelay=2 console=ttyS0,115200n8 vram=6272K omapfb.vram=0:3000K ext2load sda 0:1 0x80300000 /boot/uImage bootm 0x80300000 This failed with amongst other things "Block device sda 0 not supported" and something about failing to load kernel So I then changed the autoboot file to this setenv bootargs debug root=/dev/sda1 rw rootdelay=2 console=ttyS0,115200n8 vram=6272K omapfb.vram=0:3000K ext2load mmc 0:3 0x80300000 /boot/uImage bootm 0x80300000 All this did was die after the kernel loaded. I believe I could much better make use of this device if I could boot from some faster storage, please advise :)
Closed by  John Willis
18.01.2012 11:22
Reason for closing:  Won't implement
Additional comments about closing:  Adding USB host boot support directly to U-Boot has proved to be very troublesome. We looked extensively at doing this however our compromise solution was to support the boot and autoboot files. Currently the best solution is to use the working autoboot.txt as suggested by Matt Lewis. The rootdelay may be shortened a little depending on the USB HDD (some take more time to settle than others). I would suggest this is moved to the Wiki http://pandorawiki.org/ as a tip for booting off USB and closed as an issue report. Regards, John Willis
Matt Lewis commented on 30.03.2011 23:34
WooHoo, I got it to work, update, I was able to boot from sda1 with the following autoboot.txt, notice the rootdelay upped to 10 to allow the usb drive to settle. setenv bootargs debug root=/dev/sda1 rw rootdelay=10 console=ttyS0,115200n8 vram=6272K omapfb.vram=0:3000K ext2load mmc 0:3 0x80300000 /boot/uImage bootm 0x80300000 Would still be nice if it supported just like the mmc, but this works, flaws it needs a SD partition to work
Matt Lewis commented on 05.05.2011 19:17
Additionally it would be nice to boot from extended partitions as well as mmc1 partitions and extended
Admin
Stefan Nowak commented on 08.07.2011 21:26
@Matt: Thanks for your workaround! @Devs: Would indeed be nice, if we would not need an auxiliary SD card to contain a boot.txt, which then refers to the USB volume, but if the boot selection menu (which comes after you boot and hold the right shoulder button) would natively support listing USB volumes as boot volumes.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing