Based on previous patch series ubi for dockstar. To install the new ubi style on goflexnet: - update bootloader (use the same bootloader as of goflexhome) The goflexnet has a not as old SoC like the dockstar, which means a recovery of a broken bootloader is easy using uart recovery via kwboot mw 0x800000 0xffff 0x80000 tftpboot 0x800000 openwrt-kirkwood-goflexhome-u-boot.kwb nand erase 0x000000 0x100000 nand write.e 0x800000 0x000000 0x80000
- install openwrt using initramfs tftpboot 0x800000 openwrt-kirkwood-goflexnet-initramfs-kernel.bin bootz 0x800000 ubidetach -p /dev/mtd1 ubiformat -f /tmp/openwrt-kirkwood-goflexnet-squashfs-factory.bin /dev/mtd1 ubiattach -p /dev/mtd1 # ubiattach is important to expand the ubi, otherwise uboot have problems with it Should I depend on CONFIG_TARGET_ROOTFS_INITRAMFS for this target, because you need it to install the image? Alexander Couzens (7): linux/kirkwood: migrate goflexhome/goflexnet to new ubi style kirkwood/goflexhome/goflexnet: merge "root" and unused mtd partitions into one volume "ubi" kirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mb uboot-kirkwood/goflexhome: update bootargs to use new ubi style uboot-kirkwood/goflexhome: add forgotten include openwrt-kirkwood-common.h" uboot-kirkwood/goflexhome: explicit define the size of the last partition kirkwood: switch to kernel 4.4 .../uboot-kirkwood/patches/150-goflexhome.patch | 30 ++ .../patches/200-openwrt-config.patch | 9 + target/linux/kirkwood/Makefile | 2 +- target/linux/kirkwood/config-4.4 | 315 +++++++++++++++++++++ target/linux/kirkwood/image/Makefile | 20 +- .../kirkwood/patches-3.18/180-goflexhome.patch | 26 +- .../kirkwood/patches-3.18/181-goflexnet.patch | 25 ++ .../patches-4.4/100-find_active_root.patch | 61 ++++ target/linux/kirkwood/patches-4.4/110-ib62x0.patch | 20 ++ .../linux/kirkwood/patches-4.4/130-iconnect.patch | 41 +++ .../linux/kirkwood/patches-4.4/140-dockstar.patch | 32 +++ target/linux/kirkwood/patches-4.4/160-ea4500.patch | 200 +++++++++++++ target/linux/kirkwood/patches-4.4/170-ea3500.patch | 192 +++++++++++++ .../kirkwood/patches-4.4/180-goflexhome.patch | 130 +++++++++ .../linux/kirkwood/patches-4.4/181-goflexnet.patch | 25 ++ .../linux/kirkwood/patches-4.4/190-nsa310s.patch | 300 ++++++++++++++++++++ .../kirkwood/patches-4.4/200-disable-tso.patch | 35 +++ 17 files changed, 1439 insertions(+), 24 deletions(-) create mode 100644 package/boot/uboot-kirkwood/patches/150-goflexhome.patch create mode 100644 target/linux/kirkwood/config-4.4 create mode 100644 target/linux/kirkwood/patches-3.18/181-goflexnet.patch create mode 100644 target/linux/kirkwood/patches-4.4/100-find_active_root.patch create mode 100644 target/linux/kirkwood/patches-4.4/110-ib62x0.patch create mode 100644 target/linux/kirkwood/patches-4.4/130-iconnect.patch create mode 100644 target/linux/kirkwood/patches-4.4/140-dockstar.patch create mode 100644 target/linux/kirkwood/patches-4.4/160-ea4500.patch create mode 100644 target/linux/kirkwood/patches-4.4/170-ea3500.patch create mode 100644 target/linux/kirkwood/patches-4.4/180-goflexhome.patch create mode 100644 target/linux/kirkwood/patches-4.4/181-goflexnet.patch create mode 100644 target/linux/kirkwood/patches-4.4/190-nsa310s.patch create mode 100644 target/linux/kirkwood/patches-4.4/200-disable-tso.patch -- 2.7.2 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel