U-boot
#1
Hi all,

I'd like to adjust u-boot, but I couldn't find /etc/default/u-boot like in my PBP/Debian, how it works in Mobian?
PBP ISO / Debian Bullseye (unofficial installer)
#2
(06-26-2020, 08:36 PM)wasgurd Wrote: Hi all,

I'd like to adjust u-boot, but I couldn't find /etc/default/u-boot like in my PBP/Debian, how it works in Mobian?

It depends on what you want to achieve, the only configurable part is the boot script (boot.cmd/scr under /boot)
#3
(06-27-2020, 02:48 AM)a-wai Wrote:
(06-26-2020, 08:36 PM)wasgurd Wrote: Hi all,

I'd like to adjust u-boot, but I couldn't find /etc/default/u-boot like in my PBP/Debian, how it works in Mobian?

It depends on what you want to achieve, the only configurable part is the boot script (boot.cmd/scr under /boot)

For instance, to enabling text boot time messages, I should to remove the quiet and splash parameters from /etc/default/u-boot.

I think the boot.cmd/scr are auto-generated and better don't touch it.
PBP ISO / Debian Bullseye (unofficial installer)
#4
For now you have to manually edit boot.cmd (and generate boot.scr from it using mkimage), but yes, it will all be overwritten each time pinephone-tweaks is updated.
We could make it more configurable, that's one more item for the todo-list, then (however, MRs are more than welcome... Just sayin Wink )
#5
Does uboot have access to screen and buttons, or just to the LED and serial on the PinePhone? I'm thinking back to old devices where it could provide an interactive boot menu to select which of multiple OSes you wanted to boot.
#6
u-boot doesn't have acess to the display on the PinePhone (only HDMI is support in u-boot), buttons should be supported however.
#7
That's a shame, but not entirely surprising. I suppose the led colour could be used to indicate selection. I might see what I can do - it would be handy to be able to pick between emmc and sd more easily.


Possibly Related Threads…
Thread Author Replies Views Last Post
  boot gets stuck shortly after disk decryption vortex 9 5,917 09-11-2024, 05:40 AM
Last Post: normangraves
  mobian installed to eMMC - how to install tow-boot grump_fiddle_reinstall 6 4,131 11-22-2023, 11:46 AM
Last Post: aLoop100o
  How to check if tow-boot is installed? jojuma 3 1,868 09-29-2023, 11:29 PM
Last Post: tllim
  Mobian boot failed with zstd message after upgrade. Mahgue 0 1,005 09-01-2023, 11:29 AM
Last Post: Mahgue
  4G data on default startup / boot dcinoz 1 1,237 04-29-2023, 11:24 PM
Last Post: dcinoz
  PinePhone won't boot after software update jb2000 2 1,991 03-17-2023, 07:26 AM
Last Post: Zebulon Walton
  Boot log analyses -> GPU no regulator (mali) found freelectro 0 1,412 03-06-2023, 12:06 PM
Last Post: freelectro
  [solved] Black screen at boot time mdk 0 1,291 01-13-2023, 03:33 AM
Last Post: mdk
  No boot after upgrade: vibration, red LED, then 2 vibrations and yellow LED 3x5co 1 1,410 01-04-2023, 06:46 PM
Last Post: 3x5co
  Does tow-boot allow periodic wake from suspension to check for notifications? DrPlamsa 4 3,527 12-31-2022, 10:56 AM
Last Post: DrPlamsa

Forum Jump:


Users browsing this thread: 3 Guest(s)