riscv-openocd/tcl/board/netgear-dg834v3.cfg

21 lines
638 B
INI

#
# Netgear DG834v3 Router
# Internal 4Kb RAM (@0x80000000)
# Flash is located at 0x90000000 (CS0) and RAM is located at 0x94000000 (CS1)
#
set partition_list {
loader { "Bootloader (ADAM2)" 0x90000000 0x00020000 }
firmware { "Kernel+rootfs" 0x90020000 0x003d0000 }
config { "Bootloader config space" 0x903f0000 0x00010000 }
}
source [find target/ti-ar7.cfg]
# External 16MB SDRAM - disabled as we use internal sram
#$_TARGETNAME configure -work-area-phys 0x80000000 -work-area-size 0x00001000
# External 4MB NOR Flash
set _FLASHNAME $_CHIPNAME.norflash
flash bank $_FLASHNAME cfi 0x90000000 0x00400000 2 2 $_TARGETNAME