Hi All,
I am using MIPS32 AU1350 processor board with 2MB of NOR Flash, I have
programmed u-boot and Linux kernel in NOR Flash. U-boot is working able to boot
linux kernel but not able to mount root filesystem from SDRAM.
I tried both initramdisk and initramfs. please let me know more info about this.
I have created uRamdisk and also passed boot arguments.
Below is the error log. let me know whether I am missing something.
U-Boot 2010.03 (May 28 2010 - 21:01:02)
Linux Advanced AVN Platform
CPU: Au1350 660MHz, id: 0x80, rev: 0x01
DRAM: 256 MB
Flash: 2 MB
*** Warning - bad CRC, using default environment
In:serial
Out: serial
Err: serial
LinuxAVN= loadb 0x8100
## Ready for binary (kermit) download to 0x8100 at 0 bps...
(Back at localhost)
(/home/gurumurthy/Downloads/kermit/) C-Kermitsend /tftpboot/rdImage
(/home/gurumurthy/Downloads/kermit/) C-Kermit\c
Connecting to /dev/ttyS0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
## Total Size = 0x002ed937 = 3070263 Bytes
## Start Addr = 0x8100
LinuxAVN= imls
Legacy Image at BFC5:
Image Name: Linux-2.6.28.1
Created: 2010-06-02 11:38:32 UTC
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size:1134559 Bytes = 1.1 MB
Load Address: 8010
Entry Point: 80104730
Verifying Checksum ... OK
LinuxAVN= iminfo 0x8100
## Checking Image at 8100 ...
Legacy image found
Image Name:
Created: 2010-06-02 11:11:16 UTC
Image Type: MIPS Linux RAMDisk Image (gzip compressed)
Data Size:3070199 Bytes = 2.9 MB
Load Address:
Entry Point:
Verifying Checksum ... OK
LinuxAVN= setenv bootargs console=ttyS0,115200 root=/dev/ram0 rw
LinuxAVN= printenv
baudrate=115200
stdin=serial
stdout=serial
stderr=serial
filesize=2ED937
bootargs=console=ttyS0,115200 root=/dev/ram0 rw
Environment size: 121/65532 bytes
LinuxAVN=
baudrate=115200
stdin=serial
stdout=serial
stderr=serial
filesize=2ED937
bootargs=console=ttyS0,115200 root=/dev/ram0 rw
Environment size: 121/65532 bytes
LinuxAVN=
baudrate=115200
stdin=serial
stdout=serial
stderr=serial
filesize=2ED937
bootargs=console=ttyS0,115200 root=/dev/ram0 rw
Environment size: 121/65532 bytes
LinuxAVN=
baudrate=115200
stdin=serial
stdout=serial
stderr=serial
filesize=2ED937
bootargs=console=ttyS0,115200 root=/dev/ram0 rw
Environment size: 121/65532 bytes
LinuxAVN= bootm
## Booting kernel from Legacy Image at 8100 ...
Image Name:
Created: 2010-06-02 11:11:16 UTC
Image Type: MIPS Linux RAMDisk Image (gzip compressed)
Data Size:3070199 Bytes = 2.9 MB
Load Address:
Entry Point:
Verifying Checksum ... OK
Wrong Image Type for bootm command
ERROR: can't get kernel image!
LinuxAVN=
LinuxAVN=
LinuxAVN= bootm 0xbfc5 0x8100
## Booting kernel from Legacy Image at bfc5 ...
Image Name: Linux-2.6.28.1
Created: 2010-06-02 11:38:32 UTC
Image Type: MIPS Linux Kernel Image (gzip compressed)
Data Size:1134559 Bytes = 1.1 MB
Load Address: 8010
Entry Point: 80104730
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 8100 ...
Image Name:
Created: 2010-06-02 11:11:16 UTC
Image Type: MIPS Linux RAMDisk Image (gzip compressed)
Data Size:3070199 Bytes = 2.9 MB
Load Address:
Entry Point:
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.6.29.4-rmi-126-DB1350 (r...@gurumurthy) (gcc version 4.2.4) #31
Wed Jun 2 17:05:36 IST 2010
console [early0] enabled
CPU revision is: 800c8001 (Au13xx)
(PRId 800c8001) @ 660.00 MHz
RMI DBAu1300 Development Board
Determined physical RAM map:
memory: 0180 @ (usable)
memory: 0c80 @ 0180 (reserved)
memory: 0200 @ 0e00 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x - 0x0001
HighMem 0x0001 - 0x0001
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x - 0x0001
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttyS0,115200 root=/dev/ram0 rw
video=au1200fb:panel:bs
Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
PID hash table entries: 1024 (order: 10, 4096 bytes)
Alchemy clocksource installed
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 51012k/57344k available (1899k kernel code, 5988k reserved, 490k data,
152k init, 0k highmem)
Calibrating delay loop...