--- Log opened Sat Aug 31 00:00:14 2013 | ||
--- Day changed Sat Aug 31 2013 | ||
hansfbaier | the or1k-gcc toolchain has build errors :( | 00:46 |
---|---|---|
poke53282 | which ones. Four weeks ago was my last test run and I had no problems. | 01:38 |
poke53282 | I know that there could be one problem with texinfo and the gcc documentation. | 01:40 |
hansfbaier | poke53282: I used this script from the wiki: | 02:11 |
hansfbaier | http://pastebin.com/aMYV0MxG | 02:12 |
hansfbaier | or should I just plain vanilla ./configure && make | 02:12 |
poke53282 | What is the error message? | 02:15 |
poke53282 | At which stage of the script it fails? | 02:15 |
andresjk | are you in a 32 bit machine/os? | 02:16 |
hansfbaier | andresjk: yes 32bit | 02:19 |
poke53282 | Could it be that you missed changing the user rights of /opt/or1k-toolchain ? | 02:19 |
poke53282 | Ok | 02:19 |
poke53282 | # NOTE: on 32-bit machines --disable-werror is needed due to an enum acting as bit mask is considered signed | 02:19 |
andresjk | yes, it could be the flag | 02:20 |
hansfbaier | poke53282: Yes, I got that error. | 02:20 |
poke53282 | add "--disable-werror" in each configure line | 02:20 |
poke53282 | I am wondering why -j12. Do you have one of those super expensive 6 core (+Hyperthreading) Intel processors? :) | 02:21 |
hansfbaier | poke53282: No 4 core | 02:22 |
hansfbaier | I observed if I only use -j4 the cpu isn't really utilized well, since there is quite a bit io involved too | 02:22 |
hansfbaier | with -j12 I get pretty good steady load | 02:22 |
poke53282 | Yeah, this could well be. On a SSD or Ramdisk the result with -j12 could be devastating. | 02:23 |
hansfbaier | I also get this: checking for suffix of object files... configure: error: in `/data/home/jack/HDL/openrisc/alt-toolchain/bld-or1k-gcc/or1k-elf/libgcc': | 02:24 |
hansfbaier | configure: error: cannot compute suffix of object files: cannot compile | 02:24 |
hansfbaier | See `config.log' for more details. | 02:24 |
hansfbaier | make[1]: *** [configure-target-libgcc] Fehler 1 | 02:24 |
hansfbaier | make[1]: Das Target »all-target« wurde wegen Fehlern nicht aktualisiert. | 02:24 |
hansfbaier | make[1]: Verlasse Verzeichnis '/data/home/jack/HDL/src/openrisc/alt-toolchain/bld-or1k-gcc' | 02:24 |
hansfbaier | make: *** [all] Fehler 2 | 02:24 |
poke53282 | Uhmm, don't know. Would need the config.log | 02:27 |
poke53282 | Does this happen during the first compilation of gcc or the second? | 02:29 |
hansfbaier | running it without -j ATM seems to work, still running.... | 02:35 |
hansfbaier | poke53282: on the second I get: | 02:37 |
hansfbaier | gcc -g -O2 -I. -I../../or1k-src/gdb -I../../or1k-src/gdb/common -I../../or1k-src/gdb/config -DLOCALEDIR="\"/opt/or1k-toolchain/share/locale\"" -DHAVE_CONFIG_H -I../../or1k-src/gdb/../include/opcode -I../../or1k-src/gdb/../opcodes/.. -I../../or1k-src/gdb/../readline/.. -I../bfd -I../../or1k-src/gdb/../bfd -I../../or1k-src/gdb/../include -I../libdecnumber -I../../or1k-src/gdb/../libdecnumber -I../../or1k-src/gdb/gnulib/import -Ibuild-gnulib/import -DT | 02:37 |
hansfbaier | make[2]: *** Keine Regel vorhanden, um das Target »../libgui/src/libgui.a«, | 02:37 |
hansfbaier | benötigt von »gdb«, zu erstellen. Schluss. | 02:37 |
hansfbaier | make[2]: Verlasse Verzeichnis '/data/home/jack/HDL/src/openrisc/alt-toolchain/bld-or1k-gcc/gdb' | 02:37 |
hansfbaier | make[1]: *** [all-gdb] Fehler 2 | 02:37 |
hansfbaier | make[1]: Verlasse Verzeichnis '/data/home/jack/HDL/src/openrisc/alt-toolchain/bld-or1k-gcc' | 02:37 |
hansfbaier | make: *** [all] Fehler 2 | 02:37 |
hansfbaier | sorry german, but LANG=en_US doesn't help too. | 02:37 |
hansfbaier | that means: no rule to build target..... | 02:37 |
poke53282 | Koi Problem. I schwaetz au Deutsch, wenns denn sei muss. | 02:40 |
hansfbaier | Meine Mutter ist auch schwäbischer Herkunft | 02:41 |
poke53282 | Well when I read the name I guessed already south Germany. Bavaria especially | 02:42 |
poke53282 | But to respect the others we should speak English here. | 02:43 |
hansfbaier | poke53282: True, but my ancestors are from Czechoslovakia actually (Sudetendeutsche) | 02:47 |
hansfbaier | stekern: (or who knows about mor1kx) | 03:02 |
hansfbaier | I get those errors: | 03:02 |
hansfbaier | http://pastebin.com/erSujEqP | 03:02 |
hansfbaier | when swapping in mor1kx | 03:02 |
hansfbaier | swapping = removing or1200 and adding all verilog files from mor1kx/rtl/verilog | 03:02 |
hansfbaier | aaaah | 03:04 |
hansfbaier | there is an `ifdef, sorry | 03:04 |
hansfbaier | just saw it now | 03:04 |
hansfbaier | How can i trim down the cache sizes of the mor1kx? | 03:14 |
hansfbaier | My EP4CE10 does not have enough block RAM | 03:14 |
hansfbaier | with or1200 it was just a couple of defines | 03:14 |
poke53282 | I think you have to wait. Around 5 AM in Europe. And most people in this forum are living in Europe. | 03:15 |
poke53282 | Can`t help you with this | 03:16 |
hansfbaier | ah maybe the parameters | 03:17 |
hansfbaier | in mor1kx.v | 03:17 |
poke53282 | s/forum/chat/ | 03:17 |
stekern | hansfbaier: in orpsoc_top, change the OPTION_ICACHE_BLOCK_WIDTH, OPTION_ICACHE_SET_WIDTH and OPTION_ICACHE_WAYS to suit your needs | 03:45 |
stekern | and same with DCACHE | 03:46 |
stekern | block width can be 4 or 5 | 03:46 |
stekern | cache size is ways * 2^(block+set) | 03:48 |
hansfbaier | stekern: What are the minimum values for OPTION_ICACHE_SET_WIDTH ? | 03:52 |
stekern | there isn't really a minimum | 03:52 |
hansfbaier | stekern: What would the best tradeoffs be? | 03:53 |
hansfbaier | stekern: What sacrifices would have the least impact on performance/ | 03:54 |
hansfbaier | ? | 03:54 |
stekern | depends on your application | 03:54 |
stekern | but since you are size constrained (logic wise), perhaps using a 1-way setup makes sense | 03:55 |
stekern | I think I have used block=4, set=8 and ways=1 | 03:57 |
stekern | some time, so that's tested at least ;) | 03:57 |
stekern | that'd be a 4kb cache | 03:57 |
stekern | I'm trying to understand the Linux clock framework | 03:58 |
stekern | It looked so simple, but even if I think I'm doing everything right, it just returns zero when I try to 'clk_get_rate' on the clock | 03:59 |
hansfbaier | stekern: 37.39 MHz37.39 MHzaltera_reserved_tck | 04:13 |
hansfbaier | 40.06 MHz40.06 MHzclkgen0|pll0|altpll_component|auto_generated|pll1|clk[1] | 04:13 |
hansfbaier | thats the FMax summary from quartus | 04:14 |
hansfbaier | no difference to the or1200 | 04:14 |
stekern | ok | 04:17 |
stekern | but that's with 25MHz clock? | 04:17 |
hansfbaier | stekern: yes. | 04:19 |
hansfbaier | Should I try use 50? | 04:19 |
hansfbaier | stekern: Can you help me out for a moment: I try to compile ext2fs into the kernel, but I can't find it anywhere. | 04:19 |
hansfbaier | That's weird | 04:20 |
hansfbaier | not under Filesystems | 04:20 |
hansfbaier | because I want to use sdcard/SPI | 04:20 |
hansfbaier | # cat /proc/filesystems | 04:21 |
hansfbaier | nodevsysfs | 04:21 |
hansfbaier | nodevrootfs | 04:21 |
hansfbaier | nodevproc | 04:21 |
hansfbaier | nodevtmpfs | 04:21 |
hansfbaier | nodevdevtmpfs | 04:21 |
hansfbaier | nodevsockfs | 04:21 |
hansfbaier | nodevpipefs | 04:21 |
hansfbaier | nodevanon_inodefs | 04:21 |
hansfbaier | nodevdevpts | 04:22 |
hansfbaier | nodevramfs | 04:22 |
hansfbaier | that's what is built in by default | 04:22 |
hansfbaier | I need ext3 or vfat | 04:22 |
hansfbaier | cant find it in the kernel menuconfig, maybe I am just too tired... | 04:22 |
stekern | it depends on BLOCK | 04:23 |
stekern | aha! openrisc doesn't select COMMON_CLK | 04:44 |
stekern | no wonder it just returns 0... | 04:45 |
stekern | it == clk_get_rate | 04:45 |
hansfbaier | stekern: which source file? | 04:50 |
stekern | hansfbaier: does what? | 04:51 |
hansfbaier | your post before, I am not shure what you are talking about, exactly | 04:52 |
hansfbaier | just thinking out loud? | 04:52 |
stekern | ah, yes | 04:53 |
stekern | irc is my notepad ;) | 04:54 |
hansfbaier | stekern: same thing @60MHz with caches disabled | 05:01 |
hansfbaier | memory checker runs | 05:01 |
hansfbaier | barebox hangs | 05:01 |
hansfbaier | stekern: Another idea I got today about the enc28j60-Interrupt that hangs the system: | 05:04 |
hansfbaier | when it goes active=low the system hangs | 05:04 |
hansfbaier | and linux is trapped in interrupt handling code | 05:04 |
hansfbaier | If I artificially put the line high again | 05:04 |
hansfbaier | linux wakes up sometimes | 05:04 |
hansfbaier | showing a gazillion of interrupts on the line | 05:05 |
hansfbaier | so here's my little theory: | 05:05 |
hansfbaier | maybe the driver assumes edge triggered, but in OpenRISC it's level triggered? | 05:05 |
stekern | yes, that sounds plausible | 05:09 |
hansfbaier | stekern: reporting back: synthesized @50MHz with CACHE("DISABLED") | 05:12 |
hansfbaier | but still hangs | 05:12 |
hansfbaier | at barebox | 05:12 |
hansfbaier | barebox 2013.08.0-00167-g14ac2e4-dirty #8 Sat Aug 31 12:03:05 WIT 2013 | 05:12 |
hansfbaier | Board: or1k | 05:12 |
hansfbaier | <hang> | 05:12 |
hansfbaier | frequency adapted and recompiled | 05:12 |
stekern | with mor1kx? | 05:13 |
stekern | hansfbaier: with mor1kx? | 05:43 |
hansfbaier | no or1200 | 05:44 |
hansfbaier | what a shame ext3/4 have compile errors in the linux kernel | 05:45 |
hansfbaier | ntfs/vfat compile well | 05:45 |
hansfbaier | 1:0 for Microsoft | 05:45 |
hansfbaier | stekern: looks like missing includes | 05:45 |
hansfbaier | weird it is defined in the header and header included | 05:49 |
hansfbaier | grr | 05:49 |
hansfbaier | stekern: aaaah | 05:50 |
hansfbaier | go it | 05:50 |
hansfbaier | it uses test_bit_le | 05:50 |
hansfbaier | le = little endian | 05:50 |
hansfbaier | not defined in OpenRISC | 05:50 |
hansfbaier | => no compile | 05:51 |
hansfbaier | for ext2/3/4 | 05:51 |
hansfbaier | http://lxr.free-electrons.com/source/include/asm-generic/bitops/le.h#L52 | 05:53 |
hansfbaier | _franck_: Hi, barebox is really neat | 06:25 |
hansfbaier | I like it | 06:25 |
hansfbaier | better than grub | 06:25 |
-!- Netsplit *.net <-> *.split quits: poke53282, blueCmd, X-Scale, enghong | 07:11 | |
-!- Netsplit over, joins: poke53282 | 07:17 | |
-!- X-Scale` is now known as X-Scale | 07:38 | |
juliusb | olofk: I paid 74.02 GBP all up for my de0 nano from Farnell | 07:46 |
juliusb | stekern: as for hotels, let me do a little bit of research for you | 07:46 |
stekern | juliusb: appreciate it! | 07:59 |
stekern | I looked around a bit myself, but didn't find very much | 08:00 |
stekern | many seemed full-booked at those dates, which is a bit worrying and others had night rates at £300-£400, that's a bit pricey | 08:01 |
stekern | but maybe I was looking in all the right places | 08:02 |
stekern | s/was/wasn't | 08:02 |
stekern | juliusb: also, I will be arriving already on friday night, will you be available to show me around cambridge then or do I have to explore by myself? | 08:06 |
stekern | that's of course directed to any other early arrivers too | 08:07 |
juliusb | stekern: i'll be around! | 08:23 |
juliusb | yes I didn't see much available when I looked, but there's things like B&Bs which aren't on the usual hotel sites | 08:23 |
stekern | juliusb: yes, that's what I was thinking too | 08:45 |
juliusb | OK, strangely the Travelodge on Newmarket road (only a few months old) isn't showing up on kayak when I search | 08:45 |
juliusb | it's 50 pounds per night, and appears to have availability | 08:46 |
juliusb | it's about a 20 minute walk from the town center, but it's cheaper than the other hotels which are available | 08:46 |
juliusb | oh, actually, it's 50 pounds on Friday, then 86 on the Saturday night | 08:47 |
stekern | that sounds good | 08:47 |
juliusb | so 136 pounds all up, 160 euro | 08:47 |
stekern | (even with the 86 on saturday) | 08:47 |
juliusb | http://www.travelodge.co.uk/hotels/577/Cambridge-Newmarket-Road-hotel | 08:47 |
stekern | yup, already got there via google | 08:47 |
stekern | 20 minute walk, is that the same time measurement as in my phone? | 08:49 |
juliusb | actually, it's not in such a bad spot, 2 minut walk to the river, and most importantly, about <5 mins to some of the best pubs in town (and of course, I live in that area, too, about a 2 minut walk from that hotel) | 08:49 |
juliusb | haha,well it depends where you're walking to, maybe 25 minutes if you want to go tot he dead center of Cambridge | 08:49 |
juliusb | King's College or something | 08:49 |
stekern | it has to be for elderly people, yesterday it said 3.5 km would take 1 hour.... | 08:49 |
juliusb | ah yes, 25 minutes walk to King's college, according to google! I was about right | 08:50 |
juliusb | so yeah, that's a nice new hotel | 08:50 |
stekern | yup, sounds good | 08:50 |
stekern | olofk: are you reading this? | 08:51 |
juliusb | well, the only niceness would be ascribed to its newness hehe | 08:51 |
juliusb | I'll put this information on the wiki | 08:52 |
stekern | I don't need anything fancy, at least not when travelling alone and I'm paying for it ;) | 08:52 |
stekern | hmm, the common clock framework doesn't really work as I expected it to do | 08:56 |
stekern | why does something like fixed-clock need some board code registering it? | 08:56 |
stekern | at least that's how I understand how it works atm... | 08:57 |
stekern | this thread also backs my understanding and confusion: http://lkml.indiana.edu/hypermail/linux/kernel/1303.1/02302.html | 08:58 |
stekern | but it ends just when it started to get interesting... | 08:58 |
juliusb | stekern: there's also this http://www.kayak.co.uk/#/hotels/Arundel-House-Hotel,Cambridge,CAM,United-Kingdom-c17146-h80251/2013-10-04/2013-10-06 | 09:02 |
juliusb | that's a bit closer to town | 09:02 |
juliusb | and are quoting about 150GBP all up for 2 nights | 09:03 |
juliusb | Ok, documented | 09:07 |
stekern | ah, yes, that I actually found myself when I was looking | 09:10 |
stekern | hmm, multiple choices, you're making it hard... | 09:10 |
juliusb | hehe | 09:10 |
juliusb | the Travelodge is about 100 years newer I think hehe, but a bit further away and about 20 GBP cheaper | 09:10 |
stekern | wonder if the bedspreads are less ugly in the travelodge... | 09:11 |
juliusb | (closer to my place though, so more likely for me to drag you to pubs on the way home hehe) | 09:11 |
juliusb | Arundel is definitely a classic English hotel... :) | 09:11 |
stekern | hmm, the latter is a clear pro for the travelodge | 09:11 |
juliusb | I'd hope nothing there was Fawlty | 09:11 |
stekern | might be that on sunday it will turn out to be a con though ;) | 09:12 |
juliusb | haha, always | 09:12 |
stekern | ok, I booked a room at the travelodge now | 10:14 |
juliusb | cool! | 10:18 |
stekern | maybe I just have to prepare a patch for the common clock framework to have some way to automatically register a fixed clock | 10:55 |
stekern | this is what I'd like to do in the dts: http://pastie.org/8286016 | 10:58 |
stekern | and it make no sense at all for us to have any board code just to register that clock, since everything else we need can be described by the dts | 10:59 |
LoneTech | yes, that looks about right | 11:14 |
olofk | Hmm.. seems like travelodge is full now | 11:18 |
olofk | The rumours about the Finnish OpenRISC celebrity who will be staying there must have spread fast | 11:25 |
stekern | ah, no sorry, I always book hotels Obama-style | 11:30 |
stekern | LoneTech: were you commenting on my things, or something else? | 11:31 |
LoneTech | the dts fragment with the clock | 11:35 |
stekern | but don't worry olofk, I ordered the breakfast, and there was a "KIDS EAT FREE" bonus on it when ordering online, so perhaps if we pretend you're a kid, you might tag along on that ;) | 11:35 |
stekern | LoneTech: yeah, the fragment is correct, the problem is that there is no generic code in the kernel that register the "fixed-clock" (at least to my understanding) | 11:36 |
stekern | that's up to the board code to do | 11:36 |
stekern | and that's IMO a bit silly | 11:36 |
LoneTech | I agree | 11:53 |
LoneTech | ought to have one case for fixed clocks, and possibility of drivers for programmable ones | 11:54 |
stekern | so, I'm looking into what it'd take to make some generic code that would register it | 11:54 |
stekern | perhaps the best forward is to just create a clk-generic-fixed driver that does the boilerplate that all the boards do | 12:00 |
_franck_ | juliusb: is that better to be at 10:25 at Gatwick or 10:55 at Luton ? | 17:54 |
juliusb | _franck_: good question | 17:55 |
juliusb | Gatwick is much better connected by train, but is the wrong side of London. Luton is the right side of London for Cambridge, but you will have to get a bus. it's about 2 hours best case all up to get the train from Gatwick (train to Kings Cross St. Pancras and then train to Cambridge). The national express bus goes from Luton to Cambridge, but stops via Stansted and probably also takes 2 hours, but let me confirm that | 17:56 |
juliusb | on Saturday October 5, leaving Luton, there's only a bus at 11.20, arriving in Cambridge at 13:00, or a bus at 13:20, arriving at 15:00 | 17:58 |
juliusb | You definitely won't make that 11.20 one | 17:58 |
juliusb | The other option is a taxi to Hitchen station (about 20 pounds) and the train to Cambridge - they come twice an hour, at :22 past (taking 32 minutes) or :47 past the hour (taking 40 minutes) | 18:00 |
juliusb | so if you could get to Hitchin for the 11:47, you'd be in Cambridge by 12:30, or for the 12:22 you would be in Cambridge by 12:54 | 18:01 |
_franck_ | http://traintimes.org.uk/gatwick/cambridge/11:00/2013-10-05 | 18:02 |
_franck_ | the train from gatwick seems not so bad | 18:03 |
juliusb | For Gatwick, there's an 11.17 train to London St Pancras, getting in at 12:04, and then it's a 5 minute walk to King's Cross Station (they are really the same place but different names) and there's a 12:15 train to Cambridge, and you'll get in at 13:02 | 18:03 |
juliusb | ah, maybe that page says this | 18:03 |
_franck_ | yes, 10:57 or 11:17 | 18:04 |
juliusb | I think you could almost certainly make the change from St Pancras to King's Cross in 11 minutes | 18:04 |
juliusb | You'd be lucky to get the 10:57 if landing at 10:25 at Gatwick I think. I could be wrong, though. | 18:05 |
juliusb | I guess it is half an hour | 18:05 |
juliusb | RyanAir? | 18:05 |
_franck_ | I think it's easyjet | 18:05 |
juliusb | But yeah, Gatwick would be fine, too, but all in all you'll be arriving in Cambridge around 1PM either way. Getting to Gatwick is generally easier if you don't do the Hitchen-Taxi-To-Luton thing, which is also pretty easy | 18:06 |
juliusb | Otherwise Luton is a right pain from Cambridge. The bus takes forever and is expensive. | 18:06 |
_franck_ | yeah, I choose Gatwick | 18:07 |
juliusb | mmm, I don't like easyjet anymore. I flew with them to Haifa this week - we boarded and then left us in our seats for *4* hours while they fixed a technical problem and changed the flight crew | 18:07 |
juliusb | then the 5 hour flight to Tel Aviv! So 9 hours in an easyjet seat is enough for me for a while | 18:07 |
_franck_ | :) I don't like them neither but there is not so much other choices for me | 18:08 |
juliusb | yeah, it's like that usually | 18:11 |
juliusb | jeremybennett_: thanks for updating the schedule on the wiki, btw | 18:11 |
knz | hallo | 18:11 |
juliusb | knz: hi | 18:12 |
knz | I see discussions about travel/accommodation | 18:12 |
knz | ORCONF I assume | 18:12 |
knz | I have registered, would like to come too | 18:13 |
_franck_ | juliusb: I was oly looking at opodo for flights...I'm looking now at another one and found much better...I'll ask you some more later | 18:14 |
_franck_ | thanks anyway | 18:14 |
juliusb | kayak I usually use | 18:14 |
juliusb | knz: oh great! | 18:14 |
juliusb | the more the merrier | 18:15 |
knz | yeah | 18:15 |
juliusb | you've been hacking on some OpenRISC stuff? | 18:16 |
knz | "hacking stuff" is quite the generic phrase, isn't it :) | 18:17 |
knz | I am pushing openrisc to my students this year | 18:17 |
juliusb | very nice | 18:18 |
knz | and I may want to use one of the current core designs in my research | 18:18 |
knz | I'm just not sure which one, hence the need tot alk | 18:18 |
juliusb | I'm an OpenRISC pusher myself :) | 18:18 |
juliusb | oh, allow me to push mor1kx, then. | 18:18 |
juliusb | that's a good core that one | 18:18 |
knz | "good"? | 18:18 |
knz | my priorities are 1) small in area 2) modular sources | 18:19 |
juliusb | however in the interest of full disclosure, I'm the original author, but stekern has been honing it into a fine, Linux running, coremark thrashing machine, of late | 18:19 |
knz | good work | 18:20 |
juliusb | hah, I initially started the mor1kx for exactly those 2 things | 18:20 |
juliusb | exactly | 18:20 |
knz | that is a pleasant coincidence | 18:20 |
knz | how small is "small" in your case? | 18:21 |
knz | eg how many xilinx slices for the smallest configuration? | 18:21 |
juliusb | https://www.dropbox.com/s/vtwn4kx18kkexa8/presentation.pdf | 18:21 |
juliusb | see my presentation from last year | 18:21 |
juliusb | other links from the presentation are here: http://opencores.org/or1k/OpenRISC_Project_Meetings_Archive#Saturday | 18:21 |
juliusb | I have been esentially developing a version which is as small as possible | 18:22 |
juliusb | I'm part-way through a version which you just attach to a ROM and let her rip | 18:22 |
juliusb | intended for use in an ASIC | 18:22 |
juliusb | stekern has been getting all the attention though (I think he's addicted to celebrity to be honest) by making the cappuccino pipeline run Linux and generally kick ass | 18:23 |
knz | yes I have followed these discussions | 18:23 |
knz | 2.4-3.4k slices | 18:24 |
knz | that was what I was looking for | 18:24 |
juliusb | I can't tell you exactly how small it gets right now, but it's certainly smaller than the or1200 in its smallest configuration | 18:24 |
knz | k | 18:25 |
knz | 1023kgates @ 40nm is aboutum2 | 18:27 |
knz | woo | 18:27 |
knz | 24kgates @ 40nm is about 9um2 | 18:27 |
knz | thats what I meant | 18:27 |
knz | that's nicely small | 18:27 |
juliusb | indeed :) | 18:28 |
knz | if I show up at orconf with a de0 nano, any chance I could get some help setting up some openrisc cores on it? | 18:36 |
juliusb | see 5PM on Saturday in the schedule: http://opencores.org/or1k/OpenRISC_Project_Meeting#Schedule | 18:36 |
juliusb | also chiphack.org for some DIY | 18:37 |
knz | depending on my progress so far I'll be also interested to share some results from my research | 18:39 |
knz | (assuming interest) | 18:39 |
juliusb | what is it? | 18:39 |
knz | new micro-architecture | 18:43 |
knz | hardware multithreading and dataflow scheduling | 18:44 |
juliusb | cool | 18:44 |
juliusb | are you a PhD? | 18:44 |
knz | no | 18:44 |
knz | researcher | 18:44 |
juliusb | ok, nice | 18:44 |
knz | who's the most knowledgeable user of the de0 nano here? | 19:17 |
juliusb | what is your question? | 19:17 |
juliusb | we've all dabbled | 19:18 |
knz | I am looking for I/O options | 19:18 |
knz | the board itself is quite bare | 19:18 |
juliusb | there's all of those headers... | 19:18 |
knz | three of them | 19:18 |
knz | I'm looking for a LCD | 19:19 |
juliusb | OK. stekern is your man, I believe. He's been mentioning something about this a little while back | 19:19 |
knz | and some networking option, anything from UART to Ethernet | 19:19 |
knz | ok | 19:19 |
juliusb | you can search the irc logs at http://juliusbaxter.net/openrisc-irc/ | 19:19 |
juliusb | ah, Embecosm gave out nice little USB-UART boards at chiphack, it's likely they'll do the same at the ORCONF workshop if we ask nicely... | 19:20 |
knz | k | 19:20 |
poke53282 | One question. How much logical elements does the current implementation of opencore need? | 21:50 |
juliusb | poke53282: what do you mean by opencore? | 22:13 |
poke53282 | the FPGA implementation of OR1200 | 22:14 |
juliusb | ORPSoC, then? | 22:15 |
poke53282 | Yes | 22:15 |
juliusb | and by logical elements (LE) you mean implemented on an Altera FPGA? | 22:15 |
poke53282 | Yes, Altera for example | 22:16 |
poke53282 | So the DE0-Nano board has 22,320 logical elements. | 22:17 |
poke53282 | And I would like to know how much you currently need. | 22:19 |
juliusb | well, it really depends on what you have in the system (if you're talking about the whole ORPSoC) | 22:19 |
poke53282 | :) This was the expected answer. "It depends". Let's say I am talking about the whole ORPSoc. | 22:20 |
juliusb | I built this one, it was basic, on the DE0 nano: http://pastebin.com/QT71cN9Y | 22:22 |
juliusb | some version of the mor1kx, though, pronto espresso pipeline, not or1200 | 22:22 |
juliusb | so that's 34% of total LEs | 22:23 |
juliusb | but i imagine you could blow it out to maybe 50% with a bigger CPU that could run Linux | 22:23 |
poke53282 | So this one has no MMU and no cache? | 22:24 |
juliusb | basically, yes | 22:24 |
_franck_ | juliusb: I'll be at Gatwick at 8:00, that's much better ;) Flight booked | 22:30 |
juliusb | oh nice one :) | 22:35 |
juliusb | sounds like an early start, though :0/ | 22:35 |
poke53282 | I am just curious. Don't have any experience in FPGA programming. What repositories do I need to be able to run Linux on it? The toolchain stuff and kernel sources excluded. | 22:57 |
hno | poke53281, the orpsocv2 I built most recently for ordb2a (same FPGA, differend board) had ; Total logic elements ; 18,160 / 22,320 ( 81 % ) | 23:04 |
hno | that's orpsocv2, or1200, and a bunch of peripherals. | 23:05 |
hno | full fitter summary at http://ur1.ca/fbenx | 23:06 |
poke53282 | Thanks, so the limit of the smallest FPGA chips is almost reached. | 23:08 |
poke53282 | Is there some compatible FPGA emulator to try orpsoc? | 23:11 |
hno | well, as juliusb said it depends a bit on what you need. There is no such thing as "the orpsoc". This one is fairly bloated in features with sdcard, ethernet, spi, i2c, mmu, caches, and a bit more. | 23:11 |
hno | poke53282, you can either emulate the FPGA using suitable verilog tools (including Altera modelsim), or emulate the or1200 if you are more into Linux than the FPGA. | 23:13 |
hno | openrisc emulation is available in qemu and also in or1ksim. | 23:14 |
hno | emulating the full FPGA is very very slow. | 23:15 |
poke53282 | I am interested in learning a little bit how FPGAs work. The emulation on the machine language level I know already pretty well. | 23:15 |
poke53282 | And then I am interested in buying one. But probably a little bit better than the de0-nano or the sold out ORPSoc board. | 23:22 |
hno | it's a pretty steep price increase in getting dev boards with somewhat larger FPGAs. | 23:34 |
poke53282 | Yes I have seen it. Up to $20000 | 23:40 |
poke53282 | http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=165&No=816 | 23:40 |
poke53282 | This one would be in my budget | 23:40 |
poke53282 | For some reason they put an ARM CPU in the chip. Not really useful if you plan anyhow to build a whole SOC with an FPGA. | 23:43 |
--- Log closed Sun Sep 01 00:00:36 2013 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!