First of a huge thank you! to user tobetter, for spoon-feeding me all the information to get my kernel and initramfs working with both u-boot and PetitBoot!
You're the man!
These images are created using the official Fedora raw images.
They're very clean with minimal changes and haven't been booted once!
As requested, they're also compatible with PetitBoot now (thx tobetter)
- Features -
- Linux 5.19.3 from tobetter's odroid-5.19.y repository
- Xanmod kernel patchset for better performance:
* GCC O3 compiler optimization
* Multigenerational LRU Framework (enabled by default)
* BBRv2, Full Cone NAT and more, see: Xanmod linux patches
- Full support for SElinux, cgroups, namespaces etc
- Works with PetitBoot
- Minimal changes (see files added below)
- Download -
Fedora 36 Workstation Edition
Fedora 36 Server Edition
- Usage -
Upon first boot you'll be prompted to create your own user account.
You can use the following two commands:
extend_rootfs.shto extend the root-filesystem to its maximum size
gen-uinitrdin case you need to re-generate the initramfs and uInitrd boot images
- Note -
As the images haven't been booted before creation, you'll be prompted for setting up your account upon first boot.
This means you'll have to connect a screen and keyboard at least once for the Fedora Server edition as well
After creating your user, you'll be able to login using SSH.
If you have problems with HDMI-output, try booting from sd-card/eMMC instead of using PetitBoot.
Simply flip the switch on your board to "MMC".
- Realtek Wifi drivers -
Because I always get questions regarding the Hardkernel Wifi adapters.
I took the time to compile and package them, this saves you the massive archive with kernel sources below
Download them here.
They include: 8812au, 8814au, 8821au, 8821cu and 88x2bu.
Code: Select all
sudo -s wget https://oph.mdrjr.net/MastaG/realtek-5.19.3-odroidn2.tar.xz tar -xv -C / -f realtek-5.19.3-odroidn2.tar.xz depmod -a
- Full kernel sources -
This is for users who like to compile custom kernel drivers/modules.
Download the full linux-5.19.3-odroidn2 kernel sources (patched, configured and pre-compiled).
Unpack the archive to
/usr/src/kernels/and you can proceed to compile your own drivers.
- Custom files added to the images -
Code: Select all
# Kernel and modules: /usr/lib/modules/5.19.3-odroidn2 /boot/*5.19.3-odroidn2* # Script to re-generate the uInitrd image: /usr/local/sbin/gen-uinitrd # Config for dracut to compress initramfs using XZ instead of gzip: /etc/dracut.conf.d/xz.conf # Script to extend the root-filesystem to its maximum size: /usr/local/sbin/extend_rootfs.sh # Script and configuration to get audio working: /etc/systemd/system/odroid-alsamixer.service /etc/systemd/system/multi-user.target.wants/odroid-alsamixer.service /usr/local/sbin/odroid-alsamixer.sh /usr/share/alsa/cards/G12B-ODROID-N2.conf /usr/share/alsa/cards/SM1-ODROID-C4.conf