@ -174,9 +174,12 @@ db120_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6336k(rootfs),1
dir825b1_mtdlayout = mtdparts = spi0.0:256k( uboot) ro,64k( config) ro,1024k( kernel) ,5184k( rootfs) ,64k( caldata) ro,1600k( unknown) ro,6208k@0x50000( firmware) ,64k@0x7f0000( caldata_copy)
dir825b1_mtdlayout_fat = mtdparts = spi0.0:256k( uboot) ro,64k( config) ro,1024k( kernel) ,6784k( rootfs) ,64k( caldata) ro,7808k@0x50000( firmware) ,64k@0x660000( caldata_orig) ,6208k@0x50000( firmware_orig)
ew-dorin_mtdlayout_4M = mtdparts = spi0.0:256k( u-boot) ro,64k( u-boot-env) ,1024k( kernel) ,2688k( rootfs) ,64k( art) ,3712k@0x50000( firmware)
dlrtdev_mtdlayout = mtdparts = spi0.0:256k( uboot) ro,64k( config) ro,1024k( kernel) ,5184k( rootfs) ,64k( caldata) ro,640k( certs) ,960k( unknown) ro,6208k@0x50000( firmware) ,64k@0x7f0000( caldata_copy)
dlrtdev_mtdlayout_fat = mtdparts = spi0.0:256k( uboot) ro,64k( config) ro,1024k( kernel) ,6544k( rootfs) ,640k( certs) ,64k( caldata) ro,7168k@0x50000( firmware) ,64k@0x660000( caldata_orig) ,6208k@0x50000( firmware_orig)
pb92_mtdlayout = mtdparts = spi0.0:256k( u-boot) ro,64k( u-boot-env) ro,2752k( rootfs) ,896k( kernel) ,64k( nvram) ,64k( art) ro,3648k@0x50000( firmware)
planex_mtdlayout = mtdparts = spi0.0:256k( u-boot) ro,64k( u-boot-env) ro,960k( kernel) ,6784k( rootfs) ,128k( art) ro,7744k@0x50000( firmware)
ubntxm_mtdlayout = mtdparts = spi0.0:256k( u-boot) ro,64k( u-boot-env) ro,1024k( kernel) ,6528k( rootfs) ,256k( cfg) ro,64k( EEPROM) ro,7552k@0x50000( firmware)
ubdev_mtdlayout = mtdparts = spi0.0:256k( u-boot) ro,64k( u-boot-env) ro,1024k( kernel) ,6464k( rootfs) ,64k( certs) ,256k( cfg) ro,64k( EEPROM) ro,7488k@0x50000( firmware)
whrhpg300n_mtdlayout = mtdparts = spi0.0:248k( u-boot) ro,8k( u-boot-env) ro,960k( kernel) ,2816k( rootfs) ,64k( art) ro,3712k@0x40000( firmware)
wndr3700_mtdlayout = mtdparts = spi0.0:320k( u-boot) ro,128k( u-boot-env) ro,1024k( kernel) ,6656k( rootfs) ,64k( art) ro,7680k@0x70000( firmware)
wndr3700v2_mtdlayout = mtdparts = spi0.0:320k( u-boot) ro,128k( u-boot-env) ro,1024k( kernel) ,14848k( rootfs) ,64k( art) ro,15872k@0x70000( firmware)
@ -229,6 +232,34 @@ define Image/Build/DIR825B1
fi
e n d e f
d e f i n e I m a g e / B u i l d / D L R T D E V
$( call MkuImageLzma,$( 2) ,$( 3) $( dlrtdev_mtdlayout) )
$( call Sysupgrade/KRuImage,$( 1) ,$( 2) ,1048576,5308416)
if [ -e " $( call sysupname,$( 1) ,$( 2) ) " ] ; then \
( \
dd if = $( call sysupname,$( 1) ,$( 2) ) ; \
echo -n " $( 4) " ; \
) > $( call imgname,$( 1) ,$( 2) ) -backup-loader.bin; \
if [ ` stat -c%s $( call sysupname,$( 1) ,$( 2) ) ` -gt 4194304 ] ; then \
echo " Warning: $( call sysupname,$( 1) ,$( 2) ) is too big " ; \
else \
( \
dd if = $( call sysupname,$( 1) ,$( 2) ) bs = 4096k conv = sync; \
echo -n " $( 5) " ; \
) > $( call factoryname,$( 1) ,$( 2) ) ; \
fi ; \
fi
$( call MkuImageLzma,$( 2) -fat,$( 3) $( dlrtdev_mtdlayout_fat) )
$( call CatFiles,$( KDIR_TMP) /vmlinux-$( 2) -fat.uImage,1048576,$( KDIR) /root.$( 1) ,6946816,$( KDIR_TMP) /$( 2) -fat.bin)
if [ -e " $( KDIR_TMP) / $( 2) -fat.bin " ] ; then \
echo -n "" > $( KDIR_TMP) /$( 2) -fat.dummy; \
sh $( TOPDIR) /scripts/combined-image.sh \
" $( KDIR_TMP) / $( 2) -fat.bin " \
" $( KDIR_TMP) / $( 2) -fat.dummy " \
$( call sysupname,$( 1) ,$( 2) -fat) ; \
fi
e n d e f
d e f i n e I m a g e / B u i l d / W Z R H P G 3 0 X N H
$( call MkuImageLzma,$( 2) ,$( 3) )
$( call Sysupgrade/KRuImage,$( 1) ,$( 2) ,1048576,31850496)
@ -377,6 +408,18 @@ define Image/Build/UBNTXM
-o $( call factoryname,$( 1) ,$( 2) )
e n d e f
d e f i n e I m a g e / B u i l d / U B D E V
$( call MkuImageLzma,$( 2) ,$( 3) $( ubdev_mtdlayout) )
$( call Sysupgrade/KRuImage,$( 1) ,$( 2) ,1048576,6684672)
dd if = $( KDIR_TMP) /vmlinux-$( 2) .uImage of = $( KDIR_TMP) /vmlinux-$( 2) .uImage.bin bs = 1024k conv = sync
-$( STAGING_DIR_HOST) /bin/mkfwimage \
-B $( 4) -v $( 5) .$( 6) .v6.0.0-OpenWrt-$( REVISION) \
-k $( KDIR_TMP) /vmlinux-$( 2) .uImage.bin \
-r $( BIN_DIR) /$( IMG_PREFIX) -root.$( 1) \
-o $( call factoryname,$( 1) ,$( 2) )
e n d e f
d e f i n e I m a g e / B u i l d / U B N T
$( call PatchKernelLzma,$( 2) ,$( 3) )
dd if = $( KDIR_TMP) /vmlinux-$( 2) .bin.lzma of = $( KDIR_TMP) /vmlinux-$( 2) .lzma bs = 64k conv = sync
@ -771,6 +814,8 @@ $(eval $(call SingleProfile,CyberTAN,$(fs_64k),WRT160NL,wrt160nl,WRT160NL,ttyS0,
$( eval $ ( call SingleProfile ,DIR 825B 1,$ ( fs_ 64k ) ,DIR 825B 1,dir -825-b 1,DIR -825-B 1,ttyS 0,115200,01AP 94-AR 7161-RT -080619-00,00AP 94-AR 7161-RT -080619-00) )
$( eval $ ( call SingleProfile ,DIR 825B 1,$ ( fs_ 64k ) ,TEW 673GRU ,tew -673gru ,TEW -673GRU ,ttyS 0,115200,01AP 94-AR 7161-RT -080619-01,00AP 94-AR 7161-RT -080619-01) )
$( eval $ ( call SingleProfile ,DLRTDEV ,$ ( fs_ 64k ) ,DLRTDEV 01,dlrtdev 01,DIR -825-B 1,ttyS 0,115200,01AP 94-AR 7161-RT -080619-00,00AP 94-AR 7161-RT -080619-00) )
$( eval $ ( call SingleProfile ,MyLoader ,$ ( fs_ 64k ) ,WP 543_ 2M ,wp 543,,ttyS 0,115200,0x 200000,2M ) )
$( eval $ ( call SingleProfile ,MyLoader ,$ ( fs_ 64k ) ,WP 543_ 4M ,wp 543,,ttyS 0,115200,0x 400000,4M ) )
$( eval $ ( call SingleProfile ,MyLoader ,$ ( fs_ 64k ) ,WP 543_ 8M ,wp 543,,ttyS 0,115200,0x 800000,8M ) )
@ -833,6 +878,8 @@ $(eval $(call SingleProfile,TPLINK-LZMA,$(fs_64kraw),TLWDR3600V1,tl-wdr3600-v1,T
$( eval $ ( call SingleProfile ,TPLINK -LZMA ,$ ( fs_ 64kraw ) ,TLWDR 4300V 1,tl -wdr 4300-v 1,TL -WDR 4300,ttyS 0,115200,0x 43000001,1,8Mlzma ) )
$( eval $ ( call SingleProfile ,TPLINK -LZMA ,$ ( fs_ 64kraw ) ,TLWDR 4310V 1,tl -wdr 4310-v 1,TL -WDR 4300,ttyS 0,115200,0x 43100001,1,8Mlzma ) )
$( eval $ ( call SingleProfile ,UBDEV ,$ ( fs_ 64k ) ,UBDEV 01,ubdev 01,UBNT -UF ,ttyS 0,115200,XM ,XM ,ar 7240) )
$( eval $ ( call SingleProfile ,UBNT ,$ ( fs_ 64k ) ,UBNTRS ,ubnt -rs ,UBNT -RS ,ttyS 0,115200,RS ,RSx ,ar 7100) )
$( eval $ ( call SingleProfile ,UBNT ,$ ( fs_ 64k ) ,UBNTRSPRO ,ubnt -rspro ,UBNT -RSPRO ,ttyS 0,115200,RSPRO ,RSPRO ,ar 7100pro ) )
$( eval $ ( call SingleProfile ,UBNT ,$ ( fs_ 64k ) ,UBNTLSSR 71,ubnt -ls -sr 71,UBNT -LS -SR 71,ttyS 0,115200,LS -SR 71,LS -SR 71,ar 7100) )
@ -861,7 +908,6 @@ $(eval $(call SingleProfile,Zcomax,$(fs_64k),ZCN1523H516,zcn-1523h-5-16,ZCN-1523
$( eval $ ( call SingleProfile ,ZyXEL ,$ ( fs_ 64k ) ,NBG_ 460N_ 550N_ 550NH ,nbg 460n_ 550n_ 550nh ,NBG 460N ,ttyS 0,115200,NBG -460N ) )
$( eval $ ( call MultiProfile ,AP 121,AP 121_ 2M AP 121_ 4M ) )
$( eval $ ( call MultiProfile ,EWDORIN , EWDORINAP EWDORINRT ) )
$( eval $ ( call MultiProfile ,TEW 652BRP ,TEW 652BRP_FW TEW 652BRP_RECOVERY ) )