Booting via NOR FLash- DM6467
Hi , I am using custom board consisting of DM6467 Davinci processor. I am trying to boot the processor from an on-board NOR flash, by burning ubl and u-boot to the NOR flash. AFter burning the NOR flash with u-boot, I get the following series of messages sfh_Dm646x.exe -norflash -v ubl_DM646x_nor.bin u-boot.bin - TI Serial Flasher Host Program for DM646x (C) 2009, Texas Instruments, Inc. Ver. 1.50 - Platform is Windows. Flashing NOR with ubl_DM646x_nor.bin and u-boot.bin. Attempting to connect to device COM1... Press any key to end this program at any time. Waiting for the DM646x... Target: BOOTME BOOTME commmand received. Returning ACK and header... ACK command sent. Waiting for BEGIN command... Target: BEGIN BEGIN commmand received. Sending CRC table... 100% [ ] CRC table sent Waiting for DONE... Target:DONE DONE received. Sending the UBL... 100% [ ] UBL sent Target:DONE DONE received. UBL was accepted. UBL transmitted successfully. Waiting for SFT on the DM646x... Target: Starting UART Boot... Target: BOOTUBL BOOTUBL commmand received. Returning CMD and command... CMD value sent. Waiting for DONE... Target:DONE DONE received. Command was accepted. Sending the UBL image Waiting for SENDIMG sequence... Target: CFI Query...passed. Target: NOR Initialization: Target: Command Set: AMD Target: Manufacturer: AMD Target: Size: 0x0010 MB Target: SENDIMG SENDIMG received. Returning ACK and header for image data... ACK command sent. Waiting for BEGIN command... Target: BEGIN BEGIN commmand received. 100% [ ] Image data sent... Waiting for DONE... Target:DONE DONE received. All bytes of image data received... Target: Erasing the NOR Flash Target: Erased through 0x4202 Target: Erase Completed Target: Writing UBL to NOR flash Target: Writing the NOR Flash Target: NOR Write OK through 0x42002C08. Target:DONE Sending the Application image Waiting for SENDIMG sequence... Target: SENDIMG SENDIMG received. Returning ACK and header for image data... ACK command sent. Waiting for BEGIN command... Target: BEGIN BEGIN commmand received. 100% [ ] Image data sent... Waiting for DONE... Target:DONE DONE received. All bytes of image data received... Target: Erasing the NOR Flash Target: Erased through 0x4204 Target: Erase Completed Target: Writing APP to NOR flash Target: Writing the NOR Flash Target: NOR Write OK through 0x42020010. Target: Writing the NOR Flash Target: NOR Write OK through 0x42028000. Target: NOR Write OK through 0x4203. Target: NOR Write OK through 0x42038000. Target: NOR Write OK through 0x420383F0. Target:DONE Target:DONE Operation completed successfully. AFter shifting to NOR Boot mode, however, I get BOOTME message continuously on Hyperterminal as if no u-boot has been loaded. Can someone point out whether I am missing something? I am using u-boot 1.2.0 version and ubl present in DM646x_FlashAndBootUtils version 1.50. I am using sfh_DM646x.exe utitilty present in the same, to burn my flash. My Flash no. is S29GL128P90TFIR2 from SPANSION. Thanks and Regards, Sidharth ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Changing Machine ID
Hi, AFAIK, the appropriate machine ID is selected at the time of compiling the available source code. If you are using the available makefile directly, then I suggest you go for recompilation with the appropriate machine ID option set ( - M i think) and enter your own machine ID. That will probably help. Regards, Sidharth - Original Message - From: Manjunatha AM manjunat...@tataelxsi.co.in To: davinci-linux-open-source@linux.davincidsp.com Sent: Monday, April 27, 2009 11:06 AM Subject: Changing Machine ID Hi I downloaded latest OS (linux-davinci-2.6-historic )from source.mvsta.com and compiled it for Davinci DM6446 EVM with low level debug option selected. When I boot the board it gives below error; * Starting kernel ... Uncompressing Linux... . done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x0356). Available machine support: ID (hex)NAME 0385DaVinci DM644x EVM Please check your kernel config and/or bootloader. ** I dont have latest Bootloader source and hence I need to change the kernel source to boot with same machine ID(passed by present bootloader..)which file I need to change?? Thanks Manjunath.AM The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. ___ 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
Re: DM6467 EVM u-boot Nand flash issue
Dear All, I am also working on a DM6467 proceesor. Can you please tell me where I can find U-Boot 1.3.4 and u-boot version 2009.3 for downloading? Thanks, Sidharth - Original Message - From: Paulraj, Sandeep s-paul...@ti.com To: Neeraj Tandon tandonneera...@yahoo.com; davinci-linux-open-source@linux.davincidsp.com Sent: Sunday, April 05, 2009 5:50 AM Subject: RE: DM6467 EVM u-boot Nand flash issue Neeraj, The latest U_boot does not have support for DM6467. You are compiling for the DVEVM. This is meant for DM6446. Compiling for DM6446 and using it for DM6467 EVM will not work. Withing TI we have got U-Boot working on 1.3.4. Maybe you can use that. I will add support for DM6467 in U-Boot GIT later this month Thanks, Sandeep From: davinci-linux-open-source-boun...@linux.davincidsp.com [davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Neeraj Tandon [tandonneera...@yahoo.com] Sent: Saturday, April 04, 2009 1:38 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: DM6467 EVM u-boot Nand flash issue Hi, I posted in this in u-boot list. Since this is more specific to Davinci I am posting here. If anyone has used recent version of u-boot for DM6467 and managed to boot from NAND flash then let me know. Following is the issue I am facing with U-boot. I am using u-boot version 2009.3 for TI Davinci DM6467 EVM. The reason to use this was support of usb related commands for DM6467 in this tree. I built the u-boot.bin for NAND flash. My only modification was in file include/configs/davinci_devevm.h where I #define CONFIG_SYS_USE_NAND I built this and flashed this using TI provide sfh_DM6467.exe. The flashng goes well and I see blocks 6 and 7 being written. However on power on of EVM I see following: Chip initialization passed! TI UBL Version: 1.30 Booting Catalog Boot Loader BootMode = NAND Starting NAND Copy... Valid MagicNum found. DONE Jumping to entry point at 0x8108 This keeps repeating and EVM it is unable to boot. Any one used this version of u-boot with a NAND flash and TI DVEVM. Any suggestion on changes I should make to isolate this error ? Regards, Neeraj ___ 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 ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source