close

對於這三種格式的產生方式 以及 所需要的檔案 ,終於有時間可以把他抓出來了解一下了

bin

(

dd if=openwrt/build_dir/target-***/linux-ar71xx_generic/tmp/vmlinux-wzr-hp-ag300h.uImage bs=${bs} conv=sync; 

cat openwrt/build_dir/target-***/linux-ar71xx_generic/root.squashfs-raw

)

> openwrt/bin/ar71xx/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-sysupgrade.bin;

 
trx

penwrt/staging_dir/host/bin/trx -o

openwrt/build_dir/target-***/linux-bcm53xx/tmp/openwrt-bcm53xx-asus-rt-n18u-squashfs.trx -m 33554432 -f

openwrt/build_dir/target-***/linux-bcm53xx/asus-rt-n18u-kernel.bin -a 0x20000 -b 0x400000 -f

openwrt/build_dir/target-***/linux-bcm53xx/root-block-0x20000-min-0x800.ubi -A

openwrt/build_dir/target-***/linux-bcm53xx/ubi_mark -a 0x20000

 
tar

(cd "openwrt/build_dir/target-***/linux-ar71xx_nand/tmp"; tar cvf "openwrt/bin/ar71xx/openwrt-ar71xx-nand-nbg6716-squashfs-sysupgrade.tar" sysupgrade-nbg6716)

openwrt/build_dir/target-***/linux-ar71xx_nand/tmp/sysupgrade-nbg6716

tar打包成openwrt/bin/ar71xx/openwrt-ar71xx-nand-nbg6716-squashfs-sysupgrade.tar

sysupgrade-nbg6716/

sysupgrade-nbg6716/root

sysupgrade-nbg6716/kernel

sysupgrade-nbg6716/CONTROL

 
arrow
arrow
    全站熱搜

    橘 發表在 痞客邦 留言(0) 人氣()