Thanks a lot. Isn't the cp.b mainly for NOR flash?

  We used the nand read utility in u-boot. 
  
  We are now able read the ramdisk to the correct
location in the RAM. 

Regards
Suba.


--- [EMAIL PROTECTED] wrote:

> this is  in the document
> 
> setenv bootcmd ‘cp.b ramdisk_address_in_flash
> 0x85000000 ramdisk_size; 
> bootm 0x20500000’
> 
> regards,
> 
> Ken
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> To: [email protected]
> Sent: Fri, 6 Apr 2007 3:21 AM
> Subject: u-boot: Copying Ramdisk from Nand flash
> 
> 
> 
> 
>   Hello everyone,
> 
>   We are trying to run the kernel with the root file
> system in RAM.  We already have stored our RAM disk
> on
> our NAND partition. We also have created a uImage
> with
> RAM disk and initrd support.
> 
>   This is the set of u-boot commands we give:
> 
>  setenv bootargs console=ttyS0,115200n8 ip=dhcp
> root=/dev/ram0 rw initrd=0x85000000,6M
> 
>  setenv bootcmd ‘bootm 0x20500000’
> 
>  boot
> 
>  Now, the question is:
> 
>  how do we copy the RAM disk image that is in NAND
> to
> the address 0x85000000 specified in the bootargs?
> 
> 
> Regards
> Suba.
> 
> 
> 
> 
> 
> 
>
_________________________________________________________________________
> ___________
> It's here! Your new message!
> Get new email alerts with the free Yahoo! Toolbar.
> http://tools.search.yahoo.com/toolbar/features/mail/
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
>
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> 
> 
>
________________________________________________________________________
> Check Out the new free AIM(R) Mail -- 2 GB of
> storage and 
> industry-leading spam and email virus protection.
> =0
> 



 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to