Hi,
I am trying to compile an unmodified, official ArchlinuxARM armv7 kernel, but the compilation always fails. Googling did not provide me any hints how to fix the issue.
My setup is an Odroid XU4 that got installed as described here: https://archlinuxarm.org/platforms/armv ... odroid-xu4
On top of the default image, I updated all packages, got the `base-devel` packages as well as the ones required for building kernels:
$this->bbcode_second_pass_code('', '# pacman -Syu --noconfirm
# pacman -S --needed --noconfirm git vim base-devel
# pacman -S --needed --noconfirm xmlto docbook-xsl kmod inetutils bc git uboot-tools vboot-utils dtc')
Next step, get the PKGBUILDs:
$this->bbcode_second_pass_code('', '$ git clone https://github.com/archlinuxarm/PKGBUILDs
$ cd PKGBUILDs/core/linux-armv7')
Well, and then the obvious last step:
$this->bbcode_second_pass_code('', '$ makepkg')
My assumption would be, that there shouldn't be issues as the Odroid XU4 is an armv7 host, hence no need for an cross-compilation or anything that makes it harder to build the official ArchlinuxARM kernel. But the system tells me after the compilation:
$this->bbcode_second_pass_code('', 'make[4]: *** No rule to make target 'firmware/regulatory.db', needed by 'drivers/base/firmware_loader/builtin/regulatory.db.gen.o'. Stop.
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:549: drivers/base/firmware_loader/builtin] Error 2
make[2]: *** [scripts/Makefile.build:549: drivers/base/firmware_loader] Error 2
make[1]: *** [scripts/Makefile.build:549: drivers/base] Error 2
make: *** [Makefile:1846: drivers] Error 2
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...')
For troubleshooting:
$this->bbcode_second_pass_code('', '$ git log')
tells me:
$this->bbcode_second_pass_code('', 'commit e300d87f78f2cf683ebf0f1cbad6635ebef76dc2 (HEAD -> master, origin/master, origin/HEAD)
Author: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sun Mar 6 04:47:34 2022 +0000
community/openimageio: fix
...')
So code is completely upstream.
Am I missing any packages that I need to install for compiling the linux kernel on an ArchlinuxARM?