NAND flash is erased.

Hi All,

I am new to beagleboard. My Beagleboard NAND flash is erased. I need to write x-loader, U-boot in to NAND flash.

Can any one help me suggesting what are the possibilities are there to flash the NAND with out U-Boot Prompt.

Kishore Kumar Boddu


I used UART for the recovery following the instructions:
Note: Unplug the power before running “./pserial -p /dev/ttyS0 -f x-load.bin”, and then plug the power.


Thanks for your valuable suggestions.
For the recovery UART I follow the instructions:

I could successfully run the “pserial” and “ukermit” commands. Please see the below outputs.

root@vector-laptop:/usr/local/src/serial_boot/omap-u-boot-utils# ./pserial -p /dev/ttyUSB0 -f x-load.bin
Waiting For Device ASIC ID: Press Ctrl+C to stop
ASIC ID Detected: OMAP 3430 with ROM Version 0x0757
Sending 2ndFile:
Downloading file: 100.000% completed (12432/12432 bytes)
File download completed.

root@vector-laptop:/usr/local/src/serial_boot/omap-u-boot-utils# ./ukermit -p /dev/ttyUSB0 -f u-boot.bin
Downloading file: 100.000% completed (213664/213664 bytes)
File Download completed.

After these commands it displays shell command prompt instead of the below message as mention in the link

## Start Addr      = 0x80008000
Starting OS Bootloader from UART ...

U-Boot 2009.03-rc2-00013-gefb4734 (C3A4r 18 2009 - 10:55:33)

OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz

OMAP3 Beagle board + LPDDR/NAND
DRAM:  128 MB
NAND:  256 MiB

In:    serial
Out:   serial
Err:   serial

Board revision Ax/Bx
Die ID #047a00030000000004013f780601000c

Hit any key to stop autoboot:  0

I didn’t get the above message (u-boot command prompt). What might be the problem?

Could you please suggest me. I am stuck up here… :frowning:

Kishore Kumar Boddu

I'm having the same Issue. I believe I accidentally wiped the x-
loader from my NAND. The link provided only seems to work if xloader
is working... when i follow the procedure, pressing user and resetting
displays some garbled text and thats it. Is there a way to restore
xloader if its been wiped?



Hi Greg,

Is there a way to restore xloader if its been wiped?

The link is working as well for a broken NAND x-loader. In case you can't
make it work you MMC card is most likely wrongly formatted. Alternatively
the MLO file is copied with lower case characters like "mlo" and not "MLO" -
Did you follow the instruction 100% to the item?

Best regards