1
0
forked from dan/liminix
liminix/modules
Raito Bezarius 63007859c2 modules/outputs/zyxel-nwa-fit: init
Zyxel "firmware" format is just… a FIT with some metadata on the models.

This FIT is like this:

--------------------------
    uImage FIT header
--------------------------
    Linux kernel
--------------------------
    FDT DTB
--------------------------
    Padding so that
    this makes
    8192kb [1]
--------------------------
    UBI volume
    as a root filesystem
--------------------------

We just reproduce this in a very brutal and naive way.
In the future, this seems worth to generalize and modularize this idea
so that zyxel-nwa-fit is just an instance of a more general output.

[1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/ramips/image/mt7621.mk;h=ab1b829ba0086cb9fc9ca8cbbf3cbc14735034d6;hb=refs/heads/main#l3097

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-02-18 20:30:41 +01:00
..
arch
bridge
dhcp6c dhcpc6 scripts: simplify (and improve correctness) 2024-02-16 18:47:12 +00:00
dnsmasq subdue dnsmasq logs 2024-02-15 23:43:54 +00:00
firewall build modules at same time as main kernel vmlinux 2024-02-11 23:47:11 +00:00
hostapd
kernel build modules at same time as main kernel vmlinux 2024-02-11 23:47:11 +00:00
mount
network
ntp
outputs modules/outputs/zyxel-nwa-fit: init 2024-02-18 20:30:41 +01:00
ppp
s6 rename /run/service-state to /run/services/outputs 2024-02-13 21:41:43 +00:00
schnapps
ssh use mkstate for dropbear keys 2024-02-13 22:12:26 +00:00
vlan
watchdog
all-modules.nix modules/outputs/ubivolume: introduce ubinization 2024-02-18 20:30:41 +01:00
base.nix modules/outputs: expose commandLineDtbNode option 2024-02-18 20:30:41 +01:00
busybox.nix
hardware.nix builders/uimage: support aligning the FIT 2024-02-18 20:30:41 +01:00
hostname.nix
outputs.nix modules/outputs: expose commandLineDtbNode option 2024-02-18 20:30:41 +01:00
ramdisk.nix
squashfs.nix
usb.nix add usb storage for turris omnia 2024-01-26 22:46:36 +00:00
users.nix
wlan.nix use regular kernel not backports for mac80211 2024-02-12 20:41:10 +00:00