Boot from SD card / boot options
#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 >>


Messages In This Thread
Boot from SD card / boot options - by lodger - 06-16-2017, 11:56 AM
RE: Boot from SD card / boot options - by xalius - 06-16-2017, 02:54 PM
RE: Boot from SD card / boot options - by lodger - 06-17-2017, 04:45 AM
RE: Boot from SD card / boot options - by Luke - 05-17-2019, 09:05 AM
RE: Boot from SD card / boot options - by giel - 05-23-2019, 06:09 AM
RE: Boot from SD card / boot options - by giel - 05-27-2019, 08:23 AM
RE: Boot from SD card / boot options - by xalius - 11-25-2019, 07:35 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)