Skip to contentSkip to conversation

u-boot flash for yellowstone board with external programmer

U-Boot-Users Andriy Korud 2 participants 2 messages Jul 21, 2006

lore
Share & tools
lore
#0 lore raw

Hello,
for some reason we need to replace flash chip on yellowstone board and program it with external programmer.
The question is that for external programmer flash is visible as 0-64M, and I'm not sure where should I program 512k of u-boot? I assume that at the end of the chip (CPU is looking at the end, at 0xfffffffc),am I right? Also concerning endianness -as board has swapped data and address signals (flash_A0->cpu_A30, flash_D0->cpu_D15) I assume that image can be programmed "as is" - 16-bit word-by-word without any conversion? Please fix me if I'm wrong.

Best regards,
Andriy Korud

#1 lore raw
Quoted 3 lines · In message <[email protected]> you…

for some reason we need to replace flash chip on yellowstone board and program it with external programmer.
The question is that for external programmer flash is visible as 0-64M, and I'm not sure where should I program 512k of u-boot? I assume that at the end of the chip (CPU is looking at the end, at 0xfffffffc),am I right?

The normale image address for U-Boot on the yelowstone is FFF80000 (flash being mapped ion the FC000000 ... FFFFFFFF area); so if you see 0 ... 64M = 04000000, then you will have to program the image at 0x3F80000

Quoted 2 lines

Also concerning endianness -as board has swapped data and address signals (flash_A0->cpu_A30, flash_D0->cpu_D15) I assume that image

There are no swapped signals. Just keep in mind that on PowerPC MSB = Bit 0.

Quoted 2 lines

can be programmed "as is" - 16-bit word-by-word without any conversion? Please fix me if I'm wrong.

Right.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Beware of programmers carrying screwdrivers."      - Chip Salzenberg