Hi all
   
  I am currently porting the uClinux patch from NXP (LPC22xx) to an Actel M7 
A3P-DEV-KIT-SCS. This demo board is an ARM7TDMI-S enabled proASIC3. I am making 
good progress so far however I am a bit confused about how to mount the 
ROMFS.img file created within uClinux-dist.
   
  The memory map of my system is as follows
   
  00000000 003FFFFF      flash
  10000000 10100000       ram (only one 1MB!)
   
  I am using xip for the kernel which is loaded into flash at address 230000 
and the data and bss areas are relocated to 10008000 and it all boots ok ;-) 
however its the next stage that I am having trouble with. I have loaded 
ROMFS.img into 340000 and hardcoded at kernel compile time the following 
command line kernel parameters
   
  Kernel command line: root=/dev/ram0 initrd=0x00340000,289k 
console=ttyS0,115200n8
   
  However I get the following errors from the kernel at boot up
   
  initrd (0x00340000 - 0x00388400) extends beyond physical memory - disabling 
initrd
   
  and
   
  Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
   
  I think I need to change the command line somehow to get it to boot the ROMFS 
xip can anyone help? please
   
  Below is the full kernel output
   
  =>  go 230000
  ## Starting application at 0x00230000 ...
  Linux version 2.6.11.8-hsc0 ([EMAIL PROTECTED]) (gcc version 2.95.3 20010315 
(release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux 
XIP and shared lib patches from http://www.snapgear.com/)) #3 Fri May 23 
00:08:42 BST 2008
  CPU: Philips-LPC22xx [22000000] (ARMv3)
  Machine: LPC22xx, PHILIPS ELECTRONICS Co., Ltd.
  initrd (0x00340000 - 0x00388400) extends beyond physical memory - disabling 
initrd
  Built 1 zonelists
  Kernel command line: root=/dev/ram0 initrd=0x00340000,289k 
console=ttyS0,115200n8
  PID hash table entries: 16 (order: 4, 256 bytes)
  Dentry cache hash table entries: 256 (order: -2, 1024 bytes)
  Inode-cache hash table entries: 128 (order: -3, 512 bytes)
  Memory: 1MB = 1MB total
  Memory: 900KB available (574K code, 80K data, 4K init)
  Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
  Linux NoNET1.0 for Linux 2.6
  Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
  �ttyS0 at MMIO 0x0 (irq = 1) is a 16550A
  io scheduler noop registered
  RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
  loop: loaded (max 8 devices)
  Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
     

   
   
   
   

       
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to