8f777bc1a6
Currently it is impossible to flash ELF with correct offsets. The reason is a bogus offset calculation extracted from base. Since any other spi drivers do not care about base, do the same for ath79 as well. Change-Id: I9e46e01c9e7a709c2d07da9203c634f302603afd Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Reviewed-on: http://openocd.zylin.com/4821 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
13 lines
301 B
INI
13 lines
301 B
INI
source [find target/atheros_ar9331.cfg]
|
|
|
|
$_TARGETNAME configure -event reset-init {
|
|
ar9331_25mhz_pll_init
|
|
sleep 1
|
|
ar9331_ddr1_init
|
|
}
|
|
|
|
set ram_boot_address 0xa0000000
|
|
$_TARGETNAME configure -work-area-phys 0xa1FFE000 -work-area-size 0x1000
|
|
|
|
flash bank flash0 ath79 0xbf000000 0 0 0 $_TARGETNAME cs0
|