Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot selection when starting. #11

Open
orencio opened this issue Mar 22, 2020 · 4 comments
Open

Boot selection when starting. #11

orencio opened this issue Mar 22, 2020 · 4 comments

Comments

@orencio
Copy link

orencio commented Mar 22, 2020

Hello, is it possible that at boot time you can show options for booting from SD (with Jumpdrive) or eMMC (with the installes operating system)?

If it is, the sdcard can be always inserted in the pinephone, and when yoy want to flash anything you only must reboot.

Regards.

@MartijnBraam
Copy link
Collaborator

There is a possibility to get megi's patched u-boot in here which supports reading the volume keys in the boot script. Then jumpdrive's boot.scr can check if the volume down key is held and launch the kernel/initramfs, if it's not held then load the boot.scr from emmc.

This will also probably break depending on what distro is currently flashed on eMMC since it might be using another uboot binary with ATF patches or might be using the extlinux.conf method for booting.

@Goddard
Copy link

Goddard commented Mar 27, 2020

would be awesome if this could be provided as a package to distro developers when creating their pinephone images so they all can consistently integrate the functionality.

@darkdragon-001
Copy link

One could just use megi's p-boot with only jumpdrive. This way one gets all the boot menu options and fast speed together with still quite a small size. This is what I am using myself.

@sergei-mironov
Copy link

Also having fun moving sdcard in and out repeatedly :-/ Will be glad to have a bootmenu or alike to alter the boot order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants