--- Log opened Wed Sep 25 00:00:11 2013 | ||
stekern | poke53281: I should pick up that ball again | 02:22 |
---|---|---|
stekern | but, in the end, the kernel changes became a lot larger than the initial version. | 02:23 |
poke53281 | Larger than the ones you have presented on the mailing list? | 02:25 |
stekern | I ended up reworking the pte layout | 02:25 |
poke53281 | Yes, I know | 02:26 |
stekern | I have pushed the WIP to a pte-rework-wip branch on my linux repo at openrisc.net | 02:29 |
stekern | there are a couple of preparing patches that I sent to ML that haven't been merged nor commented on | 02:31 |
poke53281 | I know | 02:31 |
poke53281 | searched for replies but could not find any | 02:32 |
poke53281 | By the way. Would be nice to have the official linux repository on github. Today I realized again that the cloning takes 3-4 hours. | 02:35 |
stekern | the official linux repository is kernel.org | 02:35 |
poke53281 | not official. Our dev repository. | 02:36 |
poke53281 | basically the jonas/linux repository. | 02:36 |
poke53281 | Would be nice to have everything in one place. | 02:39 |
stekern | ah, well. that's up to jonas, but there's some ties into the mainline kernel from that repo (I think next fetches automatically from one of the branches) | 02:40 |
stekern | besides, how often do you need to clone? | 02:40 |
poke53281 | Everytime I want to start from scratch to test if my toolchain scripts are working properly. | 02:41 |
stekern | ok, fair enough, that's a good reason to redo the clone ;) | 02:42 |
stekern | perhaps the only good reason | 02:42 |
poke53281 | And because of some bad habit I tend to switch between three computers. So I had to clone three times during the last couple of months. | 02:43 |
stekern | but why is that so slow for you? IIRC when I fetch from openrisc.net it maxes out my internet connection | 02:44 |
poke53281 | Don't know. I am here at a university. So the connection should be fast. | 02:45 |
stekern | I'm of course geographically closer | 02:45 |
poke53281 | Applying the deltas takes also one hour or so. | 02:45 |
stekern | yeah, well, cloning the kernel from *any* repo takes time | 02:46 |
poke53281 | I am still not familiar how this is actually done for the kernel. Especially when do they delete the commit history. At the moment I have 400247 commits. This is crazy for my small little computer. Do they start from Linux 0.01 and then applying patches? | 02:53 |
poke53281 | There should be a way to tell the system: Hey, this commit should be my new basis and please delete the commit history before. | 02:54 |
stekern | they don't delete the history | 03:12 |
stekern | but it doesn't start from the beginning of time, only from when they switched over to git I think | 03:12 |
stekern | there are repos which have reproduced the entire history though | 03:13 |
stekern | if we are going to complain about git, let's complain about the cherry-pick command | 03:17 |
stekern | why do you have to specify the commit *before* the commit you want to cherry-pick when you do ranges? | 03:17 |
stekern | it doesn't make sense | 03:18 |
hansfbaier | stekern: FedEx = company from hell | 05:13 |
hansfbaier | The SocKit arrived | 05:13 |
hansfbaier | additional to the $29 they now want another $100 for customs and their "customs clearance service". | 05:13 |
hansfbaier | They even didn't want to give me the original Customs receipts. Only after I threatened them to report them to the Indonesian Anti-Corruption Authority | 05:14 |
hansfbaier | Which I will do anyway. | 05:14 |
stekern | fedex usually asks if you want to handle that yourself | 05:14 |
stekern | ups don't | 05:14 |
hansfbaier | stekern: no they didn't | 05:14 |
hansfbaier | they said my $250 order was to small | 05:14 |
hansfbaier | stekern: Also the customs fee was miscalculated | 05:15 |
hansfbaier | two errors | 05:15 |
stekern | yeah, I said "usually" | 05:15 |
hansfbaier | stekern: never experienced something like this with China Post (free shipping/$2/$5), Hong Kong Post ($7), Singapore Post, Deutsche Post or USPS> | 05:16 |
hansfbaier | Arrow just said I can't. They were utterly unhelpful. | 05:16 |
hansfbaier | stekern: But never mind. I'll kick ass. This starts getting fun.... | 05:16 |
stekern | hansfbaier: http://juliusbaxter.net/openrisc-irc/%23openrisc.2013-09-24.log.html#t12:22 | 05:17 |
hansfbaier | ? | 05:17 |
stekern | nothing related to this customs discussion ;) | 05:17 |
hansfbaier | Hey cool an ASIC! | 05:18 |
stekern | ah... but there was several lines on 12:22, so it took the first one | 05:18 |
stekern | I was thinking about jonibo's comment about LANGUAGE | 05:19 |
hansfbaier | stekern: http://pastebin.com/bj6PNbrE | 05:20 |
hansfbaier | stekern: I finally managed to tx packages. They never seem to arrive/return, but the enc28j60 tended to lose the TX interrupts. | 05:20 |
hansfbaier | An when I made the Interrupts a bit wider, the tx seems to see some of them now. | 05:22 |
hansfbaier | stekern: Just wanted to report. Don't worry much about it. | 05:22 |
hansfbaier | stekern: I'll probably replace the enc28j60 with an W5100 | 05:22 |
hansfbaier | stekern: and use the enc on arduino | 05:22 |
hansfbaier | stekern: ah thanks that link was very helpful | 05:23 |
hansfbaier | stekern: I have a testbench too for the thingy | 05:24 |
stekern | nice | 05:24 |
stekern | general verilog hint, use verilog2001 module port declarations | 05:27 |
hansfbaier | stekern: Ah yes. | 05:30 |
hansfbaier | stekern: I used it because Emacs' verilog mode did it automagically | 05:30 |
hansfbaier | stekern: Is that coding guideline for openrisc? I would have done it if I did everything manually. | 05:31 |
hansfbaier | stekern: maybe while development then convert to 2001 if it's done. | 05:31 |
hansfbaier | http://www.aliexpress.com/wholesale?SearchText=allwinner+a10&catId=0&initiative_id=SB_20130924213007 | 05:31 |
hansfbaier | ^^ Hey cool | 05:31 |
hansfbaier | does that mean all those cute tablets use OpenRisc? | 05:32 |
hansfbaier | I ought to get one of those :) | 05:32 |
hansfbaier | No wait here they say it's ARM. Hmmmm. | 05:33 |
hansfbaier | http://www.aliexpress.com/item/cubieboard-1GB-ARM-Cortex-A8-Allwinner-A10-luxury-package-including-accessory-free-shipping/731449083.html | 05:33 |
stekern | hansfbaier: with verilog2001 declarations emacs doesn't have to do anything automatically, since there are no redundancy | 05:33 |
hansfbaier | stekern: I mean that's what the verilog mode does if using AUTOARGS | 05:34 |
stekern | no, the allwinner a10 doesn't have an or1200 onboard, only a31 | 05:34 |
hansfbaier | stekern: Ah I see | 05:34 |
hansfbaier | stekern: I see | 05:34 |
stekern | yes, but AUTOARGS is completely redundant, if you use verilog2001 declarations | 05:35 |
stekern | get me right, I love the AUTO-features, but if you can do without them I prefer that | 05:35 |
stekern | hansfbaier: I ahve one of these: http://www.onda-tablet.com/onda-v971s-quad-core-android-4-2-tablet-pc-dual-camera-wifi-hdmi-16gb.html | 05:36 |
stekern | that has an or1200 onboard | 05:37 |
stekern | just to make clear, the or1200 isn't running android on them, there is a quad core cortex a7 for that ;) | 05:39 |
powermaniac | Dare I say I'm back to take another stab at this | 06:31 |
stekern | wb powermaniac | 06:33 |
powermaniac | Okay so where was I before I think it was step two from here under # Build gcc: http://opencores.org/or1k/OpenRISC_GNU_tool_chain#Newlib_toolchain_.28or1k-elf.29 | 06:43 |
powermaniac | Which was giving me an error | 06:43 |
powermaniac | Expecting ams to come and tell me I need to read all of it to work out the problem. Problem with that is reading something you don't understand doesn't generally help much... | 06:43 |
powermaniac | Want me to dig up the errors again? | 06:46 |
powermaniac | If it's not too much of a hassle that is | 06:48 |
stekern | sure | 06:48 |
powermaniac | Stekern: Here is the total paste of the # Build gcc up till the error: http://encryptico.net/?342cb323e9c3a843#frOOBQR34URC600CZobLLbMDPsuXs5XqxaXTf/JrnCI= | 06:54 |
powermaniac | Stekern: Want me to also paste the compile.log? | 06:55 |
hansfbaier | powermaniac: I have given up on it again. Not that I could If I really wanted. But since or32- does everything I need at the moment (except building C apps for bare metal), I really can't affort to put the time into it. | 07:00 |
powermaniac | hansfbaier: What is or32? | 07:01 |
stekern | powermaniac: it's the old toolchain | 07:01 |
stekern | hansfbaier: you can build C apps for bare metal with that too | 07:02 |
powermaniac | Oh okay, is that simpler to setup or something? | 07:02 |
stekern | powermaniac: but the reason you started with the toolchain build was that orpsoc depends on the or1k-elf- toolchain | 07:03 |
powermaniac | Ahh okay fair enough | 07:03 |
hansfbaier | powermaniac: the or32-toolchain. I used this guide: http://kevinmehall.net/openrisc/guide/ | 07:03 |
hansfbaier | powermaniac: worked for me like a charm | 07:03 |
hansfbaier | stekern: But I need newlib, don't I? | 07:03 |
hansfbaier | stekern: Otherwise the linker would complain about missing startup code etc. etc. | 07:04 |
hansfbaier | stekern: I didn't put a lot of time and effort in it since my main goal in using openrisc is learning about linux and linux drivers inside out. | 07:06 |
hansfbaier | stekern: When I get the SocKit and some time I'd like to write a char and network driver which communicates between ARM/openrisc | 07:06 |
hansfbaier | stekern: Something like that would be fun. | 07:07 |
stekern | hansfbaier: ah, you mean the or32-linux toolchain | 07:07 |
hansfbaier | My main purpose for now is to learn about the linux kernel. Writing drivers etc. etc. | 07:07 |
hansfbaier | stekern: yes, or32-linux | 07:07 |
stekern | powermaniac: yes, post the config.log again | 07:07 |
stekern | hansfbaier: yeah, openrisc is good for that, there's a lot to be done and since the hardware is open source it's a lot easier to get the whole picture | 07:09 |
stekern | I have the same motivation | 07:09 |
hansfbaier | stekern: Another nice thing would be to identify any small issue in that same direction | 07:09 |
hansfbaier | stekern: where I could contribute | 07:09 |
hansfbaier | stekern: but easy enough for me to get started | 07:10 |
hansfbaier | stekern: ATM I am playing with the scull/snull drivers from ldd3 | 07:10 |
hansfbaier | stekern: maybe implement the hardware bitops to make ext2/3 run ;) | 07:10 |
stekern | that's the right approach for any open source project, start playing with it in a corner area and soon you'll notice how broken everything is and you're hooked | 07:11 |
hansfbaier | stekern: If it's too broken I might get discouraged though | 07:11 |
stekern | people that come and ask "I want to contribute, what can I do" is usually not fit as contributors | 07:12 |
hansfbaier | stekern: I put a couple of man months into ardour, but that's essentially more or less a one man show around | 07:12 |
hansfbaier | the founder who tries to make a living of it | 07:12 |
hansfbaier | so semi commercial | 07:12 |
powermaniac | Stekern: Okay here is the config.log: http://encryptico.net/?279f03231944d076#sWP+Ii6WSwDQnRgFhuAkd+OlEob0zl9r8CeAhBelK5E= | 07:12 |
hansfbaier | never experienced a community as awesome as here @ openrisc | 07:12 |
hansfbaier | great community spirit here | 07:13 |
hansfbaier | stekern: Yes, I'll be more self reliant. Will try. | 07:14 |
stekern | hansfbaier: (discouraged) yeah, hopefully our stuff is not *that* broken (and I believe it isn't) | 07:14 |
hansfbaier | stekern: still need some ramp up time. | 07:14 |
stekern | hansfbaier: I wasn't implying you were one of them asking for TODO lists ;) | 07:15 |
powermaniac | hansfbaier: How did you learn to well work with this? As I'm reading Digital Design 5th edition by Morris Mano but ahven't gotten to the parts yet where I will understand enough to help contribute. | 07:15 |
hansfbaier | powermaniac: Well I followed Kevin's guide | 07:16 |
powermaniac | hansfbaier: But do you ahve any past programming experience or anything as well that helps you make sense of everything? | 07:16 |
hansfbaier | powermaniac: And I got a lot of handholding from stekern and _franck_ to make it run on my little EP4CE10 board | 07:16 |
hansfbaier | powermaniac: Yes, I am into Linux since 1995 and work as a software developer since 2005 | 07:17 |
powermaniac | hansbaier: Ahh okay that makes more sense | 07:17 |
powermaniac | I've sort of jumped in the deep end | 07:17 |
ams | powermaniac: www.update.uu.se/~ams/adm/openrisc/or1k-elf/build.sh | 07:17 |
powermaniac | My initial goal was to make a computer as open source as possible but still usable as a computer | 07:17 |
ams | works for me | 07:17 |
hansfbaier | powermaniac: I also wrote a bunch of books about Linux :) | 07:18 |
hansfbaier | http://www.amazon.de/s/ref=nb_sb_noss?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&url=search-alias%3Daps&field-keywords=hans%20baier%20gabriel%20lobstein | 07:18 |
_franck_ | hansfbaier: awesome | 07:19 |
hansfbaier | But the books are sysadmin | 07:19 |
powermaniac | hansfbaier: You've written books O_O | 07:20 |
hansfbaier | _franck_: the fun part is they are published by redmonds which is ex-microsoft press in Austria | 07:20 |
_franck_ | I'm waiting for a guide for openrisc beginners | 07:20 |
hansfbaier | haha | 07:20 |
ams | _franck_: what would it be about? | 07:20 |
_franck_ | don't know ;) | 07:20 |
ams | haha | 07:20 |
stekern | how to find the scroll in Tibet | 07:21 |
hansfbaier | _franck_: the kevin mehall guide is awesome | 07:21 |
hansfbaier | _franck_: need something like that for the new toolchain. | 07:22 |
hansfbaier | but not now. Have paid work to do | 07:22 |
_franck_ | yes it is good. The most dificult thing is to get things up to date | 07:22 |
hansfbaier | _franck_: Yes, that's a drag, I can tell. Writing new stuff is fun, but maintaining old stuff sucks | 07:22 |
ams | i fail to see why you guys make the tool chain setup so complicated ... | 07:23 |
hansfbaier | _franck_: kevins guide still works though | 07:23 |
stekern | I think the or1k- toolchain recipe is fine, not my fault that your setups are broken ;) | 07:23 |
ams | stekern: could be simplified | 07:24 |
ams | but yeah, it is the typical version people do .. | 07:24 |
hansfbaier | stekern: I use Ubuntu 12.10. But quite a 'dirty' system with a ton of stuff on it | 07:26 |
hansfbaier | sorry 12.04 | 07:26 |
hansfbaier | not 12.10 | 07:26 |
stekern | I've built it on 12.04 | 07:27 |
hansfbaier | stekern: the weird thing is when I configure with no libgui and then make it seems to do a lot of configuring again | 07:29 |
hansfbaier | need to look into it | 07:30 |
stekern | yeah, it always reconfigure the subdirs | 07:30 |
ams | hansfbaier: are you building or1k-elf? | 07:30 |
ams | hansfbaier: (and as for configures behaviour there, that is correct behaviour) | 07:30 |
stekern | powermaniac: that's not the same config.log as you pasted yesterday, is it? | 07:31 |
powermaniac | Err I think so? | 07:31 |
powermaniac | I'm redoing everything anyway | 07:32 |
powermaniac | Re-cloning the github repo etc. and going through it all again | 07:32 |
powermaniac | To make sure everything is definitely working up to # Build gcc | 07:32 |
ams | powermaniac: are you compiling or1k-elr? | 07:32 |
olofk | I already miss my static IP :( | 07:34 |
stekern | powermaniac: did you try deleting bld-or1k-gcc before running configure? | 07:34 |
stekern | olofk: static IP is the best, I never seem to remember mine though | 07:34 |
powermaniac | stekern: No actually I hadn't, it's all gone now though | 07:35 |
stekern | ok, let's see how it goes now then | 07:35 |
powermaniac | ams: Yeah I'm compiling or1k-elf | 07:35 |
ams | powermaniac: you have to delete it, and bld-or1k-src | 07:35 |
ams | powermaniac: www.update.uu.se/~ams/adm/openrisc/or1k-elf/build.sh | 07:35 |
ams | try that | 07:35 |
powermaniac | What just copy paste it or? | 07:36 |
powermaniac | I'm assuming not | 07:36 |
powermaniac | And I need to change a couple things specific to my machine | 07:36 |
ams | no, plop it in a script | 07:36 |
ams | and run it in a shell where you log output | 07:37 |
ams | like what? | 07:37 |
ams | nothing in that script is specific to anything other than one variable | 07:37 |
powermaniac | ams: Change the locations of or1k-src/configure ? | 07:37 |
powermaniac | ams: And change the location of d=$HOME/adm/openrisc/or1k-elf-inst ? | 07:38 |
ams | why? | 07:39 |
ams | 09:37 <ams> nothing in that script is specific to anything other than one variable | 07:39 |
powermaniac | Oh okay | 07:39 |
ams | and put the source for or1k-src in the same directory as the script | 07:39 |
ams | and or1k-gcc | 07:39 |
powermaniac | Thought I would need to change adm to powermaniac as that is my admin account | 07:40 |
ams | change it to /tmp/foo | 07:40 |
ams | there is exactly one thing you need to change: d | 07:41 |
hansfbaier | ams: OK running the script | 07:41 |
* hansfbaier knocks on wood | 07:41 | |
hansfbaier | ams: One thing might have been that the Makefiles are note suitable for parallel builds | 07:41 |
ams | it is exactly the same silly instructions as on the wiki | 07:41 |
hansfbaier | I usually did make -j12 | 07:42 |
ams | hansfbaier: they are, if you know what you are doing. | 07:42 |
hansfbaier | ams: sometimes there was an error but just typing make again made it go round | 07:42 |
hansfbaier | weird | 07:42 |
hansfbaier | until I ran into the libgui issue | 07:42 |
hansfbaier | ams: I used this: http://pastebin.com/FcZY7EWj | 07:44 |
hansfbaier | ams: or32-... build and installs fine but the first or1k- doesn't | 07:46 |
hansfbaier | let's see how things go now. | 07:46 |
ams | you never clean out the build dir | 07:46 |
ams | you MUST clean out the build directory | 07:46 |
hansfbaier | ams but that's not in the wiki then? I just copied the instructions from there? | 07:49 |
hansfbaier | ams: forgot the URL now.... | 07:49 |
hansfbaier | ams: let me search..... | 07:49 |
hansfbaier | it's in the community portal somewhere | 07:49 |
hansfbaier | ?? | 07:50 |
hansfbaier | ah got it in my browser history | 07:50 |
ams | update it :-) | 07:51 |
hansfbaier | ams: mom | 07:53 |
hansfbaier | ams: done | 07:56 |
hansfbaier | ams: Wasn't aware it's really a wiki ;) | 07:56 |
powermaniac | Well that is weird my wifi adapter just turned itself off | 07:57 |
hansfbaier | Nice new FPGA-project idea: OpenPRISM. PRISM for everyone. | 07:58 |
powermaniac | OpenPRISM like Prism-break.org? | 08:00 |
hansfbaier | powermaniac: thanks for the link | 08:01 |
hansfbaier | No I think of something like I nice GBit -Ethernet interception filter | 08:01 |
hansfbaier | Nice project for SocKit ;) | 08:01 |
powermaniac | Ahh okay | 08:01 |
hansfbaier | s/I nice/a nice/ | 08:01 |
hansfbaier | powermaniac: Open FPGA encryption entropy crackers har har har | 08:02 |
hansfbaier | let's join the party | 08:02 |
hansfbaier | and spy out the goverments | 08:02 |
hansfbaier | In this post democratic time where governments convert into traitors of their people | 08:03 |
hansfbaier | that sustain them | 08:03 |
powermaniac | Sounds like an interesting idea, although I'm not sure if your serious | 08:04 |
powermaniac | Really all you need to do is somehow get control of Google then all the information in the world basically | 08:04 |
powermaniac | is yours* | 08:05 |
hansfbaier | ams: http://pastebin.com/MFTpkKQc | 08:14 |
hansfbaier | still fails at the same place | 08:14 |
hansfbaier | super weird | 08:14 |
hansfbaier | compiler versions??? | 08:14 |
hansfbaier | automake versions? | 08:14 |
hansfbaier | powermaniac: Not that serious though, You need to put the hardware somewhere | 08:15 |
powermaniac | hansfbaier: And pay for it... | 08:15 |
hansfbaier | powermaniac: But using a FPGA for real time multi GBit-Encryption is kind of fun | 08:16 |
hansfbaier | ams: The only thing I changed in your script is d | 08:17 |
ams | hansfbaier: humpty dumpty | 08:18 |
stekern | hansfbaier: actually I think juliusb had that error too now when I start to think about it... | 08:18 |
* ams doesn't think that hansfbaier did run his script. | 08:19 | |
ams | mostly since i had +x ... so make should be + make .... | 08:19 |
ams | and the fist thing make does for src is build intl ... | 08:19 |
hansfbaier | $ history | grep alt-build | 08:19 |
hansfbaier | 506 cat > alt-build-script.sh | 08:19 |
hansfbaier | 507 gedit alt-build-script.sh | 08:19 |
hansfbaier | 510 chmod 755 alt-build-script.sh | 08:19 |
hansfbaier | 511 ./alt-build-script.sh | 08:19 |
ams | hansfbaier: can you pipe everything into a file? | 08:20 |
ams | sh build.sh > log 2>&1 & | 08:20 |
ams | tail -f log | 08:20 |
ams | and dump the log when youa re done | 08:20 |
ams | sorry, i am paranoid ... pebkac has wasted many of my hours :-) | 08:20 |
hansfbaier | ams: ok running once more, cleaned out $d beforehand | 08:21 |
hansfbaier | ams: who is pebkac? | 08:22 |
ams | problem exists between keyboard and computer | 08:22 |
ams | s/computer/console/ if you are old like me. | 08:22 |
powermaniac | Quick question (hopefully): How would I run that script of ams's anyway? | 08:38 |
powermaniac | As I've no real experience with coding either...=\ | 08:38 |
powermaniac | Especially on Linux | 08:38 |
stekern | wget http://www.update.uu.se/~ams/adm/openrisc/or1k-elf/build.sh && chmod +x build.sh && ./build.sh | 08:40 |
powermaniac | Oh okay thanks stekern | 08:40 |
jonibo | sterken: alright, good... those mails are a bit annoying... should really let fengguang know not to test master branch because we do keep a bit of cruft there | 08:41 |
jonibo | it might be good, if nothing else, just to put an CONFIG_OPENRISC dependency on the driver until you're ready to upstream it | 08:42 |
jonibo | ...that'll prevent the build warnings against x86... but a lot of the warnings are cosmetic, anyway, so it's not strictly necessary | 08:42 |
jonibo | anyway, all good... fenguang's sent out about 10 emails to various people RE: patches that don't apply cleanly, even though it's not stuff we're really considering for upstream at all | 08:43 |
stekern | jonibo: I personally don't mind the mails, they might point out something useful | 08:45 |
jonibo | ok... we'll let them keep coming then! :) | 08:46 |
jonibo | poke53281: git history is _never_ deleted from kernel... and, yes, you need a reasonably powerful machine to work with the kernel as it's a big project... less than 6GB really doesn't cut it if you want to use "git grep" and friends... but that's a concious decision that's been made by that community because "storage and memory are cheap" | 08:47 |
hansfbaier | ams: https://dl.dropboxusercontent.com/u/3377727/log | 08:48 |
jonibo | poke53281: as for the slow checkout from openrisc.net... don't know... it's on a 1Gb/s uplink so it should max out pretty much whatever connection you're on... unless all the (chinese manufacturer I can't name) developers happen to all be pulling at the same time, which might happen! :) | 08:48 |
jonibo | poke53281: but if you want to try a different route, pull the regular upstream kernel from kernel.org and then add the openrisc.net repo as a remote afterwards and fetch just the difference... might be faster for you | 08:49 |
jonibo | and, no, I don't want the kernel on github, for a variety of reasons... | 08:49 |
jonibo | for clarity: | 08:51 |
jonibo | git clone <upstream kernel from kernel.org> | 08:51 |
jonibo | git remote add openrisc <openrisc git URL> | 08:51 |
jonibo | git fetch openrisc | 08:51 |
jonibo | git checkout openrisc/master | 08:51 |
jonibo | something like that | 08:51 |
jonibo | hope that helps | 08:51 |
hansfbaier | powermaniac: you might want to change the variable d first (destination dir) | 08:53 |
hansfbaier | where it says d=<directory> | 08:53 |
powermaniac | hansfbaier: Just doing the manual way from the wiki, as the wget didn't work | 08:53 |
powermaniac | This time though it appears to be working! | 08:54 |
olofk | hansbaifer: Hey, I just noticed you said you've been working on Ardour. That's cool. I'm just about to set up a proper Ardour-based studio in my new house | 08:54 |
powermaniac | 1st step worked flawlessly, onto the second step waiting for the result | 08:54 |
hansfbaier | powermaniac: Yes I updated the wiki to reflect what the script does | 08:54 |
hansfbaier | olofk: Oh nice | 08:54 |
hansfbaier | I wrote the MIDI clock slave | 08:54 |
hansfbaier | And the MIDI channel selectors | 08:54 |
hansfbaier | and some other stuff | 08:55 |
hansfbaier | olofk: I am currently inactive, since I can't use ardour due to unsuitable rooms for recording (too small) | 08:55 |
powermaniac | What exactly is Ardour? | 08:55 |
hansfbaier | olofk: So I use my spare time to practise my horn | 08:55 |
hansfbaier | powermaniac: www.ardour.org | 08:55 |
powermaniac | Ohhh | 08:56 |
olofk | hansbaifer: I've been having that problems for the last seven years, but _finally_ I can bring home my amplifiers and stuff | 08:56 |
hansfbaier | olofk: I contributed to calf as well (filterclavier, draggable filter graphs) | 08:56 |
powermaniac | olofk: What because you moved? | 08:56 |
olofk | powermaniac: Yes | 08:56 |
powermaniac | hansbaier: Looks like a more complicated Audacity although I assume it is far more then what Audacity is | 08:57 |
olofk | powermaniac: You have contributed some good insights in the current shortcomings of orpsocv3 | 08:57 |
powermaniac | olofk: I have? Yay I accomplished something! | 08:57 |
olofk | The only thing that uses the toolchain in orpsocv3 is the elf to bin converter. I really should try to rip that out and do it as a VPI module instead | 08:58 |
powermaniac | So are you guys in the IRC the main team working on ORPSoCv3? | 08:58 |
olofk | My idea is to have a small C utility that can be used in a VPI wrapper for Icarus and modelsim, or in a C++ wrapper for verilator | 08:59 |
powermaniac | STEP 2 WORKED! | 08:59 |
powermaniac | YEAHHH | 08:59 |
hansfbaier | powermaniac: nice to hear you are making progress | 08:59 |
powermaniac | olofk: Not sure what exactly all that means but it sounds good. Ha. | 09:02 |
olofk | _franck_: I probably won't have time to look closely at your programming patch for orpsoc for a few more days. Just so that you know | 09:03 |
powermaniac | Oh no, step 3 do I need to delete bld-or1k-src before doing the code below? | 09:03 |
powermaniac | Step # build newlib and gdb (without or1ksim in this case) | 09:04 |
powermaniac | Step 3* | 09:04 |
powermaniac | http://opencores.org/or1k/OpenRISC_GNU_tool_chain#Newlib_toolchain_.28or1k-elf.29 | 09:06 |
powermaniac | *fingers crossed* it works anyway and overwrites the folder before if needed... | 09:07 |
stekern | seems an interest for music creation and openrisc is a common factor... | 09:11 |
powermaniac | So after the toolchain is finished what do I do? | 09:14 |
powermaniac | LOL I asked a Terasic Technical Support employee how she got into her field of work | 09:17 |
powermaniac | After asking other relevant questions | 09:17 |
powermaniac | She didn't reply =( haha | 09:17 |
powermaniac | Well she didn't reply to that particular question anyway | 09:18 |
hansfbaier | stekern: what do you play? | 09:18 |
powermaniac | Okay the toolchain is completely finished, so what do I do now? | 09:19 |
stekern | hansfbaier: computer ;) | 09:20 |
stekern | hansfbaier: more seriously, I've dabbled with electronic music | 09:21 |
stekern | even built a FPGA based synth before I started playing with openrisc | 09:21 |
stekern | http://electro-music.com/forum/topic-43432-0.html | 09:22 |
hansfbaier | stekern: cool. I play the alto saxophone. That is my most advanced music skill. A bit of piano too. | 09:22 |
hansfbaier | stekern: c176c3826d7655257d0249bed4d1d5791963778c | 09:22 |
hansfbaier | stekern: This is where my or1k-src is at | 09:22 |
hansfbaier | stekern: could this be an issue? | 09:22 |
hansfbaier | stekern: Here is the build log: https://dl.dropboxusercontent.com/u/3377727/log | 09:23 |
hansfbaier | (complete stdout and stderr) | 09:23 |
stekern | I've got my entire collection of creations here: http://oompa.chokladfabriken.org/whizkid/ | 09:23 |
stekern | some date back as far as '96 and everything is of various quality, in the range from terrible to almost bearable ;) | 09:24 |
stekern | hansfbaier: that should be fine, the only commit after that is updating a README | 09:28 |
hansfbaier | stekern: sounds interesting | 09:29 |
hansfbaier | stekern: I am a more acoustic type of musician. I enjoy the interaction live on stage. | 09:30 |
hansfbaier | https://dl.dropboxusercontent.com/u/3377727/BlueMoonMastered.ogg | 09:32 |
hansfbaier | pretty old but ok | 09:33 |
hansfbaier | 2007 | 09:33 |
stekern | sounds good | 09:35 |
hansfbaier | I play the sax | 09:36 |
hansfbaier | (ah mentioned it already) | 09:36 |
stekern | yup, got that ;) | 09:36 |
hansfbaier | Gotta practice :) | 09:37 |
hansfbaier | see you around... | 09:38 |
juliusb | must recommend this for anyone wishing to draw waveform diagrams: https://code.google.com/p/wavedrom/ | 09:38 |
juliusb | i'm inspired to document some of the mor1kx interfaces now | 09:39 |
olofk | juliusb: Oh my god! Don't write documentation! We don't want anything like that in the OpenRISC project! | 09:48 |
powermaniac | Can anyone tell me what I do after I've installed the toolchain? | 09:51 |
juliusb | Oh, whoops, yes I forgot that's one of our central tenets | 09:51 |
powermaniac | ? | 09:51 |
powermaniac | Oh, right. | 09:52 |
juliusb | powermaniac: world domination! | 09:52 |
olofk | juliusb: wavedrom looks nice! I tried to use some other tool for that, but it just rendered in weird formats and was a hassle to use | 09:54 |
juliusb | it's awesome. I've just been using it in a professional capacity | 09:54 |
stekern | powermaniac: you wanted to try out orpsoc simulation simulation | 09:57 |
stekern | -simulation | 09:57 |
powermaniac | stekern: Yes I did so what is the next step to get there? | 09:59 |
stekern | don't you take notes? ;) | 10:01 |
stekern | orpsoc sim or1200-generic --or1k-elf-load /path/to/uart-simple.elf | 10:02 |
stekern | was the command you tried to run last | 10:02 |
powermaniac | It's all on my Windows boot so yeah =\ | 10:02 |
stekern | no, you booted to linux before starting with orpsoc | 10:02 |
powermaniac | Do I need to be in a certain directory for that? | 10:03 |
stekern | or perhaps you meant your notes? =) | 10:03 |
stekern | you should be in the build-orpsoc directory | 10:03 |
stekern | or 'build' I obviously told you to name it | 10:04 |
powermaniac | Hmm | 10:04 |
powermaniac | http://encryptico.net/ | 10:05 |
powermaniac | Woops wrong link | 10:05 |
powermaniac | http://encryptico.net/?6d59b866825dcd90#p3/B6ODMwGksWLFlxl/HnPnXe1YLFVr+ucpzzg98E00= | 10:05 |
powermaniac | Weird don't think Hexchat has saved back that far to when you mentioned: orpsoc sim or1200-generic --or1k-elf-load /path/to/uart-simple.elf | 10:07 |
powermaniac | So yeah new error ^ | 10:07 |
stekern | olofk: ^ | 10:08 |
powermaniac | LOL | 10:08 |
olofk | :) | 10:09 |
olofk | powermaniac: Maybe you don't have or1k-elf-objcopy in your path. Try to run or1k-elf-obcopy and see if it is found | 10:10 |
olofk | That should be or1k-elf-objcopy | 10:11 |
olofk | hmm.. or is it objdump. Can never remember | 10:11 |
stekern | objcopy | 10:11 |
powermaniac | That gets this result: http://encryptico.net/?71f280e859fcaef7#REo1RyIt4+yk+SK5KWqmtorkjV/DOXNp5XZyyVPzchM= | 10:11 |
powermaniac | So it seems to be working | 10:12 |
powermaniac | I think... | 10:12 |
olofk | Then I don't have a clue right now. I think that _franck_ was right when he said that better error reporting should be implemented next in orpsocv3 | 10:14 |
olofk | ahh.. wait. Try to run orpsoc sim --force or1200-generic --or1k-elf-load /path/to/uart-simple.elf | 10:15 |
stekern | olofk: (_franck_ right) I think so too... | 10:15 |
stekern | http://pastie.org/8354047 <- what do you think this is? | 10:15 |
stekern | I have a hunch | 10:16 |
powermaniac | olofk: Okay it seemed to get further that time this was the result though: http://pastie.org/8354050 | 10:17 |
stekern | yup, hunch was right, I had pulled a core with 'url' provider, but got no orpsoc to support 'url' provider | 10:20 |
stekern | _franck_, olofk: orpsoc/provider/url.py is still missing from Makefile.am too | 10:21 |
powermaniac | So I'm assuming I need to add svn to the PATH variable | 10:22 |
powermaniac | How would one do that? | 10:22 |
stekern | umm, are you sure you have svn installed? | 10:22 |
powermaniac | Okay how do I check that xD | 10:22 |
powermaniac | ? | 10:22 |
stekern | apt-get install subversion | 10:22 |
powermaniac | Looks like I didn't have it installed | 10:24 |
powermaniac | I think it is working...O_o | 10:24 |
powermaniac | =( compiled failed | 10:25 |
powermaniac | http://pastie.org/8354066 | 10:25 |
powermaniac | LOLOLOLOL | 10:26 |
powermaniac | syntax error "I give up." | 10:26 |
olofk | Hmm.. I should write down all the errors that people are experiencing to add proper exception handling | 10:28 |
olofk | powermaniac: Hmm.. can you check what version of Icarus you are using. You should be able to see that if you run iverilog -h | 10:30 |
olofk | stekern: Did you run through the wb_intercon reg tests after you added the wb_mux error handling stuff? | 10:31 |
powermaniac | olofk: That didn't list any numbers indicating what version it is | 10:32 |
powermaniac | I will pastie it for you so you can see | 10:32 |
powermaniac | http://pastie.org/8354075 | 10:33 |
stekern | olofk: reg tests? | 10:33 |
stekern | I ran 'orpsoc sim wb_intercon' | 10:33 |
powermaniac | Any idea if I have the right icarus verilog? I'm on Debian KDE by the way | 10:39 |
powermaniac | Pretty fresh install at that | 10:39 |
stekern | run iverilog -v | 10:43 |
stekern | I've got: Icarus Verilog version 0.9.6 (v0_9_6) | 10:43 |
powermaniac | (v0_9_5) is the version I'm running | 10:44 |
powermaniac | http://pastie.org/8354100 | 10:44 |
powermaniac | So... | 10:59 |
stekern | I'm waiting in anticipation as much as you | 11:00 |
powermaniac | Oh right | 11:00 |
powermaniac | Stekern: What do you think of Richard Stallman? | 11:01 |
stekern | heh, that sure came out of the blue ;) | 11:01 |
powermaniac | Or instead, what do you think of his idea to buy a Leemote Laptop as all the software on it is open source including the bootloader...? | 11:02 |
powermaniac | Well I don't really know much about the guy, when I first heard about him I thought he was crazy xD | 11:02 |
stekern | personal opinion - I think he's believes are too religious | 11:02 |
stekern | *his | 11:02 |
powermaniac | Hmm never thought about it like that, need to read more about him to probably see that for myself | 11:03 |
powermaniac | I'm personally not religious either, well I was but I sort of had an epiphany and decided to drop it like it was hot...xD | 11:03 |
stekern | he has done a great deal of good things for free software, I admire him for that, but yeah "crazy" come to my mind too | 11:03 |
powermaniac | What do you think about all this news about the NSA spying on everyone? | 11:04 |
stekern | I've got a more pragmatic view of free software, I love it because I can tinker with it, but I don't think proprietary software is evil | 11:05 |
stekern | inferior perhaps | 11:05 |
powermaniac | Well I don't exactly think it is evil, but I have always had the thought that I have no idea whether it is being used to spy on me. And well all this NSA news has just confirmed a whole lot of conspiracy theorists thoughts on that. | 11:06 |
stekern | (NSA) it's unpleasent, but I'm not really surprised | 11:06 |
olofk | I suspect that older Icarus versions default to using older verilog standards as default | 11:07 |
powermaniac | stekern: I wasn't surprised either just I'm still uncomfortable over it though | 11:08 |
powermaniac | Okay so I've tried updating icarus and it says it is up to date | 11:08 |
powermaniac | Compile it from source instead? | 11:08 |
olofk | powermaniac: Try to run cd build/or1200-generic/sim-icarus && iverilog -s orpsoc_tb -c icarus.scr | 11:10 |
powermaniac | olofk: "bash: build/or1200-generic/sim-icarus: No such file or directory" | 11:11 |
powermaniac | Wait I think I can fix that | 11:11 |
powermaniac | My bad | 11:11 |
powermaniac | olofk: That returns this again: http://pastie.org/8354140 | 11:13 |
olofk | Ahh.. can you give me the output from build/or1200-generic/sim-icarus/icarus.log | 11:14 |
olofk | At least I think that there should be a file with that name | 11:14 |
olofk | Crap. That probably isn't generated yet | 11:15 |
olofk | hmm... | 11:15 |
powermaniac | Yeah it isn't =\ | 11:15 |
powermaniac | Sure you don't want me to just recompile iverilog from source? | 11:16 |
stekern | I think we want to sort out why it doesn't work with that version of iverilog anyway | 11:16 |
powermaniac | I've sort of realised how I'm contributing, I'm a beta tester or alpha tester or maybe lower then that ... | 11:17 |
powermaniac | stekern: Oh okay | 11:17 |
stekern | I tried running iverilog with -g1995, it error'd out, but not with that error | 11:19 |
olofk | stekern: Thanks. That was what I wanted to know | 11:19 |
olofk | Could still be a Icarus bug, so compiling a newer version would be interesting | 11:19 |
stekern | powermaniac: you can try with -g2001 if that makes a difference | 11:19 |
stekern | i.e. 'iverilog -s orpsoc_tb -c icarus.scr | 11:19 |
stekern | i.e. 'iverilog -g2001 -s orpsoc_tb -c icarus.scr' | 11:20 |
powermaniac | Ahh okay | 11:20 |
stekern | stupid f*cking paste | 11:20 |
olofk | stekern: :) | 11:20 |
olofk | Ain't there any verbose switches for iverilog? I give up isn't all that informative | 11:21 |
powermaniac | Same error adding -g2001 | 11:21 |
powermaniac | Woah doing it with -g1995 gives me a load more errors | 11:22 |
stekern | -v is for verbose | 11:22 |
stekern | try that | 11:22 |
powermaniac | This is what -g1995 gave me without -v | 11:23 |
powermaniac | http://pastie.org/8354160 | 11:23 |
stekern | yes, that's expected | 11:24 |
powermaniac | This is with -v -g2001: http://pastie.org/8354165 | 11:25 |
stekern | haha, now that's what I call verbose... | 11:27 |
powermaniac | Hahahaaa | 11:28 |
olofk | That was the most useless fucking verbose mode I have ever seen | 11:30 |
stekern | try changing line 56 and 57 in wb_mux.v to this: | 11:30 |
stekern | parameter MATCH_ADDR = 0, | 11:30 |
stekern | parameter MATCH_MASK = 0) | 11:30 |
powermaniac | I think you just fixed it | 11:33 |
powermaniac | O_O | 11:33 |
powermaniac | http://pastie.org/8354178 | 11:34 |
powermaniac | That was the output | 11:34 |
powermaniac | Not sure what exactly was meant to happen but no errors seemed to appear | 11:34 |
stekern | go back and try running the orpsoc sim or1200.... | 11:34 |
powermaniac | -__- | 11:36 |
powermaniac | http://pastie.org/8354184 | 11:37 |
olofk | Hmm. I can't find a Changelog for Icarus. That's annoying | 11:37 |
olofk | powermaniac: Is that really the path to your uart-simple.elf? | 11:38 |
stekern | you are suppose to exchange /path/to with the path to uart-simple.elf | 11:38 |
powermaniac | Oh shit | 11:39 |
powermaniac | I forgot to fix that | 11:39 |
powermaniac | Where is it normally located again? | 11:39 |
powermaniac | found it | 11:41 |
stekern | I'd guess in your download folder | 11:41 |
powermaniac | http://pastie.org/8354196 | 11:42 |
stekern | if you run with --force? | 11:46 |
powermaniac | http://pastie.org/8354214 | 11:49 |
powermaniac | Wait let me fix something | 11:49 |
powermaniac | Was saving copies and edited that line again for a second | 11:49 |
powermaniac | Wait no same response anyway | 11:50 |
stekern | if you do the change in orpsoc-cores/cores/wb_intercon/wb_mux.v it will stick | 11:51 |
powermaniac | Odd | 11:52 |
powermaniac | orpsoc sim or1200-generic --or1k-elf-load --force /home/powermaniac/Downloads/uart-simple.elf | 11:53 |
powermaniac | That keeps changing line 56 back | 11:53 |
powermaniac | To: parameter [num_slaves*aw-1:0] MATCH_ADDR = 0, | 11:53 |
powermaniac | And: parameter [num_slaves*aw-1:0] MATCH_MASK = 0) | 11:53 |
stekern | not if you change it where I said | 11:53 |
powermaniac | Ahh I see thought it was the same place I was already changing it, sorry | 11:54 |
stekern | see, the build directory is just that, a build directory. the files are copied there and processed | 11:55 |
powermaniac | SUCCESS!!!!! | 11:55 |
powermaniac | http://pastie.org/8354224 | 11:55 |
stekern | woho! \o/ | 11:56 |
powermaniac | Yay, celebrate! | 11:57 |
powermaniac | Okay so, is the simulation limited in what it can do? | 11:57 |
powermaniac | Like obviously you can't run a simulation of a processor and run a bootloader on top of that and then linux and then programs inside of that right? | 11:58 |
stekern | powermaniac: you can, but it's not feasible with icarus (takes to long time) | 12:00 |
stekern | with verilator, you can get the processor running at a whopping 0.5MHz | 12:00 |
stekern | a Linux bootup in that takes ~10min | 12:01 |
stekern | anyays, you might want to generate a waveform next | 12:01 |
stekern | run: orpsoc sim or1200-generic --or1k-elf-load /var/www/openrisc/uart-simple.elf --vcd | 12:01 |
powermaniac | Oh okay so it is possible O_O | 12:02 |
stekern | ah, sorry, replace /var/www/openrisc/ with your download path ;) | 12:02 |
powermaniac | If I had say the DE0 Nano would that make it run faster? | 12:02 |
stekern | and apt-get install gtkwave | 12:02 |
stekern | yes, you can run it faster in real hardware | 12:03 |
stekern | I've ran Linux at 75MHz on de0 nano | 12:03 |
powermaniac | SWEET | 12:03 |
powermaniac | So my as open as possible computer wasn't just a crazy idea | 12:03 |
powermaniac | MUAHAHA | 12:03 |
powermaniac | orpsoc sim or1200-generic --or1k-elf-load /home/powermaniac/Downloads/uart-simple.elf --vcd gives me the same result as before? | 12:05 |
stekern | yes, but it also produce a waveform | 12:05 |
powermaniac | Ohh | 12:05 |
stekern | install gtkawve | 12:05 |
powermaniac | I installed gtkwave | 12:05 |
powermaniac | Where does the waveform go? | 12:05 |
stekern | and then run: gtkwave ./build/or1200-generic/sim-icarus/testlog.vcd | 12:05 |
powermaniac | http://pastie.org/8354251 | 12:07 |
olofk | Great! Nice to see that it's working now | 12:07 |
powermaniac | Not sure if that was supposed to happen | 12:07 |
stekern | powermaniac: export DISPLAY=:0 | 12:07 |
powermaniac | Just type that in as is? | 12:09 |
powermaniac | Without adding anything else? | 12:09 |
powermaniac | As that hasn't seemed to have changed anything | 12:09 |
stekern | are you still running everything as root? | 12:10 |
powermaniac | Yes | 12:10 |
stekern | stop that ;) | 12:10 |
powermaniac | Oh... | 12:10 |
powermaniac | Oh there we go | 12:11 |
powermaniac | It opened GTKWave and made something not sure what | 12:12 |
powermaniac | http://pastie.org/8354265 | 12:12 |
stekern | on the left side you've got all the modules and signals of orpsoc | 12:16 |
stekern | browse around, add some signals and explore | 12:16 |
stekern | you should find or1200 in there somewhere | 12:16 |
powermaniac | Woah there is a lot under or1200_cpu | 12:18 |
powermaniac | Still not quite sure what exactly I'm doing though | 12:18 |
olofk | So the best guess is that verilog <0.9.6 doesn't support sized parameters | 12:18 |
olofk | powermaniac: This is the kind of thing we do. Run a testcase and if something goes wrong we look at all the signals to try to find out what the problem is | 12:19 |
powermaniac | Oh I think I see what it is | 12:19 |
powermaniac | Digital signals | 12:19 |
powermaniac | Like a power source outputting power making 1s and 0s appear in a computer | 12:20 |
powermaniac | Still don't entirely get how that works | 12:20 |
powermaniac | As doesn't something have to read the 1s and 0s, how is a transistor outputting 1s and 0s actually amounting to what we end up seeing on our screens | 12:21 |
stekern | well, that's what you have in front of you right now, at a slightly higher abstraction | 12:21 |
powermaniac | So this is some sort of way to display HDL code? | 12:22 |
powermaniac | What level do you call this exactly? | 12:22 |
powermaniac | Now you have me even more curious then before | 12:22 |
powermaniac | As this seems completely new, even more confusing and thus even more fascinating | 12:23 |
stekern | no, this is showing the *value* of the signals (registers, logic) when the CPU is running | 12:23 |
powermaniac | So isn't this like the lowest level, when running that is? | 12:24 |
powermaniac | Without actually physically measuring the singals | 12:24 |
powermaniac | signals* | 12:24 |
stekern | if you put it like that, yes | 12:24 |
_franck_ | it's like if you had an oscilloscope and you could move your probe around all nets | 12:25 |
powermaniac | Interesting | 12:28 |
powermaniac | So is this mainly how you check for problems? | 12:28 |
powermaniac | Isn't this sort of just making up what the digital signals are seeing as it is a simulation, which doesn't that mean it can only be wrong if the verilog or whatever you sue to get this display wrong? | 12:29 |
powermaniac | Oh also if you wanted to read my little charade asking about whether the Parallella board would be compatible for my as open source as possible computer idea you can read that here: http://forums.parallella.org/viewtopic.php?f=23&t=639&sid=3b38da17ac949d616951034082c44936 | 12:30 |
powermaniac | xD | 12:30 |
stekern | I laughed at the last post in that thread | 12:35 |
stekern | that so summarize the mind of a geek | 12:35 |
olofk | stekern: Just found this thread on lkml. Looks like they are looking for a unified driver for loading FPGA bitstreams from Linux http://lkml.indiana.edu/hypermail/linux/kernel/1309.2/01610.html | 12:46 |
powermaniac | Well I accomplished something, or well I felt like I did | 12:49 |
powermaniac | Been a busy day besides this | 12:49 |
powermaniac | So I'm out for the night, thanks again everyone! | 12:49 |
juliusb | stekern: yep, I agree, excellent post at the end there | 13:14 |
stekern | olofk: interesting | 13:41 |
stekern | there is also efforts on the fpga loading front in u-boot, not sure how unified they are, haven't investigated those yet | 13:42 |
stekern | all I now is that it is possible to load the fpga from u-boot | 13:42 |
stekern | but I'm actually more interested in loading it from linux | 13:43 |
stekern | I can reload it from my x86_64 ws now without rebooting the arm (given that I don't touch any shared resources while doing that) | 13:44 |
olofk | 2013. The year of the wishbone interconnects | 14:50 |
olofk | What is the snoop signal in Wishbone? Never seen before | 14:55 |
olofk | Oh well. Time to leave | 15:03 |
poke53281 | jonibo: Thanks for the info. Probably then it's not your or my connection but the pure monumentality of the Linux kernel. | 17:33 |
stekern | I've got framebuffer somewhat working on sockit now | 19:25 |
stekern | I need to implement burst support in the wb to avalon bridge for it to be usable though | 19:26 |
_franck_ | stekern: I tried uart_simple.elf with my orpsoc de1 and or1200 and it work fine in simulation. Then I tried to run it with mor1kx and it stalls at some point. | 19:32 |
_franck_ | I'm sure you've tested it but I ask anyway... | 19:32 |
stekern | uart_simple.elf + mor1kx + orpsocv3 = untested | 19:36 |
stekern | but, uart_simple.elf + mor1kx + mor1kx-dev-env = tested | 19:37 |
stekern | is this a fresh checkout of mor1kx? | 19:37 |
_franck_ | yes | 19:38 |
stekern | not that I think the bug I fixed the other day would effect uart_simple.elf | 19:38 |
stekern | it was related to invalidating icache "in flight" | 19:38 |
stekern | i.e. when icache is enabled | 19:38 |
_franck_ | I did try to disable caches | 19:39 |
stekern | it's of course not impossible that you stumbled upon another bug | 19:40 |
stekern | I could take a look if you want | 19:40 |
_franck_ | do you want a vcd or do the test yourself ? | 19:40 |
stekern | a vcd is fine, at least to start with | 19:41 |
_franck_ | https://www.dropbox.com/s/je1zhp1q3ng0tk6/de1.vcd | 19:42 |
_franck_ | thanks, you'll be much faster than me to check if it's my fault or mor1kx fault ;) | 19:43 |
stekern | ah, but you might miss a chance to get your name once again into mor1kx ;) | 19:44 |
_franck_ | yeah I know :( | 19:45 |
_franck_ | but I kind of lazy those days | 19:45 |
stekern | reporting back is good enough ;) | 19:47 |
stekern | is this the uart_simple.elf I gave powermaniac? | 19:47 |
_franck_ | yes | 19:47 |
stekern | ok, good, then I can disasm that with confidence that everything is in it's right place | 19:48 |
stekern | interesting, there's a load from uart registers, but no bus access is being generated | 19:53 |
stekern | ah, this is the same bug you fixed in the fetcher: http://pastie.org/8355423 | 20:00 |
stekern | or no... that's not it, but dbus_err is X | 20:00 |
stekern | oh... now I know... it's related to this: https://github.com/openrisc/orpsoc-cores/commit/8678db5e188d85f17af7151a8f21d2ba7cef7189 | 20:03 |
stekern | ...maybe | 20:03 |
_franck_ | :) | 20:04 |
stekern | wbm_addr is X at least | 20:04 |
stekern | and since wb_mux calculates the match from the address, it seems highly plausible | 20:04 |
stekern | hmm, it's not related to that change. wbm_err in wb_mux is 0, but wbm_err_o is X | 20:09 |
stekern | ah, of course, when wbm_adr is X, slave_sel becomes X and wb_err_i[slave_sel] becomes X | 20:12 |
_franck_ | IIRC it has the same thing in the fetcher | 20:13 |
stekern | but that's only valid during reset | 20:14 |
_franck_ | yes | 20:14 |
stekern | ok, this should fix it: http://pastie.org/8355460 | 20:19 |
_franck_ | it's not stalled anymore but uart tx doesn't move. | 20:28 |
_franck_ | I'll try again with caches enabled | 20:29 |
_franck_ | tx doesn't move. Anyway, you should push your fix. | 20:39 |
_franck_ | it now loop at address 2808 in uart_simple | 20:40 |
stekern | that's in uart_putc, so it's probably waiting for the tx to be free | 20:42 |
stekern | but why isn't it? | 20:42 |
mor1kx | [mor1kx] skristiansson pushed 2 new commits to master: https://github.com/openrisc/mor1kx/compare/5a36725b5dc0...50b11f154a17 | 20:43 |
mor1kx | mor1kx/master be98c2c Stefan Kristiansson: cappuccino/lsu: initialize dbus_err on reset | 20:43 |
mor1kx | mor1kx/master 50b11f1 Stefan Kristiansson: cappuccino/lsu: set dbus_adr to zero when in IDLE state... | 20:43 |
_franck_ | don't know, need to look at | 20:44 |
_franck_ | it reads address 5 from uart | 20:45 |
_franck_ | you're right it checks for tx empty | 20:48 |
_franck_ | stekern: http://picpaste.com/pics/Capture-4-iBGkwpYX.1380144473.png | 21:28 |
_franck_ | it that behavior on cyc normal ? shouldn't we de-assert it after receive an ack ? | 21:29 |
_franck_ | there is something strange here and the difference with the workng or1200 is the cyc behavior | 21:30 |
_franck_ | bingo, change DBUS_WB_TYPE from B3_REGISTERED_FEEDBACK to CLASSIC make the uart works | 21:33 |
_franck_ | cyc can stay to '1' but I meant stb | 21:34 |
juliusb | ok, ORPSoCv3ers, so I'm a complete noob when it comes to this particular project, right? | 22:17 |
juliusb | so I thought I'd google orpsocv3 first, to find out where the instructions are | 22:17 |
juliusb | first hit is opencores.org/or1k/ORPSoCv3 which is over a year old | 22:17 |
juliusb | so.... i'm wondering if we should update that to point to where the latest info | 22:18 |
juliusb | can be foudn | 22:18 |
--- Log closed Thu Sep 26 00:00:13 2013 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!