[U-Boot-Users] Special Procedure to prepare own Ramdisk for U-boot ?!!
Matej Kupljen
matej.kupljen at ultra.si
Wed Jun 2 10:27:01 CEST 2004
Hi
> > I use this cmd line:
> >
> > ip=bootp; root=/dev/hda2 rw initrd=0xa1200000,0x400000
> > console=ttyS00,115200n8
>
> Why do you need a ramdisk when your root filesystem is on an IDE device?
It is on CF card.
I have to load modules for the PCMCIA support, then start cardmngr which
configures the CF card as and IDE drive.
Here is relevant the log:
--------------------------
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 4096K
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
/linuxrc: Setting up CF rootfs
/linuxrc: Installing modules...
Using
/lib/modules/2.4.19-rmk7-pxa2-bolfenk3/kernel/drivers/pcmcia/pcmcia_core.o
Linux Kernel Card Services 3.1.22
options: [pm]
Using
/lib/modules/2.4.19-rmk7-pxa2-bolfenk3/kernel/drivers/pcmcia/pxa/pxa_cs.o
Intel PXA250/210 PCMCIA (CS release 3.1.22)
Using
/lib/modules/2.4.19-rmk7-pxa2-bolfenk3/kernel/drivers/pcmcia/pcmcia_core.o
Using /lib/modules/2.4.19-rmk7-pxa2-bolfenk3/kernel/drivers/pcmcia/ds.o
/linuxrc: Starting cardmanager...
cardmgr[24]: watching 1 sockets
cardmgr[24]: starting, version is 3.2.3
cardmgr[24]: socket 0: ATA/IDE Fixed Disk
cardmgr[24]: executing: 'modprobe ide-cs'
cardmgr[24]: + Using
/lib/modules/2.4.19-rmk7-pxa2-bolfenk3/kernel/drivers/pcmcia/pcmcia_core.o
cardmgr[24]: + Using
/lib/modules/2.4.19-rmk7-pxa2-bolfenk3/kernel/drivers/pcmcia/ds.o
cardmgr[24]: + Using
/lib/modules/2.4.19-rmk7-pxa2-bolfenk3/kernel/drivers/ide/ide-cs.o
cardmgr[24]: modprobe exited with status 1
cardmgr[24]: module /lib/modules
/2.4.19-rmk7-pxa2-bolfenk3/pcmcia/ide-cs.o not available
Trying to free nonexistent resource <f6000000-f600000f>
hda: SAMSUNG CF/ATA, ATA DISK drive
ide0 at 0xf6000000-0xf6000007,0xf600000e on irq 45
hda: 253952 sectors (130 MB) w/1KiB Cache, CHS=496/16/32
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2
ide_cs: hda: Vcc = 3.3, Vpp = 0.0
cardmgr[24]: executing: './ide start hda'
/dev/ide/host0/bus0/target0/lun0: p1 p2
/dev/ide/host0/bus0/target0/lun0: p1 p2
cardmgr[24]: + mount -v /dev/hda1 /mnt/hda
cardmgr[24]: + mount: Mounting /dev/hda1 on /mnt/hda failed: Invalid
argument
cardmgr[24]: exiting
/dev/ide/host0/bus0/target0/lun0: p1 p2
/dev/ide/host0/bus0/target0/lun0: p1 p2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
--------------------------
Regards,
Matej
More information about the U-Boot
mailing list