Has anyone tried Ubuntu 22.04 server yet?
#2
The kernel in stock Ubuntu 22.04 (Linux 5.15) would be too old, but you can totally run an Ubuntu rootfs with your own kernel and your own bootloader.

Build u-boot or grab it from pgwipeout's CI (triple dots to the right, click merge-job archive, download, write the idbloader and uboot from the mainline u-boot subdirectory to the right offsets).

Create a /boot partition, and either put your own kernel + initramfs or pgwipeout's kernel + initramfs on it.

Then on the / partition of your target medium that you've also created, write an Ubuntu root file system that you've downloaded (ubuntu-base-22.04-base-arm64.tar.gz).

Make a /boot/extlinux/extlinux.conf that loads the kernel you placed onto the /boot and points at the root file system.

The downside of this all is that you'll have to manually deal with the kernel, as it's not packaged.

In the future with a newer Ubuntu release, if their kernel is configured with the right options for rockchip, we could look into booting a generic UEFI image by having either EDKII or u-boot's scrappy implementation load Ubuntu's bootloader.

Another option is that we set up a CI that modifies their generic server arm64 image to use our u-boot with a newer kernel package built and preinstalled.

Occasional Linux Kernel Contributor, Avid Wiki Updater, Ask Me About Quartz64
Open Hardware Quartz64 Model A TOSLink Adapter
Pi-bus GPIO Extender For ROCKPro64 And Quartz64 Model A
Plebian GNU/Linux
  Reply


Messages In This Thread
RE: Has anyone tried Ubuntu 22.04 server yet? - by CounterPillow - 06-11-2022, 11:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ubuntu eth0 unmanaged dhcp not coming up giladr 1 1,106 12-15-2022, 07:29 AM
Last Post: giladr

Forum Jump:


Users browsing this thread: 1 Guest(s)