PINE64
Coreboot/GRUB2 on Pinebook Pro? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Coreboot/GRUB2 on Pinebook Pro? (/showthread.php?tid=8543)

Pages: 1 2


Coreboot/GRUB2 on Pinebook Pro? - u974615 - 12-11-2019

Is there work on being able to replace uboot with coreboot on the Pinebook Pro? 

I know coreboot/depthcharge (payload) would work for ChromeOS pn Pinebook Pro, but what about coreboot/GRUB2(payload) for Pinebook Pro?


https://review.coreboot.org/cgit/coreboot.git/tree/src/soc/rockchip/rk3399
https://www.gnu.org/software/grub/

https://doc.coreboot.org/payloads.html#grub2


Alexander Graf (SUSE) has some interesting talks regarding GRUB2 and UEFI on ARM:
https://www.youtube.com/watch?v=bNL1pd-rwCU
https://www.youtube.com/watch?v=qJAkJ3nmWgM


RE: Coreboot/GRUB2 on Pinebook Pro? - Wizzard - 12-11-2019

I am just waiting for someone who say that it is working on PBP Smile


RE: Coreboot/GRUB2 on Pinebook Pro? - u974615 - 12-11-2019

(12-11-2019, 12:15 PM)Wizzard Wrote: I am just waiting for someone who say that it is working on PBP Smile

Libreboot won't touch this device Sad 
https://libreboot.org/docs/hardware/

I wish someone would.

Coreboot source
https://github.com/coreboot/coreboot

Depthcharge for 
https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices
https://chromium.googlesource.com/chromiumos/platform/depthcharge  board=bob

Alexander Graf has a repo for GRUB2 ( arm with thumb and arm64? ) on GitHub: https://github.com/agraf/grub, but I assume that is for uboot.


RE: Coreboot/GRUB2 on Pinebook Pro? - Wizzard - 12-16-2019

Can we just use this? https://linux.die.net/man/8/kexec

Or this: https://github.com/open-power/petitboot/


RE: Coreboot/GRUB2 on Pinebook Pro? - u974615 - 12-16-2019

Yes for Petitboot, being able to boot to a newer kernel without "reflashing" is the desire...or use an older one if the newer one fails.

kexec would be used once an intermediate kernel could be loaded as a payload. It is my understanding Coreboot had its origins from LinuxBIOS, which does this.

Petitboot looks interesting
https://www.raptorengineering.com/content/kb/1.html

Librecore too
https://github.com/librecore-org

https://www.phoronix.com/scan.php?page=news_item&px=Librecore-Formation


RE: Coreboot/GRUB2 on Pinebook Pro? - Wizzard - 12-17-2019

There is even Petitboot package for Ubuntu, so I installed it, but don't know how to configure it.

I tried kexec, but armhf is not supported.


RE: Coreboot/GRUB2 on Pinebook Pro? - IoSer - 12-17-2019

Petitboot may be posted on odroid (N1?) forum.


RE: Coreboot/GRUB2 on Pinebook Pro? - u974615 - 12-17-2019

Try here: http://git.ozlabs.org/?p=petitboot for source code and build instructions separate from the Ubuntu package.
http://git.ozlabs.org/?p=petitboot;a=blob_plain;f=README.md;hb=7edc34c4ee8dc0913ea1a4ec64d3fbe6d64afc6d

https://mirrors.edge.kernel.org/pub/linux/kernel/people/geoff/petitboot/petitboot.html


I understand "ARM64 with ACPI" to mean "ASUS Chromebook C201" the Rockchip RK3288 SoC


RE: Coreboot/GRUB2 on Pinebook Pro? - u974615 - 01-02-2020

This might be helpful:

https://doc.coreboot.org/tutorial/part1.html

https://github.com/coreboot/coreboot/tree/master/src/soc/rockchip/rk3399

https://github.com/coreboot/coreboot/tree/master/Documentation/getting_started

https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices
boards: bob and scarlet use the same SoC as Pinebook Pro ( Pinebook Pro's mainboard doesn't seem to be listed/supported. )

The ASUS Chromebook CT100 seems to be a variant of the gru mainboard, as scarlett is not listed.
https://github.com/coreboot/coreboot/tree/master/src/mainboard/google/gru

https://www.coreboot.org/releases/coreboot-4.6-relnotes.txt

Mainboard changes
* Google Gru variants: Bob, Scarlet - RockChip RK3399


RE: Coreboot/GRUB2 on Pinebook Pro? - tophneal - 01-02-2020

(01-02-2020, 12:57 PM)u974615 Wrote: This might be helpful:

https://doc.coreboot.org/tutorial/part1.html

https://github.com/coreboot/coreboot/tree/master/src/soc/rockchip/rk3399

https://github.com/coreboot/coreboot/tree/master/Documentation/getting_started

https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices
boards: bob and scarlet use the same SoC as Pinebook Pro

I believe gru and kevin do too.