And a comment to Marco, it not so easy to understand all technicalities in the workflow so bear with my ignorance.
I have built linux since V 1.0, but not in the last 20 years, so a lot has changed, and dists are assembled from many
sources and groups. However, I feel mych better at home now, read my posting, Regards, Gullik.
Beeing really adventurous I have attempted to build armbian ON armbian 6.8-rc1 noble.
This is done on an Orange pi 5 8Gb, booted from an SD card.
The machine has a 256 Gb nvme memory and a 8821 wifi adapter
In the build documentation it is stated that I need:
"A x86/x64 machine running any OS; at least 4G RAM, SSD, quad core (recommended)"
"The officially supported compilation environment is Ubuntu Jammy 22.04.x amd64 only!"
I understand that having something supported rather than working are quite different,
and that Armbian have higher standards than me as a user, but I did not get discouraged.
These are my modifications to various components to get armbian to compile.
So, here goes:
1) git clone --depth=1 --branch=main https://github.com/armbian/build
2) add noble to supported build environments
vi lib/functions/host/host-release.sh
# Disable host OS check at your own risk. Any issues reported with unsupported releases will be closed without discussion
-- if [[ -z $HOSTRELEASE || "bookworm trixie sid jammy kinetic lunar vanessa vera victoria mantic" != *"$HOSTRELEASE"* ]]; then
++ if [[ -z $HOSTRELEASE || "bookworm trixie sid jammy kinetic lunar vanessa vera victoria mantic noble" != *"$HOSTRELEASE"* ]]; then
if [[ $NO_HOST_RELEASE_CHECK == yes ]]; then
display_alert "You are running on an unsupported system" "${HOSTRELEASE:-(unknown)}" "wrn"
display_alert "Do not report any errors, warnings or other issues encountered beyond this point" "" "wrn"
else
exit_with_error "Unsupported build system: '${HOSTRELEASE:-(unknown)}'"
fi
fi
}
3) I ignored warnings that I did not have 10 Gb available in /output directory and pressed return
4) vi config/sources/mainline-kernel.conf.sh
change 6.8-rc1 to 6.8-rc3 which was the desired kernel
5) change requirements from python2 to python3 // can cause unforeseen problems but seems to work
I had to accept "shallow-tree" for kernel due to lack of space.......
and the result after booting:
Welcome to Armbian-unofficial 24.2.0-trunk Bookworm with bleeding edge Linux 6.8.0-rc3-edge-rockchip-rk3588
No end-user support: built from trunk
System load: 14% Up time: 9 min
Memory usage: 4% of 7.51G IP: 192.168.1.89
CPU temp: 32°C Usage of /: 1% of 233G
RX today: 26.2 KiB
These 3 changes enabled me to run the ./compile.sh script. I selected a simple server only
config in the menus, since I was mostly interested in testing USB ports.
Unfortunately the USB fixes that are documented for the rk3588 did not result in
the addition of the vertical usb port, so something is wrong, but I can build my own kernel.
Interesting to see is that all 8 cpus are running at >=90%, so this $100 machine replaces
a big Proliant and performs much better. Having learned programing on a PDP11/40 with
about 8 users, this is mindboggling. Also replacing the "House server" from a 1U server
to an Orange PI 3 LTS paid for the board in reduced electricity bill in a few months,
and runs on a used 12 V car battery.
My sincere compliments to a solid source tree, and a highly automated build environment,
these are probably the main reason for success on this foolish attempt!!
Next step is to install "noble" to the NVME, to get rid of the output size warning, and
build a new desktop with upgraded kernel.
Best regards, and an applause for the Armbian Crew!
Gullik