tar xvf openwrt-imagebuilder-23.05.5-mediatek-filogic.Linux-x86_64.tar.xz
cd openwrt-imagebuilder-23.05.5-mediatek-filogic.Linux-x86_64/
make image PROFILE=zyxel_nwa50ax-pro
It downloads some packages, does other bits and bobs and ends with the following error:
ubinize: volume size was not specified in section "kernel", assume minimum to fit image "/home/c10l/openwrt/openwrt-imagebuilder-23.05.5-mediatek-filogic.Linux-x86_64/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/zyxel_nwa50ax-pro-kernel.bin"3805556 bytes (3.6 MiB)
Can't set hash 'value' property for 'hash' node(FDT_ERR_NOSPACE)
Can't set hash value for 'hash' hash node in 'ubi' image node
Can't add verification data for node 'ubi' (<unknown error>)
FIT description: Zyxel FIT (Flattened Image Tree)
Created: Mon Sep 23 13:34:46 2024
Image 0 (ubi)
Description: unavailable
Created: Mon Sep 23 13:34:46 2024
Type: Firmware
Compression: uncompressed
Data Size: 10485760 Bytes = 10240.00 KiB = 10.00 MiB
Architecture: Unknown Architecture
OS: Unknown OS
Load Address: unavailable
Hash algo: sha256
Hash value: a29f1328e02061fccbbcf20ecb17cc35b3590638f02e696fe734314e04303734
If it makes any difference, the computer I'm running this on is running Debian unstable on amd64.
It looks like the kernel is too large to be built, even by just selecting the profile. How can I troubleshoot this?
Hey, you're right... I guess I had just assumed these lines were errors causing the build to fail and didn't bother to look in bin/. It's my first time attempting to build OpenWRT...
Can't set hash 'value' property for 'hash' node(FDT_ERR_NOSPACE)
Can't set hash value for 'hash' hash node in 'ubi' image node
Can't add verification data for node 'ubi' (<unknown error>)
I have no idea why my image is larger but it all seems to be working as expected.
Yeah, x86 builds have this "omg the partition is too small!" message that's likewise meaningless. It's like the old story, "The Build Who Cried Wolf", I've come to just ignore the messages and assume it's ok if there's an image...