Boot process
#6
(06-14-2020, 04:38 PM)Arwen Wrote:
(06-14-2020, 04:18 PM)bero Wrote: Hi,
thanks! This is already very useful. Where does idbloader come from? (I presume I could just copy it off EMMC and into the SD card, but that's not really the idea...)

Same for TrustedFirmware-A: Is it this? https://github.com/ARM-software/arm-trusted-firmware

Or do I need to find a fork that supports the right SoC?

Also, if in the first step I decide not to mess with the bootloader, what files on the SD card does the preloaded bootloader try to use?
The idbloader comes from building U-Boot. I don't know for certain what it is, but I think it's the initialization code for the SoC.

The TrustedFirmware-A can come from multiple places. It appears to be the run code for the management processors. Meaning after boot, what the management processors actually do. Again I am not certain.

Anyway, their are multiple places to start with U-Boot. Eventually I'd like that Wiki page to describe how to build mainline U-Boot, with USB & NVMe support. As well as how to use Grub, with video & keyboard support, as a target. Make it work a bit like x86/x64 PCs.

@Syonyk - After they changed the Wiki to the new cluster server, I was forced to change my password on the Wiki. But not on the Forum site. So I am guessing something is broke between them. Simply report it.
idbloader is a sort-of boot loader for u-boot. it doesn't really do much else.

The SoC gets initialized by the boot rom and once it's initialized, whatever is located at block 64 starts to run by convention. that's why we dd idbloader with a seek=64 command. since we got no complex file system, it's formated in a FAT format. that limits the available addressable space which is the reason we have a bootloader for our bootloader/firmware (the u-boot binary). usb/nvme/video/keyboard/pxe/... and the u-boot shell is implemented inside the u-boot binary and the rest of the hardware gets initialized. then the kernel is loaded into memory and control over hardware is turned over to the kernel/init.


Messages In This Thread
Boot process - by bero - 06-14-2020, 07:51 AM
RE: Boot process - by Arwen - 06-14-2020, 12:13 PM
RE: Boot process - by bero - 06-14-2020, 04:18 PM
RE: Boot process - by Arwen - 06-14-2020, 04:38 PM
RE: Boot process - by matosys - 06-14-2020, 04:57 PM
RE: Boot process - by Syonyk - 06-14-2020, 02:24 PM
RE: Boot process - by 65a - 06-19-2020, 11:28 PM
RE: Boot process - by CLC - 08-01-2020, 10:13 AM
RE: Boot process - by CLC - 08-02-2020, 01:32 AM
RE: Boot process - by wdt - 08-01-2020, 12:13 PM
RE: Boot process - by wdt - 08-02-2020, 12:38 PM
RE: Boot process - by as400 - 08-06-2020, 01:55 AM
RE: Boot process - by cefre00 - 10-27-2020, 02:26 AM
RE: Boot process - by cefre00 - 10-27-2020, 07:46 AM
RE: Boot process - by wdt - 10-27-2020, 09:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook pro won't boot after bootloader installation jwensouls 4 942 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,512 12-11-2023, 03:47 AM
Last Post: calinb
  Boot Order in Pinebook Pro food 8 2,700 11-23-2023, 07:37 AM
Last Post: KC9UDX
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,492 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Emergency Mode Boot Hotkey? jiacovelli 20 7,524 06-02-2023, 01:32 PM
Last Post: wdt
  Tow Boot install help Paulie420 7 4,956 11-24-2022, 10:24 AM
Last Post: myself600
  Resume from suspend not working after flashing Tow-Boot to SPI xp19375 3 2,515 10-31-2022, 10:14 AM
Last Post: wdt
  Bootloader: SD card boot quirks crazyquark 1 1,391 10-04-2022, 12:27 PM
Last Post: elitegamercody
  Fresh Manjaro does not boot from eMMC pentamassiv 7 5,630 08-18-2022, 11:47 AM
Last Post: Bemo
  PBP won’t boot from eMMC after Debian update / Tow-Boot installer won’t boot from SD Pino64 21 13,194 05-12-2022, 05:00 AM
Last Post: Pino64

Forum Jump:


Users browsing this thread: 3 Guest(s)