Here the output:
-----------------------------------------
U-Boot 1.1.4 (Nov 30 2011 - 15:23:30)
AP91 (ar7240) U-boot
DRAM:
sri
#### TAP VALUE 1 = a, 2 = a
32 MB
id read 0x100000ff
flash size 4194304, 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
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
No valid address in Flash. Using fixed address
: 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 ... OK
Starting kernel ...
OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juh...@openwrt.org>
Looking for OpenWrt image... found at 0xbf022000
Decompressing kernel... done!
Starting kernel at 80060000...
[ 0.000000] Linux version 3.3.8 (stefan@ubuntu) (gcc version 4.6.3
20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Oct 16 08:11:16
PDT 2012
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7240 rev 2
[ 0.000000] Clocks: CPU:350.000MHz, DDR:350.000MHz, AHB:175.000MHz,
Ref:5.000MHz
[ 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 pages: 8128
[ 0.000000] Kernel command line: board=TL-WA7510N
console=ttyS0,115200 rootfstype=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: 29156k/32768k available (2084k kernel code, 3612k
reserved, 397k data, 208k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0,
CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 232.24 BogoMIPS (lpj=1161216)
[ 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 17 on device: ath79
[ 0.100000] MIPS: machine is TP-LINK TL-WA7510N v1
[ 0.300000] registering PCI controller with io_map_base unset
[ 0.310000] bio: create slab <bio-0> at 0
[ 0.320000] PCI host bridge to bus 0000:00
[ 0.320000] pci_bus 0000:00: root bus resource [mem
0x10000000-0x13ffffff]
[ 0.330000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.330000] pci 0000:00:00.0: BAR 0: assigned [mem
0x10000000-0x1000ffff 64bit]
[ 0.340000] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.340000] Switching to clocksource MIPS
[ 0.350000] NET: Registered protocol family 2
[ 0.350000] IP route cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.360000] TCP established hash table entries: 1024 (order: 1, 8192
bytes)
[ 0.370000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.370000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.380000] TCP reno registered
[ 0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.400000] NET: Registered protocol family 1
[ 0.420000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.430000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.440000] msgmni has been set to 56
[ 0.440000] io scheduler noop registered
[ 0.450000] io scheduler deadline registered (default)
[ 0.450000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.480000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.490000] console [ttyS0] enabled, bootconsole disabled
[ 0.490000] console [ttyS0] enabled, bootconsole disabled
[ 0.500000] m25p80 spi0.0: found s25sl032a, expected m25p80
[ 0.510000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
[ 0.510000] Creating 5 MTD partitions on "spi0.0":
[ 0.520000] 0x000000000000-0x000000020000 : "redboot"
[ 0.520000] 0x000000020000-0x000000160000 : "kernel"
[ 0.530000] 0x000000160000-0x0000003f0000 : "rootfs"
[ 0.540000] mtd: partition "rootfs" set to be root filesystem
[ 0.540000] split_squashfs: no squashfs found in "spi0.0"
[ 0.550000] 0x0000003f0000-0x000000400000 : "art"
[ 0.560000] 0x000000020000-0x0000003f0000 : "firmware"
[ 0.670000] ag71xx_mdio: probed
[ 0.680000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.250000] ag71xx ag71xx.0: eth0: connected to PHY at
ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[ 1.260000] TCP cubic registered
[ 1.260000] NET: Registered protocol family 17
[ 1.260000] Distributed Switch Architecture driver version 0.1
[ 1.270000] eth0[0]: could not detect attached switch
[ 1.270000] eth0[0]: couldn't create dsa switch instance (error -22)
[ 1.280000] 8021q: 802.1Q VLAN Support v1.8
[ 2.020000] JFFS2 notice: (1) jffs2_build_xattr_subsystem: complete
building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
xref (0 dead, 0 orphan) found.
[ 2.040000] VFS: Mounted root (jffs2 filesystem) readonly on device 31:2.
[ 2.050000] Freeing unused kernel memory: 208k freed
[ 2.050000] Kernel panic - not syncing: No init found. Try passing
init= option to kernel. See Linux Documentation/init.txt for guidance.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
There is something with init. But I don't know why freeing "unused" 208k.
Am 19.10.2012 20:49, schrieb Christian Gagneraud:
On 19/10/12 16:01, Stefan Helmert wrote:
Hello,
I am doing support for the wa7510n, now for trunk-version. Look at
the patch. I have a problem: no init found. What to do now?
Hi,
The "no init found" means that, after booting completely, the kernel
wasn't able to give the control to your root FS.
Either, your kernel doesn't supprt the FS type (JFFS2?), or maybe the
flash system (MTD), or maybe you didn't flash your router correctly or
maybe ....
A full boot log would be useful to investigate further.
Chris
ThanX!
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel