1
0
Fork 0
liminix/modules/outputs
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
..
btrfs.nix
ext4fs.nix
extlinux.nix whitespace 2024-02-02 19:43:34 +00:00
initramfs.nix
jffs2.nix
kexecboot.nix
mbrimage.nix
mtdimage.nix
tftpboot.nix make tftpboot work on devices with old u-boot 2024-02-15 23:44:47 +00:00
tplink-safeloader.nix Add tplink module for creating 'safeloader' images 2024-02-06 17:59:38 +01:00
ubifs.nix modules/outputs/ubifs: expose `rootubifs` rather than `rootfs` 2024-02-18 20:30:41 +01:00
ubimage.nix
ubivolume.nix modules/outputs/ubivolume: introduce ubinization 2024-02-18 20:30:41 +01:00
vmroot.nix
zyxel-nwa-fit.nix modules/outputs/zyxel-nwa-fit: init 2024-02-18 20:30:41 +01:00