@ -49,6 +49,15 @@ define Build/buffalo-wzr-header
mv $@ .new $@
e n d e f
# TRX with only one (kernel) partition
d e f i n e B u i l d / t r x
$( STAGING_DIR_HOST) /bin/trx \
-o $@ .new \
-m 33554432 \
-f $@
mv $@ .new $@
e n d e f
d e f i n e B u i l d / t r x - s e r i a l
$( STAGING_DIR_HOST) /bin/trx \
-o $@ .new \
@ -111,6 +120,8 @@ define Device/Default
DEVICE_DTS := $( patsubst %.dtb,%,$( notdir $( wildcard $( if $( IB) ,$( KDIR) ,$( DTS_DIR) ) /*-$( 1) .dtb) ) )
KERNEL := kernel-bin | append-dtb | lzma-d16
KERNEL_DEPENDS = $$ ( wildcard $( DTS_DIR) /$$ ( DEVICE_DTS) .dts)
KERNEL_INITRAMFS_SUFFIX := .trx
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma-d16 | trx
FILESYSTEMS := squashfs
KERNEL_NAME := zImage
IMAGE_NAME = $$ ( IMAGE_PREFIX) -$$ ( 1) .$$ ( 2)
@ -149,19 +160,32 @@ define Device/asus-rt-n18u
e n d e f
TARGET_DEVICES += asus-rt-n18u
# Buffalo devices have TFTP recovery mode which can work nicely with initramfs
# kernels.
# We should have two initramfs images for Buffalo: plain initramfs kernel and
# TRX with initramfs kernel. It's not possible right now so let's just build
# plain initramfs kernel as it may be more useful.
d e f i n e D e v i c e / b u f f a l o / D e f a u l t
KERNEL_INITRAMFS_SUFFIX = $$ ( KERNEL_SUFFIX)
KERNEL_INITRAMFS = $$ ( KERNEL)
e n d e f
d e f i n e D e v i c e / b u f f a l o - w x r - 1 9 0 0 d h p
$( call Device/buffalo/Default)
DEVICE_TITLE := Buffalo WXR-1900DHP
DEVICE_PACKAGES := $( USB3_PACKAGES)
e n d e f
TARGET_DEVICES += buffalo-wxr-1900dhp
d e f i n e D e v i c e / b u f f a l o - w z r - 6 0 0 d h p 2
$( call Device/buffalo/Default)
DEVICE_TITLE := Buffalo WZR-600DHP2
DEVICE_PACKAGES := kmod-b43 $( USB2_PACKAGES)
e n d e f
TARGET_DEVICES += buffalo-wzr-600dhp2
d e f i n e D e v i c e / b u f f a l o - w z r - 9 0 0 d h p
$( call Device/buffalo/Default)
DEVICE_TITLE := Buffalo WZR-900DHP
DEVICE_PACKAGES := kmod-b43 $( USB3_PACKAGES)
BUFFALO_TAG_PLATFORM := bcm
@ -182,6 +206,7 @@ endef
TARGET_DEVICES += buffalo-wzr-900dhp
d e f i n e D e v i c e / b u f f a l o - w z r - 1 7 5 0 d h p
$( call Device/buffalo/Default)
DEVICE_TITLE := Buffalo WZR-1750DHP
DEVICE_PACKAGES := kmod-b43 $( USB3_PACKAGES)
e n d e f