[U-Boot] [MPC8272ADS/BDI2000]Can not program my u-boot into Flash

Jean-Michel Hautbois jhautbois at gmail.com
Mon Jan 19 19:02:05 CET 2009


>2009/1/19 Jean-Michel Hautbois <jhautbois at gmail.com>:
> 2009/1/19 Jean-Michel Hautbois <jhautbois at gmail.com>:
>> 2009/1/19 Jerry Van Baren <gerald.vanbaren at ge.com>:
>>> Jean-Michel Hautbois wrote:
>>>>
>>>> Hi everybody !
>>>>
>>>> I am currently trying to flash u-boot into my MPC8272ADS board, but it
>>>> is not working.
>>>> When I am launching the "PROG" command, it tells:
>>>> "Programming u-boot.bin , please wait ....
>>>> # Programming flash memory failed at 0x00000000"
>>>
>>> [snip]
>>>
>>>> Please find my config file attached.
>>>> Thx & Best Regards
>>>> JM
>>>
>>> Hi JM,
>>>
>>> Try disabling the workspace line:
>>> ;no;WORKSPACE   0x04700000      ;workspace in target RAM for fast download
>>>
>>> The workspace significantly speeds up programming by copying a helper
>>> routine into RAM and then running that instead of bit-banging the writes
>>> through the JTAG port.  The downside is that you have to have your RAM
>>> properly configured for it to work.  Odds are pretty good this is biting
>>> you.
>>>
>>> If disabling the workspace works, you are on your way.  If and when you need
>>> (want) more programming speed, you will have to figure out what is
>>> misconfigured.
>>>
>>> Personally, I only load the first u-boot (and an occasional oops-brick fix)
>>> via JTAG.  I program all successive u-boots via u-boot itself, so I
>>> generally don't bother with the workspace.
>>>
>>> HTH,
>>> gvb
>>>
>>>
>
> Please find the file attached... :)
>
> Best Regards,
> JM
>

The error in programming tells that it couldn't write the second byte
of the u-boot file. Indeed, I have displayed the memory before and
after the prog command, and the first byte is correctly written.
I can't understand where my problem is.

Thx and Regards,
JM


More information about the U-Boot mailing list