Hi bitbucket
I have compiled a openwrt firmware with ramdisk.
I have used ramdisk because if i try jffs or squahfs i receive "kernel panic".
I think the problem is caused by the bootloader.
The firmware try to findthe redboot partition to load some variables.
I have read some forum and i think that is possible to extract the correct redboot bootloader from the "fonera" and load it to the 2100AP.
The fonera use redboot like bootloader and it is based on an hardware similar to the 2100AP.
If it work we can compile a new firmware for the flash with jffs2 o squahfs support.
My 2100AP can boot from network with this firmware.
It load correctly the firmware, the ethernet is ok but not the wi-fi.
You can see in the serial log
Linux version 2.6.19.2 (ramponis@ramponis-desktop) (gcc version 4.1.2) #2 Thu Ma
y 10 12:53:05 CEST 2007
CPU revision is: 0001800a
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Built 1 zonelists. Total pages: 4064
Kernel command line: console=ttyS0,9600 rootfstype=squashfs,jffs2 init=/etc/prei
nit
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: 64 (order: 6, 256 bytes)
Using 92.000 MHz high precision timer.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 11408k/16384k available (1942k kernel code, 4976k reserved, 282k data, 2
240k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction... available.
NET: Registered protocol family 16
Radio config found at offset 0x10000(0x100)
NET: Registered protocol family 2
IP route cache hash table entries: 128 (order: -3, 512 bytes)
TCP established hash table entries: 512 (order: -1, 2048 bytes)
TCP bind hash table entries: 256 (order: -2, 1024 bytes)
TCP: Hash tables configured (established 512 bind 256)
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:13:46:60:cb:7c, 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 0x0041
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 (128 buckets, 1024 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
eth0: Configuring MAC for full duplex
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Time: MIPS clocksource has been installed.
Freeing unused kernel memory: 2240k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
init started: BusyBox v1.4.1 (2007-05-10 11:41:24 CEST) multi-call binary
wlan: 0.8.4.2 (0.9.2.1)
Please press Enter to activate this console. ath_hal: module license 'Proprietar
y' taints kernel.
ath_hal: 0.9.17.2 (AR5212, AR5312, RF2316, TX_DESC_SWAP)
ath_rate_sample: 1.2 (0.9.2.1)
wlan: mac acl policy registered
ath_ahb: 0.9.4.5 (0.9.2.1)
wifi%d: unable to attach hardware: 'Hardware revision not supported' (HAL status
13)
: Committing new firmware id ...
: killall: matrixtunnel: no process killed
BusyBox v1.4.1 (2007-05-10 11:41:24 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r7156) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:/#
I can also connect to the web administration interface (X-WRT) and i work (not so good).
Something is missing or do not work correcly, but the cpu and the ethernet are ok
What do you think?
Can you help me?
Thank you