Hi.
First of all, thank florian and Gabor Juhos for their great hacks.
I have a mg-11g,
http://www.tcbtech.co.jp/diho/Diho_050406_dl.html
(firmware)
http://www.tcbtech.co.jp/diho/fw/DIHO_M … _B0627.IMG
this device has "11f6-044d" as device id. Np28g has "11f6-040c" and np28ghs has "11f6-040e". So this device is same as np28g, I believe....
Anyway, I installed.
[Output from serial console]
Main Menu
1 - Load Firmware
2 - Load Program
3 - BIOS Setup
4 - Fdisk Utility
5 - Update Flash (Binary Mode)
6 - Update Firmware (Image Mode)
7 - Reboot System
Please select : 6
Update Firmware (Image Mode)
Mini TFTP Server 1.0 (IP : 192.168.168.1)
Usage (Windows 2000/XP) :
tftp -i 192.168.168.1 put <filename>
Starting the TFTP download from IP (192.168.168.10)...
.......................................................
TFTP download completed...
Updating firmware, please wait ......
Update firmware successfully! Please reboot.
Update Firmware (Image Mode)
Mini TFTP Server 1.0 (IP : 192.168.168.1)
Usage (Windows 2000/XP) :
tftp -i 192.168.168.1 put <filename>
Main Menu
1 - Load Firmware
2 - Load Program
3 - BIOS Setup
4 - Fdisk Utility
5 - Update Flash (Binary Mode)
6 - Update Firmware (Image Mode)
7 - Reboot System
Please select : 7
Reboot System
MyLoader version 2.31.0310
Probe Flash Device: 00400000 at bfc00000
Flash Device: Found 1 x16 devices at 0x0 in 16-bit mode
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
Load Firmware
Loading Firmware . Done.
decompress kernel ... ok
Linux version 2.6.19.2 (owrt@localhost) (gcc version 4.1.2) #1 Wed May 23 04:42:59 JST 2007
ADM5120 revision 8, running at 175MHz
Boot loader is: MyLoader
Booted from : NOR flash
Board is : Compex NetPassage 28G
GETENV: envname is memsize
GETENV: returning 0x001000000
CPU revision is: 0001800b
ADM5120 board setup
Determined physical RAM map:
memory: 00d47000 @ 002b9000 (usable)
Initrd not found or empty - disabling initrd
Built 1 zonelists. Total pages: 4064
Kernel command line: console=ttyS0,115200 rootfs=jffs2,squashfs init=/etc/preinit
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-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)
start_kernel(): bug: interrupts were enabled early
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13448k/13596k available (2219k kernel code, 148k reserved, 333k data, 124k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction... available.
NET: Registered protocol family 16
adm5120: system has PCI BIOS
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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) (SUMMARY) (C) 2001-2006 Red Hat, Inc.
yaffs May 23 2007 04:40:30 Installing.
io scheduler noop registered
io scheduler deadline registered (default)
Registered led device: adm5120:led
ttyS0 at I/O 0x12600000 (irq = 1) is a ADM5120
ttyS1 at I/O 0x12800000 (irq = 2) is a ADM5120
eth0: ADM5120 switch port0
eth1: ADM5120 switch port1
eth2: ADM5120 switch port2
eth3: ADM5120 switch port3
adm5120 : flash init : 0x1fc00000 0x00400000
adm5120 physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Flash device: 0x400000 at 0x1fc00000
adm5120 : using MyLoader flash mapping
Searching for MyLoader partition table in adm5120 physically mapped flash at offset 0x10000
Creating 4 MTD partitions on "adm5120 physically mapped flash":
0x00000000-0x00010000 : "MyLoader"
0x00010000-0x00020000 : "Partition Table"
0x00020000-0x00030000 : "partition0"
0x00030000-0x00400000 : "partition1"
block2mtd: version $Revision: 1.30 $
RB1xx nand
No NAND device found!!!
No NAND device found!!!
No NAND device found!!!
No NAND device found!!!
RB1xxx nand device not found
ip_conntrack version 2.4 (106 buckets, 848 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
NET: Registered protocol family 15
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Cannot open root device "<NULL>" or unknown-block(1,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
It seems an installation went well.
I have two question.
1. The message "RB1xxx nand device not found" is put out from target/linux/adm5120-2.6/patches/500-Nand.patch
? I think this module is dependent on "make menuconifg -> Target Profile -> RouterBoard RB1xx" in a normal situation.
Is't it harmful to disable this module by "make kernel_menuconfig"?
2. I want to know whether the message "Please append a correct "root=" boot option" is specific to mg-11g or not.
Has anybody installed on np28g yet? Can you show me your boot log?
regards,
zukky