Вялотекущее ковыряние продолжаю.
Производители извращаются, как могут - чтобы попасть при загрузке в меню u-Boot, требуется при загрузке успеть нажать цифру "4".
Кстати, при нажатии Ctrl-C, прошивка в кернел паник не впадает.
Лог входа в u-Boot:
Code:
U-Boot 1.1.3 (Oct 22 2008 - 13:27:09)
Board: RT2880 DRAM: 32 MB
twe0 set to <NULL>
toe0 set to <NULL>
flash_protect ON: from 0xBC400000 to 0xBC427DAF
protect on 0
protect on 1
protect on 2
flash_protect ON: from 0xBC430000 to 0xBC43FFFF
protect on 3
*** Warning - bad CRC, using default environment
При попытке заливки прошивки по tftp получаем в консоли тишину.
Code:
tftpd 192.168.1.15:test.bin
При попытке загрузки через tftpboot получаем ERROR на 97% закачки прошивки в логе tftp сервера, на роутере загорается светодиод Wi-Fi, в консоли - ожидание дозаливки образа ...
Code:
tftpboot 192.168.1.15
Может кто идею полезную еще подскажет?
Аналога 9 ноги WL 500-ых тут нет? Чип же со скрытыми ногами ...
Лог загрузки:
Code:
OK
No initrd
## Transferring control to Linux (at address 8a194040) ...
## Giving linux memsize in MB, 32
Starting kernel ...
THIS IS ASIC - VERSION B
ramsize = 32 MBytes
rambase not set, set to default (0x08000000)
MEMORY DESCRIPTOR dump:
[0,8a49fd50]: base<0a000000> size<02000000> type<Free RAM memory>
The CPU feqenuce set to 266 MHz
CPU revision is: 0001906c
icache: sets:256, ways:4, linesz:16 ,total:16384, waybit:12, flags:0x0
dcache: sets:256, ways:4, linesz:16 ,total:16384, waybit:12, flags:0x0
i waysize = 4096, d waysize = 4096, i sets= 256, d sets=256
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, linesize 16 bytes.
[setup_scache]:1043
Linux version 2.4.30 (root@magic_pan) (gcc version 3.3.6) #2237 2009e94 04f 14f% ffd: 09:21:56 CST
Determined physical RAM map:
memory: 02000000 @ 0a000000 (usable)
Initial ramdisk at: 0x8a1c9000 (2629632 bytes)
On node 0 totalpages: 49152
zone(0): 49152 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0
cause = 50808320, status = 1000fc00
calculating r4koff... 002896a0(2660000)
CPU frequency 266.00 MHz
Using 133.000 MHz high precision timer.
Calibrating delay loop... 265.42 BogoMIPS
Memory: 25896k/32768k available (1604k kernel code, 6872k reserved, 2672k data, 100k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
pci.c pcibios_init():840
BAR0 at slot 0 = 8
pci.c pcibios_fixup_resources():640
bus = 0, dev = 0, fun = 0
dev= 0x8a6bcc00
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.1 (2006/08/19) Phillip Lougher
pty: 256 Unix98 ptys configured
Ralink RT2880 gpio driver initialized
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x300500 (irq = 9) is a 16550A
ttyS01 at 0x300c00 (irq = 8) is a 16550A
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
##[RAETHx 1: module init]## RA2880 Ethernet Driver Initilization. v1.01 128 rx/tx descriptors allocated!
dev_raether irq is 3(eth2)
ether setup [eth2]
Netlink init ok!
PROC INIT OK!
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPPoL2TP kernel driver, V0.13 (oleg@cs.msu.su)
FLASH_API: MAN_ID=C2 DEV_ID=22A8 SIZE=4MB
physmap flash device: 800000 at 1c400000
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Using physmap partition definition
Creating 4 MTD partitions on "RT2880 SOC Physically mapped flash":
0x00000000-0x00030000 : "Bootloader"
mtd: Giving out device 0 to Bootloader
0x00030000-0x00040000 : "Config "
mtd: Giving out device 1 to Config
0x00040000-0x00050000 : "Factory"
mtd: Giving out device 2 to Factory
0x00050000-0x00400000 : "Kernel"
mtd: Giving out device 3 to Kernel
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 16384 buckets, 128Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
ip_conntrack version 2.1 (16384 buckets, 8192 max) - 324 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team, Type=Restricted Cone
ipt_time loading
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 2568k freed
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing prom memory: 0kb freed
Freeing unused kernel memory: 100k freed
console started
trying to start /sbin/init
Restarting system.
(и по кругу)