>>>>> "Nguyễn" == Nguyễn Hồng Quân <quanngu...@mbm.vn> writes:

Nguyễn> Thank HeXiLeD, Is there a way to determine which file is
Nguyễn> right?  After building firmware, I see these files: -
Nguyễn> openwrt-ramips-rt305x-root.squashfs -
Nguyễn> openwrt-ramips-rt305x-rt-n13u-squashfs-sysupgrade.bin -
Nguyễn> openwrt-ramips-rt305x-uImage.bin -
Nguyễn> openwrt-ramips-rt305x-vmlinux.bin Sometimes, there is also
Nguyễn> xxx-squashfs-factory.bin file.

Nguyễn> If flashing via serial, I know I need to use xxx-root.squashfs
Nguyễn> and xxx-vmlinux.bin.  If upgrade from OpenWrt, I know I need
Nguyễn> to use xxx-sysupgrade.bin.  But which file to use with "mtd"?

It should be

  mtd -r write $foo linux

(the "write" is important ;-) where $foo is your image.

When I recently reflashed a buffalo wzr600dhp from stock ddwrt to
openwrt, I used the:

  openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-sysupgrade.bin

and it worked.  Anything that says root or vmlinux isn't going to
contain everything you need in the image.  Beyond that, I'd just be
guessing.  FWIW.


-- 
Russell Senior, President
russ...@personaltelco.net
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to