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
Question External storage problem for pine64 Dani6102 4 2,662 08-22-2023, 08:36 AM
Last Post: gulshan212
  PINE A64 SBC: Clone of a functional 32GB SD card doesn't boot burningkrome 3 2,484 05-19-2023, 07:43 AM
Last Post: crocspot
  Pine A64 does only boot with Android 5.1 Dude 6 5,033 07-03-2022, 02:18 PM
Last Post: Dude
  Pine64 as wireless audio device S265 3 4,145 04-07-2022, 10:39 PM
Last Post: S265
  Pine64(+) and manjaro dsychan 0 1,468 04-05-2022, 11:32 PM
Last Post: dsychan
  Pine A64+ vs LCD do not boot DDS 3 6,881 02-23-2021, 05:33 PM
Last Post: thedu
Thumbs Down Pine64 was a Useless Project pushpendrak 18 32,278 11-21-2020, 10:17 PM
Last Post: tllim
  Pine64 LCD rstcologne 0 3,454 09-22-2020, 12:43 PM
Last Post: rstcologne
  Pine64+ power button PaddyChan 0 3,145 09-14-2020, 09:55 AM
Last Post: PaddyChan
Exclamation Can't boot when SD card inserted kivox 5 9,100 03-15-2020, 06:00 AM
Last Post: kivox

Forum Jump:


Users browsing this thread: 1 Guest(s)