<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2076</id>
	<title>Nabble - OpenCores - RISC</title>
	<updated>2009-11-17T01:14:03Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/OpenCores---RISC-f2076.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenCores---RISC-f2076.html" />
	<subtitle type="html">List about OpenRISC project.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26386569</id>
	<title>simulating the ORPSOC</title>
	<published>2009-11-17T01:14:03Z</published>
	<updated>2009-11-17T01:14:03Z</updated>
	<author>
		<name>system2</name>
	</author>
	<content type="html">Hello
I try to simulate the ORPSOC.I have installed the Icarus simulator.
In the subdirectory sim i run the command make simulate and i have an error : Pas de régle pour fabriquer la cible simulate.
Have you an idea  about this problem?
Thanks .</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/simulating-the-ORPSOC-tp26386569p26386569.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26315072</id>
	<title>patching or1ksim 0.3.0 in an1</title>
	<published>2009-11-12T01:09:02Z</published>
	<updated>2009-11-12T01:09:02Z</updated>
	<author>
		<name>whuang</name>
	</author>
	<content type="html">hi :
&lt;br&gt;&amp;nbsp;I was trying to pach the or1ksim.0.3.0 as in the an1, but i got some errors. i noticed that the patch embecosm-or32-or1ksim-0.2.0-lib-patch.bz2 is for or1ksim-0.2.0, but mine is or1ksim.0.3.0, anyone know how to solve this problem, thx a lot.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patching-or1ksim-0.3.0-in-an1-tp26315072p26315072.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26230827</id>
	<title>error in compiling demo_or32_sw</title>
	<published>2009-11-06T08:52:59Z</published>
	<updated>2009-11-06T08:52:59Z</updated>
	<author>
		<name>system2</name>
	</author>
	<content type="html">hello
I want to compile a simple application on the openrisc.
The open rsc toolchain has been build.
I dowwnload the simple application of Hello world from http://opencores.org/openrisc,downloads .
when i extract the demo_or32_sw.zip and i pick to this directory ( demo_or32_sw) and i run the command &quot; make all&quot; i obtain this message : 

~/Documents/demo_or32_sw$ make all

	--- Assembling BootReset.S ---
or32-elf-gcc -g -c -Wunknown-pragmas -mhard-mul -msoft-div -msoft-float  -o BootReset.o BootReset.S 
make: or32-elf-gcc : commande introuvable
make: *** [BootReset.o] Erreur 127

please can you help me.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/error-in-compiling-demo_or32_sw-tp26230827p26230827.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26214736</id>
	<title>simulate the  open risc</title>
	<published>2009-11-05T06:09:23Z</published>
	<updated>2009-11-05T06:09:23Z</updated>
	<author>
		<name>system2</name>
	</author>
	<content type="html">Hello
I work on a Ubunto machine.
I installed the tool chain and  the simaulator of the openrisc , and all it's fine.
Now i downloaded the open risc processor and smply i want to simulate the processor with the hello word program.
How can i procede.
Thanks.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/simulate-the--open-risc-tp26214736p26214736.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26206273</id>
	<title>building and installing binutils</title>
	<published>2009-11-04T15:03:44Z</published>
	<updated>2009-11-04T15:03:44Z</updated>
	<author>
		<name>system2</name>
	</author>
	<content type="html">hello
i started using openrisc. To installe the simulator and the toolchain , i referred to this document
http://www.embecosm.com/appnotes/ean2/embecosm-or1k-setup-ean2-issue-3.html
I create the directory opt and then the subdirectory or32.
I download the binutils to opt/or32 and i followed the guide.But when i build the binutils , i didn't find a bin directory which contain the indicated command :or32-uclinux-addr2line ,or32-uclinux-ar, or32-uclinux-as.....
I want to note that when i run the ../binutils-2.16.1/configure --target=or32-uclinux --prefix=/opt/or32 the chek of or32-uclinux-addr2line ,or32-uclinux-ar, or32-uclinux-as.....is not found.
I will be greatful for help</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/building-and-installing-binutils-tp26206273p26206273.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24099688</id>
	<title>Re: Minimal configuration for Spartan-3E Starter Kit board</title>
	<published>2009-06-18T15:29:42Z</published>
	<updated>2009-06-18T15:29:42Z</updated>
	<author>
		<name>nassim09</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;thanks for your great project .
&lt;br&gt;&lt;br&gt;i have the same board spartan-3E 500 ;and when i doawnload the bitsream withe usb cable ;i have Read’ and ‘Expected’ values only sometimes different like this with jtag parallel cable III:
&lt;br&gt;&lt;br&gt;[root@localhost jtag]# ./jp1 xpc3 9999
&lt;br&gt;Connected to parallel port at 378
&lt;br&gt;Dropping root privileges.
&lt;br&gt;Read npc = 00000004 ppc = 00000000 r1 = 00000000
&lt;br&gt;Expected npc = 4000000c ppc = 40000024 r1 = 00000005
&lt;br&gt;Read npc = 00000000 ppc = 00000004 r1 = 00000000
&lt;br&gt;Expected npc = 4000000c ppc = 40000024 r1 = 00000008
&lt;br&gt;Read npc = 00000010 ppc = 0000000c r1 = 00000001
&lt;br&gt;Expected npc = 40000024 ppc = 40000020 r1 = 0000000b
&lt;br&gt;Read npc = 00000000 ppc = 00000000 r1 = 00000000
&lt;br&gt;Expected npc = 40000020 ppc = 4000001c r1 = 00000018
&lt;br&gt;Read npc = 00000010 ppc = 00000014 r1 = 00000001
&lt;br&gt;Expected npc = 4000001c ppc = 40000018 r1 = 00000031
&lt;br&gt;Read npc = 0000001c ppc = 00000018 r1 = 00000001
&lt;br&gt;Expected npc = 40000020 ppc = 4000001c r1 = 00000032
&lt;br&gt;Read npc = 00000000 ppc = 00000000 r1 = 00000000
&lt;br&gt;Expected npc = 40000010 ppc = 4000000c r1 = 00000063
&lt;br&gt;Read npc = 00000018 ppc = 00000000 r1 = 00000000
&lt;br&gt;Expected npc = 40000024 ppc = 40000020 r1 = 00000065
&lt;br&gt;Read npc = 00000020 ppc = 00000024 r1 = 00000001
&lt;br&gt;Expected npc = 4000000c ppc = 40000024 r1 = 000000c9
&lt;br&gt;result = 5eaddb85
&lt;br&gt;Dropping root privileges.
&lt;br&gt;JTAG Proxy server started on port 9999
&lt;br&gt;Press CTRL+c to exit.
&lt;br&gt;&lt;br&gt;[root@localhost jtag]# ./jp1 xpc3 9999
&lt;br&gt;Connected to parallel port at 378
&lt;br&gt;Dropping root privileges.
&lt;br&gt;Read npc = 0000000c ppc = 00000008 r1 = 00000001
&lt;br&gt;Expected npc = 4000000c ppc = 40000024 r1 = 00000005
&lt;br&gt;Read npc = 0000000c ppc = 00000008 r1 = 00000001
&lt;br&gt;Expected npc = 4000000c ppc = 40000024 r1 = 00000008
&lt;br&gt;Read npc = 00000000 ppc = 00000000 r1 = 00000000
&lt;br&gt;Expected npc = 40000024 ppc = 40000020 r1 = 0000000b
&lt;br&gt;Read npc = 00000000 ppc = 00000000 r1 = 00000000
&lt;br&gt;Expected npc = 40000020 ppc = 4000001c r1 = 00000018
&lt;br&gt;Read npc = 00000000 ppc = 00000000 r1 = 00000000
&lt;br&gt;Expected npc = 4000001c ppc = 40000018 r1 = 00000031
&lt;br&gt;Read npc = 00000000 ppc = 00000000 r1 = 00000000
&lt;br&gt;Expected npc = 40000020 ppc = 4000001c r1 = 00000032
&lt;br&gt;Read npc = 00000020 ppc = 00000020 r1 = 0021ca23
&lt;br&gt;Expected npc = 40000010 ppc = 4000000c r1 = 00000063
&lt;br&gt;Read npc = 00000000 ppc = 00000000 r1 = 00000000
&lt;br&gt;Expected npc = 40000024 ppc = 40000020 r1 = 00000065
&lt;br&gt;Read npc = 00000024 ppc = 00000024 r1 = 0021ca23
&lt;br&gt;Expected npc = 4000000c ppc = 40000024 r1 = 000000c9
&lt;br&gt;result = 5ef16fa1
&lt;br&gt;Dropping root privileges.
&lt;br&gt;JTAG Proxy server started on port 9999
&lt;br&gt;Press CTRL+c to exit.
&lt;br&gt;&lt;br&gt;////////////////////////////////////////////////////////////////////
&lt;br&gt;///////////////////////////////////////////////////////////////////////////
&lt;br&gt;&lt;br&gt;and in gdb i receve this
&lt;br&gt;&lt;br&gt;[root@localhost hello-uart]# or32-uclinux-gdb hello.or32
&lt;br&gt;GNU gdb 5.0
&lt;br&gt;Copyright 2000 Free Software Foundation, Inc.
&lt;br&gt;GDB is free software, covered by the GNU General Public License, and you are
&lt;br&gt;welcome to change it and/or distribute copies of it under certain conditions.
&lt;br&gt;Type &amp;quot;show copying&amp;quot; to see the conditions.
&lt;br&gt;There is absolutely no warranty for GDB. Type &amp;quot;show warranty&amp;quot; for details.
&lt;br&gt;This GDB was configured as &amp;quot;--host=i686-pc-linux-gnu --target=or32-uclinux&amp;quot;...
&lt;br&gt;(gdb) target jtag jtag://localhost:9999
&lt;br&gt;Remote or1k debugging using jtag://localhost:9999
&lt;br&gt;0x0 in ?? ()
&lt;br&gt;(gdb) load
&lt;br&gt;Loading section .vectors, size 0x128 lma 0x0
&lt;br&gt;Loading section .text, size 0x348 lma 0x2000
&lt;br&gt;Loading section .data, size 0x4 lma 0x2348
&lt;br&gt;Loading section .rodata, size 0x1c lma 0x234c
&lt;br&gt;Start address 0x2000 , load size 1168
&lt;br&gt;Transfer rate: 467 bits/sec, 233 bytes/write.
&lt;br&gt;(gdb) set $pc=0x100
&lt;br&gt;(gdb) continue
&lt;br&gt;Continuing.
&lt;br&gt;warning: Invalid exception occured.
&lt;br&gt;&lt;br&gt;Program received signal ?, Unknown signal.
&lt;br&gt;0x0 in ?? ()
&lt;br&gt;(gdb) 
&lt;br&gt;&lt;br&gt;thanks.lol
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Serge Vakulenko wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hello,
&lt;br&gt;&lt;br&gt;I developed a minimal configuration of OR1K for Spartan-3E Starter Kit
&lt;br&gt;board. Hello-uart is running fine. You can download the sources and
&lt;br&gt;BIT image from here: &lt;a href=&quot;http://vak.ru/pub/fpga/s3esk-openrisc.tgz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://vak.ru/pub/fpga/s3esk-openrisc.tgz&lt;/a&gt;&lt;br&gt;&lt;br&gt;The configuration contains OpenRISC 1200 and a limited set of
&lt;br&gt;OpenCores peripherals: UART16550, debug interface, and 16 kbytes of
&lt;br&gt;internal FPGA block RAM.
&lt;br&gt;&lt;br&gt;Data/instruction caches, MMU and are disabled (lack of BlockRAMs).
&lt;br&gt;Multiply-Accumulate instruction is also disabled (it takes 6% of slices).
&lt;br&gt;The clock is decreased to 5MHz. Probably I was too pessimistic here...
&lt;br&gt;&lt;br&gt;To recompile the system from sources, you need Xilinx ISE Webpack
&lt;br&gt;Linux version to be installed. Just run:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; make
&lt;br&gt;&lt;br&gt;and all the synthesis passes will be executed in order (xst, ngdbuild,
&lt;br&gt;map, par, trce, bitgen) resulting in &amp;quot;or1k-mini.bit&amp;quot; file.
&lt;br&gt;&lt;br&gt;Device utilization summary:
&lt;br&gt;Selected Device : 3s500efg320-4
&lt;br&gt;&lt;br&gt;&amp;nbsp;Number of Slices: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2734 &amp;nbsp;out of &amp;nbsp; 4656 &amp;nbsp; &amp;nbsp;58%
&lt;br&gt;&amp;nbsp;Number of Slice Flip Flops: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1725 &amp;nbsp;out of &amp;nbsp; 9312 &amp;nbsp; &amp;nbsp;18%
&lt;br&gt;&amp;nbsp;Number of 4 input LUTs: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5113 &amp;nbsp;out of &amp;nbsp; 9312 &amp;nbsp; &amp;nbsp;54%
&lt;br&gt;&amp;nbsp; &amp;nbsp; Number used as logic: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5081
&lt;br&gt;&amp;nbsp; &amp;nbsp; Number used as RAMs: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;32
&lt;br&gt;&amp;nbsp;Number of IOs: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;9
&lt;br&gt;&amp;nbsp;Number of bonded IOBs: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;9 &amp;nbsp;out of &amp;nbsp; &amp;nbsp;232 &amp;nbsp; &amp;nbsp; 3%
&lt;br&gt;&amp;nbsp;Number of BRAMs: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 14 &amp;nbsp;out of &amp;nbsp; &amp;nbsp; 20 &amp;nbsp; &amp;nbsp;70%
&lt;br&gt;&amp;nbsp;Number of MULT18X18SIOs: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp;out of &amp;nbsp; &amp;nbsp; 20 &amp;nbsp; &amp;nbsp;15%
&lt;br&gt;&amp;nbsp;Number of GCLKs: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp;out of &amp;nbsp; &amp;nbsp; 24 &amp;nbsp; &amp;nbsp;12%
&lt;br&gt;___
&lt;br&gt;Regards,
&lt;br&gt;Serge Vakulenko
&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Minimal-configuration-for-Spartan-3E-Starter-Kit-board-tp8026225p24099688.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24099672</id>
	<title>ORP_SOC in Spartan-3E500</title>
	<published>2009-06-18T14:53:04Z</published>
	<updated>2009-06-22T02:38:28Z</updated>
	<author>
		<name>nassim09</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;i am etudiant ;so i have some problem with my projet orp_soc (or1200 ;debug;uart;onchip_ram)
&lt;br&gt;i want just runing the message &amp;quot;hello world&amp;quot; in terminalle (redhat 9)
&lt;br&gt;&lt;br&gt;i have Spartan-3E500 .
&lt;br&gt;&lt;br&gt;so in first i used the document &amp;quot;openrisc-tutorial-Xilinx softawre and hardware&amp;quot;
&lt;br&gt;&lt;br&gt;i enable : `define OR1200_XILINX_RAMB16
&lt;br&gt;i enable : `define OR1200_RFRAM_GENERIC
&lt;br&gt;&lt;br&gt;i used corgene for generate onchip_ram (8 - 4096)
&lt;br&gt;&lt;br&gt;i download the bitsream in the board ( ise 9.2i) usb cable.
&lt;br&gt;&lt;br&gt;but when i type ./jp1 xpc3 9999 =&amp;gt; Read’ and ‘Expected’ values are sometimes different
&lt;br&gt;&lt;br&gt;[root@localhost jtag]# ./jp1 xpc3 9999
&lt;br&gt;Connected to parallel port at 378
&lt;br&gt;Dropping root privileges.
&lt;br&gt;Read &amp;nbsp; &amp;nbsp; &amp;nbsp;npc = 00000004 ppc = 00000000 r1 = 00000000
&lt;br&gt;Expected &amp;nbsp;npc = 4000000c ppc = 40000024 r1 = 00000005
&lt;br&gt;Read &amp;nbsp; &amp;nbsp; &amp;nbsp;npc = 00000000 ppc = 00000004 r1 = 00000000
&lt;br&gt;Expected &amp;nbsp;npc = 4000000c ppc = 40000024 r1 = 00000008
&lt;br&gt;Read &amp;nbsp; &amp;nbsp; &amp;nbsp;npc = 00000004 ppc = 00000000 r1 = 00000000
&lt;br&gt;Expected &amp;nbsp;npc = 40000024 ppc = 40000020 r1 = 0000000b
&lt;br&gt;Read &amp;nbsp; &amp;nbsp; &amp;nbsp;npc = 00000000 ppc = 00000004 r1 = 00000000
&lt;br&gt;Expected &amp;nbsp;npc = 40000020 ppc = 4000001c r1 = 00000018
&lt;br&gt;Read &amp;nbsp; &amp;nbsp; &amp;nbsp;npc = 00000020 ppc = 00000024 r1 = 00000000
&lt;br&gt;Expected &amp;nbsp;npc = 4000001c ppc = 40000018 r1 = 00000031
&lt;br&gt;Read &amp;nbsp; &amp;nbsp; &amp;nbsp;npc = 00000018 ppc = 0000001c r1 = 00000000
&lt;br&gt;Expected &amp;nbsp;npc = 40000020 ppc = 4000001c r1 = 00000032
&lt;br&gt;Read &amp;nbsp; &amp;nbsp; &amp;nbsp;npc = 00000018 ppc = 00000018 r1 = 00000000
&lt;br&gt;Expected &amp;nbsp;npc = 40000010 ppc = 4000000c r1 = 00000063
&lt;br&gt;Read &amp;nbsp; &amp;nbsp; &amp;nbsp;npc = 00000018 ppc = 00000018 r1 = 00000000
&lt;br&gt;Expected &amp;nbsp;npc = 40000024 ppc = 40000020 r1 = 00000065
&lt;br&gt;Read &amp;nbsp; &amp;nbsp; &amp;nbsp;npc = 00000020 ppc = 00000024 r1 = 00000000
&lt;br&gt;Expected &amp;nbsp;npc = 4000000c ppc = 40000024 r1 = 000000c9
&lt;br&gt;&lt;br&gt;&lt;br&gt;so where is the problem?
&lt;br&gt;&lt;br&gt;i try the programe of s3esk-openrisc (Serge Vakulenko) and i have the same problem.
&lt;br&gt;&lt;br&gt;do you help me please. </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ORP_SOC-in-Spartan-3E500-tp24099672p24099672.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22509739</id>
	<title>Re: : make verilate error (EAN6/ESP5 ORPSoC with Verilator)</title>
	<published>2009-03-13T23:12:00Z</published>
	<updated>2009-03-13T23:12:00Z</updated>
	<author>
		<name>vinut</name>
	</author>
	<content type="html">&lt;br&gt;Hii,
&lt;br&gt;&amp;nbsp; &amp;nbsp; I am facing problem with make verilate .The error i am getting is ,
&lt;br&gt;&amp;nbsp;make verilate COMMAND_FILE=cf-baseline-5.scr VFLAGS=&amp;quot;-Wno-lint -Wno-COMBDLY -Wno-UNOPTFLAT -language 1364-2001&amp;quot;
&lt;br&gt;Makefile:85: warning: overriding commands for target `has'
&lt;br&gt;Makefile:80: warning: ignoring old commands for target `has'
&lt;br&gt;Makefile:85: warning: overriding commands for target `not'
&lt;br&gt;Makefile:80: warning: ignoring old commands for target `not'
&lt;br&gt;Makefile:85: warning: overriding commands for target `been'
&lt;br&gt;Makefile:80: warning: ignoring old commands for target `been'
&lt;br&gt;Makefile:93: warning: overriding commands for target `&amp;quot;VTARGET'
&lt;br&gt;Makefile:85: warning: ignoring old commands for target `&amp;quot;VTARGET'
&lt;br&gt;Makefile:93: warning: overriding commands for target `has'
&lt;br&gt;Makefile:85: warning: ignoring old commands for target `has'
&lt;br&gt;Makefile:93: warning: overriding commands for target `not'
&lt;br&gt;Makefile:85: warning: ignoring old commands for target `not'
&lt;br&gt;Makefile:93: warning: overriding commands for target `been'
&lt;br&gt;Makefile:85: warning: ignoring old commands for target `been'
&lt;br&gt;Makefile:121: OrpsocAccess.d: No such file or directory
&lt;br&gt;Makefile:122: &amp;quot;VTARGET: No such file or directory
&lt;br&gt;Makefile:122: has: No such file or directory
&lt;br&gt;Makefile:122: not: No such file or directory
&lt;br&gt;Makefile:122: been: No such file or directory
&lt;br&gt;Makefile:122: set&amp;quot;__ALLcls.d: No such file or directory
&lt;br&gt;Makefile:122: &amp;quot;VTARGET: No such file or directory
&lt;br&gt;Makefile:122: has: No such file or directory
&lt;br&gt;Makefile:122: not: No such file or directory
&lt;br&gt;Makefile:122: been: No such file or directory
&lt;br&gt;Makefile:122: set&amp;quot;__ALLsup.d: No such file or directory
&lt;br&gt;Makefile:122: &amp;quot;VTARGET: No such file or directory
&lt;br&gt;Makefile:122: has: No such file or directory
&lt;br&gt;Makefile:122: not: No such file or directory
&lt;br&gt;Makefile:122: been: No such file or directory
&lt;br&gt;Makefile:122: set&amp;quot;__ver.d: No such file or directory
&lt;br&gt;make: Circular &amp;quot;VTARGET &amp;lt;- &amp;quot;VTARGET dependency dropped.
&lt;br&gt;make: Circular has &amp;lt;- &amp;quot;VTARGET dependency dropped.
&lt;br&gt;make: Circular has &amp;lt;- has dependency dropped.
&lt;br&gt;make: Circular not &amp;lt;- &amp;quot;VTARGET dependency dropped.
&lt;br&gt;make: Circular not &amp;lt;- has dependency dropped.
&lt;br&gt;make: Circular not &amp;lt;- not dependency dropped.
&lt;br&gt;make: Circular been &amp;lt;- &amp;quot;VTARGET dependency dropped.
&lt;br&gt;make: Circular been &amp;lt;- has dependency dropped.
&lt;br&gt;make: Circular been &amp;lt;- not dependency dropped.
&lt;br&gt;make: Circular been &amp;lt;- been dependency dropped.
&lt;br&gt;make -f &amp;quot;VTARGET has not been set&amp;quot;.mk &amp;quot;VTARGET has not been set&amp;quot;__ALL.a
&lt;br&gt;make[1]: Entering directory `/home/vinitha/test/embecosm-esp5-or1k-verilator-1.0/verilator-model'
&lt;br&gt;make[1]: VTARGET has not been set.mk: No such file or directory
&lt;br&gt;make[1]: *** No rule to make target `VTARGET has not been set.mk'. &amp;nbsp;Stop.
&lt;br&gt;make[1]: Leaving directory `/home/vinitha/test/embecosm-esp5-or1k-verilator-1.0/verilator-model'
&lt;br&gt;make: *** [set&amp;quot;__ALL.a] Error 2
&lt;br&gt;[vinitha@gs15] &amp;gt; 
&lt;br&gt;please help...
&lt;br&gt;It seems my systemC and verilator installation is ok.Because verilator converts sample verilog code to systemC module.
&lt;br&gt;Regards
&lt;br&gt;Vinitha
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%3A-make-verilate-error-%28EAN6-ESP5-ORPSoC-with-Verilator%29-tp22454013p22509739.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22470584</id>
	<title>Re: ERR: 8-bit program load out of memory area: 01000074</title>
	<published>2009-03-11T23:25:39Z</published>
	<updated>2009-03-11T23:25:39Z</updated>
	<author>
		<name>samman</name>
	</author>
	<content type="html">Hi laurentiuduca!

I have the same problem with or32-uclinux-sim too,do you solved it?
Could you give me an idea for solving this problem.

thanks in advance!

sam

&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;laurentiuduca wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;
Hi,

    I have this problem too.

or32-uclinux-sim -i -f sim.cfg simpleprogsim
Reading script file from 'sim.cfg'...
Building automata... done, num uncovered: 0/213.
Parsing operands data... done.
loadcode: filename simpleprogsim  startaddr=00000000  virtphy_transl=00000000
Not COFF file format
ELF type: 0x0002
ELF machine: 0x005c
ELF version: 0x00000001
ELF sec = 15
Section: .text, vaddr: 0x40004000, paddr: 0x40004000 offset: 0x00004000, size: 0x0000084c
ERR: 8-bit program load out of memory area: 40004000
ERR: 8-bit program load out of memory area: 40004001
ERR: 8-bit program load out of memory area: 40004002
ERR: 8-bit program load out of memory area: 40004003
ERR: 8-bit program load out of memory area: 40004004
....


ram.ld
MEMORY
        {
	
	bootram  : ORIGIN = 0x40004000, LENGTH = 0x00001800	
        sram     : ORIGIN = 0x20000000, LENGTH = 0x00100000	
	vectors  : ORIGIN = 0x00000000, LENGTH = 0x00001000
        }
....


sim.cfg
section memory
  type = unknown
  /* pattern = 0x00 */

  nmemories = 6

  device 0
    name = &quot;BOOT&quot;
    ce = 0
    baseaddr = 0x40000000
    size     = 0x00004000
    delayr = 1
    delayw = 2
  enddevice

  device 1
    name = &quot;SRAM&quot;
    ce = 1
    baseaddr = 0x20000000
    size     = 0x00100000
    delayr = 1
    delayw = 2
  enddevice

  device 2
    name = &quot;FLASH&quot;
    ce = 2
    baseaddr = 0xf0000000
    size     = 0x01000000
    delayr = 10
    delayw = -1
  enddevice

  device 3
    name = &quot;SDRAM&quot;
    ce = 3
    baseaddr = 0x00000000
    size     = 0x04000000
    delayr = 1
    delayw = 2
  enddevice
...




&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Dimitrios Orfanos wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;
Hi,

I've managed to create a gnu toolchain for OPENRISC by using the
instructions in this website www.meansoffreedom.net (thanks to Rich). I
wrote simple program:
hello.c
------------
int main()
{
return 0;
}
---------------

I compiled it with the command or32-uclinux-gcc -static -o hello
hello.cwith no problem.

I took the or1ksim 0.2.0. and I did:

./configure --target=or32 (I also tried or32-uclinux)

and then make all.

It compiled with no problem.

Later I copied the hello program in the directory of or1ksim and I gave the
command:
./sim hello

The result was to take messages like this
ERR: 8-bit program load out of memory area: 01000074

I also attach a file with all the messages.

What I want to do is to execute OPENRISC programs on my PC. I don't have any
board (FPGA or with OPENRISC processor) so I want to test my programs for
OPENRISC on my PC.

What am I doing wrong. Do I have to do specific configuration via sim.cfg?

Best Regards,
DO

 
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;


&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;

</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ERR%3A-8-bit-program-load-out-of-memory-area%3A-01000074-tp13623115p22470584.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22454013</id>
	<title>: make verilate error (EAN6/ESP5 ORPSoC with Verilator)</title>
	<published>2009-03-11T05:23:44Z</published>
	<updated>2009-03-11T05:23:44Z</updated>
	<author>
		<name>vinut</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;Hii,
&lt;br&gt;I am &amp;nbsp;facing &amp;nbsp;problem with make verilate..
&lt;br&gt;I am getting an error like this.
&lt;br&gt;Pleae reply..
&lt;br&gt;cd sim/src &amp;&amp; ln -s ../../local/sw/dhry/dhry-icdc-O2.hex flash.in
&lt;br&gt;cd verilator-model &amp;&amp; time -p make
&lt;br&gt;make[1]: Entering directory `/home/vinitha/simulations/Or1200_1/orpsoc-models-1.0/verilator-model'
&lt;br&gt;Makefile:121: OrpsocAccess.d: No such file or directory
&lt;br&gt;Makefile:121: TraceSC.d: No such file or directory
&lt;br&gt;Makefile:122: Vorpsoc_fpga_top__ALLcls.d: No such file or directory
&lt;br&gt;Makefile:122: Vorpsoc_fpga_top__ALLsup.d: No such file or directory
&lt;br&gt;Makefile:122: Vorpsoc_fpga_top__ver.d: No such file or directory
&lt;br&gt;/bin/sh: cf-base-line.scr: No such file or directory
&lt;br&gt;make[1]: *** [Vorpsoc_fpga_top.mk] Error 1
&lt;br&gt;make[1]: Leaving directory `/home/vinitha/simulations/Or1200_1/orpsoc-models-1.0/verilator-model'
&lt;br&gt;real 0.00
&lt;br&gt;user 0.00
&lt;br&gt;sys 0.00
&lt;br&gt;make: *** [model] Error 2
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Vinitha </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/%3A-make-verilate-error-%28EAN6-ESP5-ORPSoC-with-Verilator%29-tp22454013p22454013.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22449670</id>
	<title>Re: make verilate error (EAN6/ESP5 ORPSoC with Verilator)</title>
	<published>2009-03-10T23:55:36Z</published>
	<updated>2009-03-10T23:55:36Z</updated>
	<author>
		<name>vinut</name>
	</author>
	<content type="html">&lt;br&gt;&lt;quote author=&quot;swaka&quot;&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I am also facing the same problem with make verilate..
&lt;br&gt;I am getting an error like this..Not exactly what swaka had..
&lt;br&gt;Pleae reply..
&lt;br&gt;cd sim/src &amp;&amp; ln -s ../../local/sw/dhry/dhry-icdc-O2.hex flash.in
&lt;br&gt;cd verilator-model &amp;&amp; time -p make
&lt;br&gt;make[1]: Entering directory `/home/vinitha/simulations/Or1200_1/orpsoc-models-1.0/verilator-model'
&lt;br&gt;Makefile:121: OrpsocAccess.d: No such file or directory
&lt;br&gt;Makefile:121: TraceSC.d: No such file or directory
&lt;br&gt;Makefile:122: Vorpsoc_fpga_top__ALLcls.d: No such file or directory
&lt;br&gt;Makefile:122: Vorpsoc_fpga_top__ALLsup.d: No such file or directory
&lt;br&gt;Makefile:122: Vorpsoc_fpga_top__ver.d: No such file or directory
&lt;br&gt;/bin/sh: cf-base-line.scr: No such file or directory
&lt;br&gt;make[1]: *** [Vorpsoc_fpga_top.mk] Error 1
&lt;br&gt;make[1]: Leaving directory `/home/vinitha/simulations/Or1200_1/orpsoc-models-1.0/verilator-model'
&lt;br&gt;real 0.00
&lt;br&gt;user 0.00
&lt;br&gt;sys 0.00
&lt;br&gt;make: *** [model] Error 2
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Vinitha
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/make-verilate-error-%28EAN6-ESP5-ORPSoC-with-Verilator%29-tp22324726p22449670.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22416849</id>
	<title>Re: orpmon</title>
	<published>2009-03-08T07:41:48Z</published>
	<updated>2009-03-08T07:41:48Z</updated>
	<author>
		<name>Zakhir Hussain-2</name>
	</author>
	<content type="html">&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; style=&quot;font: inherit;&quot;&gt;Hi,&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think the problem is with the sim.cfg u are using. I had the same issues with or1ksim and my sample programs. Try using the sim.cfg that we get from the toolchain after compiling the vmlinux. It worked fine for me. Edit that to suite your needs.&lt;br&gt;&lt;br&gt;regards,&lt;br&gt;zakhir&lt;br&gt;&lt;br&gt;--- On &lt;b&gt;Sat, 7/3/09, faroudja.abid &lt;i&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22416849&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fabid@...&lt;/a&gt;&amp;gt;&lt;/i&gt;&lt;/b&gt; wrote:&lt;br&gt;&lt;blockquote style=&quot;border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;&quot;&gt;&lt;br&gt;From: faroudja.abid &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22416849&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fabid@...&lt;/a&gt;&amp;gt;&lt;br&gt;Subject: Re: [openrisc] orpmon&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22416849&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openrisc@...&lt;/a&gt;&lt;br&gt;Received: Saturday, 7 March, 2009, 8:47 PM&lt;br&gt;&lt;br&gt;&lt;div class=&quot;plainMail&quot;&gt;&lt;br&gt;Hello,&lt;br&gt;i have the sam problem when i run simulation and i had this message :&lt;br&gt;&lt;br&gt;WARNING: config.uart: Invalid parameter:
 enabled; ignoring.&lt;br&gt; WARNING: config.uart: Invalid parameter: enabled; ignoring.&lt;br&gt; &lt;br&gt;ERROR: config.uart:invalid device number.&lt;br&gt;&lt;br&gt;ERROR: config.uart:invalid device number.&lt;br&gt;&lt;br&gt;could you tell me how do you resolve this problem &lt;br&gt;thanks&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Ben Ayed Hatem wrote:&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Hello, &lt;br&gt;&amp;gt; I try to run orpmon , I compiled and I have orpmon-flash.or32 file&lt;br&gt;&amp;gt; when I run simulation by : or32-uclinux-sim orpmon-flash.or32 &amp;gt; log&lt;br&gt;&amp;gt; I have some probleme : &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.memory: Invalid parameter: nmemories; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.memory: Invalid parameter: device; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.memory: Invalid parameter: enddevice; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.memory: Invalid parameter: enddevice; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.memory: Invalid parameter: enddevice; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.sim: Invalid
 parameter: spr_log; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.sim: Invalid parameter: spr_log_fn; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.ata: Invalid parameter: dev_type0; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.ata: Invalid parameter: dev_file0; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.ata: Invalid parameter: dev_size0; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.ata: Invalid parameter: dev_packet0; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.ata: Invalid parameter: dev_type1; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.ata: Invalid parameter: dev_file1; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.ata: Invalid parameter: dev_size1; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: config.ata: Invalid parameter: dev_packet1; ignoring.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; WARNING: dependstats stats must be enabled to do history analisis.&lt;br&gt;&amp;gt; WARNING: Unable to open RX file stream.&lt;br&gt;&amp;gt; Cannot open Ethernet RX file &quot;eth0.rx&quot;&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; and log file : &lt;br&gt;&amp;gt; Reading
 script file from 'sim.cfg'...&lt;br&gt;&amp;gt; Insn MMU 0KB: 1 ways, 64 sets, entry size 0 bytes&lt;br&gt;&amp;gt; Data MMU 0KB: 1 ways, 64 sets, entry size 0 bytes&lt;br&gt;&amp;gt; Verbose on, simdebug off, interactive prompt off&lt;br&gt;&amp;gt; Machine initialization...&lt;br&gt;&amp;gt; Clock cycle: 100ns&lt;br&gt;&amp;gt; Data cache present.&lt;br&gt;&amp;gt; Insn cache tag present.&lt;br&gt;&amp;gt; BPB simulation off.&lt;br&gt;&amp;gt; BTIC simulation off.&lt;br&gt;&amp;gt; Building automata... done, num uncovered: 0/213.&lt;br&gt;&amp;gt; Parsing operands data... done.&lt;br&gt;&amp;gt; loadcode: filename orpmon-flash.or32&amp;nbsp; startaddr=00000000 &lt;br&gt;&amp;gt; virtphy_transl=00000000&lt;br&gt;&amp;gt; Not COFF file format&lt;br&gt;&amp;gt; ELF type: 0x0002&lt;br&gt;&amp;gt; ELF machine: 0x005c&lt;br&gt;&amp;gt; ELF version: 0x00000001&lt;br&gt;&amp;gt; ELF sec = 23&lt;br&gt;&amp;gt; Section: .reset, vaddr: 0xf0000000, paddr: 0xf0000000 offset: 0x00002000,&lt;br&gt;&amp;gt; size: 0x00000128&lt;br&gt;&amp;gt; ERR: 8-bit program load out of memory area: f0000000&lt;br&gt;&amp;gt; ERR: 8-bit program load out of memory area: f0000001&lt;br&gt;&amp;gt; ERR: 8-bit
 program load out of memory area: f0000002&lt;br&gt;&amp;gt; ERR: 8-bit program load out of memory area: f0000003&lt;br&gt;&amp;gt; ERR: 8-bit program load out of memory area: f0000004&lt;br&gt;&amp;gt; ERR: 8-bit program load out of memory area: f0000005&lt;br&gt;&amp;gt; ERR: 8-bit program load out of memory area: f0000006&lt;br&gt;&amp;gt; ERR: 8-bit program load out of memory area: f0000007&lt;br&gt;&amp;gt; ERR: 8-bit program load out of memory area: f0000008&lt;br&gt;&amp;gt; ......&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; How can'I resolve this probleme&lt;br&gt;&amp;gt; &lt;/div&gt;&lt;br&gt;-- &lt;br&gt;View this message in context: &lt;a href=&quot;http://www.nabble.com/orpmon-tp17177641p22385955.html&quot; target=&quot;_blank&quot;&gt;http://www.nabble.com/orpmon-tp17177641p22385955.html&lt;/a&gt;&lt;br&gt;Sent from the OpenCores - RISC mailing list archive at Nabble.com.&lt;br&gt;&lt;br&gt;_______________________________________________&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;



      &lt;hr size=1&gt;
Stay connected to the people that matter most with a smarter inbox. &lt;a href=&quot;http://au.rd.yahoo.com/galaxy/mail/tagline2/*http://au.docs.yahoo.com/mail/smarterinbox&quot; target=_blank rel=&quot;nofollow&quot;&gt;Take a look&lt;/a&gt;.&lt;br /&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/orpmon-tp17177641p22416849.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22397974</id>
	<title>Re: Few questions about Xlinix FPGA boards.</title>
	<published>2009-03-08T04:05:14Z</published>
	<updated>2009-03-08T04:05:14Z</updated>
	<author>
		<name>Florian Fainelli-5</name>
	</author>
	<content type="html">Hi Aleksei,
&lt;br&gt;&lt;br&gt;Le Saturday 07 March 2009 18:48:32 Aleksei Lukin, vous avez écrit :
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello, openrisc gurus!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I played a little bit with or1k tools on ubuntu and with Xilinx Spartan 3E
&lt;br&gt;&amp;gt; starter board and decided to use or1k as base of my SoC development because
&lt;br&gt;&amp;gt; it is the best free solution available.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I plan to buy newer Spattan development board to develop my SoC on. I guess
&lt;br&gt;&amp;gt; that 200$ Spartan 3A starter kit with 700K chip will be small enough for
&lt;br&gt;&amp;gt; development purposes and going to buy 600$ Spartan 3A embedded developer
&lt;br&gt;&amp;gt; board with 1800K chip.
&lt;/div&gt;&lt;/div&gt;The Spartan 3A 1800K has more block RAM as well which can be useful if you 
&lt;br&gt;plan on playing with caches for instance. OpenRISC can be quite big if you 
&lt;br&gt;enable all features ;)
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is anyone tried to implement SoC on those boards? What is your impression?
&lt;br&gt;&amp;gt; How good it runs? What CPU and bus clock? Which DDR controller? and so
&lt;br&gt;&amp;gt; on...I have too much questions for one message :)
&lt;br&gt;&lt;br&gt;We have been using or1k on a XC3S1200E running at 10Mhz for testings but it 
&lt;br&gt;could run faster. We do not have DDR on our board but SDRAM, using our own 
&lt;br&gt;controller.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please, point me to additional information abour or1k SoC on Xlinx boards.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; May be it is stupid solution &amp;nbsp;and I must buy other board? I need about 250K
&lt;br&gt;&amp;gt; for my own SoC parts and enough memory to run Linux and a bunch of
&lt;br&gt;&amp;gt; user-space code.
&lt;br&gt;&lt;br&gt;You might run out of space quickly with a S3ESK, but if you disable some or1k 
&lt;br&gt;features you might be able to make it fit with your SoC parts as well.
&lt;br&gt;-- 
&lt;br&gt;Cordialement, Florian Fainelli
&lt;br&gt;&lt;br&gt;OpenPattern SARL - Lead software architect
&lt;br&gt;GSM: +33.632843955
&lt;br&gt;109/111 rue des Côtes
&lt;br&gt;78 600 Maisons-Laffitte
&lt;br&gt;France
&lt;br&gt;------------------------------
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/22397974/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Few-questions-about-Xlinix-FPGA-boards.-tp22391605p22397974.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22397971</id>
	<title>Re: Few questions about Xlinix FPGA boards.</title>
	<published>2009-03-08T00:25:09Z</published>
	<updated>2009-03-08T00:25:09Z</updated>
	<author>
		<name>Jeremy Bennett-4</name>
	</author>
	<content type="html">On Sat, 2009-03-07 at 19:48 +0200, Aleksei Lukin wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I played a little bit with or1k tools on ubuntu and with Xilinx
&lt;br&gt;&amp;gt; Spartan 3E starter board and decided to use or1k as base of my SoC 
&lt;br&gt;&amp;gt; development because it is the best free solution available.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I plan to buy newer Spattan development board to develop my SoC on. I
&lt;br&gt;&amp;gt; guess that 200$ Spartan 3A starter kit with 700K chip will be small 
&lt;br&gt;&amp;gt; enough for development purposes and going to buy 600$ Spartan 3A
&lt;br&gt;&amp;gt; embedded developer board with 1800K chip.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is anyone tried to implement SoC on those boards? What is your
&lt;br&gt;&amp;gt; impression? How good it runs? What CPU and bus clock? Which DDR 
&lt;br&gt;&amp;gt; controller? and so on...I have too much questions for one message :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please, point me to additional information abour or1k SoC on Xlinx
&lt;br&gt;&amp;gt; boards.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; May be it is stupid solution &amp;nbsp;and I must buy other board? I need about
&lt;br&gt;&amp;gt; 250K for my own SoC parts and enough memory to run Linux and a 
&lt;br&gt;&amp;gt; bunch of user-space code.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;Hi Alex,
&lt;br&gt;&lt;br&gt;Have you looked at the papers from the De Nayer Instituut of the
&lt;br&gt;Hogeschool voor Wetenschap &amp; Kunst. Links to them can be found in the
&lt;br&gt;Documentation section of the OR1200 page on OpenCores:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.opencores.org/projects.cgi/web/or1k/openrisc_1200&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/projects.cgi/web/or1k/openrisc_1200&lt;/a&gt;&lt;br&gt;&lt;br&gt;They are a little out of date, but should give you some information to
&lt;br&gt;get you started.
&lt;br&gt;&lt;br&gt;The ORPSoC (OpenRISC Reference Platform SoC) page also has information
&lt;br&gt;about various projects running the full ORPSoC on FPGA (including the
&lt;br&gt;XSV800):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.opencores.org/projects.cgi/web/or1k/orpsoc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/projects.cgi/web/or1k/orpsoc&lt;/a&gt;&lt;br&gt;&lt;br&gt;Take a look at the Or1ksim (architectural simulator) configuration for
&lt;br&gt;Linux. That will tell you how much space is needed for Flash, RAM and
&lt;br&gt;cache.
&lt;br&gt;&lt;br&gt;If you manage to get OR1K running on your board, an updated paper on how
&lt;br&gt;you did it would be much appreciated. We'll be happy to put it up on the
&lt;br&gt;website.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeremy
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tel: &amp;nbsp; &amp;nbsp; &amp;nbsp;+44 (1202) 416955
&lt;br&gt;Cell: &amp;nbsp; &amp;nbsp; +44 (7970) 676050
&lt;br&gt;SkypeID: jeremybennett
&lt;br&gt;Email: &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22397971&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy.bennett@...&lt;/a&gt;
&lt;br&gt;Web: &amp;nbsp; &amp;nbsp; www.embecosm.com
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Few-questions-about-Xlinix-FPGA-boards.-tp22391605p22397971.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22397979</id>
	<title>About old version toolchain for uClinux2.0.x</title>
	<published>2009-03-07T16:17:57Z</published>
	<updated>2009-03-07T16:17:57Z</updated>
	<author>
		<name>张德学</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I want to run uClinux2.0.x on my board,but I can't download the old version toochain, gcc 3.2.3 or gcc 3.1, or1k/uclibc, binutils 2.11.93, working uClinux2.0.x used by ATS scripts, Is there anyone kept the old verison toochain?Can you share them with me?
&lt;br&gt;&lt;br&gt;　
&lt;br&gt;　　　　　　　　　　　　　　&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22397979&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dxzhang@...&lt;/a&gt;
&lt;br&gt;　　　　　　　　　　　　　　　　　2009-03-08
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/About-old-version-toolchain-for-uClinux2.0.x-tp22397979p22397979.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22391605</id>
	<title>Few questions about Xlinix FPGA boards.</title>
	<published>2009-03-07T09:48:32Z</published>
	<updated>2009-03-07T09:48:32Z</updated>
	<author>
		<name>Aleksei Lukin</name>
	</author>
	<content type="html">Hello, openrisc gurus! 
&lt;br&gt;&lt;br&gt;I played a little bit with or1k tools on ubuntu and with Xilinx Spartan 3E starter board and decided to use or1k as base of my SoC 
&lt;br&gt;development because it is the best free solution available.
&lt;br&gt;&lt;br&gt;I plan to buy newer Spattan development board to develop my SoC on. I guess that 200$ Spartan 3A starter kit with 700K chip will be small 
&lt;br&gt;enough for development purposes and going to buy 600$ Spartan 3A embedded developer board with 1800K chip.
&lt;br&gt;&lt;br&gt;Is anyone tried to implement SoC on those boards? What is your impression? How good it runs? What CPU and bus clock? Which DDR 
&lt;br&gt;controller? and so on...I have too much questions for one message :)
&lt;br&gt;&lt;br&gt;Please, point me to additional information abour or1k SoC on Xlinx boards.
&lt;br&gt;&lt;br&gt;May be it is stupid solution &amp;nbsp;and I must buy other board? I need about 250K for my own SoC parts and enough memory to run Linux and a 
&lt;br&gt;bunch of user-space code.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;SY, Alex Lukin
&lt;br&gt;RIPE NIC HDL: LEXA1-RIPE
&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Few-questions-about-Xlinix-FPGA-boards.-tp22391605p22391605.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22391604</id>
	<title>Re: Toolchain news</title>
	<published>2009-03-07T09:33:54Z</published>
	<updated>2009-03-07T09:33:54Z</updated>
	<author>
		<name>Aleksei Lukin</name>
	</author>
	<content type="html">Friday 06 March 2009 19:16:55 &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22391604&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jb@...&lt;/a&gt; написав:
&lt;br&gt;&amp;gt; This is a quick post to let everyone know that a new automated
&lt;br&gt;&amp;gt; toolchain install script, incorporating GDB 6.8, and the
&lt;br&gt;&amp;gt; or1ksim-0.3.0rc2 has been created and should be up on OpenCores by
&lt;br&gt;&amp;gt; Monday.
&lt;br&gt;&lt;br&gt;Could you please publish this script without any VmWare images?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;SY, Alex Lukin
&lt;br&gt;RIPE NIC HDL: LEXA1-RIPE
&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Toolchain-news-tp22380244p22391604.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22385955</id>
	<title>Re: orpmon</title>
	<published>2009-03-07T01:47:43Z</published>
	<updated>2009-03-07T01:47:43Z</updated>
	<author>
		<name>faroudja.abid</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;i have the sam problem when i run simulation and i had this message :
&lt;br&gt;&lt;br&gt;WARNING: config.uart: Invalid parameter: enabled; ignoring.
&lt;br&gt;&amp;nbsp;WARNING: config.uart: Invalid parameter: enabled; ignoring.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;ERROR: config.uart:invalid device number.
&lt;br&gt;&lt;br&gt;ERROR: config.uart:invalid device number.
&lt;br&gt;&lt;br&gt;could you tell me how do you resolve this problem 
&lt;br&gt;thanks
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Ben Ayed Hatem wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&lt;b&gt;Hello, 
&lt;br&gt;I try to run orpmon , I compiled and I have orpmon-flash.or32 file
&lt;br&gt;when I run simulation by : or32-uclinux-sim orpmon-flash.or32 &amp;gt; log
&lt;br&gt;I have some probleme : &lt;/b&gt;&lt;br&gt;&lt;br&gt;WARNING: config.memory: Invalid parameter: nmemories; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.memory: Invalid parameter: device; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.memory: Invalid parameter: enddevice; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.memory: Invalid parameter: enddevice; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.memory: Invalid parameter: enddevice; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.sim: Invalid parameter: spr_log; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.sim: Invalid parameter: spr_log_fn; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.ata: Invalid parameter: dev_type0; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.ata: Invalid parameter: dev_file0; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.ata: Invalid parameter: dev_size0; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.ata: Invalid parameter: dev_packet0; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.ata: Invalid parameter: dev_type1; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.ata: Invalid parameter: dev_file1; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.ata: Invalid parameter: dev_size1; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: config.ata: Invalid parameter: dev_packet1; ignoring.
&lt;br&gt;&lt;br&gt;WARNING: dependstats stats must be enabled to do history analisis.
&lt;br&gt;WARNING: Unable to open RX file stream.
&lt;br&gt;Cannot open Ethernet RX file &amp;quot;eth0.rx&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;b&gt;and log file : &lt;/b&gt;&lt;br&gt;Reading script file from 'sim.cfg'...
&lt;br&gt;Insn MMU 0KB: 1 ways, 64 sets, entry size 0 bytes
&lt;br&gt;Data MMU 0KB: 1 ways, 64 sets, entry size 0 bytes
&lt;br&gt;Verbose on, simdebug off, interactive prompt off
&lt;br&gt;Machine initialization...
&lt;br&gt;Clock cycle: 100ns
&lt;br&gt;Data cache present.
&lt;br&gt;Insn cache tag present.
&lt;br&gt;BPB simulation off.
&lt;br&gt;BTIC simulation off.
&lt;br&gt;Building automata... done, num uncovered: 0/213.
&lt;br&gt;Parsing operands data... done.
&lt;br&gt;loadcode: filename orpmon-flash.or32 &amp;nbsp;startaddr=00000000 &amp;nbsp;virtphy_transl=00000000
&lt;br&gt;Not COFF file format
&lt;br&gt;ELF type: 0x0002
&lt;br&gt;ELF machine: 0x005c
&lt;br&gt;ELF version: 0x00000001
&lt;br&gt;ELF sec = 23
&lt;br&gt;Section: .reset, vaddr: 0xf0000000, paddr: 0xf0000000 offset: 0x00002000, size: 0x00000128
&lt;br&gt;ERR: 8-bit program load out of memory area: f0000000
&lt;br&gt;ERR: 8-bit program load out of memory area: f0000001
&lt;br&gt;ERR: 8-bit program load out of memory area: f0000002
&lt;br&gt;ERR: 8-bit program load out of memory area: f0000003
&lt;br&gt;ERR: 8-bit program load out of memory area: f0000004
&lt;br&gt;ERR: 8-bit program load out of memory area: f0000005
&lt;br&gt;ERR: 8-bit program load out of memory area: f0000006
&lt;br&gt;ERR: 8-bit program load out of memory area: f0000007
&lt;br&gt;ERR: 8-bit program load out of memory area: f0000008
&lt;br&gt;......
&lt;br&gt;&lt;br&gt;&lt;br&gt;How can'I resolve this probleme
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/orpmon-tp17177641p22385955.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22385218</id>
	<title>Re: Toolchain news</title>
	<published>2009-03-06T17:08:31Z</published>
	<updated>2009-03-06T17:08:31Z</updated>
	<author>
		<name>rich_daddio</name>
	</author>
	<content type="html">Hi JB,
&lt;br&gt;Excellent!! And thanks. 
&lt;br&gt;&lt;br&gt;Is this a linux-2.6.19 release? If so, would you be interested
&lt;br&gt;releasing with 2.6.24 ? This way we would get the lasted from Jeremy
&lt;br&gt;as well as the latest supported kernel.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Rich d
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: Jeremy Bennett&amp;lt;jeremy.bennett@e...&amp;gt; 
&lt;br&gt;To: 
&lt;br&gt;Date: Fri Mar &amp;nbsp;6 23:36:32 CET 2009 
&lt;br&gt;Subject: [openrisc] Toolchain news 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 2009-03-06 at 18:16 +0100, jb at orsoc.se wrote: 
&lt;br&gt;&amp;gt; &amp;gt; This is a quick post to let everyone know that a new automated 
&lt;br&gt;&amp;gt; &amp;gt; toolchain install script, incorporating GDB 6.8, and the 
&lt;br&gt;&amp;gt; &amp;gt; or1ksim-0.3.0rc2 has been created and should be up on 
&lt;br&gt;&amp;gt; OpenCores by 
&lt;br&gt;&amp;gt; &amp;gt; Monday. As well as installing the latest versions of GDB and 
&lt;br&gt;&amp;gt; or1ksim 
&lt;br&gt;&amp;gt; &amp;gt; it addresses the problems faced when compiling 
&lt;br&gt;&amp;gt; binutils-2.18.50 with 
&lt;br&gt;&amp;gt; &amp;gt; gcc-4.3.2 that I (and as Rich pointed out, others have) posted 
&lt;br&gt;&amp;gt; about, 
&lt;br&gt;&amp;gt; &amp;gt; plus another little niggle in the Linux kernel compile. The 
&lt;br&gt;&amp;gt; script has 
&lt;br&gt;&amp;gt; &amp;gt; been tested and is working under Ubuntu 8.10. 
&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________ 
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; Hi Julius, 
&lt;br&gt;&amp;gt; I guess you weren't on the mailing list in time to see that Or1ksim 
&lt;br&gt;&amp;gt; 0.3.0 is already released. I'd strongly recommend you include it 
&lt;br&gt;&amp;gt; rather 
&lt;br&gt;&amp;gt; than 0.3.0rc2. There's a bucket of bugs fixed in the 0.3.0 release. 
&lt;br&gt;&amp;gt; ATB, 
&lt;br&gt;&amp;gt; Jeremy 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Tel: +44 (1202) 416955 
&lt;br&gt;&amp;gt; Cell: +44 (7970) 676050 
&lt;br&gt;&amp;gt; SkypeID: jeremybennett 
&lt;br&gt;&amp;gt; Email: jeremy.bennett at embecosm.com 
&lt;br&gt;&amp;gt; Web: www.embecosm.com 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Toolchain-news-tp22380244p22385218.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22381750</id>
	<title>Re: Toolchain news</title>
	<published>2009-03-06T14:36:32Z</published>
	<updated>2009-03-06T14:36:32Z</updated>
	<author>
		<name>Jeremy Bennett-4</name>
	</author>
	<content type="html">On Fri, 2009-03-06 at 18:16 +0100, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22381750&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jb@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; This is a quick post to let everyone know that a new automated
&lt;br&gt;&amp;gt; toolchain install script, incorporating GDB 6.8, and the
&lt;br&gt;&amp;gt; or1ksim-0.3.0rc2 has been created and should be up on OpenCores by
&lt;br&gt;&amp;gt; Monday. As well as installing the latest versions of GDB and or1ksim
&lt;br&gt;&amp;gt; it addresses the problems faced when compiling binutils-2.18.50 with
&lt;br&gt;&amp;gt; gcc-4.3.2 that I (and as Rich pointed out, others have) posted about,
&lt;br&gt;&amp;gt; plus another little niggle in the Linux kernel compile. The script has
&lt;br&gt;&amp;gt; been tested and is working under Ubuntu 8.10.
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;/div&gt;&lt;br&gt;Hi Julius,
&lt;br&gt;&lt;br&gt;I guess you weren't on the mailing list in time to see that Or1ksim
&lt;br&gt;0.3.0 is already released. I'd strongly recommend you include it rather
&lt;br&gt;than 0.3.0rc2. There's a bucket of bugs fixed in the 0.3.0 release.
&lt;br&gt;&lt;br&gt;ATB,
&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeremy
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tel: &amp;nbsp; &amp;nbsp; &amp;nbsp;+44 (1202) 416955
&lt;br&gt;Cell: &amp;nbsp; &amp;nbsp; +44 (7970) 676050
&lt;br&gt;SkypeID: jeremybennett
&lt;br&gt;Email: &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22381750&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy.bennett@...&lt;/a&gt;
&lt;br&gt;Web: &amp;nbsp; &amp;nbsp; www.embecosm.com
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Toolchain-news-tp22380244p22381750.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22380236</id>
	<title>Re: C program interrupt handle function (AN1.pdf)</title>
	<published>2009-03-06T11:32:17Z</published>
	<updated>2009-03-06T11:32:17Z</updated>
	<author>
		<name>Jeremy Bennett-4</name>
	</author>
	<content type="html">On Fri, 2009-03-06 at 19:20 +0100, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22380236&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;licinios@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; Ok,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; where should i &amp;nbsp;find start.s ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; in the or1ksim-0.3.0rc3 dir ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;Hi Licinio,
&lt;br&gt;&lt;br&gt;It should be in the same directory as the uart_loop_intr.c. It's code
&lt;br&gt;you link to your program that will run on Or1ksim. If you look at the
&lt;br&gt;Makefile, you'll see how they link together.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeremy
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tel: &amp;nbsp; &amp;nbsp; &amp;nbsp;+44 (1202) 416955
&lt;br&gt;Cell: &amp;nbsp; &amp;nbsp; +44 (7970) 676050
&lt;br&gt;SkypeID: jeremybennett
&lt;br&gt;Email: &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22380236&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy.bennett@...&lt;/a&gt;
&lt;br&gt;Web: &amp;nbsp; &amp;nbsp; www.embecosm.com
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/C-program-interrupt-handle-function-%28AN1.pdf%29-tp22368394p22380236.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22380231</id>
	<title>Re: C program interrupt handle function (AN1.pdf)</title>
	<published>2009-03-06T10:20:56Z</published>
	<updated>2009-03-06T10:20:56Z</updated>
	<author>
		<name>lsousa</name>
	</author>
	<content type="html">Ok,
&lt;br&gt;where should i &amp;nbsp;find start.s ?
&lt;br&gt;in the or1ksim-0.3.0rc3 dir ?
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: Jeremy Bennett&amp;lt;jeremy.bennett@e...&amp;gt; 
&lt;br&gt;To: 
&lt;br&gt;Date: Fri Mar &amp;nbsp;6 10:38:03 CET 2009 
&lt;br&gt;Subject: [openrisc] C program interrupt handle function (AN1.pdf) 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 2009-03-06 at 03:34 +0100, licinios at gmail.com wrote: 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; How can i write a c program that will handle an interrupt 
&lt;br&gt;&amp;gt; coming from 
&lt;br&gt;&amp;gt; &amp;gt; a systemc hw module. 
&lt;br&gt;&amp;gt; &amp;gt; I am fresh in the sw world , but i would expect something like 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ..main executing 
&lt;br&gt;&amp;gt; &amp;gt; ...interrupt event would call 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; void interrupt 5 (for example) 
&lt;br&gt;&amp;gt; &amp;gt; { 
&lt;br&gt;&amp;gt; &amp;gt; flag=1 
&lt;br&gt;&amp;gt; &amp;gt; return 
&lt;br&gt;&amp;gt; &amp;gt; } 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ..and then, the sw execution would return to the main..and the 
&lt;br&gt;&amp;gt; flag 
&lt;br&gt;&amp;gt; &amp;gt; could be used. 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I was expecting to see something like that in 
&lt;br&gt;&amp;gt; uart_loop_intr.c. 
&lt;br&gt;&amp;gt; &amp;gt; I am i missing something here? 
&lt;br&gt;&amp;gt; Hi Licinio, 
&lt;br&gt;&amp;gt; uart_loop_intr.c is a very simple program, that is only used to 
&lt;br&gt;&amp;gt; demonstrate that the UART is generating interrupts by inspecting 
&lt;br&gt;&amp;gt; its 
&lt;br&gt;&amp;gt; interrupt register. I don't set up an interrupt handler. 
&lt;br&gt;&amp;gt; You will need to extend the bootloader in start.s in two ways. 
&lt;br&gt;&amp;gt; First the 
&lt;br&gt;&amp;gt; reset code will need to configure the programmable interrupt 
&lt;br&gt;&amp;gt; controller. 
&lt;br&gt;&amp;gt; This doesn't have to be in assembler - it could be in C, before the 
&lt;br&gt;&amp;gt; call 
&lt;br&gt;&amp;gt; to _main. You will need to ensure it is configured to accept edge 
&lt;br&gt;&amp;gt; triggered interrupts on the relevant port. 
&lt;br&gt;&amp;gt; Secondly you will need to add an interrupt handler for the external 
&lt;br&gt;&amp;gt; interrupt exception (location 0x800). 
&lt;br&gt;&amp;gt; Documentation on how to do this is in chapter 6 (exception 
&lt;br&gt;&amp;gt; handling) and 
&lt;br&gt;&amp;gt; chapter 13 (programmable interrupt controller) of the architecture 
&lt;br&gt;&amp;gt; manual. 
&lt;br&gt;&amp;gt; If you do write a good simple example, I'll be very happy to 
&lt;br&gt;&amp;gt; include it 
&lt;br&gt;&amp;gt; in the next release of my application note. 
&lt;br&gt;&amp;gt; HTH, 
&lt;br&gt;&amp;gt; Jeremy 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Tel: +44 (1202) 416955 
&lt;br&gt;&amp;gt; Cell: +44 (7970) 676050 
&lt;br&gt;&amp;gt; SkypeID: jeremybennett 
&lt;br&gt;&amp;gt; Email: jeremy.bennett at embecosm.com 
&lt;br&gt;&amp;gt; Web: www.embecosm.com 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/C-program-interrupt-handle-function-%28AN1.pdf%29-tp22368394p22380231.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22380228</id>
	<title>Re: C program interrupt handle function (AN1.pdf)</title>
	<published>2009-03-06T09:57:30Z</published>
	<updated>2009-03-06T09:57:30Z</updated>
	<author>
		<name>lsousa</name>
	</author>
	<content type="html">Ok,
&lt;br&gt;where should i &amp;nbsp;find start.s ?
&lt;br&gt;in the or1ksim-0.3.0rc3 dir ?
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: Jeremy Bennett&amp;lt;jeremy.bennett@e...&amp;gt; 
&lt;br&gt;To: 
&lt;br&gt;Date: Fri Mar &amp;nbsp;6 10:38:03 CET 2009 
&lt;br&gt;Subject: [openrisc] C program interrupt handle function (AN1.pdf) 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 2009-03-06 at 03:34 +0100, licinios at gmail.com wrote: 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; How can i write a c program that will handle an interrupt 
&lt;br&gt;&amp;gt; coming from 
&lt;br&gt;&amp;gt; &amp;gt; a systemc hw module. 
&lt;br&gt;&amp;gt; &amp;gt; I am fresh in the sw world , but i would expect something like 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ..main executing 
&lt;br&gt;&amp;gt; &amp;gt; ...interrupt event would call 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; void interrupt 5 (for example) 
&lt;br&gt;&amp;gt; &amp;gt; { 
&lt;br&gt;&amp;gt; &amp;gt; flag=1 
&lt;br&gt;&amp;gt; &amp;gt; return 
&lt;br&gt;&amp;gt; &amp;gt; } 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ..and then, the sw execution would return to the main..and the 
&lt;br&gt;&amp;gt; flag 
&lt;br&gt;&amp;gt; &amp;gt; could be used. 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I was expecting to see something like that in 
&lt;br&gt;&amp;gt; uart_loop_intr.c. 
&lt;br&gt;&amp;gt; &amp;gt; I am i missing something here? 
&lt;br&gt;&amp;gt; Hi Licinio, 
&lt;br&gt;&amp;gt; uart_loop_intr.c is a very simple program, that is only used to 
&lt;br&gt;&amp;gt; demonstrate that the UART is generating interrupts by inspecting 
&lt;br&gt;&amp;gt; its 
&lt;br&gt;&amp;gt; interrupt register. I don't set up an interrupt handler. 
&lt;br&gt;&amp;gt; You will need to extend the bootloader in start.s in two ways. 
&lt;br&gt;&amp;gt; First the 
&lt;br&gt;&amp;gt; reset code will need to configure the programmable interrupt 
&lt;br&gt;&amp;gt; controller. 
&lt;br&gt;&amp;gt; This doesn't have to be in assembler - it could be in C, before the 
&lt;br&gt;&amp;gt; call 
&lt;br&gt;&amp;gt; to _main. You will need to ensure it is configured to accept edge 
&lt;br&gt;&amp;gt; triggered interrupts on the relevant port. 
&lt;br&gt;&amp;gt; Secondly you will need to add an interrupt handler for the external 
&lt;br&gt;&amp;gt; interrupt exception (location 0x800). 
&lt;br&gt;&amp;gt; Documentation on how to do this is in chapter 6 (exception 
&lt;br&gt;&amp;gt; handling) and 
&lt;br&gt;&amp;gt; chapter 13 (programmable interrupt controller) of the architecture 
&lt;br&gt;&amp;gt; manual. 
&lt;br&gt;&amp;gt; If you do write a good simple example, I'll be very happy to 
&lt;br&gt;&amp;gt; include it 
&lt;br&gt;&amp;gt; in the next release of my application note. 
&lt;br&gt;&amp;gt; HTH, 
&lt;br&gt;&amp;gt; Jeremy 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Tel: +44 (1202) 416955 
&lt;br&gt;&amp;gt; Cell: +44 (7970) 676050 
&lt;br&gt;&amp;gt; SkypeID: jeremybennett 
&lt;br&gt;&amp;gt; Email: jeremy.bennett at embecosm.com 
&lt;br&gt;&amp;gt; Web: www.embecosm.com 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/C-program-interrupt-handle-function-%28AN1.pdf%29-tp22368394p22380228.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22380244</id>
	<title>Toolchain news</title>
	<published>2009-03-06T09:16:55Z</published>
	<updated>2009-03-06T09:16:55Z</updated>
	<author>
		<name>jb-59</name>
	</author>
	<content type="html">This is a quick post to let everyone know that a new automated
&lt;br&gt;toolchain install script, incorporating GDB 6.8, and the
&lt;br&gt;or1ksim-0.3.0rc2 has been created and should be up on OpenCores by
&lt;br&gt;Monday. As well as installing the latest versions of GDB and or1ksim
&lt;br&gt;it addresses the problems faced when compiling binutils-2.18.50 with
&lt;br&gt;gcc-4.3.2 that I (and as Rich pointed out, others have) posted about,
&lt;br&gt;plus another little niggle in the Linux kernel compile. The script has
&lt;br&gt;been tested and is working under Ubuntu 8.10.
&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Toolchain-news-tp22380244p22380244.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22375354</id>
	<title>Re: openrisc toolchains</title>
	<published>2009-03-06T05:58:49Z</published>
	<updated>2009-03-06T05:58:49Z</updated>
	<author>
		<name>rich_daddio</name>
	</author>
	<content type="html">Hi Jose,
&lt;br&gt;Just to follow on to Jeremy's point. The work on the toolchain is not
&lt;br&gt;quite as disparate as it might seem. The releases are usually &amp;quot;patched
&lt;br&gt;forward&amp;quot; from each other's work. So, for example, the 2.18.50 binutils
&lt;br&gt;patch is derived from the 2.17 patch. The same holds true with gcc,
&lt;br&gt;linux, and uclibc. Since we have been quite small over the past few
&lt;br&gt;years this has not been too hard to manage.
&lt;br&gt;&lt;br&gt;In the case of efforts like MOF and Freecores
&lt;br&gt;(&lt;a href=&quot;http://www.freecores.org/wiki/Main_Page&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.freecores.org/wiki/Main_Page&lt;/a&gt;) these derivative projects
&lt;br&gt;were reflective of some of the changes happening at Opencores at the
&lt;br&gt;time. For the most part these grew out of concern for the project and
&lt;br&gt;its goals rather than vectors for vector's sake. 
&lt;br&gt;&lt;br&gt;Now that ORSoC has stablized the project our plan with the toolchain
&lt;br&gt;and linux at least is to migrate back into the Openrisc project, and
&lt;br&gt;then and then push to get our stuff into public repositories so that
&lt;br&gt;non-scalable herculean individual efforts are not required to support
&lt;br&gt;and chase after the constantly moving upgrade targets.
&lt;br&gt;&lt;br&gt;&lt;br&gt;HTH &amp; BR,
&lt;br&gt;&lt;br&gt;Rich d
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: Jeremy Bennett&amp;lt;jeremy.bennett@e...&amp;gt; 
&lt;br&gt;To: 
&lt;br&gt;Date: Thu Mar &amp;nbsp;5 10:41:46 CET 2009 
&lt;br&gt;Subject: [openrisc] openrisc toolchains 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, 2009-03-05 at 00:10 +0100, Jose Ignacio Villar wrote: 
&lt;br&gt;&amp;gt; &amp;gt; Hello, 
&lt;br&gt;&amp;gt; &amp;gt; Currently I can see three efforts to provide a robust 
&lt;br&gt;&amp;gt; toolchain to 
&lt;br&gt;&amp;gt; &amp;gt; openrisc developers:The new toolchain from orsoc and 
&lt;br&gt;&amp;gt; meansofreedom, 
&lt;br&gt;&amp;gt; &amp;gt; The toolchain that you can build from embecosm EAN2 and the 
&lt;br&gt;&amp;gt; one called 
&lt;br&gt;&amp;gt; &amp;gt; DRP by Mark Jarvin. 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; After many months without an unified effort to provide a 
&lt;br&gt;&amp;gt; common set of 
&lt;br&gt;&amp;gt; &amp;gt; tools, I'm happy to see the &amp;quot;new toolchain&amp;quot; page on 
&lt;br&gt;&amp;gt; opencores but I 
&lt;br&gt;&amp;gt; &amp;gt; see that it contains old versions of Or1kSim and Linux, that 
&lt;br&gt;&amp;gt; and GDB 
&lt;br&gt;&amp;gt; &amp;gt; is missing. So, my questions is wether GDB 6.8 and or1KSim 
&lt;br&gt;&amp;gt; 0.3.0 from 
&lt;br&gt;&amp;gt; &amp;gt; Jeremy Bennet will be included or not in the manline Opencores 
&lt;br&gt;&amp;gt; &amp;gt; toolchain script. I think this way all Openrisc community may 
&lt;br&gt;&amp;gt; have a 
&lt;br&gt;&amp;gt; &amp;gt; common and well tested set of tools with the latest versions 
&lt;br&gt;&amp;gt; of every 
&lt;br&gt;&amp;gt; &amp;gt; package being used and tested by everyone. 
&lt;br&gt;&amp;gt; Hi Jose, 
&lt;br&gt;&amp;gt; Thanks for your contributions to this mailing list in recent days. 
&lt;br&gt;&amp;gt; They 
&lt;br&gt;&amp;gt; will help to improve the tool chain in the future. I look forward 
&lt;br&gt;&amp;gt; to 
&lt;br&gt;&amp;gt; seeing your future contributions. 
&lt;br&gt;&amp;gt; The differences you see reflect the dynamics of open source 
&lt;br&gt;&amp;gt; development 
&lt;br&gt;&amp;gt; and the priorities of individual, independent contributors. 
&lt;br&gt;&amp;gt; - Mark Jarvin's tool chain dates from August 2007 
&lt;br&gt;&amp;gt; - OpenCores script and vmware image pre-date GDB 6.8 and Or1ksim 
&lt;br&gt;&amp;gt; 0.3.0. 
&lt;br&gt;&amp;gt; - EAN2 pre-dates GCC 4.2.2 and binutils 2.18.50 
&lt;br&gt;&amp;gt; These latest versions are the cumulative work of (amongst many 
&lt;br&gt;&amp;gt; others) a 
&lt;br&gt;&amp;gt; Canadian academic, a US telecoms engineer, a Swedish fabless design 
&lt;br&gt;&amp;gt; house and a British embedded tools company. There are others as 
&lt;br&gt;&amp;gt; well, 
&lt;br&gt;&amp;gt; for example the guide to the software tool chain from the De Nayer 
&lt;br&gt;&amp;gt; Instituut in the Netherlands. 
&lt;br&gt;&amp;gt; The upside is that the latest work on each component is always 
&lt;br&gt;&amp;gt; available 
&lt;br&gt;&amp;gt; as the group specializing in it completes the work. The downside is 
&lt;br&gt;&amp;gt; that 
&lt;br&gt;&amp;gt; there is not one rigidly enforced script, as you would get with a 
&lt;br&gt;&amp;gt; commercial closed-source product. 
&lt;br&gt;&amp;gt; &amp;gt; Currently I was successful to generate the complete toolchain 
&lt;br&gt;&amp;gt; with the 
&lt;br&gt;&amp;gt; &amp;gt; automated script under ubuntu 8.10 32bits with binutils 2.18 
&lt;br&gt;&amp;gt; and gcc 
&lt;br&gt;&amp;gt; &amp;gt; 4.3.2, but a pair of patches were needed... 
&lt;br&gt;&amp;gt; All new contributions are much appreciated. If you'd post a link to 
&lt;br&gt;&amp;gt; where your script can be downloaded, I'll add it to the tool chain 
&lt;br&gt;&amp;gt; page 
&lt;br&gt;&amp;gt; alongside the link to EAN2 and the De Nayer Instituut. 
&lt;br&gt;&amp;gt; Best wishes, and I look forward to hearing more from you. 
&lt;br&gt;&amp;gt; Jeremy 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Tel: +44 (1202) 416955 
&lt;br&gt;&amp;gt; Cell: +44 (7970) 676050 
&lt;br&gt;&amp;gt; SkypeID: jeremybennett 
&lt;br&gt;&amp;gt; Email: jeremy.bennett at embecosm.com 
&lt;br&gt;&amp;gt; Web: www.embecosm.com 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/openrisc-toolchains-tp22347147p22375354.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22375350</id>
	<title>Re: Building binutils 2.18.50 on Ubuntu 8.10 (gcc 4.3.2)</title>
	<published>2009-03-06T04:43:01Z</published>
	<updated>2009-03-06T04:43:01Z</updated>
	<author>
		<name>rich_daddio</name>
	</author>
	<content type="html">Hi JB,
&lt;br&gt;Yes if you peruse the list you will find others have posted about
&lt;br&gt;this. Yan Morvan has posted a patch to fix the mof_ofsoc build script
&lt;br&gt;and we will be incorporating this soon. Also thanks for the tip on
&lt;br&gt;2.19. I am hoping to upgrade our toolchain to newer versions soon as well.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Rich d
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: jb at orsoc.se&amp;lt;jb@o...&amp;gt; 
&lt;br&gt;To: 
&lt;br&gt;Date: Thu Mar &amp;nbsp;5 12:16:39 CET 2009 
&lt;br&gt;Subject: [openrisc] Building binutils 2.18.50 on Ubuntu 8.10 (gcc 
&lt;br&gt;4.3.2) 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Well, I've got the answer to my own problem here. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It appears that this change in behavior of gcc-4.3.2 has been 
&lt;br&gt;&amp;gt; addressed in binutils-2.19, those two lines have been changed to 
&lt;br&gt;&amp;gt; be, 
&lt;br&gt;&amp;gt; in the case of binutils-2.19/binutils/dwarf.c: 
&lt;br&gt;&amp;gt; fputs (buff + (byte_size == 4 ? 8 : 0), stdout); 
&lt;br&gt;&amp;gt; and in binutils-2.19/gas/listing.c: 
&lt;br&gt;&amp;gt; fputs (field_name, list_file); 
&lt;br&gt;&amp;gt; fputs() saves the day from nasty string literal errors. 
&lt;br&gt;&amp;gt; ----- Original Message ----- 
&lt;br&gt;&amp;gt; From: jb at orsoc.se&amp;lt;jb at o...&amp;gt; 
&lt;br&gt;&amp;gt; To: 
&lt;br&gt;&amp;gt; Date: Thu Mar 5 11:25:19 CET 2009 
&lt;br&gt;&amp;gt; Subject: [openrisc] Building binutils 2.18.50 on Ubuntu 8.10 (gcc 
&lt;br&gt;&amp;gt; 4.3.2) 
&lt;br&gt;&amp;gt; &amp;gt; Hi all, 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I've been testing building the toolchain on the most recent 
&lt;br&gt;&amp;gt; major 
&lt;br&gt;&amp;gt; &amp;gt; Ubuntu release, 8.10, and it appears that binutils breaks due 
&lt;br&gt;&amp;gt; to 
&lt;br&gt;&amp;gt; &amp;gt; stricter enforcement of string literals being passed to things 
&lt;br&gt;&amp;gt; like 
&lt;br&gt;&amp;gt; &amp;gt; printf and fprintf. For instance, out of the box, binutils 
&lt;br&gt;&amp;gt; 2.18.50 
&lt;br&gt;&amp;gt; &amp;gt; with the appropriate patch errors out the first of two times 
&lt;br&gt;&amp;gt; on 
&lt;br&gt;&amp;gt; &amp;gt; binutils-2.18.50/binutils/dwarf.c like so: 
&lt;br&gt;&amp;gt; &amp;gt; gcc -DHAVE_CONFIG_H -I. 
&lt;br&gt;&amp;gt; &amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/binutils -I. 
&lt;br&gt;&amp;gt; -I. 
&lt;br&gt;&amp;gt; &amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/binutils 
&lt;br&gt;&amp;gt; -I../bfd 
&lt;br&gt;&amp;gt; &amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/binutils/../bfd 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/binutils/../include 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;-DLOCALEDIR=&amp;quot;\&amp;quot;/opt/or1200-toolchain/build/tools/or32-uclinux/share/locale\&amp;quot;&amp;quot;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall 
&lt;br&gt;&amp;gt; &amp;gt; -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c 
&lt;br&gt;&amp;gt; &amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/binutils/dwarf.c 
&lt;br&gt;&amp;gt; &amp;gt; cc1: warnings being treated as errors 
&lt;br&gt;&amp;gt; &amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/binutils/dwarf.c: 
&lt;br&gt;&amp;gt; In 
&lt;br&gt;&amp;gt; &amp;gt; function print_dwarf_vma: 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/binutils/dwarf.c:189: 
&lt;br&gt;&amp;gt; &amp;gt; error: format not a string literal and no format arguments 
&lt;br&gt;&amp;gt; &amp;gt; make[4]: *** [dwarf.o] Error 1 
&lt;br&gt;&amp;gt; &amp;gt; It was configured from a recent version of the MOF script, 
&lt;br&gt;&amp;gt; like so: 
&lt;br&gt;&amp;gt; &amp;gt; $BUILD_TOP/$BINUTILS_VER/configure --target=or32-uclinux 
&lt;br&gt;&amp;gt; &amp;gt; --prefix=$BUILD_TOP/tools/or32-uclinux --disable-checking 
&lt;br&gt;&amp;gt; &amp;gt; --disable-Werror 
&lt;br&gt;&amp;gt; &amp;gt; So, the line it refers to in dwarf.c that it doesn't like is 
&lt;br&gt;&amp;gt; like 
&lt;br&gt;&amp;gt; &amp;gt; this: 
&lt;br&gt;&amp;gt; &amp;gt; printf (buff + (byte_size == 4 ? 8 : 0)); 
&lt;br&gt;&amp;gt; &amp;gt; Now, I'm by no means one hundred percent that this is correct, 
&lt;br&gt;&amp;gt; but 
&lt;br&gt;&amp;gt; &amp;gt; I 
&lt;br&gt;&amp;gt; &amp;gt; presume there's a pre-made string it wants to pass to printf, 
&lt;br&gt;&amp;gt; so if 
&lt;br&gt;&amp;gt; &amp;gt; I 
&lt;br&gt;&amp;gt; &amp;gt; just put in a &amp;quot;%s&amp;quot; in there it will fix this error? 
&lt;br&gt;&amp;gt; Wary 
&lt;br&gt;&amp;gt; &amp;gt; that I may 
&lt;br&gt;&amp;gt; &amp;gt; have changed the code so that it doesn't do what was intended, 
&lt;br&gt;&amp;gt; I 
&lt;br&gt;&amp;gt; &amp;gt; can 
&lt;br&gt;&amp;gt; &amp;gt; at least make the file compile by changing the line at 189 to: 
&lt;br&gt;&amp;gt; &amp;gt; printf (&amp;quot;%s&amp;quot;, buff + (byte_size == 4 ? 8 : 0)); 
&lt;br&gt;&amp;gt; &amp;gt; The next issue when compiling is for the same reason, in the 
&lt;br&gt;&amp;gt; file 
&lt;br&gt;&amp;gt; &amp;gt; binutils-2.18.50/gas/listing.c: 
&lt;br&gt;&amp;gt; &amp;gt; gcc -DHAVE_CONFIG_H -I. 
&lt;br&gt;&amp;gt; &amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas -I. -I. 
&lt;br&gt;&amp;gt; &amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas -I../bfd 
&lt;br&gt;&amp;gt; &amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas/config 
&lt;br&gt;&amp;gt; &amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas/../include 
&lt;br&gt;&amp;gt; &amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas/.. 
&lt;br&gt;&amp;gt; &amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas/../bfd 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;-DLOCALEDIR=&amp;quot;\&amp;quot;/opt/or1200-toolchain/build/tools/or32-uclinux/share/locale\&amp;quot;&amp;quot;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g 
&lt;br&gt;&amp;gt; -O2 
&lt;br&gt;&amp;gt; &amp;gt; -c 
&lt;br&gt;&amp;gt; &amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/gas/listing.c 
&lt;br&gt;&amp;gt; &amp;gt; cc1: warnings being treated as errors 
&lt;br&gt;&amp;gt; &amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/gas/listing.c: In 
&lt;br&gt;&amp;gt; &amp;gt; function print_options: 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/gas/listing.c:1103: 
&lt;br&gt;&amp;gt; &amp;gt; error: format not a string literal and no format arguments 
&lt;br&gt;&amp;gt; &amp;gt; make[4]: *** [listing.o] Error 1 
&lt;br&gt;&amp;gt; &amp;gt; The line concerned in listing.c is: 
&lt;br&gt;&amp;gt; &amp;gt; fprintf (list_file, field_name); 
&lt;br&gt;&amp;gt; &amp;gt; So I presume here we put in a format string like before, again 
&lt;br&gt;&amp;gt; wary 
&lt;br&gt;&amp;gt; &amp;gt; that I have not much of an idea of what this is meant to do: 
&lt;br&gt;&amp;gt; &amp;gt; fprintf (list_file, &amp;quot;%s&amp;quot;, field_name); 
&lt;br&gt;&amp;gt; &amp;gt; And now binutils-2.18.50 compiles and installs. 
&lt;br&gt;&amp;gt; &amp;gt; GCC-4.2.2 seems to compile OK too, however the next issues 
&lt;br&gt;&amp;gt; with 
&lt;br&gt;&amp;gt; &amp;gt; this 
&lt;br&gt;&amp;gt; &amp;gt; toolchain build are to do with the linux kernel portion, but 
&lt;br&gt;&amp;gt; I'm 
&lt;br&gt;&amp;gt; &amp;gt; yet 
&lt;br&gt;&amp;gt; &amp;gt; to track down the specifics of this. I'll post more when I 
&lt;br&gt;&amp;gt; know. 
&lt;br&gt;&amp;gt; &amp;gt; Anyway, i'm not sure if perhaps there's a configure option I 
&lt;br&gt;&amp;gt; can 
&lt;br&gt;&amp;gt; &amp;gt; pass 
&lt;br&gt;&amp;gt; &amp;gt; (I've seen the -Wformat-nonliteral, but I guess this makes gcc 
&lt;br&gt;&amp;gt; &amp;gt; thrown 
&lt;br&gt;&amp;gt; &amp;gt; an error at any of these warnings.... which is now standard 
&lt;br&gt;&amp;gt; &amp;gt; behavior 
&lt;br&gt;&amp;gt; &amp;gt; in gcc-4.3.2 I think) or perhaps these fixes should be in the 
&lt;br&gt;&amp;gt; next 
&lt;br&gt;&amp;gt; &amp;gt; patch (or perhaps already are fixed in binutils-2.19). Anyone 
&lt;br&gt;&amp;gt; know &amp;gt; what could be done to make this work first time, every 
&lt;br&gt;&amp;gt; time? &amp;gt; -jb &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Building-binutils-2.18.50-on-Ubuntu-8.10-%28gcc-4.3.2%29-tp22349463p22375350.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22375343</id>
	<title>Re: Re: Some MMU confusion</title>
	<published>2009-03-06T02:03:51Z</published>
	<updated>2009-03-06T02:03:51Z</updated>
	<author>
		<name>Jeremy Bennett-4</name>
	</author>
	<content type="html">On Thu, 2009-03-05 at 23:48 +0800, Zhanhua wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Rich and Jeremy,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for the respond.
&lt;br&gt;&amp;gt; We dig into the verilog code and the simulator code a bit. Looks like 
&lt;br&gt;&amp;gt; the hardware implementation is the same as what the docs say, so looks 
&lt;br&gt;&amp;gt; like this is an simulator issue.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Jeremy, I saw you just updated the simulator, but I didn't have a chance 
&lt;br&gt;&amp;gt; to look into the new code yet. Are you now taking care of the simulator 
&lt;br&gt;&amp;gt; code? If so, could you give me some hint? I think the biggest confusion 
&lt;br&gt;&amp;gt; here is the code for memory controller, is the simulator doing the 
&lt;br&gt;&amp;gt; following to decide if a chip is selected:
&lt;/div&gt;&lt;br&gt;Hi Zhanhua,
&lt;br&gt;&lt;br&gt;I am looking after the simulator, but this is not an area I have
&lt;br&gt;touched.
&lt;br&gt;&lt;br&gt;I have recently made available cycle accurate models of ORPSoC generated
&lt;br&gt;from the Verilog using Verilator. I have yet to provide a version that
&lt;br&gt;can run Linux (it has a slightly different memory map to ORPSoC), but
&lt;br&gt;that should allow definitive checking of behavior. For details see:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.embecosm.com/download/ean6.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.embecosm.com/download/ean6.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 1. ANDed the BA_MASK with the CSC SEL field. The document says only 7:0 
&lt;br&gt;&amp;gt; bits in BA_MASK are used to mask with the SEL field of the CSC &amp;nbsp;register 
&lt;br&gt;&amp;gt; which is also 8 bits long. But it seems that the BA_MASK and the SEL 
&lt;br&gt;&amp;gt; field is actually 10 bits long in the simulator, isn't it?
&lt;br&gt;&lt;br&gt;The general rule is that the Verilog implementation is definitive. It is
&lt;br&gt;not unknown for the simulator and/or documentation to be out of step. If
&lt;br&gt;you can provide details, and a test case in the OpenRISC tracker, then I
&lt;br&gt;can try to get it fixed in the next release. Or feel free to contribute
&lt;br&gt;your own fix.
&lt;br&gt;&lt;br&gt;&amp;gt; 2. Compare the result of step 1 with the input address. The doc says bit 
&lt;br&gt;&amp;gt; 28-21 of the input address will be used. If they're the same, and the 
&lt;br&gt;&amp;gt; chip is selected. As for the code I read, looks like the simulator use 
&lt;br&gt;&amp;gt; the highest 10 bits (31-22) of the input address to do this, right? And 
&lt;br&gt;&amp;gt; why is the hardware using bit 28-21 from the input address? Using the 
&lt;br&gt;&amp;gt; most significant bits may make more sense.
&lt;br&gt;&lt;br&gt;As noted above, Or1ksim is intended to mirror the behavior of the
&lt;br&gt;Verilog.
&lt;br&gt;&lt;br&gt;&amp;gt; Rich, I don't know how to check the registers. Using gdb to do that?
&lt;br&gt;&lt;br&gt;Or1ksim in interactive mode allows you to inspect the registers. Or you
&lt;br&gt;can use GDB as you suggest.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeremy
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tel: &amp;nbsp; &amp;nbsp; &amp;nbsp;+44 (1202) 416955
&lt;br&gt;Cell: &amp;nbsp; &amp;nbsp; +44 (7970) 676050
&lt;br&gt;SkypeID: jeremybennett
&lt;br&gt;Email: &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22375343&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy.bennett@...&lt;/a&gt;
&lt;br&gt;Web: &amp;nbsp; &amp;nbsp; www.embecosm.com
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Some-MMU-confusion-tp22286324p22375343.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22375341</id>
	<title>Re: C program interrupt handle function (AN1.pdf)</title>
	<published>2009-03-06T01:38:03Z</published>
	<updated>2009-03-06T01:38:03Z</updated>
	<author>
		<name>Jeremy Bennett-4</name>
	</author>
	<content type="html">On Fri, 2009-03-06 at 03:34 +0100, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22375341&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;licinios@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; How can i write a c program that will handle an interrupt coming from
&lt;br&gt;&amp;gt; a systemc hw module.
&lt;br&gt;&amp;gt; I am fresh in the sw world , but i would expect something like 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ..main executing
&lt;br&gt;&amp;gt; ...interrupt event would call
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; void interrupt 5 (for example)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; flag=1
&lt;br&gt;&amp;gt; return
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ..and then, the sw execution would return to the main..and the flag
&lt;br&gt;&amp;gt; could be used.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I was expecting to see something like that in uart_loop_intr.c.
&lt;br&gt;&amp;gt; I am i missing something here?
&lt;/div&gt;&lt;br&gt;Hi Licinio,
&lt;br&gt;&lt;br&gt;uart_loop_intr.c is a very simple program, that is only used to
&lt;br&gt;demonstrate that the UART is generating interrupts by inspecting its
&lt;br&gt;interrupt register. I don't set up an interrupt handler.
&lt;br&gt;&lt;br&gt;You will need to extend the bootloader in start.s in two ways. First the
&lt;br&gt;reset code will need to configure the programmable interrupt controller.
&lt;br&gt;This doesn't have to be in assembler - it could be in C, before the call
&lt;br&gt;to _main. You will need to ensure it is configured to accept edge
&lt;br&gt;triggered interrupts on the relevant port.
&lt;br&gt;&lt;br&gt;Secondly you will need to add an interrupt handler for the external
&lt;br&gt;interrupt exception (location 0x800).
&lt;br&gt;&lt;br&gt;Documentation on how to do this is in chapter 6 (exception handling) and
&lt;br&gt;chapter 13 (programmable interrupt controller) of the architecture
&lt;br&gt;manual.
&lt;br&gt;&lt;br&gt;If you do write a good simple example, I'll be very happy to include it
&lt;br&gt;in the next release of my application note.
&lt;br&gt;&lt;br&gt;HTH,
&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeremy
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tel: &amp;nbsp; &amp;nbsp; &amp;nbsp;+44 (1202) 416955
&lt;br&gt;Cell: &amp;nbsp; &amp;nbsp; +44 (7970) 676050
&lt;br&gt;SkypeID: jeremybennett
&lt;br&gt;Email: &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22375341&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy.bennett@...&lt;/a&gt;
&lt;br&gt;Web: &amp;nbsp; &amp;nbsp; www.embecosm.com
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/C-program-interrupt-handle-function-%28AN1.pdf%29-tp22368394p22375341.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22368394</id>
	<title>C program interrupt handle function (AN1.pdf)</title>
	<published>2009-03-05T18:34:35Z</published>
	<updated>2009-03-05T18:34:35Z</updated>
	<author>
		<name>lsousa</name>
	</author>
	<content type="html">Hi Jeremy,
&lt;br&gt;How can i write a c program that will handle an interrupt coming from
&lt;br&gt;a systemc hw module.
&lt;br&gt;I am fresh in the sw world , but i would expect something like 
&lt;br&gt;&lt;br&gt;..main executing
&lt;br&gt;...interrupt event would call
&lt;br&gt;&lt;br&gt;void interrupt 5 (for example)
&lt;br&gt;{
&lt;br&gt;flag=1
&lt;br&gt;return
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;..and then, the sw execution would return to the main..and the flag
&lt;br&gt;could be used.
&lt;br&gt;&lt;br&gt;I was expecting to see something like that in uart_loop_intr.c.
&lt;br&gt;I am i missing something here?
&lt;br&gt;Many Thanks
&lt;br&gt;Licinio
&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/C-program-interrupt-handle-function-%28AN1.pdf%29-tp22368394p22368394.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22356384</id>
	<title>Re: Re: Some MMU confusion</title>
	<published>2009-03-05T07:48:36Z</published>
	<updated>2009-03-05T07:48:36Z</updated>
	<author>
		<name>wit-3</name>
	</author>
	<content type="html">Hi Rich and Jeremy,
&lt;br&gt;&lt;br&gt;Thanks for the respond.
&lt;br&gt;We dig into the verilog code and the simulator code a bit. Looks like 
&lt;br&gt;the hardware implementation is the same as what the docs say, so looks 
&lt;br&gt;like this is an simulator issue.
&lt;br&gt;&lt;br&gt;Jeremy, I saw you just updated the simulator, but I didn't have a chance 
&lt;br&gt;to look into the new code yet. Are you now taking care of the simulator 
&lt;br&gt;code? If so, could you give me some hint? I think the biggest confusion 
&lt;br&gt;here is the code for memory controller, is the simulator doing the 
&lt;br&gt;following to decide if a chip is selected:
&lt;br&gt;&lt;br&gt;1. ANDed the BA_MASK with the CSC SEL field. The document says only 7:0 
&lt;br&gt;bits in BA_MASK are used to mask with the SEL field of the CSC &amp;nbsp;register 
&lt;br&gt;which is also 8 bits long. But it seems that the BA_MASK and the SEL 
&lt;br&gt;field is actually 10 bits long in the simulator, isn't it?
&lt;br&gt;2. Compare the result of step 1 with the input address. The doc says bit 
&lt;br&gt;28-21 of the input address will be used. If they're the same, and the 
&lt;br&gt;chip is selected. As for the code I read, looks like the simulator use 
&lt;br&gt;the highest 10 bits (31-22) of the input address to do this, right? And 
&lt;br&gt;why is the hardware using bit 28-21 from the input address? Using the 
&lt;br&gt;most significant bits may make more sense.
&lt;br&gt;&lt;br&gt;Rich, I don't know how to check the registers. Using gdb to do that?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;--Zhanhua
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22356384&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rich_daddio@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Zhanhua,
&lt;br&gt;&amp;gt; I will take a look on the weekend as I am busy with work issues this
&lt;br&gt;&amp;gt; week. I have been thru that code before, have you checked all the real
&lt;br&gt;&amp;gt; values in the registers? Are they what you expect?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rich d
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----- 
&lt;br&gt;&amp;gt; From: Jeremy Bennett&amp;lt;jeremy.bennett@e...&amp;gt; 
&lt;br&gt;&amp;gt; To: 
&lt;br&gt;&amp;gt; Date: Wed Mar &amp;nbsp;4 11:15:27 CET 2009 
&lt;br&gt;&amp;gt; Subject: [openrisc] Re: Some MMU confusion 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; On Tue, 2009-03-03 at 20:52 +0800, Zhanhua Kuang wrote: 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I still can find a explanation of the below questions. Any one 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; can give 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; me a hand? 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi Zhanhua, 
&lt;br&gt;&amp;gt;&amp;gt; This code was written some time ago, and I am not sure the author 
&lt;br&gt;&amp;gt;&amp;gt; is 
&lt;br&gt;&amp;gt;&amp;gt; still monitoring this mailing list. Rich D'Addio may know more 
&lt;br&gt;&amp;gt;&amp;gt; about 
&lt;br&gt;&amp;gt;&amp;gt; this code. 
&lt;br&gt;&amp;gt;&amp;gt; In general the definitive documentation on OpenRISC 1000 is the 
&lt;br&gt;&amp;gt;&amp;gt; Verilog 
&lt;br&gt;&amp;gt;&amp;gt; HDL. The architecture manual occasionally differs in details like 
&lt;br&gt;&amp;gt;&amp;gt; this. 
&lt;br&gt;&amp;gt;&amp;gt; I would expect the MMU code to be following what is actually 
&lt;br&gt;&amp;gt;&amp;gt; implemented 
&lt;br&gt;&amp;gt;&amp;gt; in the Verilog. 
&lt;br&gt;&amp;gt;&amp;gt; Whenever I have looked at the kernel, I've had to work out what is 
&lt;br&gt;&amp;gt;&amp;gt; happening just from code inspection. If you work out what is 
&lt;br&gt;&amp;gt;&amp;gt; happening, 
&lt;br&gt;&amp;gt;&amp;gt; then adding some documentation (possibly just as extended comments) 
&lt;br&gt;&amp;gt;&amp;gt; would be much appreciated. 
&lt;br&gt;&amp;gt;&amp;gt; If there are discrepancies between the implementation and the 
&lt;br&gt;&amp;gt;&amp;gt; documentation, they should be added to the tracker, so the manual 
&lt;br&gt;&amp;gt;&amp;gt; can be 
&lt;br&gt;&amp;gt;&amp;gt; updated in the future. 
&lt;br&gt;&amp;gt;&amp;gt; HTH, 
&lt;br&gt;&amp;gt;&amp;gt; Jeremy 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Mon, 2009-03-02 at 14:06 +0800, Zhanhua Kuang wrote: 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi all, 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I found some codes that are not consistent with the 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; OpenRisc 1000 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Architecture Manual: 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 1. About BA_MASK value 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The document says the only 7:0 bit in BA_MASK register 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; will be used. And 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it's ANDed with the 23:16 bit of the CSC register. Then 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; the result will 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; be compare with the input address (28:21 bits?) 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; But, looks like the code doesn't agree that the mask is 8 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; bits: 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.movhi r3,hi(MC_BASE_ADD) 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.ori r3,r3,lo(MC_BASE_ADD) 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.addi r4,r3,MC_CSC(0) 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.movhi r5,hi(FLASH_BASE_ADD) 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; line1: l.srai r5,r5,6		/* We shift 6 bits right*/		 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.ori r5,r5,0x0025 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.sw 0(r4),r5 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.addi r4,r3,MC_TMS(0)	 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.movhi r5,hi(FLASH_TMS_VAL) 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.ori r5,r5,lo(FLASH_TMS_VAL) 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.sw 0(r4),r5 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.addi r4,r3,MC_BA_MASK 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; line2: l.addi r5,r0,MC_MASK_VAL /* the MC_MASK_VAL is 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; 0x000003f0 */ 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.sw 0(r4),r5 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.addi r4,r3,MC_CSR 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.movhi r5,hi(MC_CSR_VAL) 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.ori r5,r5,lo(MC_CSR_VAL) 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; l.sw 0(r4),r5 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; line1, after the shift the most significant bit of r5 is 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; at bit 25. And 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; also the BA_MASK value is 0x000003f0, it should be 10 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; bits long, then it 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; will be actually ANDed with the 25:16bit of the CSC. So 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; the document is 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; not coincide with the code?? 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; And also, since the CSC stores the most 10 significant 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; bits of the 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; address (not bit 28:21), why are we comparing the ANDed 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; result of the 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; CSC and BA_MASK with the 28:21 bits of input address?? 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2. About the Page Table Entry format. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; As described in the document, the Page Table Entry format 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; looks like: 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 31:10 9 8:6 5 4 3 2 1 0 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; PPN L PPI D A WOM WBC CI CC 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I think the following code is use to load the PTE from 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; the PGD: 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; d_pmd_good:	 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	/* 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	 * pte = *pte_offset(pmd, daddr); 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	 */ 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; line1:	l.lwz	r4,0x0(r4)		// get **pmd value 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; line2:	l.and	r4,r4,r3		// &amp; PAGE_MASK 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	l.srli	r5,r2,0xd		// &amp;gt;&amp;gt; PAGE_SHIFT, r2 == EEAR 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	l.andi	r3,r5,0x7ff		// (1UL &amp;lt;&amp;lt; PAGE_SHIFT - 2) - 1 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	l.slli	r3,r3,0x2		// to get address &amp;lt;&amp;lt; 2 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	l.add	r3,r3,r4 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 	l.lwz	r2,0x0(r3)		// this is pte at last 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; line1, r4 is now the value of the page table entry. We 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; need to use it to 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; get the address of the level 2 page table base address. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; But why are we 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; applying the PAGE_MASK (most significant 19 bits are all 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; 1) to r4? We 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; leave out the least significant 3 bits of PPN. Are those 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; 3 bits the CID 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; number? 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks, &amp;gt; &amp;gt; --Zhanhua &amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; __________________________________________________________________________________________________________________
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; DISCLAIMER:&amp;quot;The information contained in this message and 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; the attachments (if any) may be privileged and confidential and 
&lt;br&gt;&amp;gt;&amp;gt; protected from disclosure. You are hereby notified that any 
&lt;br&gt;&amp;gt;&amp;gt; unauthorized use, dissemination, distribution or copying of this 
&lt;br&gt;&amp;gt;&amp;gt; communication, review, retransmission, or taking of any action 
&lt;br&gt;&amp;gt;&amp;gt; based upon this information, by persons or entities other than the 
&lt;br&gt;&amp;gt;&amp;gt; intended recipient, is strictly prohibited. If you are not the 
&lt;br&gt;&amp;gt;&amp;gt; intended recipient or an employee or agent responsible for 
&lt;br&gt;&amp;gt;&amp;gt; delivering this message, and have received this communication in 
&lt;br&gt;&amp;gt;&amp;gt; error, please notify us immediately by replying to the message and 
&lt;br&gt;&amp;gt;&amp;gt; kindly delete the original message, attachments, if any, and all 
&lt;br&gt;&amp;gt;&amp;gt; its copies from your computer system. Thank you for your 
&lt;br&gt;&amp;gt;&amp;gt; cooperation.&amp;quot; &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; ________________________________________________________________________________________________________________
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________ &amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&amp;nbsp;-- Tel: +44 
&lt;br&gt;&amp;gt;&amp;gt; (1202) 416955 Cell: +44 (7970) 676050 SkypeID: jeremybennett Email: 
&lt;br&gt;&amp;gt;&amp;gt; jeremy.bennett at embecosm.com Web: www.embecosm.com 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Some-MMU-confusion-tp22286324p22356384.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22356391</id>
	<title>Re: Building binutils 2.18.50 on Ubuntu 8.10 (gcc 4.3.2)</title>
	<published>2009-03-05T03:16:39Z</published>
	<updated>2009-03-05T03:16:39Z</updated>
	<author>
		<name>jb-59</name>
	</author>
	<content type="html">Well, I've got the answer to my own problem here.
&lt;br&gt;&lt;br&gt;It appears that this change in behavior of gcc-4.3.2 has been
&lt;br&gt;addressed in binutils-2.19, those two lines have been changed to be,
&lt;br&gt;in the case of binutils-2.19/binutils/dwarf.c:
&lt;br&gt;fputs (buff + (byte_size == 4 ? 8 : 0), stdout);
&lt;br&gt;&lt;br&gt;and in binutils-2.19/gas/listing.c:
&lt;br&gt;fputs (field_name, list_file);
&lt;br&gt;&lt;br&gt;fputs() saves the day from nasty string literal errors.
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: jb at orsoc.se&amp;lt;jb@o...&amp;gt; 
&lt;br&gt;To: 
&lt;br&gt;Date: Thu Mar &amp;nbsp;5 11:25:19 CET 2009 
&lt;br&gt;Subject: [openrisc] Building binutils 2.18.50 on Ubuntu 8.10 (gcc 
&lt;br&gt;4.3.2) 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all, 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've been testing building the toolchain on the most recent major 
&lt;br&gt;&amp;gt; Ubuntu release, 8.10, and it appears that binutils breaks due to 
&lt;br&gt;&amp;gt; stricter enforcement of string literals being passed to things like 
&lt;br&gt;&amp;gt; printf and fprintf. For instance, out of the box, binutils 2.18.50 
&lt;br&gt;&amp;gt; with the appropriate patch errors out the first of two times on 
&lt;br&gt;&amp;gt; binutils-2.18.50/binutils/dwarf.c like so: 
&lt;br&gt;&amp;gt; gcc -DHAVE_CONFIG_H -I. 
&lt;br&gt;&amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/binutils -I. -I. 
&lt;br&gt;&amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/binutils -I../bfd 
&lt;br&gt;&amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/binutils/../bfd 
&lt;br&gt;&amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/binutils/../include 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;-DLOCALEDIR=&amp;quot;\&amp;quot;/opt/or1200-toolchain/build/tools/or32-uclinux/share/locale\&amp;quot;&amp;quot;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall 
&lt;br&gt;&amp;gt; -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c 
&lt;br&gt;&amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/binutils/dwarf.c 
&lt;br&gt;&amp;gt; cc1: warnings being treated as errors 
&lt;br&gt;&amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/binutils/dwarf.c: In 
&lt;br&gt;&amp;gt; function print_dwarf_vma: 
&lt;br&gt;&amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/binutils/dwarf.c:189: 
&lt;br&gt;&amp;gt; error: format not a string literal and no format arguments 
&lt;br&gt;&amp;gt; make[4]: *** [dwarf.o] Error 1 
&lt;br&gt;&amp;gt; It was configured from a recent version of the MOF script, like so: 
&lt;br&gt;&amp;gt; $BUILD_TOP/$BINUTILS_VER/configure --target=or32-uclinux 
&lt;br&gt;&amp;gt; --prefix=$BUILD_TOP/tools/or32-uclinux --disable-checking 
&lt;br&gt;&amp;gt; --disable-Werror 
&lt;br&gt;&amp;gt; So, the line it refers to in dwarf.c that it doesn't like is like 
&lt;br&gt;&amp;gt; this: 
&lt;br&gt;&amp;gt; &amp;nbsp;printf (buff + (byte_size == 4 ? 8 : 0)); 
&lt;br&gt;&amp;gt; Now, I'm by no means one hundred percent that this is correct, but 
&lt;br&gt;&amp;gt; I 
&lt;br&gt;&amp;gt; presume there's a pre-made string it wants to pass to printf, so if 
&lt;br&gt;&amp;gt; I 
&lt;br&gt;&amp;gt; just put in a &amp;quot;%s&amp;quot; in there it will fix this error? Wary 
&lt;br&gt;&amp;gt; that I may 
&lt;br&gt;&amp;gt; have changed the code so that it doesn't do what was intended, I 
&lt;br&gt;&amp;gt; can 
&lt;br&gt;&amp;gt; at least make the file compile by changing the line at 189 to: 
&lt;br&gt;&amp;gt; printf (&amp;quot;%s&amp;quot;, buff + (byte_size == 4 ? 8 : 0)); 
&lt;br&gt;&amp;gt; The next issue when compiling is for the same reason, in the file 
&lt;br&gt;&amp;gt; binutils-2.18.50/gas/listing.c: 
&lt;br&gt;&amp;gt; gcc -DHAVE_CONFIG_H -I. 
&lt;br&gt;&amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas -I. -I. 
&lt;br&gt;&amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas -I../bfd 
&lt;br&gt;&amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas/config 
&lt;br&gt;&amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas/../include 
&lt;br&gt;&amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas/.. 
&lt;br&gt;&amp;gt; -I/opt/or1200-toolchain/build/binutils-2.18.50/gas/../bfd 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;-DLOCALEDIR=&amp;quot;\&amp;quot;/opt/or1200-toolchain/build/tools/or32-uclinux/share/locale\&amp;quot;&amp;quot;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 
&lt;br&gt;&amp;gt; -c 
&lt;br&gt;&amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/gas/listing.c 
&lt;br&gt;&amp;gt; cc1: warnings being treated as errors 
&lt;br&gt;&amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/gas/listing.c: In 
&lt;br&gt;&amp;gt; function print_options: 
&lt;br&gt;&amp;gt; /opt/or1200-toolchain/build/binutils-2.18.50/gas/listing.c:1103: 
&lt;br&gt;&amp;gt; error: format not a string literal and no format arguments 
&lt;br&gt;&amp;gt; make[4]: *** [listing.o] Error 1 
&lt;br&gt;&amp;gt; The line concerned in listing.c is: 
&lt;br&gt;&amp;gt; fprintf (list_file, field_name); 
&lt;br&gt;&amp;gt; So I presume here we put in a format string like before, again wary 
&lt;br&gt;&amp;gt; that I have not much of an idea of what this is meant to do: 
&lt;br&gt;&amp;gt; fprintf (list_file, &amp;quot;%s&amp;quot;, field_name); 
&lt;br&gt;&amp;gt; And now binutils-2.18.50 compiles and installs. 
&lt;br&gt;&amp;gt; GCC-4.2.2 seems to compile OK too, however the next issues with 
&lt;br&gt;&amp;gt; this 
&lt;br&gt;&amp;gt; toolchain build are to do with the linux kernel portion, but I'm 
&lt;br&gt;&amp;gt; yet 
&lt;br&gt;&amp;gt; to track down the specifics of this. I'll post more when I know. 
&lt;br&gt;&amp;gt; Anyway, i'm not sure if perhaps there's a configure option I can 
&lt;br&gt;&amp;gt; pass 
&lt;br&gt;&amp;gt; (I've seen the -Wformat-nonliteral, but I guess this makes gcc 
&lt;br&gt;&amp;gt; thrown 
&lt;br&gt;&amp;gt; an error at any of these warnings.... which is now standard 
&lt;br&gt;&amp;gt; behavior 
&lt;br&gt;&amp;gt; in gcc-4.3.2 I think) or perhaps these fixes should be in the next 
&lt;br&gt;&amp;gt; patch (or perhaps already are fixed in binutils-2.19). Anyone know 
&lt;br&gt;&amp;gt; what could be done to make this work first time, every time? 
&lt;br&gt;&amp;gt; -jb 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Building-binutils-2.18.50-on-Ubuntu-8.10-%28gcc-4.3.2%29-tp22349463p22356391.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22349463</id>
	<title>Building binutils 2.18.50 on Ubuntu 8.10 (gcc 4.3.2)</title>
	<published>2009-03-05T02:25:19Z</published>
	<updated>2009-03-05T02:25:19Z</updated>
	<author>
		<name>jb-59</name>
	</author>
	<content type="html">Hi all, 
&lt;br&gt;&lt;br&gt;I've been testing building the toolchain on the most recent major
&lt;br&gt;Ubuntu release, 8.10, and it appears that binutils breaks due to
&lt;br&gt;stricter enforcement of string literals being passed to things like
&lt;br&gt;printf and fprintf. For instance, out of the box, binutils 2.18.50
&lt;br&gt;with the appropriate patch errors out the first of two times on
&lt;br&gt;binutils-2.18.50/binutils/dwarf.c like so:
&lt;br&gt;&lt;br&gt;gcc -DHAVE_CONFIG_H -I.
&lt;br&gt;-I/opt/or1200-toolchain/build/binutils-2.18.50/binutils -I. -I.
&lt;br&gt;-I/opt/or1200-toolchain/build/binutils-2.18.50/binutils -I../bfd
&lt;br&gt;-I/opt/or1200-toolchain/build/binutils-2.18.50/binutils/../bfd
&lt;br&gt;-I/opt/or1200-toolchain/build/binutils-2.18.50/binutils/../include
&lt;br&gt;-DLOCALEDIR=&amp;quot;\&amp;quot;/opt/or1200-toolchain/build/tools/or32-uclinux/share/locale\&amp;quot;&amp;quot;
&lt;br&gt;-Dbin_dummy_emulation=bin_vanilla_emulation &amp;nbsp; -W -Wall
&lt;br&gt;-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c
&lt;br&gt;/opt/or1200-toolchain/build/binutils-2.18.50/binutils/dwarf.c
&lt;br&gt;cc1: warnings being treated as errors
&lt;br&gt;/opt/or1200-toolchain/build/binutils-2.18.50/binutils/dwarf.c: In
&lt;br&gt;function print_dwarf_vma:
&lt;br&gt;/opt/or1200-toolchain/build/binutils-2.18.50/binutils/dwarf.c:189:
&lt;br&gt;error: format not a string literal and no format arguments
&lt;br&gt;make[4]: *** [dwarf.o] Error 1
&lt;br&gt;&lt;br&gt;&lt;br&gt;It was configured from a recent version of the MOF script, like so:
&lt;br&gt;$BUILD_TOP/$BINUTILS_VER/configure --target=or32-uclinux
&lt;br&gt;--prefix=$BUILD_TOP/tools/or32-uclinux --disable-checking --disable-Werror
&lt;br&gt;&lt;br&gt;So, the line it refers to in dwarf.c that it doesn't like is like this:
&lt;br&gt;&amp;nbsp;printf (buff + (byte_size == 4 ? 8 : 0));
&lt;br&gt;&lt;br&gt;Now, I'm by no means one hundred percent that this is correct, but I
&lt;br&gt;presume there's a pre-made string it wants to pass to printf, so if I
&lt;br&gt;just put in a &amp;quot;%s&amp;quot; in there it will fix this error? Wary that I may
&lt;br&gt;have changed the code so that it doesn't do what was intended, I can
&lt;br&gt;at least make the file compile by changing the line at 189 to:
&lt;br&gt;printf (&amp;quot;%s&amp;quot;, buff + (byte_size == 4 ? 8 : 0));
&lt;br&gt;&lt;br&gt;&lt;br&gt;The next issue when compiling is for the same reason, in the file
&lt;br&gt;binutils-2.18.50/gas/listing.c:
&lt;br&gt;&lt;br&gt;gcc -DHAVE_CONFIG_H -I.
&lt;br&gt;-I/opt/or1200-toolchain/build/binutils-2.18.50/gas -I. -I.
&lt;br&gt;-I/opt/or1200-toolchain/build/binutils-2.18.50/gas -I../bfd
&lt;br&gt;-I/opt/or1200-toolchain/build/binutils-2.18.50/gas/config
&lt;br&gt;-I/opt/or1200-toolchain/build/binutils-2.18.50/gas/../include
&lt;br&gt;-I/opt/or1200-toolchain/build/binutils-2.18.50/gas/..
&lt;br&gt;-I/opt/or1200-toolchain/build/binutils-2.18.50/gas/../bfd
&lt;br&gt;-DLOCALEDIR=&amp;quot;\&amp;quot;/opt/or1200-toolchain/build/tools/or32-uclinux/share/locale\&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp; -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c
&lt;br&gt;/opt/or1200-toolchain/build/binutils-2.18.50/gas/listing.c
&lt;br&gt;cc1: warnings being treated as errors
&lt;br&gt;/opt/or1200-toolchain/build/binutils-2.18.50/gas/listing.c: In
&lt;br&gt;function print_options:
&lt;br&gt;/opt/or1200-toolchain/build/binutils-2.18.50/gas/listing.c:1103:
&lt;br&gt;error: format not a string literal and no format arguments
&lt;br&gt;make[4]: *** [listing.o] Error 1
&lt;br&gt;&lt;br&gt;&lt;br&gt;The line concerned in listing.c is:
&lt;br&gt;&lt;br&gt;fprintf (list_file, field_name);
&lt;br&gt;&lt;br&gt;So I presume here we put in a format string like before, again wary
&lt;br&gt;that I have not much of an idea of what this is meant to do:
&lt;br&gt;fprintf (list_file, &amp;quot;%s&amp;quot;, field_name);
&lt;br&gt;&lt;br&gt;&lt;br&gt;And now binutils-2.18.50 compiles and installs.
&lt;br&gt;&lt;br&gt;GCC-4.2.2 seems to compile OK too, however the next issues with this
&lt;br&gt;toolchain build are to do with the linux kernel portion, but I'm yet
&lt;br&gt;to track down the specifics of this. I'll post more when I know.
&lt;br&gt;&lt;br&gt;Anyway, i'm not sure if perhaps there's a configure option I can pass
&lt;br&gt;(I've seen the -Wformat-nonliteral, but I guess this makes gcc thrown
&lt;br&gt;an error at any of these warnings.... which is now standard behavior
&lt;br&gt;in gcc-4.3.2 I think) or perhaps these fixes should be in the next
&lt;br&gt;patch (or perhaps already are fixed in binutils-2.19). Anyone know
&lt;br&gt;what could be done to make this work first time, every time?
&lt;br&gt;&lt;br&gt;-jb
&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Building-binutils-2.18.50-on-Ubuntu-8.10-%28gcc-4.3.2%29-tp22349463p22349463.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22349460</id>
	<title>Re: openrisc toolchains</title>
	<published>2009-03-05T01:41:46Z</published>
	<updated>2009-03-05T01:41:46Z</updated>
	<author>
		<name>Jeremy Bennett-4</name>
	</author>
	<content type="html">On Thu, 2009-03-05 at 00:10 +0100, Jose Ignacio Villar wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; Currently I can see three efforts to provide a robust toolchain to
&lt;br&gt;&amp;gt; openrisc developers:The new toolchain from orsoc and meansofreedom,
&lt;br&gt;&amp;gt; The toolchain that you can build from embecosm EAN2 and the one called
&lt;br&gt;&amp;gt; DRP by Mark Jarvin.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After many months without an unified effort to provide a common set of
&lt;br&gt;&amp;gt; tools, I'm happy to see the &amp;quot;new toolchain&amp;quot; page on opencores &amp;nbsp;but I
&lt;br&gt;&amp;gt; see that it contains old versions of Or1kSim and Linux, that and GDB
&lt;br&gt;&amp;gt; is missing. So, my questions is wether GDB 6.8 and or1KSim 0.3.0 from
&lt;br&gt;&amp;gt; Jeremy Bennet will be included or not in the manline Opencores
&lt;br&gt;&amp;gt; toolchain script. I think this way all Openrisc community may have a
&lt;br&gt;&amp;gt; common and well tested set of tools with the latest versions of every
&lt;br&gt;&amp;gt; package being used and tested by everyone.
&lt;/div&gt;&lt;br&gt;Hi Jose,
&lt;br&gt;&lt;br&gt;Thanks for your contributions to this mailing list in recent days. They
&lt;br&gt;will help to improve the tool chain in the future. I look forward to
&lt;br&gt;seeing your future contributions.
&lt;br&gt;&lt;br&gt;The differences you see reflect the dynamics of open source development
&lt;br&gt;and the priorities of individual, independent contributors.
&lt;br&gt;- Mark Jarvin's tool chain dates from August 2007
&lt;br&gt;- OpenCores script and vmware image pre-date GDB 6.8 and Or1ksim 0.3.0.
&lt;br&gt;- EAN2 pre-dates GCC 4.2.2 and binutils 2.18.50
&lt;br&gt;&lt;br&gt;These latest versions are the cumulative work of (amongst many others) a
&lt;br&gt;Canadian academic, a US telecoms engineer, a Swedish fabless design
&lt;br&gt;house and a British embedded tools company. There are others as well,
&lt;br&gt;for example the guide to the software tool chain from the De Nayer
&lt;br&gt;Instituut in the Netherlands.
&lt;br&gt;&lt;br&gt;The upside is that the latest work on each component is always available
&lt;br&gt;as the group specializing in it completes the work. The downside is that
&lt;br&gt;there is not one rigidly enforced script, as you would get with a
&lt;br&gt;commercial closed-source product.
&lt;br&gt;&lt;br&gt;&amp;gt; Currently I was successful to generate the complete toolchain with the
&lt;br&gt;&amp;gt; automated script under ubuntu 8.10 32bits with binutils 2.18 and gcc
&lt;br&gt;&amp;gt; 4.3.2, but a pair of patches were needed...
&lt;br&gt;&lt;br&gt;All new contributions are much appreciated. If you'd post a link to
&lt;br&gt;where your script can be downloaded, I'll add it to the tool chain page
&lt;br&gt;alongside the link to EAN2 and the De Nayer Instituut.
&lt;br&gt;&lt;br&gt;Best wishes, and I look forward to hearing more from you.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Jeremy
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tel: &amp;nbsp; &amp;nbsp; &amp;nbsp;+44 (1202) 416955
&lt;br&gt;Cell: &amp;nbsp; &amp;nbsp; +44 (7970) 676050
&lt;br&gt;SkypeID: jeremybennett
&lt;br&gt;Email: &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22349460&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy.bennett@...&lt;/a&gt;
&lt;br&gt;Web: &amp;nbsp; &amp;nbsp; www.embecosm.com
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/openrisc-toolchains-tp22347147p22349460.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22347147</id>
	<title>openrisc toolchains</title>
	<published>2009-03-04T15:10:58Z</published>
	<updated>2009-03-04T15:10:58Z</updated>
	<author>
		<name>Jose Ignacio Villar</name>
	</author>
	<content type="html">Hello,&lt;br&gt;Currently I can see three efforts to provide a robust toolchain to openrisc developers:The new toolchain from orsoc and meansofreedom, The toolchain that you can build from embecosm EAN2 and the one called DRP by Mark Jarvin.&lt;br&gt;
&lt;br&gt;After many months without an unified effort to provide a common set of tools, I&amp;#39;m happy to see the &amp;quot;new toolchain&amp;quot; page on opencores  but I see that it contains old versions of Or1kSim and Linux, that and GDB is missing. 		So, my questions is wether GDB 6.8 and or1KSim 0.3.0 from Jeremy Bennet will be included or not in the manline Opencores toolchain script. I think this way all Openrisc community may have a &lt;i&gt;common&lt;/i&gt; and &lt;i&gt;well tested&lt;/i&gt; set of tools with the latest versions of every package being used and tested by everyone.&lt;br&gt;
&lt;br&gt;Currently I was successful to generate the complete toolchain with the automated script under ubuntu 8.10 32bits with binutils 2.18 and gcc 4.3.2, but a pair of patches were needed...&lt;br&gt;&lt;br&gt;Here is a table with versions of every package of the three toolchains. &lt;br&gt;
&lt;br&gt;


	&lt;meta http-equiv=&quot;CONTENT-TYPE&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
	&lt;title&gt;&lt;/title&gt;
	&lt;meta name=&quot;GENERATOR&quot; content=&quot;OpenOffice.org 2.4  (Linux)&quot;&gt;
	

&lt;table width=&quot;238&quot; border=&quot;1&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot; height=&quot;369&quot;&gt;
	&lt;col width=&quot;22&quot;&gt;
	&lt;col width=&quot;16&quot;&gt;
	&lt;col width=&quot;19&quot;&gt;
	&lt;col width=&quot;175&quot;&gt;
	&lt;tbody&gt;&lt;tr valign=&quot;top&quot;&gt;
		&lt;td width=&quot;22&quot;&gt;
			&lt;p&gt;&lt;font size=&quot;1&quot;&gt;&lt;br&gt;&lt;/font&gt;
			&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;16&quot;&gt;
			&lt;p&gt;&lt;font size=&quot;1&quot;&gt;DRP&lt;/font&gt;&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;19&quot;&gt;
			&lt;p&gt;&lt;font size=&quot;1&quot;&gt;Orsoc&lt;/font&gt;&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;175&quot;&gt;
			&lt;p&gt;&lt;font size=&quot;1&quot;&gt;Embecosm&lt;/font&gt;&lt;/p&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr valign=&quot;top&quot;&gt;
		&lt;td width=&quot;22&quot;&gt;
			&lt;p&gt;Binutils&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;16&quot;&gt;
			&lt;p&gt;2.17&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;19&quot;&gt;
			&lt;p&gt;2.18.50&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;175&quot;&gt;
			&lt;p&gt;2.16.1&lt;/p&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr valign=&quot;top&quot;&gt;
		&lt;td width=&quot;22&quot;&gt;
			&lt;p&gt;GCC&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;16&quot;&gt;
			&lt;p&gt;4.2.1&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;19&quot;&gt;
			&lt;p&gt;4.2.2&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;175&quot;&gt;
			&lt;p&gt;3.4.4&lt;/p&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr valign=&quot;top&quot;&gt;
		&lt;td width=&quot;22&quot;&gt;
			&lt;p&gt;GDB&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;16&quot;&gt;
			&lt;p&gt;5.3&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;19&quot;&gt;
			&lt;p&gt;NA&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;175&quot;&gt;
			&lt;p&gt;6.8&lt;/p&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr valign=&quot;top&quot;&gt;
		&lt;td width=&quot;22&quot;&gt;
			&lt;p&gt;ucLibC&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;16&quot;&gt;
			&lt;p&gt;0.9.28&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;19&quot;&gt;
			&lt;p&gt;0.9.29&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;175&quot;&gt;
			&lt;p&gt;0.9.28&lt;/p&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr valign=&quot;top&quot;&gt;
		&lt;td width=&quot;22&quot;&gt;
			&lt;p&gt;Newlib&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;16&quot;&gt;
			&lt;p&gt;1.15.0&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;19&quot;&gt;
			&lt;p&gt;NA&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;175&quot;&gt;
			&lt;p&gt;NA&lt;/p&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr valign=&quot;top&quot;&gt;
		&lt;td width=&quot;22&quot;&gt;
			&lt;p&gt;Linux&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;16&quot;&gt;
			&lt;p&gt;2.6.19&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;19&quot;&gt;
			&lt;p&gt;2.6.19&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;175&quot;&gt;
			&lt;p&gt;2.6.23&lt;/p&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr valign=&quot;top&quot;&gt;
		&lt;td width=&quot;22&quot;&gt;
			&lt;p&gt;BusyBox&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;16&quot;&gt;
			&lt;p&gt;NA&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;19&quot;&gt;
			&lt;p&gt;1.7.5&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;175&quot;&gt;
			&lt;p&gt;NA&lt;/p&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr valign=&quot;top&quot;&gt;
		&lt;td width=&quot;22&quot;&gt;
			&lt;p&gt;ucLinux&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;16&quot;&gt;
			&lt;p&gt;2.0.38&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;19&quot;&gt;
			&lt;p&gt;NA&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;175&quot;&gt;
			&lt;p&gt;NA&lt;/p&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr valign=&quot;top&quot;&gt;
		&lt;td width=&quot;22&quot;&gt;
			&lt;p&gt;Or1KSim&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;16&quot;&gt;
			&lt;p&gt;0.2.0&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;19&quot;&gt;
			&lt;p&gt;0.2.0&lt;/p&gt;
		&lt;/td&gt;
		&lt;td width=&quot;175&quot;&gt;
			&lt;p&gt;0.3.0&lt;/p&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br&gt;&lt;br&gt;Jose.&lt;br&gt;&lt;br&gt;--&lt;br&gt;José Ignacio Villar &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22347147&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jose@...&lt;/a&gt;&amp;gt;&lt;br&gt;Departamento de Tecnología Electrónica&lt;br&gt;Escuela Técnica Superior de Ingeniería Informática&lt;br&gt;Universidad de Sevilla&lt;br&gt;
Avda. Reina Mercedes, s/n&lt;br&gt;41012 - Sevilla (Spain)&lt;br&gt;&lt;br&gt;Tlf: 954 55 61 60&lt;br&gt;Fax: 954 55 27 64&lt;br&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/openrisc-toolchains-tp22347147p22347147.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22339009</id>
	<title>Re: Regarding the hardware of OR1200 related to cache</title>
	<published>2009-03-04T10:01:43Z</published>
	<updated>2009-03-04T10:01:43Z</updated>
	<author>
		<name>Jose Ignacio Villar</name>
	</author>
	<content type="html">Hello,&lt;br&gt;I think it&amp;#39;s a good idea to remove cab signals. Many of as have had to investigate its meaning and origin now that it is not being mentioned in Wishbone Specs anymore.&lt;br&gt;It will help to avoid confusion in the future.&lt;br&gt;
&lt;br&gt;Jose.&lt;br&gt;&lt;br&gt;-- &lt;br&gt;José Ignacio Villar &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22339009&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jose@...&lt;/a&gt;&amp;gt;&lt;br&gt;Departamento de Tecnología Electrónica&lt;br&gt;Escuela Técnica Superior de Ingeniería Informática&lt;br&gt;Universidad de Sevilla&lt;br&gt;
Avda. Reina Mercedes, s/n&lt;br&gt;41012 - Sevilla (Spain)&lt;br&gt;&lt;br&gt;Tlf: 954 55 61 60&lt;br&gt;Fax: 954 55 27 64&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Mar 4, 2009 at 8:12 AM, Richard Herveille &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22339009&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;richard@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;








&lt;div link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;

&lt;div&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;If other people agree then I suggest you remove the CAB signal
and replace it with the appropriate CTI and BTE signals.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;CAB is obsolete and really should be removed from any cores
(including the or1200) that still use it.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt;Richard&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(31, 73, 125);&quot;&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div style=&quot;border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;&quot;&gt;

&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22339009&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openrisc-bounces@...&lt;/a&gt;
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22339009&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openrisc-bounces@...&lt;/a&gt;] &lt;b&gt;On Behalf Of &lt;/b&gt;Pradip Harindran&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; 03 March 2009 12:55&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; List about OpenRISC project&lt;br&gt;
&lt;/div&gt;&lt;b&gt;Subject:&lt;/b&gt; Re: [openrisc] Regarding the hardware of OR1200 related to
cache&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p style=&quot;margin-bottom: 12pt;&quot;&gt;Thank you for the info. We have
gone through the wishbone documentation and we could find a good amount of info
on the signals. But i couldnt find anything on the cab signal anywhere. It
would be helpful if you could provide some more info on it as we have to work
on the cache module.&lt;br&gt;
&lt;br&gt;
Thanking you,&lt;br&gt;
Pradip&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;On Fri, Feb 20, 2009 at 11:13 PM, Richard Herveille &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22339009&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;richard@...&lt;/a&gt;&amp;gt; wrote:&lt;/p&gt;

&lt;p&gt;CAB is way obsolete :) It momentarily saw light inbetween
RevB2 and RevB3.&lt;br&gt;
It mean Continuous Address Burst. It is superseded by CTI and BTE.&lt;br&gt;
Somebody should really change this in the OpenRISC.&lt;br&gt;
CAB can only operate on linear address ranges, whereas CTI/BTE allows for&lt;br&gt;
interleaved (as used by the cache controller) address schemes.&lt;br&gt;
&lt;span style=&quot;color: rgb(136, 136, 136);&quot;&gt;&lt;br&gt;
Richard&lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p&gt;&lt;br&gt;
&lt;br&gt;
-----Original Message-----&lt;br&gt;
From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22339009&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openrisc-bounces@...&lt;/a&gt;
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22339009&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openrisc-bounces@...&lt;/a&gt;]&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;div&gt;

&lt;p&gt;On Behalf Of Jeremy Bennett&lt;br&gt;
Sent: 20 February 2009 16:12&lt;br&gt;
To: List about OpenRISC project&lt;br&gt;
Subject: RE: [openrisc] Regarding the hardware of OR1200 related to cache&lt;br&gt;
&lt;br&gt;
On Fri, 2009-02-20 at 08:47 +0100, Richard Herveille wrote:&lt;br&gt;
&amp;gt; These are wishone signals.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Download the wishbone spec from opencores.&lt;br&gt;
&lt;br&gt;
Hi Richard,&lt;br&gt;
&lt;br&gt;
In the OpenRISC code, the CAB signal is used, but I believe this was&lt;br&gt;
dropped from Wishbone even before version 1 of the standard. Can you&lt;br&gt;
tell us what this signal was for. Just curiosity for understanding the&lt;br&gt;
code.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Jeremy&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
Tel:      +44 (1202) 416955&lt;br&gt;
Cell:     +44 (7970) 676050&lt;br&gt;
SkypeID: jeremybennett&lt;br&gt;
Email:   &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=22339009&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy.bennett@...&lt;/a&gt;&lt;br&gt;
Web:     &lt;a href=&quot;http://www.embecosm.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;www.embecosm.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p&gt; &lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;

&lt;/div&gt;


&lt;br&gt;_______________________________________________&lt;br&gt;
&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;&lt;a href=&quot;http://www.opencores.org/mailman/listinfo/openrisc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opencores.org/mailman/listinfo/openrisc&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Regarding-the-hardware-of-OR1200-related-to-cache-tp22116022p22339009.html" />
</entry>

</feed>
