Hi The following commands will FLASH the kernel. This assumes the kernel is located on a suitable TFTP server - you may need to specify /tftpboot in the filename depending on how the server is configured. DaVinci EVM # setenv serverip 172.18.1.49 DaVinci EVM # setenv ipaddr 172.18.128.179 DaVinci EVM # erase 0x02200000 0x0234FFFF DaVinci EVM # tftpboot 0x80700000 /tftpboot/uImage.davinci DaVinci EVM # cp.b 0x80700000 0x02200000 0x14A944 The IP addresses can be preserved by issuing a 'saveenv' command if required. The 'size' of the kernel image may vary and will require adjustment if it changes - check the value in red above matches your image. You can just specify a length of say 2M and write rubbish off the end of the kernel image. Once the new kernel has been saved, the 'bootcmd' variable needs the start address changing, saving and the board can then be booted. We deliberately changed the address of the kernel (to 0x02200000) so we could return to the kernel that shipped with the board if anything went wrong. DaVinci EVM # setenv bootcmd setenv setboot setenv bootargs \$(bootargs) video=dm64xxfb:output=\$(videostd)\;run setboot\;bootm 0x2200000 DaVinci EVM # saveenv DaVinci EVM # bootd Regards Phil Q Phil Quiney, Senior Software Engineer Trinity Convergence Cambridge Business Park Cowley Road Cambridge CB4 0WZ, UK T: +44(0)1223-435536 F: +44(0)1223-435560 www.trinityconvergence.com <http://www.trinityconvergence.com/>
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicolas Cadio Sent: 07 July 2008 11:28 To: [email protected] Subject: HOW TO RESTORE A BOOTING IMAGE ? Hi, Can anybody help me to restore a booting image at 0x02050000 with Linux (Open Suse 10.3) ? I haven't Windows and the JTAG. This is my minicom when I start the board and I want boot : U-Boot 1.1.3 (Jan 3 2007 - 15:25:14) U-Boot code: 81080000 -> 81099258 BSS: -> 810A1C48 RAM Configuration: Bank #0: 80000000 256 MB Flash: 16 MB In: serial Out: serial Err: serial ARM Clock :- 297MHz DDR Clock :- 162MHz Hit any key to stop autoboot: 0 DaVinci EVM # boot ## Booting image at 02050000 ... Bad Magic Number DaVinci EVM # ________________________________ Nicolas Cadio ENSSAT, EII2 [EMAIL PROTECTED] [EMAIL PROTECTED] ________________________________ ________________________________ Envoyé avec Yahoo! Mail <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html> . Une boite mail plus intelligente.
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
