<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de-AT">
	<id>https://becomwiki.live.md-websolutions.com/index.php?action=history&amp;feed=atom&amp;title=ARM_DS-5_Quick_Start_%28SBC-i.MX51%29</id>
	<title>ARM DS-5 Quick Start (SBC-i.MX51) - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://becomwiki.live.md-websolutions.com/index.php?action=history&amp;feed=atom&amp;title=ARM_DS-5_Quick_Start_%28SBC-i.MX51%29"/>
	<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=ARM_DS-5_Quick_Start_(SBC-i.MX51)&amp;action=history"/>
	<updated>2026-05-13T12:44:40Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in BECOM Systems Support</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://becomwiki.live.md-websolutions.com/index.php?title=ARM_DS-5_Quick_Start_(SBC-i.MX51)&amp;diff=200&amp;oldid=prev</id>
		<title>Peter: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=ARM_DS-5_Quick_Start_(SBC-i.MX51)&amp;diff=200&amp;oldid=prev"/>
		<updated>2023-10-31T08:03:07Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de-AT&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 31. Oktober 2023, 10:03 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de-AT&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
	<entry>
		<id>https://becomwiki.live.md-websolutions.com/index.php?title=ARM_DS-5_Quick_Start_(SBC-i.MX51)&amp;diff=199&amp;oldid=prev</id>
		<title>en&gt;Peter: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=ARM_DS-5_Quick_Start_(SBC-i.MX51)&amp;diff=199&amp;oldid=prev"/>
		<updated>2023-08-22T19:35:49Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Image:Arm-logo.jpg|right|200px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;The reference software development tool suite for ARM processors&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Developed by ARM Architecture experts, the ARM DS-5™ toolchain enables engineers to develop robust and highly optimized embedded software for ARM application processors, such as the Cortex™-A series, Cortex-R real-time processors and other ARM embedded processors. The DS-5 toolchain comprises tools such as the best-in-class ARM C/C++ Compiler, a powerful Linux/Android™/RTOS-aware debugger, the ARM Streamline™ system-wide performance analyzer and real-time system model simulators, all conveniently packaged in a user friendly integrated development environment (IDE) based on the Eclipse.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
This is a quick start for ARM DS-5 software, DSTREAM debugging hardware, and the SBC-i.MX51 single board computer.&lt;br /&gt;
&lt;br /&gt;
This document is not exhaustive, please refer to the [[#Further reading|Further reading]] chapter how to retrieve documentation about DS-5.&lt;br /&gt;
&lt;br /&gt;
==What you will need==&lt;br /&gt;
*ARM DS-5 software for Linux or Windows&lt;br /&gt;
*ARM DSTREAM Debug and Trace unit (optional)&lt;br /&gt;
&lt;br /&gt;
==What is supported==&lt;br /&gt;
*DS-5 Community Edition&lt;br /&gt;
**Linux application debugging (gdbserver)&lt;br /&gt;
**Streamline is not supported currently&lt;br /&gt;
*DS-5 Professional Edition &amp;amp; DSTREAM&lt;br /&gt;
**Bare Metal Debug via DSTREAM&lt;br /&gt;
**Linux Kernel/Device Driver Debug via DSTREAM&lt;br /&gt;
**Tracing using the Cortex-A8 ETB (Embedded Trace Buffer)&lt;br /&gt;
&lt;br /&gt;
==Install ARM DS-5==&lt;br /&gt;
You may start with the free DS-5 Community Edition, which is available at https://ds.arm.com/ds-5-community-edition/.&lt;br /&gt;
&lt;br /&gt;
Evaluation licenses for the Professional Edition are available - see https://www.arm.com/products/tools/software-tools/ds-5/ds-5-downloads.php.&lt;br /&gt;
&lt;br /&gt;
==Adding target support==&lt;br /&gt;
If your version of DS-5 does not have support for the SBC-i.MX51 yet, you can add a User Configuration Database.&lt;br /&gt;
&lt;br /&gt;
===How to check===&lt;br /&gt;
*Start DS-5.&lt;br /&gt;
*Click &amp;#039;&amp;#039;Run&amp;#039;&amp;#039; from the menu and choose &amp;#039;&amp;#039;Debug Configurations...&amp;#039;&amp;#039;.&lt;br /&gt;
*Right-click on &amp;#039;&amp;#039;DS-5 Debugger&amp;#039;&amp;#039; and click &amp;#039;&amp;#039;New&amp;#039;&amp;#039;.&lt;br /&gt;
*On the &amp;#039;&amp;#039;Connection&amp;#039;&amp;#039; tab, in the &amp;#039;&amp;#039;Select target&amp;#039;&amp;#039; area, search for &amp;#039;&amp;#039;&amp;#039;Bluetechnix&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;&amp;#039;SBC-i.MX51&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
*If the target is not available, proceed.&lt;br /&gt;
&lt;br /&gt;
===Add support===&lt;br /&gt;
*Download a ZIP file with the Configuration Database Entry from https://support.becom-group.com/releases/imx/sbc-imx51/ds-5/.&lt;br /&gt;
*Unpack the ZIP file.&lt;br /&gt;
*Open DS-5.&lt;br /&gt;
*Click &amp;#039;&amp;#039;Window&amp;#039;&amp;#039; from the menu and choose &amp;#039;&amp;#039;Preferences&amp;#039;&amp;#039;.&lt;br /&gt;
*On the left, expand the &amp;#039;&amp;#039;DS-5&amp;#039;&amp;#039; configuration item and select &amp;#039;&amp;#039;Configuration Database&amp;#039;&amp;#039;.&lt;br /&gt;
*In the &amp;#039;&amp;#039;User Configuration Databases&amp;#039;&amp;#039; area, click on &amp;#039;&amp;#039;Add&amp;#039;&amp;#039;, and select the &amp;#039;&amp;#039;&amp;#039;configdb&amp;#039;&amp;#039;&amp;#039; folder from the unpacked ZIP file.&lt;br /&gt;
*Click on the &amp;#039;&amp;#039;Rebuild database...&amp;#039;&amp;#039; button. You are finished!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: [[Image:Ds5 confdatabase.png|654px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Compile the kernel with debug info==&lt;br /&gt;
&lt;br /&gt;
This is required if you want to debug your kernel via JTAG using DSTREAM.&lt;br /&gt;
&lt;br /&gt;
*Go to kernel directory&lt;br /&gt;
 cd btmxc-linux/&lt;br /&gt;
*Configure the kernel&lt;br /&gt;
 source set-cross-envs&lt;br /&gt;
 make menuconfig&lt;br /&gt;
*Enable the following options in the &amp;#039;&amp;#039;Kernel hacking&amp;#039;&amp;#039; menu:&lt;br /&gt;
 [*] Kernel debugging&lt;br /&gt;
 [*] Compile the kernel with debug info&lt;br /&gt;
*Rebuild and deploy the kernel&lt;br /&gt;
&lt;br /&gt;
==Configure Redboot==&lt;br /&gt;
&lt;br /&gt;
In order to allow JTAG access while the Linux kernel is running on the target, you have to tell the kernel with the following argument&lt;br /&gt;
 jtag=on&lt;br /&gt;
&lt;br /&gt;
To accomplish this,&lt;br /&gt;
*Reset or boot the SBC-i.MX51 with the serial terminal connected and ready.&lt;br /&gt;
*Stop booting with \sc{Ctrl-c}.&lt;br /&gt;
*Enter&lt;br /&gt;
 fconfig&lt;br /&gt;
*Accept all entries &amp;#039;&amp;#039;&amp;#039;except&amp;#039;&amp;#039;&amp;#039; the &amp;#039;Boot script&amp;#039; entry. Set it to:&lt;br /&gt;
 e -b 0x100000 -l 0x300000 -c &amp;quot;console=ttymxc0,115200 console=tty1 root=/dev/mmcblk0p1 psplash=false rootwait display=hdmi:1024x768M-16@60 jtag=on&amp;quot;&lt;br /&gt;
(Your kernel arguments may vary - copy them and add &amp;#039;&amp;#039;jtag=on&amp;#039;&amp;#039;.)&lt;br /&gt;
*Don&amp;#039;t forget to save the configuration in the last step of &amp;#039;&amp;#039;fconfig&amp;#039;&amp;#039;.&lt;br /&gt;
*Reset&lt;br /&gt;
 reset&lt;br /&gt;
&lt;br /&gt;
== Create a DS-5 debug configuration ==&lt;br /&gt;
*Click &amp;#039;&amp;#039;Run&amp;#039;&amp;#039; from the menu and choose &amp;#039;&amp;#039;Debug Configurations...&amp;#039;&amp;#039;.&lt;br /&gt;
*Right-click on &amp;#039;&amp;#039;DS-5 Debugger&amp;#039;&amp;#039; and click &amp;#039;&amp;#039;New&amp;#039;&amp;#039;.&lt;br /&gt;
*On the &amp;#039;&amp;#039;Connection&amp;#039;&amp;#039; tab, in the &amp;#039;&amp;#039;Select target&amp;#039;&amp;#039; area, select &amp;#039;&amp;#039;&amp;#039;Bluetechnix&amp;#039;&amp;#039;&amp;#039; &amp;amp;rarr; &amp;#039;&amp;#039;&amp;#039;SBC-i.MX51&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
*Choose between available debug targets.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: [[Image:Ds5 sbc debugconfiguration.png|1311px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*For a kernel debugging session, you have to add a debugger command and add a source search directory in order to enable source-level debugging.&lt;br /&gt;
*Go to the &amp;#039;&amp;#039;Debugger&amp;#039;&amp;#039; tab within the debug configuration.&lt;br /&gt;
*Select &amp;#039;&amp;#039;Execute debugger commands&amp;#039;&amp;#039;, and add&lt;br /&gt;
 add-symbol-file &amp;quot;&amp;lt;your-path&amp;gt;/vmlinux&amp;quot; S:0x0&lt;br /&gt;
*Add the directory where your Linux kernel sources are as a &amp;#039;&amp;#039;Source search directory&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: [[Image:Ds5 sbc debugconfiguration 2.png|1311px]]&lt;br /&gt;
&lt;br /&gt;
== Enable Tracing ==&lt;br /&gt;
DS-5 may use the on-chip ETB of the i.MX51 to capture a small amount of real time trace data.&lt;br /&gt;
&lt;br /&gt;
*In the debug configuration dialog, go to the &amp;#039;&amp;#039;Connection&amp;#039;&amp;#039; tab.&lt;br /&gt;
*Click the &amp;#039;&amp;#039;Edit...&amp;#039;&amp;#039; button for DTSL options.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: [[Image:Ds5 sbc debugconfiguration 5.png|976px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*In the DTSL (Debug and Trace Services Layer) Configuration Editor, set the Trace capture method to &amp;#039;&amp;#039;On Chip Trace Buffer (ETB)&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: [[Image:Ds5 sbc debugconfiguration 3.png|642px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*On the Core Trace tab, enable Cortex-A8 trace, and select other options according to your wishes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: [[Image:Ds5 sbc debugconfiguration 4.png|642px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Click &amp;#039;&amp;#039;OK&amp;#039;&amp;#039; and &amp;#039;&amp;#039;Debug&amp;#039;&amp;#039; in the parent dialog to start debugging.&lt;br /&gt;
*If the processor is now halted, e.g. by a breakpoint, the &amp;#039;&amp;#039;Trace&amp;#039;&amp;#039; view update with instruction trace and source-level function analysis.&lt;br /&gt;
*If the &amp;#039;&amp;#039;Trace&amp;#039;&amp;#039; view is not yet opened, select &amp;#039;&amp;#039;Window&amp;#039;&amp;#039; from the menu, &amp;#039;&amp;#039;Show View&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;Trace&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: [[Image:Ds5 sbc traceview.png|1344px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
*ARM Infocenter for DS-5: https://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.subset.swdev.ds5/index.html&lt;br /&gt;
*ARM Infocenter for DSTREAM: https://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.subset.swdev.dstream/index.html&lt;br /&gt;
*DS-5 Community Edition: https://ds.arm.com/ds-5-community-edition/&lt;br /&gt;
&lt;br /&gt;
*DS-5 Product Page: https://www.arm.com/products/tools/software-tools/ds-5/index.php&lt;br /&gt;
*DS-5 Downloads: https://www.arm.com/products/tools/software-tools/ds-5/ds-5-downloads.php&lt;br /&gt;
&lt;br /&gt;
[[Category:SBC-i.MX51]]&lt;/div&gt;</summary>
		<author><name>en&gt;Peter</name></author>
	</entry>
</feed>