inindev / rock-5b

debian arm64 linux for the rock 5b
GNU General Public License v3.0
13 stars 3 forks source link

Debian Bookworm Kernel with Docker/Podman Support #4

Closed luckylinux closed 1 month ago

luckylinux commented 8 months ago

Hi,

As already discussed quite a long way in the other Issue https://github.com/inindev/rock-5b/pull/3

I would like you to share the Debian Bookworm Kernel with Docker/Podman Support.

I tried to build the kernel on my side but it does NOT boot (correction: it DOES boot but you require SERIAL access, since you drop to an emergency shell - PCIe/Ethernet/NVMe does NOT work) https://github.com/luckylinux/rock-5b

And previously when I tried to build the complete Debian Bookworm image, it also does NOT boot (correction: it PROBABLY DOES boot but you require SERIAL access, since you drop to an emergency shell - PCIe/Ethernet/NVMe does NOT work) https://github.com/inindev/rock-5b/issues/2

So there is something weird going on. Possibly related to the build toolchain (I am using GCC 12, you are using GCC 13), but apart from that I cannot really say what's wrong.

I am booting from SD card, so that should theoretically minimize some issues (e.g. broken NVMe) - I have a DATA NVMe installed, but the Root partition (/) is on SD Card.

Attached some logs rock5_6.6.0_no_ethernet_no_nvme.log rock5_6.6rc4_ethernet_nvme.log

inindev commented 1 month ago

I have updated the debian images to sid kernel 6.8.9: https://github.com/inindev/debian-image/releases/download/v12.4/rock-5b_bookworm-12.4.img.xz

luckylinux commented 1 month ago

I'm still running Kernel 6.6.x (updated to the latest available) in order to mimimize Breakages. I saw you included some Patches for Kernel 6.7.x a few months ago, but I didn't want to "change everything" just yet.

According to https://gitlab.collabora.com/hardware-enablement/rockchip-3588/notes-for-rockchip-3588/-/blob/main/mainline-status.md, we might finally get USB 3 Support in Kernel 6.10 :+1:.

inindev commented 1 month ago

I have rolled-up support for the various platforms into a single repo: https://github.com/inindev/linux-rockchip/releases

I am testing video for the rock-5b and nanopc-t6 with the latest 6.9.2 patched kernel. Collabra had various usb and usb-c patches but I have not tested with them yet.

Moving forward, when I post new releases to these repos:

I will back-link them to the original repos.

luckylinux commented 1 month ago

How was it that you are configuring these Kernels now ? Are you using "Stock" Generic Kernel Config ? I had to manually enable LUKS/Dmcrypt/Cryptsetup and, lately, also drivers for Mediatek mt7921au USB-Wireless Adapter.

inindev commented 1 month ago

I have a few updates I would imagine many people would be interested in reading. I have enabled discussions on this repo and will move this question over there: https://github.com/inindev/rock-5b/discussions

see post https://github.com/inindev/rock-5b/discussions/10