Changing the boot loader
#1
Does anyone know what kind of possibilities we have to change the boot loader? I mean whatever is running before the OS is starting right now it seems to look for something to boot on the sd card first and then on the emmc. I would love it if it were possible to choose where it is booting from, maybe by holding down one of the volume keys.

I guess this lies somewhere in the /dec/mmcblk2boot0 and /dev/mmcblk2boot1 devices. But they just seem to be 4 MB of zeroes.

So, does anyone know anything source code with build and flashing instructions would be top.
  Reply
#2
As I understand it the part that checks the uSD then the emmc is hardcoded into the A64 cpu. The bootable images so far use uboot as the stage this bootloader finds, and this then loads the linux kernel. I don't know if you could get the input from a customised uboot, or whether you'd need to go via a minimal linux. I've seen the instructions for modifying the uboot in another forum post, but can't seem to find it just now.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't boot on SD anymore LeNouveau 1 816 02-12-2024, 01:05 PM
Last Post: LeNouveau
  Does Ubuntu modify a Pinephone SD boot card? Peter Gamma 0 1,235 10-05-2023, 09:18 AM
Last Post: Peter Gamma
  Tow-boot headaches. antiwesley 3 2,096 04-30-2023, 05:03 PM
Last Post: Kevin Kofler
  changing from bullseye to bookworm to install mmsd-tng jyoung 8 4,209 04-09-2023, 06:08 PM
Last Post: zetabeta
  problem with boot evaldas 2 2,701 03-17-2023, 06:21 AM
Last Post: gulshan212
  Article: NuttX RTOS for PinePhone: Boot to LVGL lupyuen 2 2,364 01-23-2023, 10:41 PM
Last Post: lupyuen
  tow-boot shulamy 2 2,127 09-08-2022, 12:33 AM
Last Post: shulamy
  Device memory full on multi-boot SD card Peter Gamma 4 3,496 08-27-2022, 10:03 AM
Last Post: Eugo
  wiping u-boot off sd card shulamy 6 3,889 08-17-2022, 03:38 AM
Last Post: shulamy
  Change tow-boot boot order or otherwise make Mobian on uSD the default? allworlds 3 3,040 05-04-2022, 06:27 PM
Last Post: allworlds

Forum Jump:


Users browsing this thread: 1 Guest(s)