Installing debian on pinebook pro (deb installer/emmc)
#10
(02-01-2022, 02:22 PM)ljones Wrote: Wonder how the debian installer works in that case? Maybe it does do something differently! But where is the mr. fixit updated uboot btw -- I could only find full os'es/distros and not just the bootloader files themselves. The emmc I can confirm is partitioned as MBR btw.

I did notice another package in debian called u-boot-menu which I installed and tried using by running u-boot-update in the chroot.

This then created /boot/extlinux and /boot/extlinux/extlinux.conf. I then changed the "append" line in that file from what it said (append root=UUID=d08e60a1-9506-4368-bd55-55d9bf538f2d) to say append root=ROOT_DEBIAN . Re-ran u-boot-install-rockchip then exited out of the chroot and did e2label /dev/sda5 ROOT_DEBIAN. Shut down the rockpro64, took the emmc off the emmc to usb adapter and placed onto the rockpro64 itself, ejected the sd card and powered back on.

This time I got a boot menu with 2 options although it still hangs with "Starting kernel ..." x.x

I don't see any debian version of bsp u-boot not sure where that could be found.

ljones

You won't find BSP u-boot in Debian repos. That said, if u-boot-rockchip you installed prints out some text during early boot - it should be good enough to boot Debian kernel. So long as you have kernel 5.10.something or newer - you should have a bootable system. If you're still relatively new to Linux on ARM I would suggest you start with the simplest possible setup - single ext4 partition starting at 16MiB mark (sector 32768). If you install u-boot-menu it should automatically take care of creating the correct extlinux.conf for you, and even if it doesn't - you probably should change /etc/default/u-boot and re-run `sudo u-boot-update` instead of changing extlinux.conf directly. You also should not forget `LABEL=` if you want to specify your root by FS label instead of UUID. As in `root=LABEL=ROOT_DEBIAN` instead of `root=ROOT_DEBIAN`. If you have a separate /boot you will want to either install a package that copies device tree files to /boot for you automatically (`flash-kernel`, I believe), or copy them there yourself - by default u-boot-menu will point u-boot in extlinux.conf to device tree files location is /usr/lib/, where they are unpacked by the package manager when you install a kernel, but that location is inaccessible when u-boot loads kernel if you have separate /boot. If you copy device tree files manually - you should make sure extlinux.conf points u-boot to them.
This message was created with 100% recycled electrons
  Reply


Messages In This Thread
RE: Installing debian on pinebook pro (deb installer/emmc) - by moonwalkers - 02-01-2022, 11:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 189 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 1,135 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Official Debian support moonwalkers 64 66,033 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 451 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 3,078 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,575 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,369 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,654 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 105,774 12-08-2023, 11:25 PM
Last Post: tllim
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 929 12-07-2023, 03:11 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 2 Guest(s)