Thanks!

--- On Tue, 3/3/09, Rajashekhara, Sudhakar <sudhakar....@ti.com> wrote:

> From: Rajashekhara, Sudhakar <sudhakar....@ti.com>
> Subject: RE: uboot upgrade on dm6467
> To: "gb...@yahoo.com" <gb...@yahoo.com>, 
> "davinci-linux-open-source@linux.davincidsp.com" 
> <davinci-linux-open-source@linux.davincidsp.com>
> Date: Tuesday, March 3, 2009, 10:05 PM
> Try the following to re-write the NAND with different u-boot
> image:
>  
> 1. Read from NAND offset 0x20000 to some RAM address (For
> Ex: 0x82000000).
> 2. Erase the NAND completely with "nand erase"
> command from u-boot.
> 3. Download the latest u-boot.bin file through the Ethernet
> using tftp command. This will get downloaded to some RAM
> address (Ex: 80700000).
> 4. Calculate the number of pages the new u-boot.bin will
> occupy using the formaula: (file_size/NAND_PAGE_SIZE) + 1.
> Here NAND_PAGE_SIZE for DaVinci-HD is 2048.
> 5. Write the downloaded u-boot.bin to NAND offset 0x20800.
> 6. Modify the contents of RAM (@ 0x82000000) which has the
> contents from NAND offset 0x20000, so that offset 0x82000008
> reflects the correct number of pages across which u-boot.bin
> spans.
> 7. Write back the contents modified above to NAND offset
> 0x20000.
> 8. Restart the board. Board will now boot the latest
> u-boot.
> 
> Sometimes, when you read back the NAND, though U-Boot
> reports ERROR, read will be successful. This can be verified
> by dumping the contents of the memory.
> 
> Regards, Sudhakar
> ________________________________________
> From:
> davinci-linux-open-source-boun...@linux.davincidsp.com
> [davinci-linux-open-source-boun...@linux.davincidsp.com] On
> Behalf Of gather bzbz [gb...@yahoo.com]
> Sent: Wednesday, March 04, 2009 8:07 AM
> To: davinci-linux-open-source@linux.davincidsp.com
> Subject: uboot upgrade on dm6467
> 
> The PSP document suggests "nand read 82000000 0x20000
> 0x800". However, this command failed, when I tried to
> upgrade u-boot from the running u-boot.
> 
> ***********************************************
> DM6467 EVM # nand read 82000000 20000 800
> 
> NAND read: device 0 offset 0x20000, size 0x800
>  2048 bytes read: ERROR
> DM6467 EVM #
> ***********************************************
> 
> Did somebody successfully upgrade the u-boot from a running
> u-boot, please share some lights!
> 
> 
> 
> 
> 
> _______________________________________________
> Davinci-linux-open-source mailing list
> Davinci-linux-open-source@linux.davincidsp.com
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


      

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to