<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Marcin Juszkiewicz - ep93xx</title><link href="https://marcin.juszkiewicz.com.pl/" rel="alternate"/><link href="https://marcin.juszkiewicz.com.pl/tag/ep93xx/feed/" rel="self"/><id>https://marcin.juszkiewicz.com.pl/</id><updated>2009-11-17T18:10:00+01:00</updated><entry><title>Sim.One #0006 arrived</title><link href="https://marcin.juszkiewicz.com.pl/2009/11/17/sim-one-0006-arrived/" rel="alternate"/><published>2009-11-17T18:10:00+01:00</published><updated>2009-11-17T18:10:00+01:00</updated><author><name>Marcin Juszkiewicz</name></author><id>tag:marcin.juszkiewicz.com.pl,2009-11-17:/2009/11/17/sim-one-0006-arrived/</id><summary type="html">&lt;p&gt;Today I got nice package in post office &amp;#8212; &lt;a href="http://simplemachines.it/simone.html"&gt;Simplemachines One developer board&lt;/a&gt; (Sim.One in short). It is based on Cirrus Logic &lt;span class="caps"&gt;EP9307&lt;/span&gt; processor with Maverick Crunch floating point unit. I got board with #0006 serial&amp;nbsp;number.&lt;/p&gt;
&lt;p&gt;Board is much better then &lt;span class="caps"&gt;EDB9301&lt;/span&gt; which I used so far for EP93xx …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Today I got nice package in post office &amp;#8212; &lt;a href="http://simplemachines.it/simone.html"&gt;Simplemachines One developer board&lt;/a&gt; (Sim.One in short). It is based on Cirrus Logic &lt;span class="caps"&gt;EP9307&lt;/span&gt; processor with Maverick Crunch floating point unit. I got board with #0006 serial&amp;nbsp;number.&lt;/p&gt;
&lt;p&gt;Board is much better then &lt;span class="caps"&gt;EDB9301&lt;/span&gt; which I used so far for EP93xx toolchain tests. What is on&amp;nbsp;board:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="caps"&gt;EP9307&lt;/span&gt; &lt;span class="caps"&gt;CPU&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="caps"&gt;64MB&lt;/span&gt;&amp;nbsp;ram&lt;/li&gt;
&lt;li&gt;&lt;span class="caps"&gt;8MB&lt;/span&gt; &lt;span class="caps"&gt;NOR&lt;/span&gt;&amp;nbsp;flash&lt;/li&gt;
&lt;li&gt;&lt;span class="caps"&gt;MMC&lt;/span&gt; slot (connected over &lt;span class="caps"&gt;SPI&lt;/span&gt; so ~&lt;span class="caps"&gt;250KB&lt;/span&gt;/s&amp;nbsp;max)&lt;/li&gt;
&lt;li&gt;2 &lt;span class="caps"&gt;USB&lt;/span&gt; host&amp;nbsp;ports&lt;/li&gt;
&lt;li&gt;&lt;span class="caps"&gt;VGA&lt;/span&gt; out port &amp;#8212; &lt;span class="caps"&gt;XGA&lt;/span&gt; 8bit or &lt;span class="caps"&gt;SVGA&lt;/span&gt;&amp;nbsp;8/16/24bit&lt;/li&gt;
&lt;li&gt;serial port in &lt;span class="caps"&gt;RJ&lt;/span&gt;-45 instead of standard &lt;span class="caps"&gt;DB9&lt;/span&gt; (but cable is in&amp;nbsp;package)&lt;/li&gt;
&lt;li&gt;audio in/out&amp;nbsp;jacks&lt;/li&gt;
&lt;li&gt;many connectors with different signals &amp;#8212; will have to check schematics for&amp;nbsp;that.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By default board boots into Debian &amp;#8216;lenny&amp;#8217; system stored on &lt;span class="caps"&gt;4GB&lt;/span&gt; &lt;span class="caps"&gt;SDHC&lt;/span&gt; card. But there are problems with it as this is &lt;span class="caps"&gt;MMC&lt;/span&gt; over &lt;span class="caps"&gt;SPI&lt;/span&gt; so speed is very limited (about &lt;span class="caps"&gt;250KB&lt;/span&gt;/s only) and it time outs quite often so I plan to move to &lt;span class="caps"&gt;USB&lt;/span&gt; stick during next&amp;nbsp;days.&lt;/p&gt;
&lt;p&gt;Next step will be adding it into OpenEmbedded and running Ångström as base&amp;nbsp;distribution.&lt;/p&gt;
&lt;p&gt;&lt;span class="caps"&gt;BTW&lt;/span&gt; &amp;#8212; how did I got it at all? That&amp;#8217;s due my &lt;a href="/2009/06/04/ep93xx-fight-continued/"&gt;recent work on merging EP93xx support into &lt;span class="caps"&gt;OE&lt;/span&gt;&lt;/a&gt; &amp;#8212; I was asked do I want developer board with this&amp;nbsp;processor.&lt;/p&gt;</content><category term="ep93xx"/><category term="sim.one"/><category term="sbc"/></entry><entry><title>EP93xx fight continued…</title><link href="https://marcin.juszkiewicz.com.pl/2009/06/04/ep93xx-fight-continued/" rel="alternate"/><published>2009-06-04T13:46:00+02:00</published><updated>2009-06-04T13:46:00+02:00</updated><author><name>Marcin Juszkiewicz</name></author><id>tag:marcin.juszkiewicz.com.pl,2009-06-04:/2009/06/04/ep93xx-fight-continued/</id><summary type="html">&lt;p&gt;During my recent OpenEmbedded related work I merged &lt;a href="http://martinwguy.co.uk/martin/crunch/"&gt;gcc patchset from Martin Guy&lt;/a&gt; to add support for Maverick Crunch &lt;span class="caps"&gt;FP&lt;/span&gt; unit present in Cirrus Logic EP93xx &lt;span class="caps"&gt;ARM&lt;/span&gt; cpus. This makes floating point operations faster then it was&amp;nbsp;before.&lt;/p&gt;
&lt;p&gt;But does using it has a sense for whole system? Is it …&lt;/p&gt;</summary><content type="html">&lt;p&gt;During my recent OpenEmbedded related work I merged &lt;a href="http://martinwguy.co.uk/martin/crunch/"&gt;gcc patchset from Martin Guy&lt;/a&gt; to add support for Maverick Crunch &lt;span class="caps"&gt;FP&lt;/span&gt; unit present in Cirrus Logic EP93xx &lt;span class="caps"&gt;ARM&lt;/span&gt; cpus. This makes floating point operations faster then it was&amp;nbsp;before.&lt;/p&gt;
&lt;p&gt;But does using it has a sense for whole system? Is it possible at all? The answers are No and Yes. I have root filesystem for &lt;a href="/2009/04/15/edb9301-hacking/"&gt;&lt;span class="caps"&gt;EDB9301&lt;/span&gt;&lt;/a&gt; created with Maverick optimisations but I also have plain armv4t one for same board. They both work but I do not recommend using Crunch optimized one &amp;#8212; there are strange errors. For example &amp;#8220;&lt;span class="caps"&gt;HZ&lt;/span&gt;=5.33381e-315&amp;#8221; is given instead of &amp;#8220;&lt;span class="caps"&gt;HZ&lt;/span&gt;=100&amp;#8221;&amp;nbsp;in &lt;code&gt;openssl speed&lt;/code&gt; test (problem is somewhere in&amp;nbsp;glibc).&lt;/p&gt;
&lt;p&gt;Let me quote Martin&amp;#8217;s&amp;nbsp;mail:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;My current recommendation is to enable crunch only in the floating point intensive libraries and applications that your application system uses, because having more than one crunch-enabled process running in the system makes the context switches slower because the kernel has to save and restore 19 64-bit registers at every context switch. It doesn&amp;#8217;t bother doing this if only one process is using the &lt;span class="caps"&gt;FPU&lt;/span&gt; thanks to some clever Buytenhek laziness). I don&amp;#8217;t have figures for how much of a difference this makes, but I guess one could calculate it from the context switching rate shown in the output of &amp;#8220;vmstat 5&amp;#8221; and the instruction&amp;nbsp;times.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I switched &amp;#8220;ep93xx&amp;#8221; machine in &lt;span class="caps"&gt;OE&lt;/span&gt; back to armv4t optimisations. Also I am working on adding some more EP93xx related patches from Hasjim Williams (he made first set of patches for OpenEmbedded and Martin Guy improved them and moved to newer &lt;span class="caps"&gt;GCC&lt;/span&gt;).&lt;/p&gt;
&lt;p&gt;One note for end of story &amp;#8212; I am not interested in doing more ep93xx toolchain work. If your device/company need such help then contact Martin Guy for consulting&amp;nbsp;offer.&lt;/p&gt;</content><category term="consulting"/><category term="ep93xx"/><category term="openembedded"/></entry><entry><title>EDB9301 hacking</title><link href="https://marcin.juszkiewicz.com.pl/2009/04/15/edb9301-hacking/" rel="alternate"/><published>2009-04-15T17:04:00+02:00</published><updated>2009-04-15T17:04:00+02:00</updated><author><name>Marcin Juszkiewicz</name></author><id>tag:marcin.juszkiewicz.com.pl,2009-04-15:/2009/04/15/edb9301-hacking/</id><summary type="html">&lt;p&gt;Today I visited friend at his office and during talk I found dusted &lt;span class="caps"&gt;EDB9301&lt;/span&gt; board at shelve. As he do not use it any more I was allowed to take it for&amp;nbsp;experimenting.&lt;/p&gt;
&lt;p&gt;First problem was bootloader &amp;#8212; I am not so familiar with RedBoot so it took me a while …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Today I visited friend at his office and during talk I found dusted &lt;span class="caps"&gt;EDB9301&lt;/span&gt; board at shelve. As he do not use it any more I was allowed to take it for&amp;nbsp;experimenting.&lt;/p&gt;
&lt;p&gt;First problem was bootloader &amp;#8212; I am not so familiar with RedBoot so it took me a while to get it to load kernel from &lt;span class="caps"&gt;TFTP&lt;/span&gt; server. For reference: proper command&amp;nbsp;is &lt;code&gt;"load -v -r -b 0x01000000 /zImage-ep9301"&lt;/code&gt; where &amp;#8220;/zImage-ep9301&amp;#8221; is name of file to fetch. If you will get &amp;#8220;Unrecognized image type: 0xe1a00000&amp;#8221; message instead then you forgot &amp;#8220;-r&amp;#8221; switch (RedBoot do not know format of zImage kernel). I got some hints from HitchHacker Guide to &lt;span class="caps"&gt;ENP&lt;/span&gt;-2611&amp;nbsp;page.&lt;/p&gt;
&lt;p&gt;Second was Linux kernel as support for &lt;span class="caps"&gt;EDB9301&lt;/span&gt; was not present in 2.6.29 version. Quick search on &lt;abbr title="Linux Arm Kernel Mailing List"&gt;&lt;span class="caps"&gt;LAKML&lt;/span&gt;&lt;/abbr&gt; gave me patch which adds &lt;span class="caps"&gt;EDB9301&lt;/span&gt; support. But even with this patch kernel does not wanted to boot due to different machine &lt;span class="caps"&gt;ID&lt;/span&gt; (454 instead of 462) &amp;#8212; small patch to &amp;#8220;arch/arm/tools/mach-types&amp;#8221; solved problem&amp;nbsp;:D&lt;/p&gt;
&lt;p&gt;Now I have board booted with root over &lt;span class="caps"&gt;NFS&lt;/span&gt; and wait for &amp;#8220;base-image&amp;#8221; build to end to have rootfs which will fit that device better then Openmoko one&amp;nbsp;;D&lt;/p&gt;
&lt;figure id="__yafg-figure-1"&gt;
&lt;img alt="EDB9301 board" loading="lazy" src="/files/2009/04/3445158164_1434aa6c68_o_d-700x.jpg" title="EDB9301 board"&gt;
&lt;figcaption&gt;&lt;span class="caps"&gt;EDB9301&lt;/span&gt; board&lt;/figcaption&gt;
&lt;/figure&gt;</content><category term="ep93xx"/><category term="openmoko"/><category term="redboot"/></entry></feed>