@ -188,6 +188,21 @@ define Build/mkbrnimg
mkbrnimg -s $( SIGNATURE) -m $( MAGIC) -p $( CRC32_POLY) -o $@ $( word 1,$^) $( word 2,$^)
e n d e f
d e f i n e B u i l d / f u l l i m a g e
mkimage -A mips -O linux -C lzma -T filesystem -a 0x00 \
-e 0x00 -n 'LEDE RootFS' \
-d $( word 2,$^) $( word 2,$^) .new
cat $( word 1,$^) $( word 2,$^) .new > $@ .tmp
mkimage -A mips -O linux -T multi -a 0x00 -C none \
-e 0x00 -n 'OpenWrt fullimage' \
-d $@ .tmp $@
rm $( word 2,$^) .new
rm $@ .tmp
e n d e f
# Shared device definition: applies to every defined device
d e f i n e D e v i c e / D e f a u l t
PROFILES = Default $$ ( DEVICE_PROFILE)
@ -211,6 +226,12 @@ define Device/lantiqBrnImage
e n d e f
DEVICE_VARS += SIGNATURE MAGIC CRC32_POLY
d e f i n e D e v i c e / l a n t i q F u l l I m a g e
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma | pad-offset 4 0
IMAGES := sysupgrade.bin fullimage.img
IMAGE/fullimage.img := fullimage | check-size $$ $$ ( IMAGE_SIZE)
e n d e f
i f e q ( $( SUBTARGET ) , x w a y _ l e g a c y )
d e f i n e D e v i c e / A R V 4 5 2 0 P W
@ -628,6 +649,7 @@ endef
LEGACY_DEVICES += BTHOMEHUBV5A
d e f i n e D e v i c e / E A S Y 8 0 9 2 0 N A N D
$( Device/lantiqFullImage)
DEVICE_PROFILE := EASY80920NAND
IMAGE_SIZE := 64512k
DEVICE_TITLE := Lantiq VR9 - EASY80920NAND