|
|
(44 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| Technically all JTAG-adapter listed by OpenOCD should work, but DH electronics recommends the Olimex Arm-USB-OCD-Tiny-H.
| | See [[U-Boot_recovery_for_i.MX6_Q/D/DL/S/ULL_via_JTAG|U-Boot recovery for i.MX6_Q/D/DL/S/ULL via JTAG]] |
| All tests and Documents were made in use of this one.
| |
| | |
| == Installation ==
| |
| This installation was made on the [[Virtual Machine for Application Development]].
| |
| All console expressions refer to this Debian system.
| |
| # '''OpenOCD'''
| |
| #* OpenOCD is a Linux package and is as easy to install as <code>$ sudo apt-get install openocd</code>
| |
| # '''Drivers'''
| |
| #* If you use the JTAG-Adapter recommended by DH, then you need to install the FTDI-Drivers as followed:
| |
| #**Go to http://www.ftdichip.com/Drivers/D2XX.htm and Download your suitable Driver (32-bit or 64-bit)
| |
| #**Navigate into the Download folder <code>$ cd /home/devel/Downloads</code>
| |
| #**Untar the Downloaded zip-file <code>$ tar xfvz libftd2xx-x86_64-1.4.6.tgz</code>
| |
| #**For the next steps you need Admin rights (standard password for the VM is devel): <code>$ sudo –su</code>
| |
| #**you need to copy the folder <code>$ cp libftd2xx.* /usr/local/lib</code>
| |
| #**changing the permission <code>$ chmod 0755 /usr/local/lib/libftd2xx.so.1.4.6</code>
| |
| #** creating a link <code>$ ln –sf /usr/local/lib/libftd2xx.so.1.4.6 /usr/local/lib/libftd2xx.so</code>
| |
| #** finish the installation <code>$ exit</code>
| |
| | |
| == uBoot Programing ==
| |
| There are two ways for doing this.
| |
| The easy way is an automatic Bash-script, which handles all the commands needed for the programing process.
| |
| In this case you need a specified folder-structure so that the automatic script can find all its needed files.
| |