yadox
2
Hi.
Finaly I,ve been able to compile your LEDE 1701 for AR300M NAND target (from GitHub - gl-inet/lede-17.01: Cloning from https://git.lede-project.org/?p=source.git;a=summary and adding patches for GL's new devices to lede-17.01.) with all my required packages without errors.
The generated files are:
12K dic 22 04:43 packages
29M dic 22 05:24 lede-ar71xx-nand-device-gl-ar300md-rootfs.tar.gz
4,2M dic 22 05:24 lede-ar71xx-nand-vmlinux.elf
4,2M dic 22 05:24 lede-ar71xx-nand-vmlinux.bin
1,4M dic 22 05:24 lede-ar71xx-nand-vmlinux.lzma
1,3M dic 22 05:24 lede-ar71xx-nand-uImage-lzma.bin
1,4M dic 22 05:24 lede-ar71xx-nand-vmlinux-lzma.elf
23M dic 22 05:24 lede-ar71xx-nand-root.squashfs
0 dic 22 05:24 lede-ar71xx-nand-device-gl-ar300md.manifest
13K dic 22 05:25 config.seed
885 dic 22 05:25 sha256sums
Look at the sizes. I understand that for creating an openwrt or lede update file i need to create a tar file with structure:
/sysupgrade-gl-ar300m/CONTROL (containing the text: BOARD=gl-ar300m)
/sysupgrade-gl-ar300m/kernel (renamed copy of: lede-ar71xx-nand-uImage-lzma.bin)
/sysupgrade-gl-ar300m/root (renamed copy of: lede-ar71xx-nand-root.squashfs)
But which is the img file to update nand from uboot? Is it generated?
I expected to get a file type u-boot legacy uImage, MIPS OpenWrt Linux-3.18.27, Linux/MIPS, OS Kernel Image (lzma) with about 24MB or similar but
lede-ar71xx-nand-uImage-lzma.bin
is just 1.3 MB
What have I lost?