This is an automated email from Gerrit. Albert ARIBAUD (U-Boot) ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/3219
-- gerrit commit b454f58ba7aba89c318c9aa9332773af1642db3b Author: Albert ARIBAUD (U-Boot) <[email protected]> Date: Tue Jan 26 19:06:01 2016 +0100 openrd: fix interface and board configurations Interface: set correct FTDI channel and remove unneeded device description. Board: add adapter speed and a few U-Boot-friendly helper functions. Tested on OpenRD Client. Change-Id: I31f8a2f972a4241bada27635e436b4c869724793 Signed-off-by: Albert ARIBAUD (U-Boot) <[email protected]> diff --git a/tcl/board/openrd.cfg b/tcl/board/openrd.cfg index 1051c25..b33a00f 100644 --- a/tcl/board/openrd.cfg +++ b/tcl/board/openrd.cfg @@ -3,6 +3,8 @@ source [find interface/ftdi/openrd.cfg] source [find target/feroceon.cfg] +adapter_khz 1000 + $_TARGETNAME configure \ -work-area-phys 0x10000000 \ -work-area-size 65536 \ @@ -111,13 +113,38 @@ proc openrd_reflash_uboot { } { } -proc openrd_load_uboot { } { +proc openrd_load_uboot_elf { } { # load u-Boot into RAM and execute it openrd_init load_image uboot.elf verify_image uboot.elf resume 0x00600000 +} + +proc openrd_load_uboot { } { + # load u-Boot into RAM and execute it + openrd_init + load_image u-boot + verify_image u-boot + resume 0x00600000 } +proc openrd_load_uboot_bin { } { + + # load u-Boot into RAM and execute it + openrd_init + load_image u-boot.bin 0x00600000 bin + verify_image u-boot.bin 0x00600000 bin + resume 0x00600000 +} + +proc openrd_load_uboot_kwb { } { + + # load u-Boot into RAM and execute it + openrd_init + load_image u-boot.kwb 0x005FFE00 bin + verify_image u-boot.kwb 0x005FFE00 bin + resume 0x00600000 +} diff --git a/tcl/interface/ftdi/openrd.cfg b/tcl/interface/ftdi/openrd.cfg index 8c1a805..401e805 100644 --- a/tcl/interface/ftdi/openrd.cfg +++ b/tcl/interface/ftdi/openrd.cfg @@ -10,9 +10,8 @@ echo "Please report your experience with this file to openocd-devel mailing list echo "so it could be marked as working or fixed." interface ftdi -ftdi_device_desc "OpenRD JTAGKey FT2232D" ftdi_vid_pid 0x0403 0x9e90 -ftdi_channel 1 +ftdi_channel 0 ftdi_layout_init 0x0608 0x0f1b ftdi_layout_signal nTRST -data 0x0200 -- ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
