how to the OMAPFLASH Increase download support on the mobile phone platform .Thanks
Phoen Hardware solutions:CPU-OMAP4430+FLASH-SDIN5C2-8G
Download tool:OMAPFLASH
The main goal when trying to get OMAPFlash to work on a new plaform is to get the second loader ported to the platform. In general
this should not require the recompilation of the code or modification of the second loader's code base. The starting point will be
to create a board configuration file for the new platform.
For the binary installed version of OMAPFlash, board configuration files are found in .\Targets\Configurations. For the source code
version of OMAPFlash, board configurations files are found in .\host\Targets\Configurations. In order to add support for a new platform
it is necessary to add a new board configuration file to the configuration folder.
Once the board configuration file has been created, it will need to be added to the content of omapflash2nd.txt, present in .\ of the binary release or .\host of the source code release. This file allows OMAPFlash to find the board configuration file and pairs it with a platform tag to be used with the -p option for OMAPFlash. When modifying the file, simply add a new line to it:
1.omapflash2nd.txt,
# OMAP- H/W
OMAP4430_TUNA_8G_EMU 443007 03 HS Targets\2nd-Downloaders\dnld_startup_omap4_hs_4g_es2.s2.signed.2nd -pheriphalboot_reopen -board_config Targets\Configurations\configuration_omap4430_tuna_8g.txt
OMAP4430_TUNA_8G_HS 443007 03 HS Targets\2nd-Downloaders\dnld_startup_omap4_hs_4g_es2.s2.signed.2nd.hs -pheriphalboot_reopen -board_config Targets\Configurations\configuration_omap4430_tuna_8g.txt
OMAP4430_TUNA_8G_EMU 443007 03 HS Targets\2nd-Downloaders\dnld_startup_omap4_hs_4g_es2.s2.signed.2nd -pheriphalboot_reopen -board_config Targets\Configurations\configuration_omap4430_tuna_8g.txt
OMAP4430_TUNA_8G_HS 443007 03 HS Targets\2nd-Downloaders\dnld_startup_omap4_hs_4g_es2.s2.signed.2nd.hs -pheriphalboot_reopen -board_config Targets\Configurations\configuration_omap4430_tuna_8g.txt
OMAP4460_TUNA_8G_EMU 444007 01 HS Targets\2nd-Downloaders\dnld_startup_omap4_hs_8g_es2.s2.signed.2nd -pheriphalboot_reopen -board_config Targets\Configurations\configuration_omap4460_tuna_8g.txt
OMAP4460_TUNA_8G_HS_ENG 444007 01 HS Targets/2nd-Downloaders/dnld_startup_omap4_hs_8g_es2.s2.signed.2nd.hs_eng -pheriphalboot_reopen -board_config Targets\Configurations\configuration_omap4460_tuna_8g.txt
OMAP4460_TUNA_8G_HS_PRO 444007 01 HS Targets/2nd-Downloaders/dnld_startup_omap4_hs_8g_es2.s2.signed.2nd.hs_pro -pheriphalboot_reopen -board_config Targets\Configurations\configuration_omap4460_tuna_8g.txt
2.Projects
-omap 4
-t 36000 -p OMAP4430_TUNA_8G_HS -2
#chip_download EMMC@0 Targets\Projects\tuna\MBR.bin
chip_download EMMC@20000 Targets\Projects\tuna\MLO_4460_HS
command cold_sw_reset
3。omap4430.bat
::::
:: File Name : omap4430_tuna_hs.bat
::
:: File Description :
::
:: Author : System Platform 2
:: Dept : System S/W Group (S/W Platform R&D Team)
:: Created : 17/Aug/2011
:: Version : Baby-Raccoon
::::
:__loop
@OMAPFlash.exe -v @Targets\Projects\tuna\omap4430_tuna_hs.txt
@PAUSE
GOTO __loop
NOW,The tool Prompt。
?OMAPFlash v4.15 (Aug 12 2011)
?-v
?Entering parameter file:Targets\Projects\tuna\LG_P920BOOT.txt at line: 1
? -omap 4
? -t 36000
? -p OMAP4430_TUNA_8G_EMU
? -2
? chip_download EMMC Targets\Projects\tuna\p920boot.bin
? command cold_sw_reset
?Leaving parameter file:Targets\Projects\tuna\LG_P920BOOT.txt
?@Targets\Projects\tuna\LG_P920BOOT.txt
?Looking for device (omap usb)
?Please turn on device
?Waiting for device (omap usb)
?Found device (omap usb)
?Requesting ASIC id
?AsicId items 05
?AsicId id 01 05 01 44 30 07 03
?AsicId secure_mode 13 02 01 00
?AsicId public_id 12 15 01 5D 3E 29 34 B8 DA 2A 95 F1 D1 F9 DC 05 E3 23
23 8A EB CC 0E
?AsicId root_key_hash 14 21 01 5F 40 92 EC CD DF 90 FA 43 F5 46 AD F8 95 08
B3 1B 9C 74 79 5E 95 16 19 4C 0E A6 41 2F DC B7 F6
?AsicId checksum 15 09 01 09 83 F4 1C 13 9C 4F 4F
?Searching 2nd for: OMAP4430_TUNA_8G_EMU 443007 03 HS
?Loading second file Targets\2nd-Downloaders\dnld_startup_omap4_hs_4g_es2.s2.sig
ned.2nd
?Entering parameter file:omapflash2nd.txt at line: 40
? -pheriphalboot_reopen
?Reading board configuration file Targets\Configurations\configuration_omap4430_
tuna_8g.txt
?Reading definition file .\targets\definitions\definitions_omap4.txt
? -board_config Targets\Configurations\configuration_omap4430_tuna_8g.txt
?Leaving parameter file:omapflash2nd.txt
?Sending size of second file (0x000071B0 bytes)
?Transferring second file to target (0x71B0 bytes)
?Closing boot connection
?Waiting for device (omap usb)
I follow the instructions, but prompt to find 2ND So I think the of 2ND file platform support, leading to not download the BIN, IMG file。
Please help me Thanks
My e-mail: moorcchina@gmail.com