OpenWrt Forum Archive

Topic: Trying to porting Kamikaze-7.06-x86 to RDC (i386) CPU

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

Hi all,

I'm trying to porting Kamikaze_7.06-x86 to RDC's CPU product.
While the default CPU name in menuconfig is Sokeris Net4801.
After successfully build the kernel and filesystem image, I loaded them to the target platform.
When booting the kernel, I got the following from the serial console.
Could someone please help me to solve the problem?
According to the message output, it seems Sokeris Net4801 is a 486 CPU while RDC is a 386 product.
Maybe I also need to port some files to repleace the asm file in RDC.
The following is the booting message from serial console.


GPIO 0-31 CONT: 1247c400
Loader$31 DATA: ffb87fff
mem_size: 2000000
initrd 1a00000 len 5e0000
Linux version 2.6.19.2 (macpaul@x60vm) (gcc version 4.1.2) #1 Tue Jun 5 21:15:23 CST 2007
BIOS-provided physical RAM map:
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
BIOS-e801: 0000000000100000 - 0000000002000000 (usable)
32MB LOWMEM available.
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->     8192
early_node_map[1] active PFN ranges
    0:        0 ->     8192
DMI not present or invalid.
Allocating PCI resources starting at 10000000 (gap: 02000000:fe000000)
Built 1 zonelists.  Total pages: 8128
Kernel command line: console=ttyS0,38400
Initializing CPU#0
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 23976k/32768k available (1439k kernel code, 8404k reserved, 359k data, 128k init, 0k highmem
)
virtual kernel memory layout:
    fixmap  : 0xffffc000 - 0xfffff000   (  12 kB)
    vmalloc : 0xc2800000 - 0xffffa000   ( 983 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
      .init : 0xc02c4000 - 0xc02e4000   ( 128 kB)
      .data : 0xc0267e16 - 0xc02c1dc8   ( 359 kB)
      .text : 0xc0100000 - 0xc0267e16   (1439 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Mount-cache hash table entries: 512
Compat vDSO mapped to ffffe000.
CPU: 486
No coprocessor found and no math emulation present.
Giving up.

Hi mbm,

Thanks for your information.
However Kamikaze_7.06-x86 use Linux 2.6.19 as its default kernel.
While https://dev.openwrt.org/wiki/rdc-2.6 reports it brokes with 2.6.21.
I'll try to contact Florian for detail debugging. Thank U.

The discussion might have continued from here.