• The LZMA decompression code in u-boot doesn't understand the LZMA compression performed by xz, so to get #nixwrt to generate images that work I have to build the "legacy" lzma (from 2008). Upgrading nixpkgs caused its buiild to fail with "RPATH ... contains a forbidden reference to /build"

  • so I worked around that by configureFlags = [ "--enable-static" "--disable-shared"]

  • now it is building gcc again. Guess I must have changed something else fundamental ...

https://sourceforge.net/p/squashfs/mailman/message/26599379/

self reply
in reply to Daniel Barlow
self reply
self reply
self reply

A messy confluence of patches on patches has led it to the point that the code introduced to support CONFIG_MIPS_APPENDED_RAW_DTB has been overridden by some code to support adding a DTB using the OWRTDTB hack. How can we fix this? Add another patch, of course ...

https://github.com/telent/nixwrt/commit/07a3af41c03151ac5da8513ab62d432c0994ee5f

This is progress! Now we have reached

[ 2.137998] Kernel panic - not syncing: Requested init /bin/init failed (error -8).

make ralink look at fw_passed_dtb if provided ยท telent/nixwrt@07a3af4

This makes it work with CONFIG_MIPS_RAW_APPENDED_DTB (which we switched to...

GitHub