fix jffs2 128k image generation, patch from madddes (#7584)

SVN-Revision: 22580
lede-17.01
Florian Fainelli 2010-08-10 16:13:01 +00:00
parent 4bc034f07c
commit bea34111cc
1 changed files with 19 additions and 17 deletions

View File

@ -12,6 +12,7 @@ define Image/Prepare
endef
define Image/BuildKernel
# Orion Kernel uImages
# WRT350N v2: mach id 1633 (0x661)
echo -en "\x06\x1c\xa0\xe3\x61\x10\x81\xe3" > $(KDIR)/wrt350nv2-zImage
cat $(LINUX_DIR)/arch/arm/boot/zImage >> $(KDIR)/wrt350nv2-zImage
@ -36,6 +37,7 @@ define Image/BuildKernel
endef
define Image/Build/Netgear
# Orion Netgear Images
mkdir $(KDIR)/netgear_image
cp $(KDIR)/wnr854t-uImage $(KDIR)/netgear_image/uImage
$(STAGING_DIR_HOST)/bin/mkfs.jffs2 -m none -p -l -q -e 128KiB -o $(KDIR)/wnr854t-uImage.jffs2 -d $(KDIR)/netgear_image
@ -48,7 +50,7 @@ define Image/Build/Netgear
endef
define Image/Build/Linksys
# WRT350N v2 images
# Orion Linksys Images
# sysupgrade image
( \
dd if="${KDIR}/$2-uImage" bs=$5 conv=sync; \