Boot from SD card / boot options
#1
Lightbulb 
Can someone please tell me how to boot from SD card on the pinebook? Is there documentation on boot mode / options somewhere? I guess there's Uboot at work but I don't know how to access the bootloader etc.

EDIT: okay, so you just have to insert an sd card with a proper pinebook image into the sd card slot and power up the device. nice. right now I'm testing android 7.1 running from an sd card.
#2
You can read all about how A64 boots and the different firmware parts involved at the http://linux-sunxi.org/Pine64 wiki. Generally A64 boots from it's internal ROM first then checks if there is a boot0 binary at a certain location of the SPI Flash/SDcard/eMMC module, if that is valid, the boot0 binary will initialize DRAM and hand over to u-boot and the ATF, which in turn boot Linux/Android/BSD/....

You can find all the different parts and sourcecode for the Android/Linux images at some community github repos, like

https://github.com/ayufan-pine64
https://github.com/longsleep/build-pine64-image

Code:
A64 boot-> check fel key pressed (yes)--> FEL mode (boot from USB OTG)
                         \  
                     (no) \
                           \-------> 1) try to boot from SMHC0 (SD card)
                                     2) try to boot from SMHC2 (eMMC)
                                     3) try to boot from SPI0 (SPI NOR Flash)
                                     4) FEL mode (boot from USB OTG)
Come have a chat in the Pine IRC channel >>
#3
(06-16-2017, 02:54 PM)xalius Wrote: You can read all about how A64 boots and the different firmware parts involved at the http://linux-sunxi.org/Pine64 wiki. Generally A64 boots from it's internal ROM first then checks if there is a boot0 binary at a certain location of the SPI Flash/SDcard/eMMC module, if that is valid, the boot0 binary will initialize DRAM and hand over to u-boot and the ATF, which in turn boot Linux/Android/BSD/....

You can find all the different parts and sourcecode for the Android/Linux images at some community github repos, like

https://github.com/ayufan-pine64
https://github.com/longsleep/build-pine64-image

Code:
A64 boot-> check fel key pressed (yes)--> FEL mode (boot from USB OTG)
                         \  
                     (no) \
                           \-------> 1) try to boot from SMHC0 (SD card)
                                     2) try to boot from SMHC2 (eMMC)
                                     3) try to boot from SPI0 (SPI NOR Flash)
                                     4) FEL mode (boot from USB OTG)

Yeah, exactly what I was looking for. Thank you for providing me the details!
#4
My Pinebook wont boot from SD, just gives me a blank screen, but i know the screen works...

I used the pine version of etcher to burn the SD and the SD has been used for lots of other things in the past, any ideas anybody?
#5
(05-17-2019, 08:35 AM)DannyJack Wrote: My Pinebook wont boot from SD, just gives me a blank screen, but i know the screen works...

I used the pine version of etcher to burn the SD and the SD has been used for lots of other things in the past, any ideas anybody?

Which image are you trying to boot? is this one of the new 1080p Pinebooks ?
You can find me on IRC, Discord and Twitter


#6
I have exactly the same symptom/problem as DannyJack, see: https://forum.pine64.org/showthread.php?tid=7507 in the linux section of the forum.

Maybe its caused by an old sd-card? Did you try a new one? That's the next step I'm going to try......

Update: i tried the q40s image for 1080 pinebook and it works!!!!
#7
I tried the following image: https://sourceforge.net/projects/q4os/fi...p/download

And it booted!

I very much like Q4OS!!! I only use it for a few days now, but I'm impressed by the pretty looks and the performance (although booting from microSD is pretty slow).
#8
I cannot get the Pinebook 1080 to boot to MicroSD card using the Q40 image with Etcher. Tried multiple SD cards as well. Is there anywhere I can check my system boot options? I have a feeling it is not even trying to boot to MicroSD.
#9
(11-23-2019, 01:10 PM)ryannshit Wrote: I cannot get the Pinebook 1080 to boot to MicroSD card using the Q40 image with Etcher. Tried multiple SD cards as well. Is there anywhere I can check my system boot options? I have a feeling it is not even trying to boot to MicroSD.
.

Tried Neon as well and it will not boot to SD Card. Etcher shows it writes to SD successfully , the card mounts and shows up on the Pinebook, but it wont boot.
#10
(11-23-2019, 03:08 PM)ryannshit Wrote:
(11-23-2019, 01:10 PM)ryannshit Wrote: I cannot get the Pinebook 1080 to boot to MicroSD card using the Q40 image with Etcher. Tried multiple SD cards as well. Is there anywhere I can check my system boot options? I have a feeling it is not even trying to boot to MicroSD.
.

Tried Neon as well and it will not boot to SD Card. Etcher shows it writes to SD successfully , the card mounts and shows up on the Pinebook, but it wont boot.

Purchased new Samsung Evo SDHC 32gb cards and still a no go! What am I doing wrong here? Is there a way to check or configure the boot order somehow?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Booting with TOC0 u-boot -- should it work? dreadbit 0 1,051 11-24-2022, 10:19 AM
Last Post: dreadbit
  Few questions about flashing to a MicroSD card on the Pinebook Pro SanjevR 6 11,085 12-07-2020, 04:02 PM
Last Post: SanjevR
  eMMC boot linux distros for Pinebook. frank-zappa 14 23,345 09-06-2019, 08:39 AM
Last Post: frank-zappa
  Link to 11.6 pinebook mainboard schematics for removing wifi card Shoananas 0 2,184 05-19-2019, 04:46 PM
Last Post: Shoananas
  Is it possible to choose between SD/eMMC boot programmatically? UltraBloxX 2 5,387 01-28-2019, 11:41 AM
Last Post: UltraBloxX
  [SOLVED] Can't boot when SD card inserted jschall 5 8,841 11-17-2018, 11:53 AM
Last Post: jschall
  Boot from MicroSD ramboton 3 6,050 11-16-2018, 06:04 PM
Last Post: Luke
  How to mount new microSD card? jschall 8 9,997 11-12-2018, 11:04 AM
Last Post: jschall
  Move Installation from SD Card to eMMC? soupbowl 4 9,702 11-10-2018, 10:47 AM
Last Post: acruhl
  Dual Boot on eMMC? d97 1 3,893 08-30-2017, 10:04 AM
Last Post: abrmx

Forum Jump:


Users browsing this thread: 1 Guest(s)