Hi
I have an Fuson 70 AP but no wireless controller and I can't manually config it, from the console I have the following output
VSCXXX Found 0 unit 0:0 phy_addr: 0 id: 00070421
PHY is Vitesse VSC8601 Rev B
VSCXXX unit 0 phy_addr 0
mode_ctr (00 )=1140 auto-eg
full-duplex
f1000
mode_status (01 )=7949 auto-neg-cap
ex-cap
rcv-error (19 )=0000
false-carrier (20 )=0000
disconnect_cnt (21 )=0000
Ethernet eth0: MAC address 02:34:6b:83:69:93
IP: 192.168.1.2/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.1.36
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version R1.1 - built 07:26:31, Dec 6 2008
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Board: pb44
RAM: 0x80000000-0x84000000, [0x8004a420-0x80fb1000] available
FLASH: 0xbf000000 - 0xc0000000, 64 blocks of 0x00040000 bytes each.
== Executing boot script in 3.000 seconds - enter ^C to abort
RedBoot> fis load -d KernelA
Image loaded from 0x80070000-0x80319086
RedBoot> exec -c "console=ttyS0,115200 root=31:04 rootfstype=jffs2 init=/sbin/init mem=64M@0x00000000"
Now booting linux kernel:
Base address 0x80050000 Entry 0x80070008
Cmdline : console=ttyS0,115200 root=31:04 rootfstype=jffs2 init=/sbin/init mem=64M@0x00000000
Linux version 2.6.15--LSDK-7.3.0.385 (jvarghese@Ban-build-server) (gcc version 3.4.4) #199 Mon Nov 2 06:17:17 IST 2009
flash_size passed from bootloader = 16
arg 1: console=ttyS0,115200 root=31:04 rootfstype=jffs2 init=/sbin/init mem=64M@0x00000000
CPU revision is: 00019374
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=31:04 rootfstype=jffs2 init=/sbin/init mem=64M@0x00000000
Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, linesize 32 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).
Cache parity protection disabled
PID hash table entries: 512 (order: 9, 8192 bytes)
Using 300.000 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 61568k/65536k available (2075k kernel code, 3924k reserved, 496k data, 152k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction... available.
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
AR7100 GPIOC major 0
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
Serial: 8250/16550 driver $Revision: 1.1.1.2 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize
cmdlinepart partition parsing not available
Searching for RedBoot partition table in ar7100-nor0 at offset 0xf80000
11 RedBoot partitions found on MTD device ar7100-nor0
Creating 11 MTD partitions on "ar7100-nor0":
0x00000000-0x00040000 : "RedBoot"
mtd: Giving out device 0 to RedBoot
0x00040000-0x00080000 : "BootConfig"
mtd: Giving out device 1 to BootConfig
0x00080000-0x000c0000 : "BootConfigSave"
mtd: Giving out device 2 to BootConfigSave
0x000c0000-0x00240000 : "KernelA"
mtd: Giving out device 3 to KernelA
0x00240000-0x00800000 : "RootFsA"
mtd: Giving out device 4 to RootFsA
0x00800000-0x00980000 : "KernelB"
mtd: Giving out device 5 to KernelB
0x00980000-0x00f40000 : "RootFsB"
mtd: Giving out device 6 to RootFsB
0x00f40000-0x00f80000 : "Test"
mtd: Giving out device 7 to Test
0x00f80000-0x00fbf000 : "FIS directory"
mtd: partition "FIS directory" doesn't end on an erase block -- force read-only
mtd: Giving out device 8 to FIS directory
0x00fbf000-0x00fc0000 : "RedBoot config"
mtd: partition "RedBoot config" doesn't start on an erase block boundary -- force read-only
mtd: Giving out device 9 to RedBoot config
0x00fc0000-0x01000000 : "Board data"
mtd: Giving out device 10 to Board data
10 Dec 2004 USB 2.0 'Enhanced' Host Controller (EHCI) Driver (AR7100_EHCI)
In ar7100_ehci_drv_probe<4>ar7100-ehci: probe of ar7100-ehci.0 failed with error -1
2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (ar7100_ohci)block sizes: ed 64 td 64
In ohci_hcd_ar7100_drv_probe<4>ar7100-ohci: probe of ar7100-ohci.0 failed with error -1
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing unused kernel memory: 152k freed
init started: BusyBox v1.01 (2009.02.10-02:18+0000) multi-call binary
init started: BusyBoxAlgorithmics/MIPS FPU Emulator v1.5
v1.01 (2009.02.10-02:18+0000) multi-call binary
Starting pid 16, console /dev/ttyS0: '/etc/rc.d/rcS'
ag7100_mod: module license 'unspecified' taints kernel.
AG7100: Length per segment 512
AG7100: Max segments per packet 4
AG7100: Max tx descriptor count 400
AG7100: Max rx descriptor count 252
AG7100: fifo cfg 3 018001ff
AG7100CHH: Mac address for unit 0
AG7100CHH: 02:34:6b:83:69:93
ag7100_ring_alloc Allocated 6400 at 0x8137e000
ag7100_ring_alloc Allocated 4032 at 0x8030e000
AG7100: cfg1 0xf cfg2 0x7014
VSC8601: Found 0 unit 0:0 phy_addr: 0 id: 00070421
VSC8601: PHY is Vitesse VSC8601 Rev B
VSC8601: unit 0 phy_addr 0
VSC8601: unit 0 phy_addr 0
AG7100: unit 0: phy not up carrier 1
Writing 4
SIOCGIFFLAGS: No such device
device eth0 entered promiscuous mode
ath_hal: 0.9.17.1 (AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2316, RF2317, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
**u4ea module init start
wlan: 0.8.4.2 (Atheros/multi-bss)
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_pci: 0.9.4.5 (Atheros/multi-bss)
PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
VSC8601: unit 0 phy_addr 0
AG7100: unit 0 phy is up...RGMii 100Mbps full duplex
AG7100: pll reg 0x18050010: 0x1099
AG7100: cfg_1: 0x1ff0000
AG7100: cfg_2: 0x3ff
AG7100: cfg_3: 0x18001ff
AG7100: cfg_4: 0xffff
AG7100: cfg_5: 0x3ffef
AG7100: done cfg2 0x7115 ifctl 0x10000 miictrl 0x12
DFS min filter rssiThresh = 18
DFS max pulse dur = 131 ticks
!!!!! SC Callback Registration for wifi0
wifi0: Atheros 9160: mem=0x10000000, irq=48 hw_base=0xb0000000
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
wlan: mac acl policy registered
GRE over IPv4 tunneling driver
Starting pid 310, console /dev/ttyS0: '/etc/rc.d/rc.log'
Starting pid 312, console /dev/ttyS0: '/sbin/softdog'
/sbin/softdog: software watchdog not installed in kernel
If kerneld is not running and is not properly configured, SOFTDOG
will fail. Please read the README file in the SOFTDOG distribution.
OK, kerneld loaded the module, continuing...
Starting pid 314, console /dev/ttyS0: '/u4ea/image-U4EAFUSION70.rp'
[main:598] IPADDR: 10.147.36.167
[main:603] MAC: 02:34:6b:83:69:93
AP Vendor/Model : U4EAFUSION70
Firmware Build : 2010-07-19 11:52 +0530 /home/calwifi/sources/rubik-new-cvs/rubik/src
Firmware Version: 2574826-calwifi_ez_dev
Serial Number : 28LC0920000454
Ethernet MACAddr: 02:34:6b:83:69:93
[00000010] INFO : Bootloader POST result code: 0x0000. {rpStartup.c:854}
[00000010] INFO : Old fatal error: Occurred 571 sec after POR. Build info: "2010-07-19 11:52 +0530 /home/calwifi/sources/rubik-new-cvs/rubik/src". {rpStartup.c:799}
[00000010] INFO : Stored error message: "Communication with all WCP(s) lost - rebooting (rpmstates.c:2513)
" {rpStartup.c:802}
[rp console] ** disabled **
rtosBootFlagsGet:2609 in wlan/wtp/rtos/linux/rtos_sys.c not implemented
rtosBootFlagsGet:2609 in wlan/wtp/rtos/linux/rtos_sys.c not implemented
[00000011] INFO : Slot 0: Radio detected AtherosLnx 802.11n 5GHz/2.4Ghz. {d11if.c:197}
[00000012] INFO : Managing controller before reboot was the primary {rpmstates.c:2148}
rtosEtherLinkStateNotify:1802 in wlan/wtp/rtos/linux/rtos_sys.c not implemented
[00000026] INFO : Sending discovery message to Primary at 10.147.36.160 {rpmstates.c:906}
If I try to load an openwrt kernel (openwrt-15.05-ar71xx-generic-pb44-kernel.bin) from tftp or [xyz]modem I have this
Board: pb44
RAM: 0x80000000-0x84000000, [0x8004a420-0x80fb1000] available
FLASH: 0xbf000000 - 0xc0000000, 64 blocks of 0x00040000 bytes each.
== Executing boot script in 3.000 seconds - enter ^C to abort
^C
RedBoot> load -r -b %{FREEMEMLO} -m xmodem
CCCCCCRaw file loaded 0x8004a800-0x8021a7ff, assumed entry at 0x8004a800
xyzModem - CRC mode, 0(SOH)/1856(STX)/0(CAN) packets, 6 retries
RedBoot>
RedBoot> exec
Now booting linux kernel:
Base address 0x80050000 Entry 0x8004a800
Cmdline : console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mem=64M@0x00000000
it's a must that the kernel needs to be written to flash before executing it ?
can it be run from memory ?
I've built the latest trunk and tried the gz,lzma and uncompressed kernel, but it would not start
the flash has 16MB and has 2 images, the factory and an updated one, it can be selected via redboot,
the board is Lite-On WP741AP and is the same as the hp(3com) airconnect 9150, the hp firmware has an web based config but I don't know how to flash the img file
this is the flash layout
RedBoot> fis list
Name FLASH addr Mem addr Length Entry point
RedBoot 0xBF000000 0xBF000000 0x00040000 0x00000000
BootConfig 0xBF040000 0x80500000 0x00040000 0x00000000
BootConfigSave 0xBF080000 0x80500000 0x00040000 0x00000000
KernelA 0xBF0C0000 0x80070000 0x00180000 0x80070008
RootFsA 0xBF240000 0x80500000 0x005C0000 0x00000000
KernelB 0xBF800000 0x80070000 0x00180000 0x80070008
RootFsB 0xBF980000 0x80500000 0x005C0000 0x00000000
Test 0xBFF40000 0x80500000 0x00040000 0x00000000
FIS directory 0xBFF80000 0xBFF80000 0x0003F000 0x00000000
RedBoot config 0xBFFBF000 0xBFFBF000 0x00001000 0x00000000
Board data 0xBFFC0000 0xBFFC0000 0x00040000 0x00000000
can I write only the KernelB and RootFsB part to try to test it, of if is not booting from memory it will not boot from flash either ?
LE: is there a way to backup the flash with redboot ?
Regards
(Last edited by jcook on 30 Jun 2016, 11:56)