From: Dustin M. <du...@se...> - 2001-01-22 03:30:15
|
Hi. I'm working on an SH7751 based platform(Big Sur), and I'm trying to get the generic SH7750 kernel running. However, I'm having some trouble getting the kernel to find my compressed ramdisk image. The ramdisk image is located in the boot flash at physical address 0x800000. It appears that the ram disk block size is 1KB, so I've tried several derivatives of 'ramdisk_start=0x2000', but to no avial. I get keep getting messages that no ram disk image can be found at whatever address I use. What are the command line parameters I need to use to get the kernel to find the image? Part of my problem is that I don't know if virtual memory is being used at this point, nor do I know how the physical memory space has been mapped into the virtual memory space. If anyone could be of assistance it would be greatly appreciated. Dustin. (gdb) cont Continuing. Linux version 2.4.1-pre2 (du...@du...) (gcc version 2.97 20001120 (experimental)) #4 Sun Jan 21 17:17:43 PST 2001 Warning: Unsupported machine generic, using unknown On node 0 totalpages: 16384 zone(0): 16384 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: mem=64M sh_mv=generic console=ttySC1,57600 ramdisk_start=0x2000 Setting GDB trap vector to 0xa0000100 CPU clock: 166.66MHz Bus clock: 83.33MHz Module clock: 41.66MHz Interval = 104163 Linux version 2.4.1-pre2 (du...@du...) (gcc version 2.97 20001120 (experimental)) #4 Sun Jan 21 17:17:43 PST 2001 Warning: Unsupported machine generic, using unknown On node 0 totalpages: 16384 zone(0): 16384 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: mem=64M sh_mv=generic console=ttySC1,57600 ramdisk_start=0x2000 Setting GDB trap vector to 0xa0000100 CPU clock: 166.66MHz Bus clock: 83.33MHz Module clock: 41.66MHz Interval = 104163 Calibrating delay loop... 166.29 BogoMIPS Memory: 63116k/65536k available (485k kernel code, 2420k reserved, 18k data, 28k init) Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes) Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 4096 (order: 3, 32768 bytes) CPU: SH7750 POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Starting kswapd v1.8 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize RAMDISK: Couldn't find valid RAM disk image starting at 8192. Freeing initrd memory: 640k freed SuperH SCI(F) driver initialized ttySC0 at 0xffe00000 is a SCI ttySC1 at 0xffe80000 is a SCIF Program exited normally. (gdb) |