Latest Post
AM1808 Mango1808 Wince 6.0 이미지 Write 방법

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.


실행중인 터미널 창이 있는지 확인하여 닫아주면 됩니다.

Comments 0
:    :    :
이름 / 2014-11-20 / ★★★☆☆ [수정 / 삭제]

내용

Recent Comments
일방통행  |  ★★★★★
ISE 14.7 virtualbox를 설치했는데, ,iMPACT가 인식을 못하는데, 어케해야하나요?
min  |  ★★★★☆
These are the only Drives available to write images to: # major minor size name 1: 8 0 512805384 sda 2: 8 16 15558144 sdb Enter Device Number or n to exit: 2 Invalid selection! 왜 이런 오류가 나는 걸까요?
dino  |  ★★☆☆☆
NAND Scrub실행 후 에러가 나타납니다/ 조치방법을 알려주세요 에러내용 crz nand_erase_opts erase.addr=0x0, opt->offset=0x0, erase_ieng minfo_erases=0x20000 .....진행후 s3c-nand:ecc uncorrectable error detected---4개발생합니다 빠른 회신부탁드립니다 연락처:010-3752-6251 강희진
bluewind  |  ★★★★★
안녕하세요..구입했는데..회로도 부탁드립니다. percephy@naver.com 입니다.
조형철  |  ★★★★★
상기 Backlight 관련 회로를 구할 수 있을까요?
hwang  |  ★★★★★
구입한지 조금 됬는데 회로도 부탁합니다. rubens7777@paran.com 입니다.