liminix-fork/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 partial btrfs support 2024-01-07 16:43:43 +00:00
ext4fs.nix move o.systemConfiguration to initramfs module 2023-12-11 21:47:15 +00:00
extlinux.nix whitespace 2024-02-02 19:43:34 +00:00
initramfs.nix move o.systemConfiguration to initramfs module 2023-12-11 21:47:15 +00:00
jffs2.nix move o.systemConfiguration to initramfs module 2023-12-11 21:47:15 +00:00
kexecboot.nix move all output modules to subdirectory, trash standard.nix 2023-12-10 15:23:12 +00:00
mbrimage.nix vmdisk output: allow extra params to run.sh 2023-12-29 18:12:57 +00:00
mtdimage.nix rename flashimage to mtdimage 2023-12-11 19:09:18 +00:00
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 convert hardware loadAddress to int 2023-11-12 18:47:31 +00:00
ubivolume.nix modules/outputs/ubivolume: introduce ubinization 2024-02-18 20:30:41 +01:00
vmroot.nix don't double-json the command line 2023-12-05 17:32:18 +00:00
zyxel-nwa-fit.nix modules/outputs/zyxel-nwa-fit: init 2024-02-18 20:30:41 +01:00