IRC logs for #openrisc Friday, 2013-10-04

--- Log opened Fri Oct 04 00:00:24 2013
hansfbaierstekern: How much memory does fitting the sockit eat on your machine?03:33
hansfbaierstekern: never mind, seems to work now03:44
stekerngood, because I have no clue03:46
stekernhaven't checked, I've got 16GB of RAM in this machine03:47
stekernpoke53282: at least someone is responding to your patches, that's better than them being ignored03:59
hansfbaierstekern: I installed in a VM with 3,5 GB. Wasn't enough. Swap storm :( My host has 804:03
hansfbaierAh wait it still seems to be alive :)04:04
hansfbaierkind of .... :]04:05
stekernit's just crazy that it needs that much memory04:05
hansfbaierstekern: right now it eats about 3G04:05
hansfbaierplacement and routing04:05
stekernhansfbaier: do you have any linux running on the board already?04:24
hansfbaierstekern: Yes I the demo image04:25
hansfbaierstekern: s/I//04:25
hansfbaierstekern: nice toys.... LCD / LEDs etc04:25
hansfbaierstekern: tested some of the software examples04:26
stekernok, when you get to the point that you've got an fpga image to load, there's a few things you need to know (that also should go into the README) to make it useful with the orpsoc image04:26
stekernfirst, you will need to build your own u-boot spl (preloader) and put that to the sdcard04:27
stekernbecause otherwise the uart connection inside the fpga will not work04:28
hansfbaierstekern: Where do I get the spl?04:30
stekernyou could alter the registers manually in u-boot too I guess, but since the second uart of the hps isn't connected to anything on the outside, you'll always want it to be internally connected04:30
stekernit's in altera/13.0sp1/embedded/host_tools/altera/preloader/04:34
stekernbut they have some convoluted way of building that which involves using some gui, wait and I'll check for the instructions how to do it04:35
hansfbaierstekern: How did you find out about all this?!?!04:41
hansfbaierstekern: A question: In Qsys in some designs the AXI bus from the HPS seems to be directly connected to some avalon ports. Shouldn't be there some kind of AXI->avalon bridge, or are the busses nearly identical?04:47
stekernhansfbaier: one question at the time!!! =)04:49
hansfbaierstekern: ok, I'll google in the meantime :]04:49
hansfbaierhttp://www.alterawiki.com/wiki/AXI_Support04:49
stekernfirst, the spl building process was described in the workshop, that's was about as far as it went04:50
hansfbaierspl?04:50
hansfbaierpreloader04:50
stekernbut I can't find the lab instructions anywhere on the net04:50
stekernyes, u-boot spl04:50
stekernis the preloader04:50
hansfbaierThere is a hardware and a software lab04:50
stekernyes04:50
hansfbaierI downloaded somewhere04:50
hansfbaierGot the files04:50
stekerndo you have those notes04:50
stekerngreat!04:50
hansfbaieryes I think so.04:50
stekernlook in the sw lab04:50
hansfbaierYes, I figured out I really should do the labs04:51
hansfbaierstekern: ok.04:51
stekernok, so onto the second question. qsys automatically inserts axi<->avalon bridges when you connect an axi port to an avalon port04:52
hansfbaierstekern: Ah, ok. I'll do the labs and come back with questions when I'm done with the labs04:52
stekernI think it's enough that you read the documents04:53
stekern...but feel free to do the labs ;)04:53
hansfbaierstekern: The HW lab gives me compile errors Error (12006): Node instance "u0" instantiates undefined entity "soc_system"04:54
hansfbaierDoes this mean I have to run qsys first?04:54
stekernthe lab notes doesn't describe how to get the spl onto the right partition on the sdcard though04:54
hansfbaierlooks like that04:54
hansfbaierwhat does spl stand for?04:54
stekernyes, you have to run qsys and do all the steps in the lab (it configures the DDR3 SDRAM among other things)04:55
stekernspl = second program loader04:56
hansfbaierstekern: Ah, yes sorry, I started in the middle of the PDF, thought I was at the beginning because evince remembered the page04:57
hansfbaierlast opened04:57
stekernbut still about the axi<->avalon bridges, I took a bit of a short-cut based on that fact. Since I did the avalon<->wishbone bridges in orpsocv3, I connect the axi port of the hps to a "dummy" avalon bridge and then connect the wishbone bus to that.04:59
stekernwe shouldn't do that, we should have a straight axi<->wb bridge instead04:59
hansfbaierstekern: Is it worth the effort? I think avalon is only a couple of gates away from wishbone (converting read and write into cyc and we etc. iirc)05:09
stekernprobably not for what it's connected to now, the "lightweight axi bus". controlling peripherals05:18
hansfbaierInfo: Quartus II 64-Bit Fitter was successful. 0 errors, 99 warnings05:18
hansfbaier    Info: Peak virtual memory: 4128 megabytes05:18
hansfbaier    Info: Elapsed time: 01:33:5605:18
stekernthe SDRAM have avalon interfaces anyways05:19
hansfbaierstekern: that is some turnaround time05:19
stekernbut, it's ugly to have to inferr that extra bridge, and it would be nice to have an axi bridge as well05:20
stekernand converting avalon pipelined accesses or bursts is a bit more than a couple of gates05:20
stekern(take a look here: https://github.com/openrisc/orpsoc-cores/blob/master/cores/wb_avalon_bridge/verilog/wb_to_avalon_bridge.v)05:21
stekernInfo: Elapsed time: 00:14:5205:25
stekernthat's what it took to build orpsoc last on my machine05:26
stekerns/build/run the fitter/05:26
hansfbaierstekern: I ran it in the 64bit vm, was so slow because of swapping and no hd cache available probably05:27
hansfbaierit's done the .sof is there.05:28
hansfbaierstekern: is there a testbench to the wb bridge somewhere? If not, how did you develop it / make sure it works?05:29
stekernI'm not sure it works ;/05:33
stekerna more complete answer, I should do a testbench for it, the problem is that the avalon BFMs are some encrypted piece of crap, so I would need to run them through modelsim. I should do that, but it put me off at the moment05:35
stekernso I've just tested them in hardware05:35
stekernand they seem to work fine for everything I've thrown at them there, but that's of course no guarantee05:36
stekernas a debug tool I used the diila core (as you can see, the avalon and wishbone buses are connected to that)05:37
hansfbaierstekern: What does BFM stand for? (googled but could't find something sensible) I know its some kind of simulation model....05:38
hansfbaierBehavioural functional models?05:39
stekernand I have a set of scripts and tools on the board to load a binary into memory, flip the resets on the or1k core, setup diila, run the or1kx program and dump the diila log into a text file, and send it via scp to my dev machine05:39
hansfbaierstekern: that is really cool ...05:39
stekernBus Functional Model, I didn't know what it stood for a week ago neither ;)05:39
stekernbut we discussed it then, so I thought maybe you had seen the explanation05:40
stekernI'll give you the tools and scripts.. but for some reason I haven't transferred them from the board it seems05:41
stekernand I have the board packed down now05:41
hansfbaierstekern: no hurry05:45
hansfbaierstekern: I've got enough to learn....05:45
hansfbaierin the meantime05:45
stekernyeah, alot of this stuff was new for me too, it takes a while to sink in05:46
_franck_juliusb: jeremybennett : I'll do a quick presentation of the current GDB / openocd status if it fits the planning09:02
juliusb_franck_: that'd be great09:15
juliusbwe'll figure out where to fit it in....09:15
juliusbI'm wondering if anyone has any experience with running the DE0 nano programmer and OpenOCD in a VM running on top of Windows?09:16
juliusbIt should "just work", right?09:16
_franck_I did09:17
_franck_and it works09:17
juliusbawesome, thanks _franck_ 09:18
juliusb_franck_: when are you planning to travel?09:18
_franck_I'll be at gatwick at 8 am09:20
_franck_saturday09:20
juliusbah, that's right, I remember now. Well, if anyone is in Cambridge tonight and would like a warm-up beer, email me!09:23
_franck_is the cambridge train station 1 hour walk from the university ?09:26
_franck_(that's what's google says)09:26
juliusbfrom the Computer Labs, maybe09:31
juliusbbut the university buildings are distributed around town, the center of town is maybe a 20 minute walk from the station09:31
_franck_ok thanks09:38
olofkstekern: Yeah, a proper axi<->wb bridge would be useful for a lot of things10:32
olofkIt's probably easiest to start out with AXI4-Lite. The complete AXI4 bus is a beast10:33
stekernyes, I agree10:33
stekernand currently it's AXI4-lite that I need10:34
stekern...I think the "lightweight hps2fpga interface" use axi4-lite at least10:36
stekernI have the pleasure to work with a pentium machine from the mid-90s with 64MB of ram today10:37
olofkI'm impressed10:37
hansfbaierstekern: that would classify as an embedded machine today10:38
stekernit's funny how old computers make that special sound that modern machine don't do10:38
olofkstekern: When they boot?10:38
stekernyes, the harddisk sound and the blippiing10:38
olofkI miss that :(10:38
stekernand loud fans10:38
olofkI don't miss that :)10:39
stekernit brings old memories back ;)10:39
olofkYou should run coremark on it and see how it fares against mor1kx on a de0_nano :)10:39
stekernhaha, true10:39
stekernnot sure how I'd get it onto it though, it only has floppy disk10:41
stekerndrive10:42
hansfbaierstekern: I bougt a power macintosh 2000 for about $4000. It had a killer 768 MHz CPU with a HUGE heat sink on it. And it had GIGABIT ETHERNET. Don't know what for, but it had it. Was a big waste of money. I ended up running Debian on it.10:43
hansfbaierand it was LOUD10:43
* hansfbaier stopped wasting money on apple products. PC still rules10:44
stekernI've always went for the hardware right under the price dip10:45
hansfbaierstekern: me too but I wanted it for recording..... And Linux wasn't far enough back then10:46
stekernah, ok, fair enough10:46
stekernI remember the first sound card I bought, a soundblaster pro 8 bit stereo!10:47
stekernI gave around 200$ for it back then10:48
stekernoops $ sign went on the wrong side...10:48
hansfbaierstekern: It took the PC worls more than a decade to reach the power of the AMIGA10:49
hansfbaiers/worls/world/10:49
stekernI could record about 5 seconds of audio before the harddisk was full10:49
stekernmmm, I had an amiga too10:49
hansfbaierstekern: my first PC harddisk was 80 MB with 4MB RAM. First Linux system. 386SX2510:49
hansfbaierstekern: ditched my AMIGA for it. Finally had a UNIX in my home10:50
hansfbaierthat was '9510:50
stekernI think my first linux install was on a 486 25MHz10:50
hansfbaierLinux 1.010:50
stekernalso in '9510:50
hansfbaierstekern: gotta go and play music in the mall. Bye!10:51
stekernplay well! =)10:52
hansfbaierThanks10:53
hansfbaierI'll try10:53
Powermaniac...Play music in the mall?10:54
PowermaniacToo late anyway he is gone10:54
stekernhe plays with a band10:54
PowermaniacOh10:55
stekernredhat 2.0 it was10:55
stekernI remember the troubles I had to get the modem working10:55
stekernand the catch 22 to not be able to check internet since the modem wasn't working10:56
PowermaniacHa10:58
PowermaniacWhoever decided to have quardratic equation questions with fractions on Khan Academy is a bastard...xD10:59
PowermaniacSo you have all been preparing for the ORCONF right?11:00
stekernhmm, you know you're a geek when your luggage contains more dev boards, computers and electronics than clothes...11:01
PowermaniacHahaaa11:01
PowermaniacAre you traveling by car, bus, train or plane?11:01
PowermaniacMaybe boat?11:01
stekernplane11:01
PowermaniacHave fun with the metal detectors!...11:02
PowermaniacUnless that isn't an issue there, if so lucky you11:03
amsit is not the metal detectors that are run... but the alone time you get with a nice officer.11:05
Powermaniacams: Oh even better...O_o11:05
PowermaniacCan I ask you guys a question. Well the question is why do you guys seem to use Google+ over say Twitter?12:43
juliusbGoogle+ and Twitter are fairly different things12:50
PowermaniacTrue but I'm still curious why you use one over the other12:51
PowermaniacMainly wondering because I'm trying to make contacts with people in the different fields I'm interested in12:51
juliusbYou don't have to. You can use both.13:04
PowermaniacWell that is what I've been doing but yeah...13:04
olof_It's bad that we recorded the talks last year. I would like to reuse most of my presentation, but don't want to get caught16:59
olof_Actually... I'll probably reuse most of it anyway. Lots of new users17:00
olof_So if you have seen it before you can use the time to take a nap17:00
olof_jeremybennett: I just realized that we haven't allocated time for a follow-up on the processes that we discussed last year17:27
knzhi all21:48
knzI was just wondering what the best way is to travel from the train station to the niversity with public transportation21:51
juliusbknz: https://www.google.co.uk/maps/preview#!data=!4m31!3m30!1m5!1sCambridge%2C+Railway+Station+(Stop+A)%2C+Cambridge%2C+Cambridgeshire+CB1!2s0x47d87083b81c08ff%3A0xccde5e30c9f6db5!3m2!3d52.19449!4d0.13685!1m5!1sUniversity+of+Cambridge+Computer+Laboratory%2C+William+Gates+Building%2C+15+JJ+Thomson+Ave%2C+Cambridge+CB3+0FD%2C+United+Kingdom!2s0x47d8774a3f6e55cd%3A0xabf8227343e684c7!3m2!3d52.210891!4d0.091732!2e3!3m8!1m3!1d23839!2d0.1099993!3d52.2058215!3m2!1i540!2i468!4f13.1!6m4!1m3!1e4!2e2!3j1380974400!8m2!1e1!2b1!6m1!1e1&fid=0i123:08
juliusbI'd just cab it :-/23:09
knzthx23:10
--- Log closed Sat Oct 05 00:00:26 2013

Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!