1. AM1808 Mango1808 Wince 6.0 이미지 Write 방법
1. WinCE 6.0 writer
1. 다운로드 및 준비
소스를 다운
OMAPL138_AM18X.zip 압축 풀어줌
Command 창 실행
Cd <경로>\OMAPL138_AM18X\SRC\BOOT\TOOLS\new_bin
UART2 Boot SW [1],[2],[4]ON 나머진 OFF
2. MANGO1808 How to Nand Erase
> sfh_OMAP-L138.exe -erase -targetType MANGO1808 -flashType NAND -p COM’X’ |
D:\image\mango1808\20130423\OMAPL138_AM18X\SRC\BOOT\TOOLS\bin>sfh_OMAP-L138.exe -erase -targetType MANGO1808 -flashType NAND -p COM11 ----------------------------------------------------- TI Serial Flasher Host Program for OMAP-L138 (C) 2010, Texas Instruments, Inc. Ver. 1.67 ----------------------------------------------------- [TYPE] Global erase [TARGET] AM1808 [DEVICE] NAND Attempting to connect to device COM11... Press any key to end this program at any time. (AIS Parse): Read magic word 0x41504954. (AIS Parse): Waiting for BOOTME... (power on or reset target now) |
Power on & reset
(AIS Parse): BOOTME received! (AIS Parse): Performing Start-Word Sync... (AIS Parse): Performing Ping Opcode Sync... (AIS Parse): Processing command 0: 0x58535901. (AIS Parse): Performing Opcode Sync... (AIS Parse): Loading section... (AIS Parse): Loaded 14376-Byte section to address 0x80000000. (AIS Parse): Processing command 1: 0x58535901. (AIS Parse): Performing Opcode Sync... (AIS Parse): Loading section... (AIS Parse): Loaded 1320-Byte section to address 0x80003828. (AIS Parse): Processing command 2: 0x58535906. (AIS Parse): Performing Opcode Sync... (AIS Parse): Performing jump and close... (AIS Parse): AIS complete. Jump to address 0x80000000. (AIS Parse): Waiting for DONE... (AIS Parse): Boot completed successfully. Waiting for SFT on the OMAP-L138... Erasing flash 100% [ ???????????????????????????????????????????????????????????? ] Erase complete Operation completed successfully. |
3. MANGO1808 How to Eboot NAND writer
> sfh_OMAP-L138.exe -flash -flashType NAND -targetType MANGO1808 -v -p COM’X’ -appStartAddr 0xc7f60000 -appLoadAddr 0xc7f60000 ubl_MANGO1808_NAND.bin EBOOTNANDFLASH.nb0 |
D:\image\mango1808\20130423\OMAPL138_AM18X\SRC\BOOT\TOOLS\new_bin>sfh_OMAP-L138.exe -flash -flashType NAND -targetType MANGO1808 -v -p COM11 -appStartAddr 0xc7f60000 -appLoadAddr 0xc7f60000 ubl_MANGO1808_NAND.bin EBOOTNANDFLASH.nb0 ----------------------------------------------------- TI Serial Flasher Host Program for OMAP-L138 (C) 2012, Texas Instruments, Inc. Ver. 1.67 ----------------------------------------------------- [TYPE] UBL and application image [UBL] ubl_MANGO1808_NAND.bin [APP IMAGE] EBOOTNANDFLASH.nb0 [TARGET] MANGO1808 [DEVICE] NAND [NAND Block] 1 Attempting to connect to device COM11... Press any key to end this program at any time. (AIS Parse): Read magic word 0x41504954. (AIS Parse): Waiting for BOOTME... (power on or reset target now) |
Power on & reset
(AIS Parse): BOOTME received! (AIS Parse): Performing Start-Word Sync... (AIS Parse): Performing Ping Opcode Sync... (AIS Parse): Processing command 0: 0x58535901. (AIS Parse): Performing Opcode Sync... (AIS Parse): Loading section... (AIS Parse): Loaded 14376-Byte section to address 0x80000000. (AIS Parse): Processing command 1: 0x58535901. (AIS Parse): Performing Opcode Sync... (AIS Parse): Loading section... (AIS Parse): Loaded 1320-Byte section to address 0x80003828. (AIS Parse): Processing command 2: 0x58535906. (AIS Parse): Performing Opcode Sync... (AIS Parse): Performing jump and close... (AIS Parse): AIS complete. Jump to address 0x80000000. (AIS Parse): Waiting for DONE... (AIS Parse): Boot completed successfully. Waiting for SFT on the OMAP-L138... Target: BOOTUBL Target: BEGIN 100% [ ???????????????????????????????????????????????????????????? ] Image data transmitted over UART. Target: DONE 100% [ ???????????????????????????????????????????????????????????? ] UBL programming complete Target: CurrBlockNum =0x00000001 Target: Writing image data to Block 0x00000001, Page 0x00000000 Target: Writing image data to Block 0x00000001, Page 0x00000001 Target: Writing image data to Block 0x00000001, Page 0x00000002 Target: Writing image data to Block 0x00000001, Page 0x00000003 Target: Writing image data to Block 0x00000001, Page 0x00000004 Target: Writing image data to Block 0x00000001, Page 0x00000005 Target: Writing image data to Block 0x00000001, Page 0x00000006 Target: Writing image data to Block 0x00000001, Page 0x00000007 Target: SENDING Target: DONE Flashing application EBOOTNANDFLASH.nb0 (262144 bytes) Target: SENDIMG Target: BEGIN 100% [ ???????????????????????????????????????????????????????????? ] Image data transmitted over UART. Target: DONE 100% [ ???????????????????????????????????????????????????????????? ] Application programming complete Target: Number of blocks needed for header and data: 0x0x00000003 Target: Attempting to start in block number 0x0x00000006. Target: Magicnum: 0x0x55424CBB Target: Entrypoint: 0x0xC7F60000 Target: Numpage: 0x0x00000080 Target: Writing header and image data to Block 0x00000006, Page 0x000000 00 Target: DONE Target: DONE Operation completed successfully. |
4. SD NK.nb0 booting
NK.nb0를 비어있는 SD 카드에 복사 후 mango1808에 삽입
NAND Boot SW [1],[5]ON 나머진 OFF
Reset
MANGO1808 initialization passed! Booting TI User Boot Loader UBL Version: 1.65 UBL Flashtype: NAND Starting NAND Copy... Valid magicnum, 0x55424CBB, found in block 0x00000006. DONE ?1ping to entry point at 0xC7F60000. Microsoft Windows CE Bootloader Common Library Version 1.4 Built Mar 29 2013 19:06:40 INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb Microsoft Windows CE EBOOT 1.0 for AM1808 OMAPL138/AM18X EVM. Built Apr 4 2013 at 16:58:07 BSP version 01.10.00, SOC version 01.10.00 CODE : 0xC7F60000 -> 0xC7FA0000 DATA : 0xC7FA0000 -> 0xC7FE0000 STACK : 0xC7FE0000 -> 0xC8000000 Enabled OAL Log Zones : ERROR, WARN, INFO, Platform Init done System ready! Preparing for download... Predownload... FMD:ReadID Device not Supported Mfg=0xec, Dev=0xda ERROR: EBOOT: FMD_Init call failed! WARN: Invalid boot configuration found (using defaults) INFO: MAC address: 04:32:f4:fd:e9:21 WARN: Invalid BSP_ARGS data found (using defaults) WARN: Unable to get hardware entropy Hit space to enter configuration menu 2 -------------------------------------------------------------------------------- Main Menu -------------------------------------------------------------------------------- [1] Show Current Settings [2] Boot Settings [3] Network Settings [5] Video Settings [6] Save Settings [7] Peripheral Tests [8] Bitmap Tests [R] Reset Settings To Default Values [0] Exit and Continue Selection: |
Selection: 2 -------------------------------------------------------------------------------- Boot Settings -------------------------------------------------------------------------------- [1] Show Current Settings [2] Select Boot Device [3] Select Boot Delay [4] Select Debug Device [5] Force Clean Boot [6] Write Download RAM NK to Flash [7] Set Device ID String [8] Allow DSP to Boot [0] Exit and Continue Selection: |
Selection: 2 -------------------------------------------------------------------------------- Select Boot Device -------------------------------------------------------------------------------- [1] EMAC [2] NK from SD [3] NK from NAND flash [0] Exit and Continue Selection (actual NK from SD): |
Reset
2. Error
1. dotNet Framework Initailization Error
위의 error발생시
http://www.microsoft.com/en-us/download/details.aspx?id=17718
2. Access to the port 'COM11' is denied
아래와 같이 메시지가 뜨면
D:\image\mango1808\20130423\OMAPL138_AM18X\SRC\BOOT\TOOLS\new_bin>sfh_OMAP-L138. exe -erase -targetType MANGO1808 -flashType NAND -p COM11 ----------------------------------------------------- TI Serial Flasher Host Program for OMAP-L138 (C) 2012, Texas Instruments, Inc. Ver. 1.67 ----------------------------------------------------- [TYPE] Global erase [TARGET] MANGO1808 [DEVICE] NAND [NAND Block] 1 Attempting to connect to device COM11... Access to the port 'COM11' is denied. This application failed to open the COM port. Most likely it is in use by some other application. |
실행중인 터미널 창이 있는지 확인하여 닫아주면 됩니다.
내용