Hi there...I have some questions about that device. It's based on IXP435 CPU with 64MB RAM and 16MB flash. I've managed to screw redboot partitions and now I can't get running it properly. Clearly the stock firmware is based on OpenWrt, which in turn boot another kernel. Whatever...I do not want to use the stock firm and after a while I've managed to screw things up and now I have only redboot and OpenWrt part of stock firm running. When I try to use ixp4xx generic or other zImage, boot process sops at: "Uncompressing Linux... done, booting the kernel." No more debug info is displayed. Witch stock zImage dmesg is as follows:
Trying NPE-A...success. Using NPE-A with PHY 0.
Ethernet lan: MAC address 00:03:47:df:32:a8
IP: 192.168.1.1/255.255.255.0, Gateway: 192.168.1.254
Default server: 192.168.1.254
RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 2.04 - built 16:43:22, Jan 14 2011
Platform: KIXRP435 Development Platform (IXP43X) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
RAM: 0x00000000-0x04000000, [0x000255d0-0x03f64000] available
FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
== Executing boot script in 5.000 seconds - enter ^C to abort
RedBoot> fis load zImage
RedBoot> exec
Using base address 0x00800000 and length 0x001cc7ac
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.36 (pkelle@sles11) (gcc version 4.5.1 (GCC) ) #15 Mon May 23 14:21:06 CEST 2011
CPU: XScale-IXP43x Family [69054041] revision 1 (ARMv5TE), cr=000039ff
CPU: VIVT data cache, VIVT instruction cache
Machine: Intel KIXRP435 Reference Platform
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: rootfstype=squashfs,jffs2 console=ttyS0,115200
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61756k/61756k available, 3780k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc4800000 - 0xff000000 ( 936 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc012e000 (1176 kB)
.text : 0xc012e000 - 0xc0303000 (1876 kB)
.data : 0xc0304000 - 0xc0313520 ( 62 kB)
NR_IRQS:64
Calibrating delay loop... 398.95 BogoMIPS (lpj=1994752)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
IXP4xx: Using 16MiB expansion bus window size
bio: create slab <bio-0> at 0
Switching to clocksource OSTS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
IXP4xx Queue Manager initialized.
NPE-B: reset: npe_debug_instr(): timeout
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2 (NAND) (SUMMARY) (ZLIB) (LZO) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 120
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale
console [ttyS0] enabled
IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x008818
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0xfe0000
4 RedBoot partitions found on MTD device IXP4XX-Flash.0
IXP4xx flash: using dynamic partition definition
Creating 4 MTD partitions on "IXP4XX-Flash.0":
0x000000000000-0x000000080000 : "RedBoot"
0x000000080000-0x000000260000 : "zImage"
0x000000fc0000-0x000000fe0000 : "RedBoot config"
0x000000fe0000-0x000001000000 : "FIS directory"
IP17xx: Found IP175C at 0:00
IXP4xx MII Bus: probed
eth0: MII PHY 0 on NPE-A
eth1: MII PHY 4 on NPE-C
IXP4xx Watchdog Timer: heartbeat 60 sec
TCP cubic registered
NET: Registered protocol family 17
XScale DSP coprocessor detected.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing init memory: 1176K
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -
Please press Enter to activate this console. jffs2: Too few erase blocks (4)
NPE-C: firmware's license can be found in /usr/share/doc/LICENSE.IPL
NPE-C: firmware functionality 0x5, revision 0x2:1
Is there anything I can do to build OpenWRT for that configuration?
(Last edited by bfka on 13 Jun 2017, 12:04)