mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 09:48:16 +00:00
3e38691e8f
Add IDMA example code (tested on 8260 only) * Add support for Purple Board (MIPS64 5Kc) * Add support for MIPS64 5Kc CPUs * Fix missing setting of "loadaddr" and "bootfile" on ARM and MIPS * Patch by Denis Peter, 04 Apr 2003: - update MIP405-4 board * Patches by Denis Peter, 03 April 2003: - fix PCI IRQs on MPL boards - fix two more un-relocated pointer problems * Fix behaviour of "run" command: - print error message iv variable does not exist - terminate processing of arguments in case of error * Patches by Peter Figuli, 10 Mar 2003 - Add support for BTUART on PXA platform - Add support for WEP EP250 (PXA) board * Fix flash problems on INCA-IP; add tool to allow bruning images to flash using a BDI2000 * Implement fix for I2C Edge Conditions problem for all boards that use the bit-banging driver (common/soft_i2c.c) * Add patches by Robert Schwebel, 31 Mar 2003: - csb226 board: bring in sync with innokom/memsetup.S - csb226 board: fix MDREFR handling - misc doc fixes / extensions - innokom board: cleanup, MDREFR fix in memsetup.S, config update - add BOOT_PROGRESS to armlinux.c
44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
|
|
Flash programming on the INCA-IP board is complicated because of the
|
|
EBU swapping unit. A BDI2000 can be used for flash programming only
|
|
if the EBU swapping unit is enabled; otherwise it will not detect the
|
|
flash memory. But the EBU swapping unit is disadbled after reset, so
|
|
if you program some code to flash with the swapping unit on, it will
|
|
not be runnable with the swapping unit off.
|
|
|
|
The consequence is that you have to write a pre-swapped image to
|
|
flash using the BDI2000. A simple host-side tool "inca-swap-bytes" is
|
|
provided in the "tools/" directory. Use it as follows:
|
|
|
|
bash$ ./inca-swap-bytes <u-boot.bin >u-boot.bin.swp
|
|
|
|
Note that the current BDI config file _disables_ the EBU swapping
|
|
unit for the flash bank 0. To enable it, (this is required for the
|
|
BDI flash commands to work) uncomment the following line in the
|
|
config file:
|
|
|
|
;WM32 0xb8000260 0x404161ff ; Swapping unit enabled
|
|
|
|
and comment out
|
|
|
|
WM32 0xb8000260 0x004161ff ; Swapping unit disabled
|
|
|
|
Alternatively, you can use "mm 0xb8000260 <value>" commands to
|
|
enable/disable the swapping unit manually.
|
|
|
|
Just for reference, here is the complete sequence of actions we took
|
|
to install a U-Boot image into flash.
|
|
|
|
1. ./inca-swap-bytes <u-boot.bin >u-boot.bin.swp
|
|
|
|
2. From BDI:
|
|
|
|
mm 0xb8000260 0x404161ff
|
|
erase 0xb0000000
|
|
erase 0xb0010000
|
|
prog 0xb0000000 /tftpboot/INCA/u-boot.bin.swp bin
|
|
mm 0xb8000260 0x004161ff
|
|
go 0xb0000000
|
|
|
|
|
|
(C) 2003 Wolfgang Denk
|