Will the Pine64 boot from a USB Flash drive?
#1
Hi group,
The title says it all.  Dose the Pine64 support USB booting??
Also is there BIOS access?  Can the BIOS be modified through the console/keyboard?
William Estrada
http://Mt-Umunhum-Wirelss.net
Skype: MrUmunhum
#2
It does not boot from a USB, you can however move rootfs to a USB drive or HDD. 
BIOS ? Not sure what you are asking about - this is a SBC.  Take a look here. You can modify parameters in the /boot partition. What are you trying to achieve ?
You can find me on IRC, Discord and Twitter


#3
As far as I know A64 boots from either Flash, eMMC or SD-Card, the only thing that is possible via the OTG USB port is to boot into FEL mode for recovery. As Luke said, you can have your root filesystem on a USB device or even on a network share as long as you boot at least u-boot from Flash, eMMC or a SD-Card.
Come have a chat in the Pine IRC channel >>
#4
Sunxi just submit the uboot and SPL to mainline. This prepare in near future, PINE A64 will able to boot form USB Flesh.
#5
(01-20-2017, 08:05 PM)tllim Wrote: Sunxi just submit the uboot and SPL to mainline. This prepare in near future, PINE A64 will able to boot form USB Flesh.

Pretty cool Smile
You can find me on IRC, Discord and Twitter


#6
Armbian build for Pine64 is already prepared for SPL USB-Boot. It requires a small SPI-NOR flash connected to the header and having u-boot-sunxi-with-spl.bin flashed into it.
Then, it can boot from USB drive.
#7
I found this on Raspberry Pi 3. You can change the bootmode to boot directly from USB.
https://github.com/raspberrypi/documenta...des/msd.md
Is this possible on Pine64+?
Does the speed on the USB (maybe with a 3.0 drive on 2.0 interface) is faster than MicroSD cards?
#8
(05-23-2017, 11:57 AM)Luke Wrote:
(05-23-2017, 11:46 AM)alevecchio Wrote: I found this on Raspberry Pi 3. You can change the bootmode to boot directly from USB.
https://github.com/raspberrypi/documenta...des/msd.md
Is this possible on Pine64+?
Does the speed on the USB (maybe with a 3.0 drive on 2.0 interface) is faster than MicroSD cards?

You can move rootfs to a USB 2.0 drive and use that - if its a decent drive then it ought to be considerably faster than an average SD card. As for uboot, to my knowledge it needs to sit on a SD or eMMC. I belive that Lenny wrote up a tutorial long time ago, but couldnt find it ... if someone digs it up then please link it below.

I am running tests with sysbench to choose the SD card i will use. I will try with USB too. Does the SD card have influence on system speed with rootfs on USB? Or can i use a very basic one (class4) because will be used just for /boot?
I made some CPU tests and is much faster than Raspberry Pi 3. More than 10 times! I am setting up a simple LAMP server.
#9
For a LAMP server moving to a USB stick is a good idea - for more reasons than one (but thats besides the point). As a side-note, I run a LAMP server too on a 512 board for over a year now and it works great.
No, having the bootloader on a slow card will not influence system performance (other than boot time by a sec or two? - not sure).
Also, you responded before I edited in the link to how to move rootfs to a USB stick - so see the edit.
You can find me on IRC, Discord and Twitter




Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine A64+ vs LCD do not boot DDS 3 1,978 02-23-2021, 05:33 PM
Last Post: thedu
Thumbs Down Pine64 was a Useless Project pushpendrak 18 13,208 11-21-2020, 10:17 PM
Last Post: tllim
  Pine64 LCD rstcologne 0 1,273 09-22-2020, 12:43 PM
Last Post: rstcologne
  Pine64+ power button PaddyChan 0 928 09-14-2020, 09:55 AM
Last Post: PaddyChan
Exclamation Can't boot when SD card inserted kivox 5 2,824 03-15-2020, 06:00 AM
Last Post: kivox
  Pine64 OS dpcons 2 1,869 03-02-2020, 04:32 PM
Last Post: dpcons
  Jailhouse supports Pine64+ vj-kumar 0 1,152 02-17-2020, 11:39 PM
Last Post: vj-kumar
  Boot from HDD via usb BnEc 1 1,435 11-29-2019, 04:39 AM
Last Post: evilbunny
  PINE64 board not powering up loki21century 2 2,366 11-25-2019, 12:19 PM
Last Post: Partymack711
  Pine A64 stuck in boot process joey 1 1,509 05-28-2019, 09:07 PM
Last Post: joey

Forum Jump:


Users browsing this thread: 1 Guest(s)