What *exactly* happens at boot?
#2
(06-06-2020, 04:00 PM)ollehar Wrote: It would be nice with precise documentation of what's happening during boot. So far, I couldn't find anything. Is there a BIOS or similar? What's the boot order? Can I modify it? What's the difference between with and without eMMC? And so on.

Processor on the sopine compute modules is the same as the pine64 - the A64. Meaning the boot order is

(06-16-2017, 02:54 PM)xalius Wrote:
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)

These are ARM processors - there is no BIOS with arm. There is uboot, which performs a similar role. Hopefully you have a serial console cable, or 3v3 compatible usb to serial adapter, as you really need that when starting out / debugging these boards.

You can't change the boot order, it's hard coded in the A64. But it can be effectively changed if you boot uBoot from the SPI chip, at which point uBoot determines the boot order. However, I don't know if this has been done with the sopine/clusterboard yet, so it could be murky territory!

Only the first slot has access to the eMMC. So if you have the eMMC populated, you don't have to have a bootable microSD in the first sopine module, unless you want to boot from SD, and use the eMMC as bulk storage.

The idea was that the first slot would be the master, and provide PXE network boot to the remaining six modules, but there hasn't been enough developer-level interest in the clusterboard for it to really take off as it should have.


Messages In This Thread
What *exactly* happens at boot? - by ollehar - 06-06-2020, 04:00 PM
RE: What *exactly* happens at boot? - by pfeerick - 06-06-2020, 05:03 PM
RE: What *exactly* happens at boot? - by ollehar - 06-07-2020, 03:34 AM
RE: What *exactly* happens at boot? - by pfeerick - 06-07-2020, 04:15 PM
RE: What *exactly* happens at boot? - by ollehar - 06-07-2020, 04:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Ways to boot the Clusterboard khaosgrille 6 7,768 06-17-2019, 10:20 AM
Last Post: khaosgrille
  Clusterboard issue: onboard leds off / no boot Mark88 12 13,955 05-20-2018, 12:27 AM
Last Post: Mark88
  First boot questions jgullickson 2 3,681 03-08-2018, 03:24 PM
Last Post: dkryder

Forum Jump:


Users browsing this thread: 1 Guest(s)