[EMAIL PROTECTED] wrote:
> Hi All,
> 
> I am using NOR flash on DVEVM. I m using kernel from tftp by setting bootm
> and bootfile params.
> This kernel is configured to use NOR Flash and disable HDA1.
> Thus, current system does not have any file system.
> Now, I wish to try rootfs.cramfs (I compiled this in host machine). I have
> copied "rootfs.cramfs" on tftpboot dir. Can some one point me, what params
> i should set, so that it uses this rootfs via tftp ?
> 

You should create a u-boot ramdisk image using your rootfs.cramfs file
system. You can use mkimage tool from u-boot for this task. For example:

$>mkimage -A arm -T ramdisk -C gzip -n 'Ramdisk' -a 0x80500000 -e
0x80500000 -d rootfs.cramfs uRamdisk

Then from your board(u-boot console):

#>tftpboot 0x80700000 uImage
#>tftpboot 0x81700000 uRamdisk
#>setenv bootargs console=ttyS0,115200n8 ip=192.168.100.33 root=/dev/ram
mem=120M
#>bootm 0x80700000 0x81700000

I hope this helps.

Regards,
Caglar

> Regards,
> 
> Viral Sachde
> 
> 
> 
> 
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to