Temat: Jak naprawić 1043nd
Udało mi się w końcu dostać konwenter i uruchomiłem ruter przez serial (po padzie po aktualizacji)
Teraz mam taki log po uruchomieniu:
U-Boot 1.1.4 (Nov 17 2009 - 11:56:26)
AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds## Booting image at bf020000 ...
Uncompressing Kernel Image ... OK
Starting kernel ...
OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Looking for OpenWrt image... found at 0xbf022000
Decompressing kernel... done!
Starting kernel at 80060000...
[ 0.000000] Linux version 3.3.8 (cezary@eko.one.pl) (gcc version 4.6.3 201202 01 (prerelease) (Linaro GCC 4.6-2012.02) ) #9 Sat Aug 10 06:55:01 CEST 2013
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9132 rev 2
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000 MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00002000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 8128
[ 0.000000] Kernel command line: board=TL-WR1043ND console=ttyS0,115200 root fstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 28940k/32768k available (2255k kernel code, 3828k reserve d, 425k data, 216k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, No des=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.090000] gpiochip_add: registered GPIOs 0 to 21 on device: ath79
[ 0.100000] MIPS: machine is TP-LINK TL-WR1043ND
[ 0.360000] bio: create slab <bio-0> at 0
[ 0.370000] Switching to clocksource MIPS
[ 0.380000] NET: Registered protocol family 2
[ 0.380000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.380000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.390000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.390000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.400000] TCP reno registered
[ 0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.420000] NET: Registered protocol family 1
[ 0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.440000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY ) (c) 2001-2006 Red Hat, Inc.
[ 0.450000] msgmni has been set to 56
[ 0.460000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 54)
[ 0.460000] io scheduler noop registered
[ 0.470000] io scheduler deadline registered (default)
[ 0.470000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.510000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.510000] console [ttyS0] enabled, bootconsole disabled
[ 0.510000] console [ttyS0] enabled, bootconsole disabled
[ 0.530000] m25p80 spi0.0: found s25sl064a, expected m25p80
[ 0.530000] m25p80 spi0.0: s25sl064a (8192 Kbytes)
[ 0.540000] 5 tp-link partitions found on MTD device spi0.0
[ 0.540000] Creating 5 MTD partitions on "spi0.0":
[ 0.550000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.560000] 0x000000020000-0x000000110c00 : "kernel"
[ 0.560000] mtd: partition "kernel" must either start or end on erase block b oundary or be smaller than an erase block -- forcing read-only
[ 0.570000] 0x000000110c00-0x0000007f0000 : "rootfs"
[ 0.580000] mtd: partition "rootfs" must either start or end on erase block b oundary or be smaller than an erase block -- forcing read-only
[ 0.590000] mtd: partition "rootfs" set to be root filesystem
[ 0.600000] mtd: partition "rootfs_data" created automatically, ofs=650000, l en=1A0000
[ 0.610000] 0x000000650000-0x0000007f0000 : "rootfs_data"
[ 0.620000] 0x0000007f0000-0x000000800000 : "art"
[ 0.620000] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.630000] Realtek RTL8366RB ethernet switch driver version 0.2.3
[ 0.750000] rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
[ 0.750000] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[ 0.930000] rtl8366rb: probed
[ 0.940000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.240000] TCP cubic registered
[ 1.250000] NET: Registered protocol family 17
[ 1.250000] Bridge firewalling registered
[ 1.260000] Ebtables v2.0 registered
[ 1.260000] 8021q: 802.1Q VLAN Support v1.8
[ 1.270000] SQUASHFS error: unable to read id index table
[ 1.270000] jffs2: Flash size not aligned to erasesize, reducing to 6976KiB
[ 1.280000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000 0000: 0x6873 instead
[ 1.290000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000 0004: 0xe207 instead
[ 1.300000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000 0008: 0xc5c7 instead
[ 1.310000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000 0010: 0x3300 instead
[ 1.320000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000 0014: 0x0400 instead
.............................
i kończy się:
[ 12.800000] Further such events for this erase block will not be printed
[ 12.830000] CLEANMARKER node found at 0x006cf400, not first node in block (0x006c0000)
[ 12.840000] JFFS2 notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 54 of xref (0 dead, 28 orphan) found.
[ 12.850000] VFS: Mounted root (jffs2 filesystem) readonly on device 31:2.
[ 12.860000] Freeing unused kernel memory: 216k freed
[ 12.870000] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
Da się to zrobić ? i jak ?