support rockchip devices
Description
The current ARM64 kernel misses some support for the Rockchip plaform. It makes boards completely unusable.
Impact
These two boards can't be run, even if their UEFI boot is ok. https://libre.computer/products/aml-s905d3-cc/ https://libre.computer/products/aml-a311d-cc/
Environment and steps to reproduce
- Set-up: get a aml-s905d3-cc or aml-a311d-cc
- Task: install flatcar 4230.2.3
- Action(s): boot
- Error: It hung there:
Expected behavior
Flatcar should boot
Additional information
after debugging with @libre.computer people The kernel lacks some parameters:
-
CONFIG_ARCH_ROCKCHIP -
CONFIG_ROCKCHIP_PHY -
CONFIG_ARCH_MESON -
CONFIG_PCI_MESON
Linked with: https://github.com/flatcar/scripts/pull/2556
Hello, I'm the person who opened #2556 and for me it seems adding only this 4 parameters wasn't enough to boot an Odroid M1S SBC.
I'm still trying to build a Flatcar image (not on my PR's branch though) and I made some progress but it seems I didn't find all parameters. For example, I still don't have any HDMI output (I added CONFIG_DRM_ROCKCHIP for this but it seems not sufficient).
FYI I try to find missing configs from Home Assistant OS (which boots fine) and OpenSuse MicroOS (which boots fine too). I would be happy to have some more help here, even if I make progresses it's more complex than expected.
PS: I met you at KubeCon 2024, what a small world!