PINE64
Booting with default debian image - 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: Booting with default debian image (/showthread.php?tid=8214)

Pages: 1 2


RE: Booting with default debian image - electriccrowbar - 11-07-2019

(11-07-2019, 09:36 AM)tophneal Wrote: If you have a USB c cable you can use rkflashtool to flash to your emmc. Refer to the wiki for the internal button that puts the PBP in mask tomorrow mode.

I don't think i would attempt that till the documentation is a little more nailed down. I don't have multiple units to experiment with.


Booting with default debian image - tophneal - 11-07-2019

It should be the same process as with any other rockchip. There's a button inside the PBP for entering mask rom mode, plugin USBC cable to your PBP and computer, flash IMG with the rkflashtool.


Sent from my iPhone using Tapatalk


RE: Booting with default debian image - mfritsche - 11-08-2019

(11-07-2019, 04:10 AM)danielt Wrote:
(11-07-2019, 02:51 AM)mfritsche Wrote: Next stupid question:

I see that extlinux.conf defines a boot menu. Is the menu only available via serial console?

Yes.

Hopefully this can change as the platform matures (u-boot can draw to framebuffers and listen to USB keyboards but it requires drivers and these don't exist just yet) but at present you need a serial port to interact with the boot menu.

A simple approach is to put your boot partition on an SD card since if you need to change kernel you can eject the card, boot from a eMMC and edit extlinux.conf .

So, my understanding is:
1. SoC looks for u-boot, loads u-boot
2. u-boot looks for boot loader (extlinux used for standard image), loads extlinux
3. extlinux looks for extlinux.conf, loads and starts kernel

So actually, it's extlinux that doesn't have a framebuffer/ keyboard to display the menu/ get user input right now?


RE: Booting with default debian image - mfritsche - 11-08-2019

Shameless self-plug: I made a guide that „works for me™“ how to compile a kernel (mrfixit's 4.4.196) on the Pinebook Pro itself, and safely booting it from SD card:

https://dynamic.reauktion.de/flugphase/2019/11/08/pinebook-pro-kernel-compilation/

(created from .bash_history).

DO NOT TRY IF YOU DON'T KNOW HOW TO RECOVER FROM A BRICKED DEVICE!


RE: Booting with default debian image - hmuller - 11-10-2019

(11-08-2019, 05:52 AM)mfritsche Wrote: Shameless self-plug: I made a guide that „works for me™“ how to compile a kernel (mrfixit's 4.4.196) on the Pinebook Pro itself, and safely booting it from SD card:

https://dynamic.reauktion.de/flugphase/2019/11/08/pinebook-pro-kernel-compilation/

(created from .bash_history).

DO NOT TRY IF YOU DON'T KNOW HOW TO RECOVER FROM A BRICKED DEVICE!

I will review and test your process tomorrow. The current kernel is missing an option I desire so this is a way to kill two birds with one stone.

Will report back on the results.


RE: Booting with default debian image - mfritsche - 11-11-2019

Unfortunately, the PinebookPro seems to get too hot. First, WiFi dies and then a lot of other fun stuff happens :/ So compiling right on the PinebookPro (at least with -j 6) is not advised.