I'm using an LS1043A and used Code Warrior to make some changes to the RCW and create a new PBL.bin, but I can't figure out how to load it. I switched SW5[4:6] to 001 and loaded the PBL file like this:
=>tftp 0x82000000 xxx.xxx.xxx.xxx:/tftpboot/PBL.bin
Using FM1@DTSEC1 device
TFTP from server xxx.xxx.xxx.xxx; our IP address is xxx.xxx.xxx.xxx; sending through gateway xxx.xxx.xxx.xxx
Filename '/tftpboot/PBL.bin'.
Load address: 0x82000000
Loading: #
39.1 KiB/s
done
Bytes transferred = 80 (50 hex)
=> protect off 0x64000000 +$filesize
Un-Protected 1 sectors
=> erase 0x64000000 +$filesize
. done
Erased 1 sectors
=> cp.b 0x82000000 0x64000000 $filesize
Copy to Flash... 9done
=> protect on 0x64000000 +$filesize
Protected 1 sectors
=> cpld reset altbank
After booting the changes that I made to RCW[SPI_BASE] and RCW[SPI_EXT] haven't been updated.