This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP3530: OMAP36XX/37XX-GP ES2.1 - erased NAND - no boot

Part Number: OMAP3530

Hello TI Community,

I have two devices running OMAP36XX/37XX-GP ES2.1 but by accident erased the NAND and watchdog timer rebooted 190 seconds later.

Now there is no bootloader and I don't know how to recover.

I do have the original u-boot.bin, x-load.bin.ift and rootfs-image.

Also I do have a bootable System recovery on micro-SD card.

Board has USB, micro-SD, Serial TTL, two buttons, eth

This is a screencapture of a boot before the NAND- erase:

------------------------------------------------------------------------------------------------

Texas Instruments X-Loader 1.51-13.10 (Apr 10 2012 - 16:45:59)
Board: 5
Booting from nand . . .
Starting OS Bootloader...


U-Boot 2011.0320.19 (Apr 10 2012 - 16:45:41)

OMAP36XX/37XX-GP ES2.1, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 EVM board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  512 MiB
BBT:   page 262080, vers 0x01
BBT:   page 262016, vers 0x01
In:    serial
Out:   serial
Err:   serial
Board: 5
Net:   smc911x-0
Control4 U-Boot - v2011.03-20.19
All Bootsystems Failed - Can NOT Recover!!!
Hold ID Button for 7 seconds for Clean Start
Auto Reboot in 183 sec

------------------------------------------------------------------------------------------------

script from c4test.img on USB:

____________________

fatload usb 0:1 80200000 hc250_tmp/x-load.bin.ift
nandecc hw
echo "******************** WRITING XLOADER *************************"
nand write 80200000 00000 ${filesize};nand write 80200000 20000 ${filesize};nand write 80200000 40000 ${filesize}
nandecc bch4
fatload usb 0:1 80200000 hc250_tmp/u-boot.bin
echo "******************** WRITING U-BOOT *************************"
nand write 80200000 80000 ${filesize};nand write 80200000 120000 ${filesize};nand write 80200000 1c0000 ${filesize}
fatload usb 0:1 80200000 hc250_tmp/boot/uImage
echo "******************** WRITING KERNEL *************************"
nand write.e 80200000 2c0000 ${filesize};nand write.e 80200000 17320000 ${filesize};nand write.e 80200000 86c0000 ${filesize}
fatload usb 0:1 80200000 hc250_tmp/rootfs-image
echo "******************** WRITING ROOTFS *************************"
nand write.e 80200000 6c0000 ${filesize};nand write.e 80200000 17720000 ${filesize};nand write.e 80200000 8ac0000 ${filesize}
c4sys pwm 0 50 50; c4sys pwm 1 50 50; c4sys pwm 2 50 50
echo "******************** REFLASH COMPLETE ***********************"

echo "dumping ETHERNET ADDRESS from eeprom"
eeprom read 90001000 9 6;
mw.b 90002000 00;mw.b 90002001 0f;mw.b 90002002 ff;mw.b 90002003 ba;mw.b 90002004 da;mw.b 90002005 dd;
echo "Checking for 000fffbadadd MAC ADDRESS";
if cmp.b 90001000 90002000 6;
   then   echo "*********NEED TO RESET MAC ADDRESS************";
else echo "MAC ADDRESS OK";
fi;
echo "******************************************************";
echo "POWER OFF DEVICE AND REMOVE MMC CARD"
echo "******************************************************";

sleep 86400

______________________________________________________

Also have ">env print" saved.

I do have a TTL Adapter and some JTAG Tools.

Can somebody please provide me with some info how to unbrick these two devices?

That would be great!

Thanx

Marcel

  • Just format a micro-SD to FAT32, renamed "x-load.bin.ift" to MLO and put uploaded it to the mmc.

    also u-boot.bin

    Now both devices do start x-loader from mmc but with the following text:

    Texas Instruments X-Loader 1.51-17.12 (May 29 2013 - 14:35:20)
    Board: 5
    Booting from nand . . .
    Loading U-Boot Image 1 . . .
    Starting OS Bootloader...

    How do I load the img file with the script to reflash everything?

    Booting from nand will do nothing because empty...

    Please help

  • Hello Marcel,

    Just to set expectations: This is very old software running on a very old part. Nobody on my team has any expertise on the part or the software, so we are going to be limited in the support we can offer to you.

    Have you tried re-flashing the device?
    https://www.ti.com/tool/FLASHTOOL

    I do not have any resources for you on using the tool, outside of the discussion here:
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1330293/am3517-flash-loader-bch-8-ecc-errors-no-xor-bitmask

    Regards,

    Nick

  • Hi Nick,

    thank you for your support.

    Unfortunately, this is a omap36xx /37xx processor and your suggested flash tool apparently only works with the omap35xx.
    I found a suitable original x-loader which tries to start directly from MMC but ends up with the following error:

    ----------------------------------

    Texas Instruments X-Loader 1.51-14.11 (Jan 29 2013 - 17:07:34)
    Board: 5
    ROM CODE: BOOT DEVICE = 6
    BOOT DEV: MMCx/SD1
    FORCE BOOT FROM MMC
    Starting X-loader on MMC
    Reading boot sector
    X-Loader hangs

    ----------------------------------

    I think I have to write the "boot sector" to a specific area on the mmc manually?

    Regards

    Marcel

  • Hello Marcel,

    Unfortunately we are getting to the limits of what I can support here.

    If you can show me where you got the x-loader, I can do some digging to see if there is any documentation remaining on my side, but I will not be able to do much more than that.

    Regards,

    Nick