Fedora 36 Workstation and Server Edition

Post Reply
MastaG
Posts: 441
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 54 times
Been thanked: 78 times
Contact:

Fedora 36 Workstation and Server Edition

Post by MastaG »

Image

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.sh to extend the root-filesystem to its maximum size
gen-uinitrd in 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.
Instructions:

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
Now unplug and re-insert your wifi adapter and it should work.


- 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
These users thanked the author MastaG for the post (total 4):
tobetter (Fri Sep 02, 2022 7:26 pm) • odroid (Fri Sep 02, 2022 11:25 pm) • Psiborg (Wed Sep 14, 2022 6:28 am) • Nuts_ (Sun Sep 25, 2022 9:39 pm)

Psiborg
Posts: 49
Joined: Fri Nov 06, 2020 1:18 am
languages_spoken: english
ODROIDs: N2+ 4GB
Has thanked: 10 times
Been thanked: 13 times
Contact:

Re: Fedora 36 Workstation and Server Edition

Post by Psiborg »

Just a huge wow and thanks for this! It runs perfectly! I got the wifi adapter working with no issues, everything is fast and responsive. Well done good sir! I only have one issue, no audio. Is sound working for you?

MastaG
Posts: 441
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 54 times
Been thanked: 78 times
Contact:

Re: Fedora 36 Workstation and Server Edition

Post by MastaG »

Thank you :)
Are you referring to HDMI audio or the headphone jack?
I've only tested HDMI audio to be honest.

Psiborg
Posts: 49
Joined: Fri Nov 06, 2020 1:18 am
languages_spoken: english
ODROIDs: N2+ 4GB
Has thanked: 10 times
Been thanked: 13 times
Contact:

Re: Fedora 36 Workstation and Server Edition

Post by Psiborg »

The headphone jack isn't working, but I did notice HDMI is working, using that for now

MastaG
Posts: 441
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 54 times
Been thanked: 78 times
Contact:

Re: Fedora 36 Workstation and Server Edition

Post by MastaG »

The alsa configuration and mixer parameters are the same as tobetter's Ubuntu images.
Also I don't know whether the headphone jack is supported by upstream linux.
After I finish my XU3/4 image I will take another look.

Perhaps @tobetter could tell us more :)

Psiborg
Posts: 49
Joined: Fri Nov 06, 2020 1:18 am
languages_spoken: english
ODROIDs: N2+ 4GB
Has thanked: 10 times
Been thanked: 13 times
Contact:

Re: Fedora 36 Workstation and Server Edition

Post by Psiborg »

Wanted to let you know the install for a 8812au wifi module went perfect, thanks
These users thanked the author Psiborg for the post:
MastaG (Wed Sep 21, 2022 5:34 am)

hall.christopher88
Posts: 8
Joined: Fri Sep 30, 2022 7:13 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Fedora 36 Workstation and Server Edition

Post by hall.christopher88 »

15.6GB image :o

MastaG
Posts: 441
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 54 times
Been thanked: 78 times
Contact:

Re: Fedora 36 Workstation and Server Edition

Post by MastaG »

hall.christopher88 wrote:
Sat Oct 15, 2022 9:48 am
15.6GB image :o
Yes Fedora barely fits on a 8GB card.

erm67
Posts: 29
Joined: Sat Jun 22, 2019 10:53 pm
languages_spoken: english,german,italian
ODROIDs: N2
Has thanked: 1 time
Been thanked: 2 times
Contact:

Re: Fedora 36 Workstation and Server Edition

Post by erm67 »

Great, good job. Do you have srpms for the kernel to share? Fedora has a different config from ubuntu ....

MastaG
Posts: 441
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 54 times
Been thanked: 78 times
Contact:

Re: Fedora 36 Workstation and Server Edition

Post by MastaG »

erm67 wrote:
Sat Nov 19, 2022 5:09 am
Great, good job. Do you have srpms for the kernel to share? Fedora has a different config from ubuntu ....
Thanks, but I didn't build the kernel from srpm, I just compiled manually.
You can grab the config from /boot/config-5.19.3-odroidn2.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 2 guests