PINE64
U-boot - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Debian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: U-boot (/showthread.php?tid=10449)



U-boot - wasgurd - 06-26-2020

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?


RE: U-boot - a-wai - 06-27-2020

(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)


RE: U-boot - wasgurd - 06-27-2020

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


RE: U-boot - a-wai - 06-27-2020

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 )


RE: U-boot - wibble - 06-27-2020

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.


RE: U-boot - a-wai - 06-27-2020

u-boot doesn't have acess to the display on the PinePhone (only HDMI is support in u-boot), buttons should be supported however.


RE: U-boot - wibble - 06-27-2020

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.