Official Debian support!
#39
(08-16-2020, 11:21 PM)foresto Wrote:
(08-16-2020, 10:50 PM)Nikolay_Po Wrote: Have tried pineperson's recommendations about files for booting. No boot.


I suspect that's because pineperson left out some important details. I got it working by doing all of the following:
  • Create my /boot partition on the same microsd card that contains the installer image. This becomes partition 2 on that card.
  • Set the bootable flag on partition 2.
  • Create the boot/dtbs/rockchip directory on partition 2.
  • Copy boot/dtbs/rockchip/rk3399-rockpro64-v2.dtb from partition 1 (the installer partition) to the same directory on partition 2.
  • Create the /extlinux directory on partition 2.
  • Create an extlinux/extlinux.conf file in that directory on parition 2, with this content: (Note the root= line!)
Code:
menu title Debian
prompt 0
timeout 50

label l0
menu label Debian
linux /vmlinuz
append root=<your-root-device>
initrd /initrd.img
fdt /dtbs/rockchip/rk3399-rockpro64-v2.dtb

I believe the reason this works is because the installer image already contains the various u-boot components needed for boot, in the correct disk locations preceding the first partition.

Preparing a fresh sd card (or emmc module) with those required components is most likely possible, but would require more work. I hope to figure out how to do this at some point in the future, when I have more time. If I succeed, I'll describe the procedure in my debian setup thread.

That seems to be what happens. I got it working by roughly following your instructions (and those of the installer as to where to put root=). It's important NOT to tell it to install over the whole disk else the FAT32 partition with the funny stuff gets wiped. I even put LVM on mine without problem, though.

Then I also had to copy initrd.img from /boot (on the root partition) into the FAT32 partition. Not changing that meant that the installer ramdisk kept on being called.

Note that the FAT32 partition is very small, and without deleting some of the stuff, one can run out of room to put initrd. That happened to me on first go.
  Reply


Messages In This Thread
Official Debian support! - by Luke - 04-26-2020, 03:02 PM
RE: Official Debian support! - by kuleszdl - 04-27-2020, 09:52 AM
RE: Official Debian support! - by linuxha - 04-27-2020, 10:43 PM
RE: Official Debian support! - by jazzmans - 04-28-2020, 05:35 PM
RE: Official Debian support! - by MIchael - 04-28-2020, 06:42 PM
RE: Official Debian support! - by jazzmans - 04-30-2020, 09:05 AM
RE: Official Debian support! - by pfeerick - 04-28-2020, 10:53 PM
RE: Official Debian support! - by fire219 - 04-30-2020, 12:28 PM
RE: Official Debian support! - by kuleszdl - 04-30-2020, 02:51 PM
RE: Official Debian support! - by amp - 05-01-2020, 01:28 AM
RE: Official Debian support! - by dukla2000 - 06-06-2020, 05:46 AM
RE: Official Debian support! - by pfeerick - 05-01-2020, 02:45 AM
RE: Official Debian support! - by kuleszdl - 05-01-2020, 10:31 AM
RE: Official Debian support! - by kuleszdl - 05-01-2020, 11:12 AM
RE: Official Debian support! - by foresto - 05-03-2020, 09:56 PM
RE: Official Debian support! - by tllim - 05-09-2020, 03:57 PM
RE: Official Debian support! - by xmixahlx - 06-06-2020, 03:06 PM
RE: Official Debian support! - by pinepersoon - 06-13-2020, 12:22 PM
RE: Official Debian support! - by foresto - 06-18-2020, 12:20 PM
RE: Official Debian support! - by pinepersoon - 06-25-2020, 03:53 PM
RE: Official Debian support! - by kuleszdl - 06-21-2020, 04:38 PM
RE: Official Debian support! - by xmixahlx - 06-21-2020, 09:18 PM
RE: Official Debian support! - by therrmann - 06-25-2020, 01:15 AM
RE: Official Debian support! - by therrmann - 06-25-2020, 02:03 AM
RE: Official Debian support! - by wasgurd - 07-03-2020, 01:01 PM
RE: Official Debian support! - by bcnaz - 07-03-2020, 06:31 PM
RE: Official Debian support! - by Nikolay_Po - 08-16-2020, 10:50 PM
RE: Official Debian support! - by Nikolay_Po - 08-17-2020, 04:31 PM
RE: Official Debian support! - by foresto - 08-16-2020, 11:21 PM
RE: Official Debian support! - by lrb - 09-12-2020, 09:53 PM
RE: Official Debian support! - by u974615 - 08-17-2020, 04:12 PM
RE: Official Debian support! - by xmixahlx - 08-19-2020, 11:54 AM
RE: Official Debian support! - by u974615 - 08-20-2020, 04:53 PM
RE: Official Debian support! - by moonwalkers - 08-21-2020, 10:49 PM
RE: Official Debian support! - by u974615 - 08-27-2020, 03:04 PM
RE: Official Debian support! - by moonwalkers - 08-27-2020, 04:30 PM
RE: Official Debian support! - by 5chn4pp - 08-26-2020, 01:28 PM
RE: Official Debian support! - by dkaparis - 10-11-2020, 08:10 AM
RE: Official Debian support! - by MSteam - 10-25-2020, 09:05 AM
RE: Official Debian support! - by snoopy_ca - 11-01-2020, 02:58 PM
RE: Official Debian support! - by eduapof - 11-17-2020, 06:42 PM
RE: Official Debian support! - by James Good - 12-21-2020, 11:39 AM
RE: Official Debian support! - by toons - 12-22-2020, 05:46 AM
RE: Official Debian support! - by kuleszdl - 12-24-2020, 12:00 PM
RE: Official Debian support! - by toons - 12-25-2020, 07:11 AM
RE: Official Debian support! - by kuleszdl - 12-25-2020, 08:46 AM
RE: Official Debian support! - by igorp - 01-05-2021, 07:17 AM
RE: Official Debian support! - by kuleszdl - 01-03-2021, 12:05 AM
RE: Official Debian support! - by kuleszdl - 01-05-2021, 09:44 AM
RE: Official Debian support! - by ryo - 01-06-2021, 04:08 AM
RE: Official Debian support! - by kwinz - 01-06-2021, 06:18 PM
RE: Official Debian support! - by igorp - 01-27-2021, 05:56 PM
RE: Official Debian support! - by ab1jx - 01-07-2021, 12:03 AM
RE: Official Debian support! - by kuleszdl - 01-07-2021, 09:12 AM
RE: Official Debian support! - by as365n4 - 01-19-2021, 12:35 PM
RE: Official Debian support! - by foobar - 01-30-2021, 07:52 PM
RE: Official Debian support! - by igorp - 01-31-2021, 06:34 PM
RE: Official Debian support! - by nyankat - 02-28-2021, 09:57 PM
RE: Official Debian support! - by ab1jx - 03-02-2021, 09:01 AM
RE: Official Debian support! - by alkisg - 04-26-2021, 03:01 AM
RE: Official Debian support! - by Enig123 - 04-28-2021, 01:22 PM
RE: Official Debian support! - by ab1jx - 04-28-2021, 03:38 PM
RE: Official Debian support! - by moonwalkers - 05-21-2021, 11:26 PM
RE: Official Debian support! - by jbrock - 05-30-2021, 03:43 PM
RE: Official Debian support! - by moonwalkers - 05-31-2021, 12:48 AM
RE: Official Debian support! - by jbrock - 06-01-2021, 01:09 AM
RE: Official Debian support! - by moonwalkers - 06-01-2021, 11:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora 32 Release, improved support for Rock(Pro)64 Tharadash 2 2,663 05-05-2020, 08:37 AM
Last Post: zer0sig
  Kickstarter: Allwinner VPU support in the official Linux kernel xalius 8 7,072 10-03-2019, 03:03 AM
Last Post: bunkerWHz
Exclamation First images with DRM and Mali support for A64 Luke 74 58,152 04-27-2018, 10:22 PM
Last Post: Max11

Forum Jump:


Users browsing this thread: 1 Guest(s)