Differences

This shows you the differences between two versions of the page.

toh:iomega:iconnect [2013/03/09 13:56]
pawelw
toh:iomega:iconnect [2013/07/08 11:15] (current)
pawelw
Line 3: Line 3:
===== Supported Versions ===== ===== Supported Versions =====
-^ Version/Model ^ S/N ^ Launch Date ^ OpenWrt Version Supported ^ Model Specific Notes ^ +^ Version/Model ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ 
-| all | - | trunk,WIP | - | - |+| All | - | Attitude Adjustment 12.09| - |
Line 83: Line 83:
Extract zip to c:\tftpd, create folder c:\tftpd\files. Extract zip to c:\tftpd, create folder c:\tftpd\files.
-Download from trunk repository:+Download from [[http://downloads.openwrt.org/snapshots/trunk/kirkwood/|trunk repository]] or final version if available:
<file> <file>
openwrt-kirkwood-uImage openwrt-kirkwood-uImage
Line 114: Line 114:
printenv printenv
</code> </code>
-you will see all env variables copy it and save to text file it will be needed later.+you will see all env variables, copy it and save to text file it will be needed later.
=== 4.2 Flashing new U-Boot === === 4.2 Flashing new U-Boot ===
Line 126: Line 126:
<code> <code>
mw 0x0800000 0xffff 0x100000 mw 0x0800000 0xffff 0x100000
-nand erase 0x0 0x100000 
tftp 0x0800000 openwrt-kirkwood-iconnect-u-boot.kwb tftp 0x0800000 openwrt-kirkwood-iconnect-u-boot.kwb
 +nand erase 0x0 0x100000
nand write 0x0800000 0x0 0x100000 nand write 0x0800000 0x0 0x100000
</code> </code>
Line 136: Line 136:
iconnect => setenv ipaddr 192.168.1.200 iconnect => setenv ipaddr 192.168.1.200
iconnect => mw 0x0800000 0xffff 0x100000 iconnect => mw 0x0800000 0xffff 0x100000
-iconnect => nand erase 0x0 0x100000 
- 
-NAND erase: device 0 offset 0x0, size 0x100000 
-Erasing at 0xe0000 -- 100% complete. 
-OK 
- 
iconnect => tftp 0x0800000 openwrt-kirkwood-iconnect-u-boot.kwb iconnect => tftp 0x0800000 openwrt-kirkwood-iconnect-u-boot.kwb
Using egiga0 device Using egiga0 device
Line 150: Line 144:
done done
Bytes transferred = 401136 (61ef0 hex) Bytes transferred = 401136 (61ef0 hex)
 +
 +iconnect => nand erase 0x0 0x100000
 +
 +NAND erase: device 0 offset 0x0, size 0x100000
 +Erasing at 0xe0000 -- 100% complete.
 +OK
iconnect => nand write 0x0800000 0x0 0x100000 iconnect => nand write 0x0800000 0x0 0x100000
Line 240: Line 240:
<code> <code>
setenv machid 'B36' setenv machid 'B36'
 +setenv arcNumber '2870'
setenv loadaddr '0x6400000' setenv loadaddr '0x6400000'
setenv console 'console=ttyS0,115200 panic=20' setenv console 'console=ttyS0,115200 panic=20'
Line 256: Line 257:
setenv flash_rootfs 'nand erase 0x500000 0xfb00000; nand write.e $(loadaddr) 0x500000 0x200000;' setenv flash_rootfs 'nand erase 0x500000 0xfb00000; nand write.e $(loadaddr) 0x500000 0x200000;'
-setenv bootcmd 'setenv bootargs $(console) $(bootargs_root); nand read $(loadaddr) 0x100000 0x400000; bootm $(loadaddr)'+setenv load_openwrt 'setenv bootargs $(console) $(bootargs_root); nand read $(loadaddr) 0x100000 0x400000; bootm $(loadaddr)
 +setenv bootcmd 'run load_openwrt'
saveenv saveenv
</code> </code>
Line 466: Line 468:
and works fine if you will use this version and your JTAG interface is working with it like [[http://www.amontec.com/jtagkey-tiny.shtml|Amontec JTAGkey-Tiny]].\\ and works fine if you will use this version and your JTAG interface is working with it like [[http://www.amontec.com/jtagkey-tiny.shtml|Amontec JTAGkey-Tiny]].\\
\\ \\
-Since I bought my own JTAG interface [[www.freddiechopin.info/pl/artykuly/34-news/85-jtag-lock-pick-tiny-2-juz-jest#comments|JTAG-lock-pick Tiny 2]], which support is included since OpenOCD 0.61 and this version has some+Since I bought my own JTAG interface [[http://www.distortec.com/jtag-lock-pick-tiny-2|JTAG-lock-pick Tiny 2]], which support is included since OpenOCD 0.61 and this version has some
changes in command names which makes it incompatible with old scripts, I decided to write my own tutorial. Additionally I will use changes in command names which makes it incompatible with old scripts, I decided to write my own tutorial. Additionally I will use
OpenOCD on Windows. OpenOCD on Windows.
Line 475: Line 477:
\\ \\
JTAG interface used:\\ JTAG interface used:\\
-- [[http://www.freddiechopin.info/pl/artykuly/34-news/85-jtag-lock-pick-tiny-2-juz-jest#comments|JTAG-lock-pick Tiny 2]] ([[http://www.freddiechopin.info/pl/download/category/5-jtag-lock-pick|manual, drivers, eeprom]]) - based on latest high speed version of [[http://www.ftdichip.com/Products/ICs/FT232H.htm|FT232HL]] chip, works with OpenOCD 0.61 and higher\\+- [[http://www.distortec.com/jtag-lock-pick-tiny-2|JTAG-lock-pick Tiny 2]] ([[http://www.freddiechopin.pl/pl/download/category/5-jtag-lock-pick|manual, drivers, eeprom]]) - based on latest high speed version of [[http://www.ftdichip.com/Products/ICs/FT232H.htm|FT232HL]] chip, works with OpenOCD 0.61 and higher\\
- [[http://www.amontec.com/jtagkey-tiny.shtml|Amontec JTAGkey-Tiny]] - based on [[http://www.ftdichip.com/Products/ICs/FT2232D.htm|FT2232L]], works with OpenOCD 0.40 and higher\\ - [[http://www.amontec.com/jtagkey-tiny.shtml|Amontec JTAGkey-Tiny]] - based on [[http://www.ftdichip.com/Products/ICs/FT2232D.htm|FT2232L]], works with OpenOCD 0.40 and higher\\
- [[http://www.kamami.pl/index.php?ukey=product&productID=68017|ZL30PRG]] (copy of ST-Link v1) - works with OpenOCD 0.61 and higher but only with ST ARMs so it is useless for iConnect (checked)\\ - [[http://www.kamami.pl/index.php?ukey=product&productID=68017|ZL30PRG]] (copy of ST-Link v1) - works with OpenOCD 0.61 and higher but only with ST ARMs so it is useless for iConnect (checked)\\
- see also [[http://openocd.sourceforge.net/doc/html/Debug-Adapter-Hardware.html#Debug-Adapter-Hardware|supported hardware list]] on OpenOCD page\\ - see also [[http://openocd.sourceforge.net/doc/html/Debug-Adapter-Hardware.html#Debug-Adapter-Hardware|supported hardware list]] on OpenOCD page\\
\\ \\
-Software: OpenOCD [[http://openocd.sourceforge.net/|Linux]] / [[http://www.freddiechopin.info/pl/download/category/4-openocd|Windows]]\\+Software: OpenOCD [[http://openocd.sourceforge.net/|Linux]] / [[http://www.freddiechopin.pl/pl/download/category/4-openocd|Windows]]\\
==== 3. Installing JTAG inteface in Windows ==== ==== 3. Installing JTAG inteface in Windows ====
Line 500: Line 502:
==== 4. Installing OpenOCD in Windows ==== ==== 4. Installing OpenOCD in Windows ====
-Get latest stable version from [[http://www.freddiechopin.info/pl/download/category/4-openocd|www.freddiechopin.info]] page, 0.61 is current at this moment (February 2013) and will be used in this article.\\+Get latest stable version from [[http://www.freddiechopin.pl/pl/download/category/4-openocd|www.freddiechopin.pl]] page, 0.61 is current at this moment (February 2013) and will be used in this article.\\
Unzip it to C: and open openocd-0.6.1 folder.\\ Unzip it to C: and open openocd-0.6.1 folder.\\
Download {{:media:toh:iomega:iconnect:openocd.config.files.zip|board configuration files}} for OpenOCD:\\ Download {{:media:toh:iomega:iconnect:openocd.config.files.zip|board configuration files}} for OpenOCD:\\

Back to top

toh/iomega/iconnect.1362833809.txt.bz2 · Last modified: 2013/03/09 13:56 by pawelw