Sunday, August 8, 2010

RECOVERING U-BOOT ON HAWKBOARD

Rechecking U-Boot

If you are not seeing U-Boot Prompt Check following first before flashing NAND with-U-Boot

  1. Check DIP Switch SW1 of the Hawkboard (located near reset switch),
     dip sw

  2. it should be ON-OFF-OFF-OFF for 1-2-3-4

clip_image002

  1. Its that is ok then connect a VGA monitor and start Hawkboard
  2. If Hawkboard logo is not coming then surely you need to write the U-boot to NAND Flash of Board. Also please check whether the LED,
    which is near the serial port,blinks or not.One of the LED should blink when Serial is transmitting.If it is blinking the check cable.
  3. If Hawkboard logo is coming check the Serial cable, you will need a null cable ie 2 and 3 crossed at opposite end with both Side DB-9 Female

clip_image004

Cable layout

clip_image006

Flashing the U-Boot using UART

If U-boot is not present then simplest way to write it again on NAND flash is using UART.

  1. Set the DIP Switch SW1 as OFF-ON-OFF-ON for 1-2-3-4

clip_image008

  1. Check that DIP are properly set by seeing “BOOTME” message on Serial on starting of Board (115200 8-N-1)

clip_image010

If you see above message then DIP Switches are properly Set. Close HyperTerminal now.

  1. Download
    • TI’s Host UART Tool -UartHost.exe

            http://hawktool.googlecode.com/files/UartHost.exe

    • Uboot Image for UART Flashing -u-boot_uart_ais_v1.bin

                 http://hawktool.googlecode.com/files/u-boot_uart_ais_v1.bin

 

If UartHost.exe cant open ,you will need DOT NET Framework download that from here:

http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe

  1. Start the TI’s Host UART Tool
  2. Select Browse and select “u-boot_uart_ais_v1.bin” as AIS File
  3. Set Appropriate COM Port and press Start

clip_image012

  1. Reset the Hawkboard, it will start writing the Uboot to NAND.
  2. It will take about 4-5 min to completely write the Uboot,

So it may see the It has been stuck at “Jump to Address 0X80000000”

Do not close app until Tool Close the port itself.(Closing COM x).

clip_image014

  1. Once  uboot loading is complete ,Flash the NAND and reset switch back to NAND Boot mode as below
Update :30 July 2010 :People are missing flashing NAND ,Uart tool only boot Uboot over Serial port,it then needs to flashed ,follow this


ON-OFF-OFF-OFF for 1-2-3-4

clip_image002[1]

Featured Post

XDP - Getting Started with XDP (Linux)