fix jffs2 128k image generation, patch from madddes (#7584)
SVN-Revision: 22580
This commit is contained in:
parent
4bc034f07c
commit
bea34111cc
1 changed files with 19 additions and 17 deletions
|
@ -12,6 +12,7 @@ define Image/Prepare
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/BuildKernel
|
define Image/BuildKernel
|
||||||
|
# Orion Kernel uImages
|
||||||
# WRT350N v2: mach id 1633 (0x661)
|
# WRT350N v2: mach id 1633 (0x661)
|
||||||
echo -en "\x06\x1c\xa0\xe3\x61\x10\x81\xe3" > $(KDIR)/wrt350nv2-zImage
|
echo -en "\x06\x1c\xa0\xe3\x61\x10\x81\xe3" > $(KDIR)/wrt350nv2-zImage
|
||||||
cat $(LINUX_DIR)/arch/arm/boot/zImage >> $(KDIR)/wrt350nv2-zImage
|
cat $(LINUX_DIR)/arch/arm/boot/zImage >> $(KDIR)/wrt350nv2-zImage
|
||||||
|
@ -36,6 +37,7 @@ define Image/BuildKernel
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/Netgear
|
define Image/Build/Netgear
|
||||||
|
# Orion Netgear Images
|
||||||
mkdir $(KDIR)/netgear_image
|
mkdir $(KDIR)/netgear_image
|
||||||
cp $(KDIR)/wnr854t-uImage $(KDIR)/netgear_image/uImage
|
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
|
$(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
|
endef
|
||||||
|
|
||||||
define Image/Build/Linksys
|
define Image/Build/Linksys
|
||||||
# WRT350N v2 images
|
# Orion Linksys Images
|
||||||
# sysupgrade image
|
# sysupgrade image
|
||||||
( \
|
( \
|
||||||
dd if="${KDIR}/$2-uImage" bs=$5 conv=sync; \
|
dd if="${KDIR}/$2-uImage" bs=$5 conv=sync; \
|
||||||
|
|
Loading…
Reference in a new issue