From e7cd6f5d66b827e31cfa7e7bc019ac1b86aac770 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Fri, 30 Dec 2016 11:53:21 +0100 Subject: ar71xx: add AVM FRITZ!WLAN Repeater 300E support Specifications: * SoC: AR7242 (Virian 400MHz) * RAM: 64 MB DDR (W9751G6JB-25) * Flash: 16MB SPI flash (S25FL129PIF) * WiFi: AR9382 (2.4/5GHz) + 2x SE2595L * LAN: 1x1000M (PEF7071V) To install LEDE via EVA bootloader, a FTP connection need to be established to 192.168.178.1 within the first seconds after power on: ftp> quote USER adam2 ftp> quote PASS adam2 ftp> binary ftp> debug ftp> passive ftp> quote MEDIA FLSH ftp> put lede-ar71xx-generic-fritz300e-squashfs-sysupgrade.bin mtd1 Signed-off-by: Mathias Kresin --- include/image-commands.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/image-commands.mk') diff --git a/include/image-commands.mk b/include/image-commands.mk index 093b93d0e9..8607c85e9e 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -67,6 +67,16 @@ define Build/netgear-dni mv $@.new $@ endef +define Build/append-squashfs-fakeroot-be + rm -rf $@.fakefs $@.fakesquashfs + mkdir $@.fakefs + $(STAGING_DIR_HOST)/bin/mksquashfs-lzma \ + $@.fakefs $@.fakesquashfs \ + -noappend -root-owned -be -nopad -b 65536 \ + $(if $(SOURCE_DATE_EPOCH),-fixed-time $(SOURCE_DATE_EPOCH)) + cat $@.fakesquashfs >> $@ +endef + # append a fake/empty rootfs uImage header, to fool the bootloaders # rootfs integrity check define Build/append-uImage-fakeroot-hdr -- cgit v1.2.3