OpenWrt Forum Archive

Topic: ar531x problems

The content of this topic has been archived on 7 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi , i tried to load kamikaze  on my WL5400AP , but i cant since cannot mount rootfs
I enter via serial (it doesnt have for a jtag interface)

this is what I have

[Boot]: version
CPU: Atheros AR5001AP default
Boot rom version: 0.0.5
Creation date: Oct 28 2003, 15:57:57

[Boot]: S
name:    Atheros AR5001AP default
magic:   35333131
cksum:   266f
rev:     3
major:   1
minor:   0
pciid:   0013
wlan0:   no  ff:ff:ff:ff:ff:ff
wlan1:   yes 00:0d:02:47:54:57
enet0:   no  ff:ff:ff:ff:ff:ff
enet1:   yes 00:0d:02:47:54:57
uart0:   yes
sysled:  yes, gpio 7
factory: yes, gpio 6
serclk:  internal
cpufreq: calculated 180000000 Hz
sysfreq: calculated 45000000 Hz
memcap:  disabled
watchdg: enabled


[Boot]: p

boot device          : ae
unit number          : 1
processor number     : 0
host name            : tftpserver
file name            : firmware
inet on ethernet (e) : 172.16.170.31:0xffffff00
host inet (h)        : 172.16.170.248
flags (f)            : 0x88
other (o)            : ae

when I try to boot without ramfs

Attached TCP/IP interface to ae1.
Attaching network interface lo0... done.
Loading... 2494496
Starting at 0x8026e000...

Linux version 2.6.19.2 (root@localhost.localdomain) (gcc version 4.1.2) #7 Mon 7
CPU revision is: 00018009
Determined physical RAM map:
memory: 00800000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Built 1 zonelists.  Total pages: 2032
Kernel command line: console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/pret
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: 32 (order: 5, 128 bytes)
Using 90.000 MHz high precision timer.
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 512 (order: -1, 2048 bytes)
Memory: 5416k/8192k available (1942k kernel code, 2776k reserved, 282k data, 11)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
NET: Registered protocol family 16
Radio config found at offset 0x2000(0x100)
NET: Registered protocol family 2
IP route cache hash table entries: 64 (order: -4, 256 bytes)
TCP established hash table entries: 256 (order: -2, 1024 bytes)
TCP bind hash table entries: 128 (order: -3, 512 bytes)
TCP: Hash tables configured (established 256 bind 128)
TCP reno registered
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xbc000003 (irq = 37) is a 16550A
eth0: Dropping NETIF_F_SG since no checksum feature.
eth0: Atheros AR231x: 00:0d:02:47:54:57, irq 4
physmap platform flash device: 00400000 at 1e000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
Searching for RedBoot partition table in physmap-flash.0 at offset 0x3d0000
Searching for RedBoot partition table in physmap-flash.0 at offset 0x3e0000
Searching for RedBoot partition table in physmap-flash.0 at offset 0x3f0000
No RedBoot partition table detected in physmap-flash.0
ip_conntrack version 2.4 (64 buckets, 512 max) - 240 bytes per conntrack
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Cannot open root device "<NULL>" or unknown-block(1,0)
Time: MIPS clocksource has been installed.
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)


and I make a ramfs image but it didnt worked...

Attached TCP/IP interface to ae1.
Attaching network interface lo0... done.
Loading... 3756064
Starting at 0x8026e000...

Linux version 2.6.19.2 (root@localhost.localdomain) (gcc version 4.1.2) #8 Mon 7
CPU revision is: 00018009
Determined physical RAM map:
memory: 00800000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Built 1 zonelists.  Total pages: 2032
Kernel command line: console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/pret
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: 32 (order: 5, 128 bytes)
Using 90.000 MHz high precision timer.
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 512 (order: -1, 2048 bytes)
Memory: 4184k/8192k available (1942k kernel code, 4008k reserved, 282k data, 13)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.    <------------------it hang here.....I dont know why....


may someone pls help me with this issue?
do i can uoload the jffs2 rootfs ?

Thanks in advace
regards

maximiliano

We only support boards with RedBoot bootloader.

The discussion might have continued from here.