<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.hermann-uwe.de" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Uwe Hermann - Blog entry - Comments</title>
 <link>http://www.hermann-uwe.de</link>
 <description>Comments for &quot;Blog entry&quot;</description>
 <language>en</language>
<item>
 <title>nice one!</title>
 <link>http://www.hermann-uwe.de/blog/openbiosprog-spi-a-diy-open-hardware-and-free-software-usb-based-spi-bios-chip-flasher-using-flashrom#comment-83465</link>
 <description>&lt;p&gt;nice one!&lt;br /&gt;
I hope I will be able to convert my FT4232HQ_mini_module to one of those. Will save me a Dediprog SF100!&lt;/p&gt;
&lt;p&gt;keep up the continuous good work.&lt;br /&gt;
mazzoo&lt;/p&gt;
</description>
 <pubDate>Fri, 03 Sep 2010 07:38:40 +0200</pubDate>
 <dc:creator>mazzoo</dc:creator>
 <guid isPermaLink="false">comment 83465 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>USB / OpenCores</title>
 <link>http://www.hermann-uwe.de/blog/openbiosprog-spi-a-diy-open-hardware-and-free-software-usb-based-spi-bios-chip-flasher-using-flashrom#comment-83463</link>
 <description>&lt;p&gt;Dunno, didn&#039;t check, I have no experience with FPGAs yet, and this would have been a lot more work too I think, as the FT2232H handles both USB and SPI for me basically, and flashrom support is also implemented upstream already. I also don&#039;t like FPGAs too much as they always force you to use the proprietary, closed-source tools from the FPGA vendors (Xilinx, whatever).&lt;/p&gt;
&lt;p&gt;Could be an interesting alternative for the next project maybe.&lt;/p&gt;
</description>
 <pubDate>Fri, 03 Sep 2010 02:15:19 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 83463 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>gta02-core</title>
 <link>http://www.hermann-uwe.de/blog/openbiosprog-spi-a-diy-open-hardware-and-free-software-usb-based-spi-bios-chip-flasher-using-flashrom#comment-83462</link>
 <description>&lt;p&gt;Thanks, looks interesting indeed. I&#039;ll check it out soonish.&lt;/p&gt;
</description>
 <pubDate>Fri, 03 Sep 2010 02:12:48 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 83462 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Hi, please try the latest</title>
 <link>http://www.hermann-uwe.de/blog/building-an-arm-cross-toolchain-with-binutils-gcc-newlib-and-gdb-from-source#comment-83461</link>
 <description>&lt;p&gt;Hi, please try the &lt;a href=&quot;http://github.com/esden/summon-arm-toolchain&quot;&gt;latest summon-arm-toolchain version from git&lt;/a&gt;, should be fixed there.&lt;/p&gt;
</description>
 <pubDate>Fri, 03 Sep 2010 02:09:15 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 83461 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Thx</title>
 <link>http://www.hermann-uwe.de/blog/building-an-arm-cross-toolchain-with-binutils-gcc-newlib-and-gdb-from-source#comment-83460</link>
 <description>&lt;p&gt;Thanks, fixed in the &lt;a href=&quot;http://github.com/esden/summon-arm-toolchain&quot;&gt;latest summon-arm-toolchain from the git repo&lt;/a&gt;.&lt;/p&gt;
</description>
 <pubDate>Fri, 03 Sep 2010 02:07:35 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 83460 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>--disable-werror</title>
 <link>http://www.hermann-uwe.de/blog/building-an-arm-cross-toolchain-with-binutils-gcc-newlib-and-gdb-from-source#comment-83459</link>
 <description>&lt;p&gt;You can use --disable-werror for gdb and the other components, or use the &lt;a href=&quot;http://github.com/esden/summon-arm-toolchain&quot;&gt;latest summon-arm-toolchain version from git&lt;/a&gt;.&lt;/p&gt;
</description>
 <pubDate>Fri, 03 Sep 2010 02:05:29 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 83459 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>MinGW</title>
 <link>http://www.hermann-uwe.de/blog/building-an-arm-cross-toolchain-with-binutils-gcc-newlib-and-gdb-from-source#comment-83458</link>
 <description>&lt;p&gt;I&#039;m working on including proper MinGW/Windows support in the &lt;a href=&quot;http://github.com/esden/summon-arm-toolchain&quot;&gt;latest summon-arm-toolchain version from git&lt;/a&gt;. The script itself doesn&#039;t explicitly call cc or gcc, but you can probably force it via &quot;export CC=gcc&quot; or the like. This will not be necessary anymore soonish, I hope.&lt;/p&gt;
</description>
 <pubDate>Fri, 03 Sep 2010 02:03:00 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 83458 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>cpuinfo</title>
 <link>http://www.hermann-uwe.de/blog/building-an-arm-cross-toolchain-with-binutils-gcc-newlib-and-gdb-from-source#comment-83457</link>
 <description>&lt;p&gt;Nice, thanks.&lt;/p&gt;
&lt;p&gt;Btw, the latest version of this script is available in the &lt;a href=&quot;http://github.com/esden/summon-arm-toolchain&quot;&gt;summon-arm-toolchain git repo&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Though I guess this stuff is highly Linux-specific (/proc/cpuinfo), won&#039;t work on *BSD or Mac OS X or Windows, whereas &quot;-j 2&quot; probably does.&lt;/p&gt;
</description>
 <pubDate>Fri, 03 Sep 2010 01:54:35 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 83457 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>libmpc-dev</title>
 <link>http://www.hermann-uwe.de/blog/building-an-arm-cross-toolchain-with-binutils-gcc-newlib-and-gdb-from-source#comment-83456</link>
 <description>&lt;p&gt;Thanks, fixed in the article, will also be mentioned soon in the &lt;a href=&quot;http://github.com/esden/summon-arm-toolchain&quot;&gt;latest summon-arm-toolchain version from git&lt;/a&gt;.&lt;/p&gt;
</description>
 <pubDate>Fri, 03 Sep 2010 01:51:26 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 83456 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Fixed via --disable-werror</title>
 <link>http://www.hermann-uwe.de/blog/building-an-arm-cross-toolchain-with-binutils-gcc-newlib-and-gdb-from-source#comment-83455</link>
 <description>&lt;p&gt;This should be fixed in the &lt;a href=&quot;http://github.com/esden/summon-arm-toolchain&quot;&gt;latest summon-arm-toolchain version from git&lt;/a&gt;.&lt;/p&gt;
</description>
 <pubDate>Fri, 03 Sep 2010 01:44:00 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 83455 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>toolchain</title>
 <link>http://www.hermann-uwe.de/blog/building-an-arm-cross-toolchain-with-binutils-gcc-newlib-and-gdb-from-source#comment-83326</link>
 <description>&lt;p&gt;Your cross-toolchain script is pretty stale. Try this one.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# Builds a arm-eabi cross compiler for use on linux&lt;br /&gt;
# host systems. This target has no file system or kernel.&lt;br /&gt;
#&lt;br /&gt;
TARGET=&quot;arm-none-eabi&quot;&lt;br /&gt;
SRC=&quot;/build-dir/packages&quot;  # package directory&lt;br /&gt;
PREFIX=&quot;/build-dir/arm/toolchain&quot;   # final toolchain directory&lt;br /&gt;
PARALLEL=&quot;-j 2&quot;&lt;br /&gt;
BINUTILS=binutils-2.20&lt;br /&gt;
GCC=gcc-4.5.1&lt;br /&gt;
GMP=gmp-5.0.1&lt;br /&gt;
MPFR=mpfr-3.0.0&lt;br /&gt;
MPC=mpc-0.8.2&lt;br /&gt;
NEWLIB=newlib-1.18.0&lt;br /&gt;
# Note: the 7.x series of GDB seem to have issues with psim...&lt;br /&gt;
GDB=gdb-6.8&lt;br /&gt;
export PATH=&quot;$PATH:$PREFIX/bin&quot;&lt;br /&gt;
# Before we do anything we need all the source files.&lt;br /&gt;
# We keep them in one place and we never need to&lt;br /&gt;
# download them twice if this build fails.&lt;br /&gt;
mkdir $SRC&lt;br /&gt;
cd $SRC&lt;br /&gt;
echo &quot;Dounloading source packages. This may take a while.&quot;&lt;br /&gt;
echo&lt;br /&gt;
wget -c http://ftp.gnu.org/gnu/binutils/$BINUTILS.tar.bz2&lt;br /&gt;
wget -c ftp://ftp.gnu.org/gnu/gcc/$GCC/$GCC.tar.bz2&lt;br /&gt;
wget -c ftp://ftp.gmplib.org/pub/$GMP/$GMP.tar.bz2&lt;br /&gt;
wget -c http://www.mpfr.org/mpfr-current/$MPFR.tar.bz2&lt;br /&gt;
wget -c http://www.multiprecision.org/mpc/download/$MPC.tar.gz&lt;br /&gt;
wget -c ftp://sources.redhat.com/pub/newlib/$NEWLIB.tar.gz&lt;br /&gt;
wget -c ftp://ftp.gnu.org/gnu/gdb/$GDB.tar.bz2&lt;br /&gt;
cd ..&lt;br /&gt;
echo &quot;Starting Build...&quot;&lt;br /&gt;
echo&lt;br /&gt;
mkdir build&lt;br /&gt;
echo &quot;Building binutils&quot;&lt;br /&gt;
echo&lt;br /&gt;
tar xfj $SRC/$BINUTILS.tar.bz2&lt;br /&gt;
cd build&lt;br /&gt;
../$BINUTILS/configure --target=$TARGET --prefix=$PREFIX \&lt;br /&gt;
--enable-interwork --disable-multilib --with-gnu-as \&lt;br /&gt;
--with-gnu-ld --disable-nls --disable-werror&lt;br /&gt;
make $PARALLEL&lt;br /&gt;
make install&lt;br /&gt;
cd ..&lt;br /&gt;
rm -rf build/* $BINUTILS&lt;br /&gt;
echo &quot;Building GCC pass 1&quot;&lt;br /&gt;
tar xfj $SRC/$GCC.tar.bz2&lt;br /&gt;
# the compiler math prereqs&lt;br /&gt;
tar -jxf $SRC/$GMP.tar.bz2&lt;br /&gt;
tar -jxf $SRC/$MPFR.tar.bz2&lt;br /&gt;
tar -zxf $SRC/$MPC.tar.gz&lt;br /&gt;
cd $GCC&lt;br /&gt;
mv ../$GMP gmp&lt;br /&gt;
mv ../$MPFR mpfr&lt;br /&gt;
mv ../$MPC mpc&lt;br /&gt;
cd ../build&lt;br /&gt;
../$GCC/configure --target=$TARGET --prefix=$PREFIX --enable-interwork \&lt;br /&gt;
--disable-multilib --enable-languages=&quot;c&quot; --with-newlib \&lt;br /&gt;
--with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \&lt;br /&gt;
--without-headers --disable-shared --disable-nls --with-gnu-as --with-gnu-ld&lt;br /&gt;
make $PARALLEL all-gcc&lt;br /&gt;
make install-gcc&lt;br /&gt;
cd ..&lt;br /&gt;
rm -rf build/*  # (We retain the GCC directory for pass 2)&lt;br /&gt;
echo &quot;Building Newlib&quot;&lt;br /&gt;
echo&lt;br /&gt;
tar xfz $SRC/$NEWLIB.tar.gz&lt;br /&gt;
cd build&lt;br /&gt;
../$NEWLIB/configure --target=$TARGET --prefix=$PREFIX --enable-interwork \&lt;br /&gt;
 --disable-multilib --with-gnu-as --with-gnu-ld --disable-nls&lt;br /&gt;
make $PARALLEL&lt;br /&gt;
make install&lt;br /&gt;
cd ..&lt;br /&gt;
rm -rf build/* $NEWLIB&lt;br /&gt;
echo &quot; Building GCC pass 2&quot;&lt;br /&gt;
echo&lt;br /&gt;
cd build&lt;br /&gt;
../$GCC/configure --target=$TARGET --prefix=$PREFIX --enable-interwork \&lt;br /&gt;
 --disable-multilib --enable-languages=&quot;c,c++&quot;  --with-newlib \&lt;br /&gt;
 --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \&lt;br /&gt;
 --without-headers --disable-shared --disable-libssp --disable-nls \&lt;br /&gt;
 --disable-hardfloat --enable-threads=single --with-gnu-as --with-gnu-ld&lt;br /&gt;
make $PARALLEL&lt;br /&gt;
make install&lt;br /&gt;
cd ..&lt;br /&gt;
rm -rf build/* $GCC&lt;br /&gt;
echo &quot;Building GDB&quot;&lt;br /&gt;
echo&lt;br /&gt;
tar xfj $SRC/$GDB.tar.bz2&lt;br /&gt;
cd build&lt;br /&gt;
../$GDB/configure --target=$TARGET --prefix=$PREFIX \&lt;br /&gt;
 --enable-interwork --disable-multilib&lt;br /&gt;
make all&lt;br /&gt;
make install&lt;br /&gt;
cd ..&lt;br /&gt;
rm -rf build $GDB&lt;br /&gt;
echo &quot;Lets see if it compiles without errors...&quot;&lt;br /&gt;
echo &#039;main(){}&#039; &amp;gt; dummy.c&lt;br /&gt;
$PREFIX/bin/$TARGET-gcc-4.5.1 dummy.c -o dummy&lt;br /&gt;
ls -l dummy&lt;br /&gt;
rm dummy dummy.c a.out&lt;br /&gt;
echo &quot;cool! that&#039;s a start&quot;&lt;br /&gt;
echo &quot;Compiler Finished for &quot;$TARGET&lt;br /&gt;
# All that should be left now is this script, the new toolchain and the packages.&lt;br /&gt;
# Save the packages for other tuned toolchains.&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;
</description>
 <pubDate>Fri, 27 Aug 2010 01:50:58 +0200</pubDate>
 <dc:creator>Marty B.</dc:creator>
 <guid isPermaLink="false">comment 83326 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Dunno if you&#039;re involved</title>
 <link>http://www.hermann-uwe.de/blog/openbiosprog-spi-a-diy-open-hardware-and-free-software-usb-based-spi-bios-chip-flasher-using-flashrom#comment-83319</link>
 <description>&lt;p&gt;Dunno if you&#039;re involved with the OpenMoko evolution gta02-core, but you might want start looking at it.&lt;/p&gt;
</description>
 <pubDate>Thu, 26 Aug 2010 13:38:14 +0200</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 83319 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Are there no USB chips at</title>
 <link>http://www.hermann-uwe.de/blog/openbiosprog-spi-a-diy-open-hardware-and-free-software-usb-based-spi-bios-chip-flasher-using-flashrom#comment-83318</link>
 <description>&lt;p&gt;Are there no USB chips at OpenCores that you could have used? What about this one?&lt;/p&gt;
&lt;p&gt;http://opencores.org/project,usb&lt;/p&gt;
</description>
 <pubDate>Thu, 26 Aug 2010 13:36:19 +0200</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 83318 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>This looks better to me if</title>
 <link>http://www.hermann-uwe.de/blog/building-an-arm-cross-toolchain-with-binutils-gcc-newlib-and-gdb-from-source#comment-82965</link>
 <description>&lt;p&gt;This looks better to me if you have multiple cores and multiple processors and still feel the need for more speed while recompiling... you know you do ;)...&lt;/p&gt;
&lt;p&gt; if grep -q &quot;processor&quot; /proc/cpuinfo || grep -q &quot;siblings&quot; /proc/cpuinfo&lt;br /&gt;
 then&lt;br /&gt;
   PARALLEL=&quot;j &quot;$(($( grep &quot;processor&quot; /proc/cpuinfo | sort -u | wc -l ) * $( grep &quot;siblings&quot; /proc/cpuinfo | tail -1 | cut -d: -f2 )))&lt;br /&gt;
 else&lt;br /&gt;
   PARALLEL=&quot;&quot;&lt;br /&gt;
 fi&lt;/p&gt;
</description>
 <pubDate>Sat, 07 Aug 2010 16:54:53 +0200</pubDate>
 <dc:creator>OpenUAS</dc:creator>
 <guid isPermaLink="false">comment 82965 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>libmpc-dev</title>
 <link>http://www.hermann-uwe.de/blog/building-an-arm-cross-toolchain-with-binutils-gcc-newlib-and-gdb-from-source#comment-82901</link>
 <description>&lt;p&gt;Excellent script, Uwe.&lt;/p&gt;
&lt;p&gt;I updated the package versions to match Yagarto, and I also had to install libmpc-dev on my Ubuntu 10.04. Hope this helps someone.&lt;/p&gt;
</description>
 <pubDate>Tue, 03 Aug 2010 20:12:27 +0200</pubDate>
 <dc:creator>Dan</dc:creator>
 <guid isPermaLink="false">comment 82901 at http://www.hermann-uwe.de</guid>
</item>
</channel>
</rss>
