Im upgrading my 4/32 tp-link router, I updated
like so
uboot: partition@0 {
reg = <0x0 0x20000>;
label = "u-boot";
read-only;
};
partition@20000 {
compatible = "tplink,firmware";
reg = <0x20000 0xfd0000>;
label = "firmware";
};
partition@3f0000 {
reg = <0xff0000 0x10000>;
label = "art";
read-only;
and
like so
define Device/tplink_tl-mr3220-v1
$(Device/tplink-16m)
but Im getting an error on boot
Resetting...
U-Boot 1.1.4 (Jan 25 2011 - 12:09:11)
AP99 (ar7241 - Virian) U-boot
DRAM:
sri
ar7240_ddr_initial_config(133): virian ddr1 init
#### TAP VALUE 1 = 0xf, 2 = 0x10 [0x0: 0x1f]
32 MB
id read 0x100000ff
sector count = 64
Flash: 4 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
Virian MDC CFG Value ==> 4
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
Virian MDC CFG Value ==> 4
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
Uncompressing Kernel Image ... Error: Bad gzipped data
GUNZIP ERROR - must RESET board to recover
Resetting...
and here is how I did it
cat u-boot.bin openwrt-ath79-tiny-tplink_tl-mr3220-v1-squashfs-sysupgrade.bin > flash.bin
dd if=art.bin of=flash.bin seek=255 bs=65536
What I'm missing