Writing u-boot image using serial com

Hi Guys,

I was trying to re-program my board with x-loader and latest u-boot image. At this moment, the only interface that I can use is the serial communication and I cannot configure the board to boot on sd card because I erased the u-boot.

I tried this command for x-loader and it works:

./pserial -p /dev/ttyUSB0 -f x-load.bin

But, when I tried the ukermit, I am getting error (see error below)

./ukermit -p /dev/ttyUSB0 -f u-boot.bin

Failed after 4 retries in sequence 0 - success send = 0 bytes
Data transmit failed

Is there any utility that I can use?

Thanks,

John

Hi John,

I was trying to re-program my board with x-loader and latest u-boot image.

At this moment, the only interface that I can use is the serial

communication

and I cannot configure the board to boot on sd card because I erased the

u-boot.

I tried this command for x-loader and it works:
./pserial -p /dev/ttyUSB0 -f x-load.bin

But, when I tried the ukermit, I am getting error (see error below)
./ukermit -p /dev/ttyUSB0 -f u-boot.bin

Failed after 4 retries in sequence 0 - success send = 0 bytes
Data transmit failed

You can always boot your board directly from MMC (requires the MLO file to
be on the MMC card) by holding the user-button during power up

Good luck
  Søren

Hi Soren,

What if I messed up the x-loader too?. Does the board is still capable of booting on SD card?

Thanks,

John

Hi John,

What if I messed up the x-loader too?. Does the board is still capable of

booting on SD card?

Yes it does – In case you hold the USER-button during power on. The OMAP ROM
code will then try to read the MLO file from the MMC card in this case. More
info to be found in chapter 25.4.7.6 of the OMAP3 TRM (spruf98g.pdf)

Good luck
  Søren

My board is not responding on USER-button.

Any other solution to fix it?

Thanks,

john

What does it print? Nothing at all?

Hi Guys,
I was trying to re-program my board with x-loader and latest u-boot image.
At this moment, the only interface that I can use is the serial
communication and I cannot configure the board to boot on sd card because I
erased the u-boot.
I tried this command for x-loader and it works:

./pserial -p /dev/ttyUSB0 -f x-load.bin

How do you know loading x-load.bin works? Do you see some messages
back over the serial port? Where did you get the x-load.bin? Are you
sure you meant to use x-load.bin and not x-load.bin.ift?