-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PXE boot with U-boot #1636
Comments
Thank you for reporting this. If I read the uboot output correctly we're talking about running Flatcar on this SoC: https://radxa.com/products/rock5/5c/#techspec, which is an exciting project! It's quite likely you're the first person to try this, so we might lack drivers and/or firmware required by this particular hardware. Hence our first step would be to identify the drivers and firmware you need, and check whether we ship these. The best source for this information is probably RockChip's Armbian support: https://docs.radxa.com/en/rock5/rock5c/other-os/armbian, which points us to https://github.com/radxa-pkg/aic8800. Here, we find a number of kernel patches https://github.com/radxa-pkg/aic8800/tree/main/debian/patches and custom (binary) firmware https://github.com/radxa-pkg/aic8800/tree/main/src - so it's likely the board support has not been upstreamed to the vanilla Linux kernel at all. It's worth checking if the board is supported by the vanilla kernel (which we ship, for robustness reasons). If it's not you would probably need to build a custom OS image for these boards, with a kernel that includes the board patches and ships the board firmware. |
Found something: If you'd like investigating adding support for this board to Flatcar we're here to help! A good first step is to get accustomed to the OS build workflow using the SDK, and to making small modifications: https://www.flatcar.org/docs/latest/reference/developer-guides/sdk-modifying-flatcar/ . |
See: flatcar/scripts#2556 There should be already a downloadable image that can be tested out. |
Oh, the artifacts have expired, the PR needs to be rebased and CI reruned. |
Rebased and started a CI build, if all goes well, you should have a Flatcar image artifact downloadable |
Just so you know, I did not add the new kernel configs in my PR for Rockchip so the image may not boot. I wanted to build Flatcar manually on my computer to try those new configs but I got some error and I don't have the time (yet) to work on it. @ader1990 if you want I can push the new configs I added to let you run a build on CI but I'm not sure if it worth some CI time (I wanted to avoid running the CI before being able to test it locally and ensure it boots). |
flatcar/scripts@87bc1d5 -> CONFIG_ARCH_ROCKCHIP=y -> the artifacts from https://github.com/flatcar/scripts/actions/runs/13243312844 have this kernel config enabled, so it should already work for this issue's case. |
It seems |
Thank you all for considering my issue's case 🙏 I'm already successfully netbooting my device with other OSes and it behaves the same without correct FDT. |
@peltho Seems that support for rock 5c has been added just just recently in the main kernel: torvalds/linux@3ddf5cd So that is why there is no dtb for this CPU in the 6.12.0 kernel that we built. The only option to do it is to have the latest kernel sources and try again. |
Description
I have a node (Radxa Rock 5C lite sbc) with U-boot as bootloader.
I provide it a
pxelinux.cfg
following this tutorial:ignition.json
being the Butane example from the guide (converted from .yaml to .json withquay.io/coreos/butane
)flatcar_production_pxe.vmlinuz
coming fromhttps://stable.release.flatcar-linux.net/arm64-usr/current/flatcar_production_pxe.vmlinuz
flatcar_production_pxe_image.cpio.gz
coming fromhttps://stable.release.flatcar-linux.net/arm64-usr/current/flatcar_production_pxe_image.cpio.gz
When powering the node, U-boot starts and asks network about PXE.
It fetches the needed files and then it stucks at the step:
Starting kernel...
as you can see in the Additional information.Impact
I can't run Flatcar on the device.
Additional information
The text was updated successfully, but these errors were encountered: