To mam postep - chyba. Jeszcze musze zrobic odejmowanie gdzies? Ktos doradzi gdzie ? Chyba ze wziasc obraz 64MB ?
root@OpenWrt:/tmp# sysupgrade openwrt-ar71xx-mikrotik-nand-large-squashfs-sysupg
rade.bin
Image metadata not found
Cannot save config while running from ramdisk.
Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... netifd ubusd urngd logd ntpd
Sending KILL to remaining processes ...
Performing system upgrade...
Unlocking kernel ...
Erasing kernel ...
Skipping bad block at 0x0
Skipping bad block at 0x20000
Skipping bad block at 0x40000
Skipping bad block at 0x60000
Skipping bad block at 0x80000
Skipping bad block at 0xa0000
Skipping bad block at 0xc0000
Skipping bad block at 0xe0000
Skipping bad block at 0x100000
Skipping bad block at 0x120000
Skipping bad block at 0x140000
Skipping bad block at 0x160000
Skipping bad block at 0x180000
Skipping bad block at 0x1a0000
Skipping bad block at 0x1c0000
Skipping bad block at 0x1e0000
Skipping bad block at 0x200000
Skipping bad block at 0x220000
Skipping bad block at 0x240000
Skipping bad block at 0x260000
Skipping bad block at 0x280000
Skipping bad block at 0x2a0000
Skipping bad block at 0x2c0000
Skipping bad block at 0x2e0000
Skipping bad block at 0x300000 Writing data to block 0 at offset 0x0
Bad block at 0, 1 block(s) will be skipped
Writing data to block 1 at offset 0x20000
Bad block at 20000, 1 block(s) will be skipped
Writing data to block 2 at offset 0x40000
Bad block at 40000, 1 block(s) will be skipped
Writing data to block 3 at offset 0x60000
Bad block at 60000, 1 block(s) will be skipped
Writing data to block 4 at offset 0x80000
Bad block at 80000, 1 block(s) will be skipped
Writing data to block 5 at offset 0xa0000
Bad block at a0000, 1 block(s) will be skipped
Writing data to block 6 at offset 0xc0000
Bad block at c0000, 1 block(s) will be skipped
Writing data to block 7 at offset 0xe0000
Bad block at e0000, 1 block(s) will be skipped
Writing data to block 8 at offset 0x100000
Bad block at 100000, 1 block(s) will be skipped
Writing data to block 9 at offset 0x120000
Bad block at 120000, 1 block(s) will be skipped
Writing data to block 10 at offset 0x140000
Bad block at 140000, 1 block(s) will be skipped
Writing data to block 11 at offset 0x160000
Bad block at 160000, 1 block(s) will be skipped
Writing data to block 12 at offset 0x180000
Bad block at 180000, 1 block(s) will be skipped
Writing data to block 13 at offset 0x1a0000
Bad block at 1a0000, 1 block(s) will be skipped
Writing data to block 14 at offset 0x1c0000
Bad block at 1c0000, 1 block(s) will be skipped
Writing data to block 15 at offset 0x1e0000
Bad block at 1e0000, 1 block(s) will be skipped
Writing data to block 16 at offset 0x200000
Bad block at 200000, 1 block(s) will be skipped
Writing data to block 17 at offset 0x220000
Bad block at 220000, 1 block(s) will be skipped
Writing data to block 18 at offset 0x240000
Bad block at 240000, 1 block(s) will be skipped
Writing data to block 19 at offset 0x260000
Bad block at 260000, 1 block(s) will be skipped
Writing data to block 20 at offset 0x280000
Bad block at 280000, 1 block(s) will be skipped
Writing data to block 21 at offset 0x2a0000
Bad block at 2a0000, 1 block(s) will be skipped
Writing data to block 22 at offset 0x2c0000
Bad block at 2c0000, 1 block(s) will be skipped
Writing data to block 23 at offset 0x2e0000
Bad block at 2e0000, 1 block(s) will be skipped
Writing data to block 24 at offset 0x300000
Bad block at 300000, 1 block(s) will be skipped
Writing data to block 25 at offset 0x320000
Writing data to block 26 at offset 0x340000
Writing data to block 27 at offset 0x360000
Writing data to block 28 at offset 0x380000
Writing data to block 29 at offset 0x3a0000
Writing data to block 30 at offset 0x3c0000
Writing data to block 31 at offset 0x3e0000
Writing data to block 32 at offset 0x400000
Writing data to block 33 at offset 0x420000
Writing data to block 34 at offset 0x440000
Writing data to block 35 at offset 0x460000
Writing data to block 36 at offset 0x480000
Writing data to block 37 at offset 0x4a0000
Writing data to block 38 at offset 0x4c0000
[ 219.678301] ubi0: attaching mtd6
[ 220.724921] ubi0: scanning is finished
[ 220.797379] ubi0 error: ubi_read_volume_table: not enough PEBs, required 970, available 960
[ 220.806168] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd6, error -28
ubiattach: error!: cannot attach mtd6
error 28 (No space left on device)
ubiformat: mtd6 (nand), size 125829120 bytes (120.0 MiB), 960 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 0 -- 0 % complete
libscan: scanning eraseblock 1 -- 0 % complete
...
libscan: scanning eraseblock 958 -- 99 % complete
libscan: scanning eraseblock 959 -- 100 % complete
ubiformat: 960 eraseblocks have valid erase counter, mean value is 1
ubiformat: formatting eraseblock 0 -- 0 % complete
ubiformat: formatting eraseblock 1 -- 0 % complete
....
ubiformat: formatting eraseblock 958 -- 99 % complete
ubiformat: formatting eraseblock 959 -- 100 % complete
[ 230.898983] ubi0: attaching mtd6
[ 231.945601] ubi0: scanning is finished
[ 232.021306] ubi0: attached mtd6 (name "ubi", size 120 MiB)
[ 232.026864] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 232.033723] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 232.040519] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 232.047474] ubi0: good PEBs: 960, bad PEBs: 0, corrupted PEBs: 0
[ 232.053466] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[ 232.060696] ubi0: max/mean erase counter: 3/2, WL threshold: 4096, image sequence number: 318895745
[ 232.069740] ubi0: available PEBs: 936, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
[ 232.079057] ubi0: background thread "ubi_bgt0d" started, PID 1347
UBI device number 0, total 960 LEBs (121896960 bytes, 116.2 MiB), available 936 LEBs (118849536 bytes, 113.3 MiB), LEB size 126976 bytes (124.0 KiB)
Volume ID 0, size 14 LEBs (1777664 bytes, 1.6 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "none", alignment 1
Volume ID 1, size 19 LEBs (2412544 bytes, 2.3 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 114659328
Volume ID 2, size 903 LEBs (114659328 bytes, 109.3 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
umount: can't unmount /: Invalid argument
[ 236.149721] reboot: Restarting system
RouterBOOT booter 3.22
RouterBoard 433
CPU frequency: 300 MHz
Memory size: 64 MiB
NAND size: 128 MiB
Press any key within 2 seconds to enter setup..
loading kernel from nand... OK
setting up elf image...
RouterBOOT booter 3.22
RouterBoard 433
CPU frequency: 300 MHz
Memory size: 64 MiB
NAND size: 128 MiB
Press any key within 2 seconds to enter setup..
loading kernel from nand... OK
setting up elf image... OK
jumping to kernel code
OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... failed, data error!
System halted!
RouterBOOT booter 3.22
RouterBoard 433
CPU frequency: 300 MHz
Memory size: 64 MiB
NAND size: 128 MiB
Press any key within 2 seconds to enter setup..
loading kernel from nand... OK
setting up elf image... OK
jumping to kernel code
OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... failed, data error!
System halted!