I have been trying to boot Fedora on a Khadas VIM3 Pro board. It is now booting Fedora 31
with version 5.4.2 kernel.
To make it run the following changes was needed:
1. Mainline u-boot compiled after the recipe at
whether the fedora provided one also works I do not know. The recipe says that some
firmwares are needed for the board.
Beyond the recipe, I have added a couple of patches from the fedora u-boot, to find the
right file to boot.
2. The U-boot is too large (1.1M) to fit in before the first FAT partition starts. So I
added some more space before to not destroy the beginning of the FAT partition.
3. The fedora kernel has CONFIG_PWM_MESON=m instead of CONFIG_PWM_MESON=y. This causes an
other clock setup than intended, so a needed clock is stopped, unless clk_ignore_unused is
added as kernel boot parameter. Using clk_ignore_unused it boots, but cpufreq and others
are not setup correct. CONFIG_PWM_MESON=y is the preferred fix for now.
I would like some input on how to include this in Fedora?