CeeGO Posted Thursday at 08:36 PM Posted Thursday at 08:36 PM Hi, I'm trying to build for the Rock 3C so that I can minimize what goes into the kernel and system. I'm new at this and tried mostly default values (current, bookworm), except that I did minimal image instead of standard. The build failed at applying a patch. I don't know what to do with that. Can anyone help me diagnose? Also, how would I get into more details about building the image and choosing what to add/remove? Thanks! 0 Quote
laibsch Posted Thursday at 08:55 PM Posted Thursday at 08:55 PM First suggestion: try trixie or noble instead of bookworm 0 Quote
CeeGO Posted Thursday at 09:01 PM Author Posted Thursday at 09:01 PM (edited) Thank you for the reply and suggestion. I tried trixie and got the same error with the same patch. I guess I can't tell it to skip VP9? Edited Thursday at 09:02 PM by CeeGO 0 Quote
laibsch Posted Thursday at 09:05 PM Posted Thursday at 09:05 PM let me have a closer look after I successfully unsuccessfully compile this 0 Quote
Solution laibsch Posted Thursday at 09:09 PM Solution Posted Thursday at 09:09 PM a fix was just merged for Rockchip, update your repo and try again, maybe you are lucky 1 Quote
laibsch Posted Thursday at 09:17 PM Posted Thursday at 09:17 PM Yes, I am fairly confident you were experiencing one of these two https://github.com/armbian/build/pull/8554 https://github.com/armbian/build/pull/8555 1 Quote
laibsch Posted Thursday at 09:30 PM Posted Thursday at 09:30 PM Happy to report that "./compile.sh build BOARD=rock-3c BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=bookworm SHARE_LOG=yes" builds fine for me now. 1 Quote
CeeGO Posted yesterday at 12:32 AM Author Posted yesterday at 12:32 AM Great! Thank you. I will try it. 1 Quote
CeeGO Posted yesterday at 01:06 AM Author Posted yesterday at 01:06 AM Looks good! Thank you. What's the best way to get start customizing the build? 0 Quote
Werner Posted yesterday at 03:34 AM Posted yesterday at 03:34 AM 2 hours ago, CeeGO said: What's the best way to get start customizing the build? Easiest way is to use the customize-image.sh file in userpatches. Stuff there gets executed within chroot on the sdcard just before its closed and assembled. More advanced way is using extensions. Check extensions folder for examples. 0 Quote
CeeGO Posted 4 hours ago Author Posted 4 hours ago (edited) On 8/28/2025 at 9:34 PM, Werner said: Easiest way is to use the customize-image.sh file in userpatches. Stuff there gets executed within chroot on the sdcard just before its closed and assembled. More advanced way is using extensions. Check extensions folder for examples. Thanks. I'll have to look into that. I expect that's for customizing the packages installed? Edited 57 minutes ago by CeeGO 0 Quote
Werner Posted 1 hour ago Posted 1 hour ago Customizing image and customizing kernel are different tasks. For latter use the kernel-config command and then copy over the created config file from output to userpatches. The framework will look for custom kernel configuration files and uses them if they're detected. More details here: https://zuckerbude.org/armbian-using-kernel-config/ 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.