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
  Reply
#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


  Reply
#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 A64 IRC channel >>
  Reply
#4
Sunxi just submit the uboot and SPL to mainline. This prepare in near future, PINE A64 will able to boot form USB Flesh.
  Reply
#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


  Reply
#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.
  Reply
#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?
  Reply
#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.
  Reply
#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


  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Pine A64 stuck in boot process joey 1 172 05-28-2019, 09:07 PM
Last Post: joey
  Pine64 not powering up. skylab 5 391 05-03-2019, 02:48 PM
Last Post: Mendota
  Pine64 LTS vs Rock64 4 GB LTS gops 2 191 04-15-2019, 10:56 AM
Last Post: gops
Thumbs Down Pine64 was a Useless Project pushpendrak 14 3,124 03-07-2019, 08:48 AM
Last Post: dkryder
  Won't power on/boot -- kickstarter A64 2GB fuzzycuffs 3 1,031 02-22-2019, 03:25 AM
Last Post: GaryFunk
  boot loop with lcd plugged in drock 0 180 01-09-2019, 01:37 AM
Last Post: drock
  usb 3.0 external hard drive not recognized. eclay 2 276 11-23-2018, 10:30 AM
Last Post: eclay
  Pine64+ 2GB board for sale with WiFi module and case ~clumsy~ 1 408 10-21-2018, 04:54 AM
Last Post: aeiltz
  LED flashes for 1 second, board won't boot Audioslave 2 304 08-02-2018, 10:28 PM
Last Post: tllim
  Video Chat with Pine64 mathiraj 0 246 07-02-2018, 02:33 PM
Last Post: mathiraj

Forum Jump:


Users browsing this thread: 1 Guest(s)