ath79: add hwver parameter to buffalo-tag
In order to be able to set the value of "hardware version" other than "3", I added the "hwver" parameter. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
This commit is contained in:
parent
adbd9d1f1f
commit
d745eac636
3 changed files with 6 additions and 5 deletions
|
@ -8,8 +8,9 @@ endef
|
||||||
|
|
||||||
define Build/buffalo-tag
|
define Build/buffalo-tag
|
||||||
$(eval product=$(word 1,$(1)))
|
$(eval product=$(word 1,$(1)))
|
||||||
|
$(eval hwver=$(word 2,$(1)))
|
||||||
$(STAGING_DIR_HOST)/bin/buffalo-tag \
|
$(STAGING_DIR_HOST)/bin/buffalo-tag \
|
||||||
-c 0x80041000 -d 0x801e8000 -w 3 \
|
-c 0x80041000 -d 0x801e8000 -w $(hwver) \
|
||||||
-a ath -v 1.99 -m 1.01 -f 1 \
|
-a ath -v 1.99 -m 1.01 -f 1 \
|
||||||
-b $(product) -p $(product) \
|
-b $(product) -p $(product) \
|
||||||
-r M_ -l mlang8 \
|
-r M_ -l mlang8 \
|
||||||
|
|
|
@ -76,7 +76,7 @@ define Device/buffalo_bhr-4grv
|
||||||
IMAGE_SIZE := 32256k
|
IMAGE_SIZE := 32256k
|
||||||
IMAGES += factory.bin tftp.bin
|
IMAGES += factory.bin tftp.bin
|
||||||
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
||||||
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc BHR-4GRV 1.99 | buffalo-tag BHR-4GRV
|
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc BHR-4GRV 1.99 | buffalo-tag BHR-4GRV 3
|
||||||
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
||||||
SUPPORTED_DEVICES += wzr-hp-g450h
|
SUPPORTED_DEVICES += wzr-hp-g450h
|
||||||
endef
|
endef
|
||||||
|
@ -88,7 +88,7 @@ define Device/buffalo_wzr-hp-ag300h
|
||||||
IMAGE_SIZE := 32256k
|
IMAGE_SIZE := 32256k
|
||||||
IMAGES += factory.bin tftp.bin
|
IMAGES += factory.bin tftp.bin
|
||||||
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
||||||
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-AG300H 1.99 | buffalo-tag WZR-HP-AG300H
|
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-AG300H 1.99 | buffalo-tag WZR-HP-AG300H 3
|
||||||
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
||||||
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
|
||||||
SUPPORTED_DEVICES += wzr-hp-ag300h
|
SUPPORTED_DEVICES += wzr-hp-ag300h
|
||||||
|
@ -102,7 +102,7 @@ define Device/buffalo_wzr-hp-g450h
|
||||||
IMAGE_SIZE := 32256k
|
IMAGE_SIZE := 32256k
|
||||||
IMAGES += factory.bin tftp.bin
|
IMAGES += factory.bin tftp.bin
|
||||||
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
||||||
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-G450H 1.99 | buffalo-tag WZR-HP-G450H
|
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WZR-HP-G450H 1.99 | buffalo-tag WZR-HP-G450H 3
|
||||||
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
||||||
SUPPORTED_DEVICES += wzr-hp-g450h
|
SUPPORTED_DEVICES += wzr-hp-g450h
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -25,7 +25,7 @@ define Device/buffalo_whr-g301n
|
||||||
IMAGE_SIZE := 3712k
|
IMAGE_SIZE := 3712k
|
||||||
IMAGES += factory.bin tftp.bin
|
IMAGES += factory.bin tftp.bin
|
||||||
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
||||||
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WHR-G301N 1.99 | buffalo-tag WHR-G301N
|
IMAGE/factory.bin := $$(IMAGE/default) | buffalo-enc WHR-G301N 1.99 | buffalo-tag WHR-G301N 3
|
||||||
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
IMAGE/tftp.bin := $$(IMAGE/default) | buffalo-tftp-header
|
||||||
SUPPORTED_DEVICES += whr-g301n
|
SUPPORTED_DEVICES += whr-g301n
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue