Hello!
I would like to share with my bootlog from running linux (almost) on SX541.
I`m using the https://developer.berlios.de/project/sh … e_id=12556 kernel and nfs server with rootfs made from openwrt.
It mounts /nfsroot but then stops, i can`t do anything, my SX541 just answer ping`s.
[AR7300 Boot]:y
Go to Memory Address: (default:0xB0020000) : 0x94000000
Jump to address 0x94000000 ...
AR7 loader started...
argc = 16384 = 0x4000
argv = 00000010
envp = 80004000
base = 94001f20
argc = 8 = 0x8
argv = 94301e80
envp = 94301c00
base = b4301f30
argv[] = go
argv[] = console=ttyS0,115200
argv[] = debug
argv[] = mtdparts=sinus:64k(boot)ro,-(flash)
argv[] = root=/dev/nfs
argv[] = rw
argv[] = nfsroot=/nfsroot,nolock,rsize=1024,wsize=1024
argv[] = ip=192.168.2.1:192.168.2.2::255.255.255.0:sinus:et h0ff
envp[] = nfsroot="nfs"
envp[] = HWRevision="00"
envp[] = flashsize="0x00200000"
envp[] = memsize="0x01000000"
envp[] = maca="00:04:0E:0A0F"
envp[] = macb="00:04:0E:0A0E"
envp[] = modetty0="115200,n,8,1,hw"
Launching kernel decompressor.
data = b4301f30
addr = b4301f30
lzma = 0x0000005d
size (in) = 2797701
size (out) = 2797701
Kernel decompressor was successful ... launching kernel.
loader.c:159, press any key to continue
LINUX running...
ar7_init_cmdline(8,94301e80)
ar7_init_cmdline: cmdline=console=ttyS0,115200 debug mtdparts=sinus:64k(boot)ro,-(flash) root=/dev/nfs rw nfsroot=/nfsroot,nolock,rsize=1024,wsize=1024 ip=192.168.2.1:192.168.2.2::255.255.255.0:sinus:et h0ff
ar7_init_env(94301c00)
ar7_init_env: nfsroot
ar7_init_env: HWRevision
ar7_init_env: flashsize
ar7_init_env: memsize
ar7_init_env: maca
ar7_init_env: macb
ar7_init_env: modetty0
prom_getenv(macb)
prom_getenv(maca)
prom_getenv(maca)
prom_getenv(maca)
Linux version 2.6.19.2 (ar7@linux) (gcc version 4.1.2) #45 PREEMPT Thu Mar 29 20:45:18 CEST 2007
CPU revision is: 00018448
Clocks: prediv: 1, postdiv: 25, mul: 8
Determined physical RAM map:
memory: 02000000 @ 14000000 (usable)
On node 0 totalpages: 8192
DMA zone: 64 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 8128 pages, LIFO batch:0
Normal zone: 0 pages used for memmap
Built 1 zonelists. Total pages: 8128
Kernel command line: console=ttyS0,115200 debug mtdparts=sinus:64k(boot)ro,-(flash) root=/dev/nfs rw nfsroot=/nfsroot,nolock,rsize=1024,wsize=1024 ip=192.168.2.1:192.168.2.2::255.255.255.0:sinus:et h0ff
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 128 (order: 7, 512 bytes)
Using 75.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29608k/32772k available (2196k kernel code, 316k reserved, 396k data, 140k init)
Calibrating delay loop... 6.42 BogoMIPS (lpj=3212
Mount-cache hash table entries: 512
Checking for 'wait' instruction... available.
NET: Registered protocol family 16
vlynq0: regs 0x08611800, irq 29, mem 0x04000000
vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000
PCI over VLYNQ emulation: probe of vlynq0 failed with error -22
PCI over VLYNQ emulation: probe of vlynq1 failed with error -22
Generic PHY: Registered new driver
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
squashfs: version 3.0 (2006/03/15) Phillip Lougher
io scheduler noop registered
io scheduler deadline registered (default)
ar7_wdt: disabling watchdog timer
ar7_wdt: timer margin 59 seconds (prescale 65535, change 57180, freq 62500000)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15) is a TI-AR7
serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16) is a TI-AR7
Fixed PHY: Registered new driver
device_bind_driver: device fixed@100:1 already bound
cpmac-mii: probed
cpmac: device eth0 (regs: 08612800, irq: 41, phy: fixed@100:1, mac: 00:00:00:12:34:56)
cpmac: device eth1 (regs: 08610000, irq: 27, phy: 0:1f, mac: 00:00:00:12:34:56)
physmap platform flash device: 00400000 at 10000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
physmap-flash.0: Found an alias at 0x200000 for the chip at 0x0
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
ar7part partition parsing not available
mtd: Giving out device 0 to physmap-flash.0
Registered led device: ar7:status
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Time: MIPS clocksource has been installed.
PHY: fixed@100:1 - Link is Up - 10/Half
IP-Config: Complete:
device=eth0, addr=192.168.2.1, mask=255.255.255.0, gw=255.255.255.255,
host=sinus, domain=, nis-domain=(none),
bootserver=192.168.2.2, rootserver=192.168.2.2, rootpath=
Root-NFS: Mounting /nfsroot on server 192.168.2.2 as root
Root-NFS: rsize = 1024, wsize = 1024, timeo = 0, retrans = 0
Root-NFS: acreg (min,max) = (3,60), acdir (min,max) = (30,60)
Root-NFS: nfsd port = -1, mountd port = 0, flags = 00000200
Looking up port of RPC 100003/2 on 192.168.2.2
Root-NFS: Portmapper on server returned 2049 as nfsd port
Looking up port of RPC 100005/1 on 192.168.2.2
Root-NFS: mountd port is 730
NFS: nfs_mount(c0a80202:/nfsroot)
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 140k freed
Warning: unable to open an initial console.able to open an initial console.
and then it freeze... I can only ping it :( (no telnet, shell, anything from
serial port).
Can sby tell me how to solve this problem? Any link,hint how to prepare kernel for uploading do ram memory to run it from run, and mount rootfs from nfs server?
Regards,
Krzysztof