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
  Always-On VPN issues at boot. Need to manually activate it.. What did i miss.. temp0rary 0 118 05-31-2021, 10:35 AM
Last Post: temp0rary
  Restore Mobian Boot Splash MtnSk8 0 407 03-24-2021, 10:01 PM
Last Post: MtnSk8
  UFW (uncomplicated firewall) Start On Boot - Mobian (working) theD0ctor 2 556 02-28-2021, 09:58 PM
Last Post: theD0ctor
  Phone won't boot after update: red LED 3x5co 7 1,114 02-16-2021, 01:34 PM
Last Post: 3x5co
  Mobian won't boot on convergence package Pinephone Mark53 11 4,234 09-05-2020, 08:51 PM
Last Post: SwordfishII
  Bricked phone after u-boot update DarkManiels 6 2,524 08-07-2020, 11:53 AM
Last Post: DarkManiels
  Phone doesn't boot after latest kernel update Boern 12 4,517 08-06-2020, 11:34 AM
Last Post: Boern
  mobian doesn't set sysclock from hwclock on boot bingo600 0 598 07-15-2020, 09:50 AM
Last Post: bingo600
  Boot Image Location NO_ob 4 2,061 06-29-2020, 03:22 AM
Last Post: NO_ob

Forum Jump:


Users browsing this thread: 1 Guest(s)