What *exactly* happens at boot?
#1
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.
#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.
#3
(06-06-2020, 04:00 PM)ollehar Wrote: What *exactly* happens at boot?

https://www.youtube.com/watch?v=-6Th8Nh0NY8?start=198

@tllim's matrix avatar getting busy
#4
(06-06-2020, 05:03 PM)pfeerick Wrote: 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.

Alright, maybe I have enough parts to start testing! Except the serial console cables. Have to order them, too.

> 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.

What does that mean, not enough interest? Too few sales?
#5
(06-07-2020, 03:34 AM)ollehar Wrote: What does that mean, not enough interest? Too few sales?

Can't say about sales, don't know about that. I mean developer level interest - people with enough knowledge to be able to fix up the DTS where it's broken, patch the kernel, drivers, etc.
#6
(06-07-2020, 04:15 PM)pfeerick Wrote:
(06-07-2020, 03:34 AM)ollehar Wrote: What does that mean, not enough interest? Too few sales?

Can't say about sales, don't know about that. I mean developer level interest - people with enough knowledge to be able to fix up the DTS where it's broken, patch the kernel, drivers, etc.

Ah ok


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

Forum Jump:


Users browsing this thread: 1 Guest(s)