Age | Commit message (Collapse) | Author |
|
This is done by enabling CONFIG_COMPAT.
Though when importing the configuration on Linux
v5.4.8 and enabling this configuration with:
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- xconfig
it updated other parts of the the .config as well.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Without that patch, /boot/vmlinuz-linux-libre-aarch64 ends
up being an Image.gz, however some u-boot configuration
and/or versions seem to not like that and fail with the
following message:
Bad Linux ARM64 Image magic!
Making sure that vmlinuz-linux-libre-aarch64 is an Image
results in the board booting. However it then fails with:
Failed to execute /init (error -8)
This might be because the board I used for testing doesn't
support runing 32bit binaries and/or because we need to
enable more configuration in the kernel to enable that.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
The chromebook package has also been disabled due to the following
error:
| ==> Starting package_linux-libre-aarch64-chromebook()...
| FATAL ERROR: Couldn't open "arch/arm/boot/zImage": No such file or directory
| mkimage: Can't read kernel.itb.tmp: Invalid argument
| ==> ERROR: A failure occurred in package_linux-libre-aarch64-chromebook().
| Aborting...
It could be fixed later on if there is some interest.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
- Compiling a toolchain takes time.
- We also need to make sure to get the toolchain right, usually it
requires 3 steps (gcc-initial, gcc-intermediate, gcc-final) and
here we're trying to do it in two to save compilation time.
- The 2 step toolchain worked for newlib but we don't know PKGBUILD
examples that do that for glibc based toolchains.
- We don't need a libc to build Linux.
Because of all that, we depends on the aarch64 gcc-initial toolchain
for building it now.
Once we have pushed aarch64 gcc, we will need to add it again as
a dependency for building this pacakge, in order to be able to build
this package and aarch64 userspace applications as well with the same
compiler.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|