Installing debian on pinebook pro (deb installer/emmc)
#7
Been trying to think about how to do this at all btw!

Then I thought -- I have a rockpro64 I just recently bought here and it has removable emmc, just like the pinebook pro; I also now have the emmc to usb adapter. Since that and the pinebook pro has very similar hardware I decided to try things out on the rockpro64 first but avoid trying to do anything with the SPI.

I made a little bit of progress and eventually got the rockpro64 to boot off the emmc but not successfully. Here's what I tried.

- Installed debian to the emmc on the rockpro64 via the usb adapter. Used the installer to make two partitions a 128MB fat32 partition (sda1) and a linux partition ext4 (sda5). Made sda5 bootable.

- Booted off an already working debian install from a micro sd card on the rockpro64. Left the emmc to usb adapter plugged into the usb port on the rockpro64. Then did:

Code:
$ mkdir /tmp/0
$ mount /dev/sda5 /tmp/0 -o rw
$ mount -o bind /dev /tmp/0/dev
$ chroot /tmp/0
$ apt install u-boot-rockchip

then

Code:
$ u-boot-install-rockchip /dev/sda1

But that didn't work and I eneded up getting error "dd: failed to open /idbloader.img : no such file or directory". After finding the relevent file(s) I then did

Code:
$ cd /usr/lib/u-boot/rockpro64-rk3399/
$ cp * /

(That copied idbloader.img, rk3399-rockpro64.dtb, u-boot.bin, uboot.elf, u-boot.img, u-boot-nodtb.bin, u-boot-spi.bin and i-boot-tpl.bin to / ). Then;

Code:
$ cd /
$ u-boot-install-rockchip /dev/sda1

This worked and said:
Code:
Writing idbloader
328+1 records in
328+1 records out
168320 bytes (168kB, 164 KiB) copied, 0.050321 s, 3.3 MB/s
Writing u-boot image
1919+1 records in
1919+1 records out
983008 bytes (983 kB, 869 KiB) copied, 0.338676 s, 2.9MB/s

I then powered off the rockpro64 and removed the microsd card and the jumper (emmc disable) from the rockpro64. I then placed the emmc onto the rockpro64.

The system boots and I get messages on screen, but it stops at "Starting kernel ...." !

Any ideas?

ljones
  Reply


Messages In This Thread
RE: Installing debian on pinebook pro (deb installer/emmc) - by ljones - 02-01-2022, 05:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Boot Order in Pinebook Pro food 11 5,141 03-28-2025, 10:08 AM
Last Post: DrYak
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 537 11-10-2024, 02:50 PM
Last Post: Sb2024
  Pinebook pro won't boot after bootloader installation jwensouls 4 2,217 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Official Debian support moonwalkers 64 75,493 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 797 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 4,486 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 6,636 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 4,189 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 4,787 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 118,540 12-08-2023, 11:25 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)