--- Log opened Mon Sep 22 00:00:04 2014 | ||
poke53282 | stekern: At the moment I have the following patches to allow ptrace to work. http://pastie.org/9582510# | 00:37 |
---|---|---|
poke53282 | the question is if PT_ORIG_GPR11 and PT_SYSCALLNO should be offered to the user | 00:38 |
poke53282 | the other question how to handle the delayed ins. | 00:39 |
poke53282 | in the kernel or do the user space has to handle it? | 00:39 |
poke53282 | the pc is reduced by 4 if l.trap is in a delayed slot. | 00:40 |
poke53282 | for example ltrace wouldn't find the breakpoint in this case. | 00:40 |
poke53282 | the correction can be applied everywhere. In the kernel or userspace. But which position is correct? | 00:41 |
poke53282 | The problem is that if we correct it in kernel space than we need another table entry. The pc to give to the user space in ptrace and the real position where to return. Of course then setting the pc via ptrace in user space is then also difficult. | 00:43 |
poke53282 | https://github.com/s-macke/ltrace/blob/openrisc/sysdeps/linux-gnu/or1k/regs.c#L44 | 00:48 |
poke53282 | this is the way ltrace finds the breakpoint. | 00:48 |
poke53282 | and this will fail if the trap is a delayed instruction | 00:49 |
poke53282 | stekern: Do you use the SND_SOC_GENERIC_DMAENGINE_PCM ? | 04:53 |
stekern | poke53282: yes, but I'm still in the progress of trying to figure out how everything is put together | 04:53 |
poke53282 | does this work without a dma driver. | 04:53 |
stekern | I don't think it does | 04:53 |
poke53282 | soc/sh/fsi.c don't use it. | 04:54 |
stekern | I tried to avoid writing a dma driver and just do everything in a simple cpu-dai driver, but I gave up on that and am now writing a dma driver for the wb_streamer | 04:54 |
poke53282 | Ok :) | 04:55 |
stekern | but from my standpoint, I tried to do it in a way so that it'd be easy to switch over to a real dma driver later, so if you avoid that, it's maybe more feasible | 04:58 |
poke53282 | I will try. I tried to do it as simple as possible two or three registers. , pointer, buffer_size, period and so on. | 05:00 |
poke53282 | do you the abbreviative dai means? | 05:02 |
poke53282 | Haven't figured out yet | 05:02 |
poke53282 | dai = ?? | 05:08 |
poke53282 | digital audio interface | 05:09 |
stekern | yes | 05:10 |
poke53282 | Hmm, "pcm-audio 98000000.sound: Missing dma channel for stream :0 | 05:23 |
stekern | poke53282: that's where I'm at too ;) | 05:23 |
poke53282 | guess, this is is such an error | 05:23 |
poke53282 | Ok, then I use the implementation from soc/sh/fsi.c. It Is not that big. | 05:24 |
poke53282 | without dma | 05:24 |
stekern | hmm, doesn't that still use the dmaengine? | 05:31 |
poke53282 | yes, but it supports also pio | 05:34 |
poke53282 | I know that this works, at least it is accepted and I get a and device. | 05:34 |
poke53282 | dma is only an option | 05:34 |
poke53282 | they use snd_soc_register_platform instead of devm_snd_dmaengine_pcm_register | 05:39 |
poke53282 | devm_snd_dmaengine_pcm_register calls snd_soc_register_platform internal | 05:40 |
poke53282 | and they need around 7 additional functions for this | 05:42 |
poke53282 | like open, ioctl, free, .... | 05:42 |
poke53282 | the real /dev interface if I see it right | 05:43 |
poke53282 | the function are pretty small | 05:45 |
poke53282 | now it works | 05:48 |
stekern | ah, right | 05:58 |
poke53282 | http://pastie.org/9582899 | 06:26 |
poke53282 | these are the driver functions executed. Now I have to fill them with something. | 06:26 |
poke53282 | http://pastie.org/9582938 | 06:38 |
poke53282 | And this is, how it currently looks like | 06:38 |
poke53282 | more or less a dummy driver | 06:40 |
olofk | Anyone here who is at least a bit handy with basic signal processing theory? | 07:15 |
stekern | I got scared off signal processing theory by a terrible teacher at the university | 07:16 |
olofk | I'm trying to generate a stream if I/Q samples and look at the generated waveform. I'm just not sure what I should expect to see | 07:16 |
olofk | stekern: I stopped listening after my teacher told us about Q-kanalen (swedish joke) | 07:17 |
stekern | I think that was the only exam I had to do twice | 07:17 |
stekern | haha | 07:17 |
stekern | which is a bit of a pity, signal processing is kinda fun. at least the little I've done with my synth endeavours have been. | 07:18 |
olofk | Yeah, I thought it was fun when I started learning about it, but haven't done a shit with it since then | 07:19 |
stekern | the teacher we had looked like a bum, to the extent that we actually thought that he *was* a bum that had wandered off into our lecture the first time we saw him | 07:21 |
olofk | haha | 07:21 |
olofk | That's probably a good reason why I should never start teaching :) | 07:22 |
stekern | that wouldn't make him a bad teacher of course, but he was | 07:22 |
mithro | Heyo, does anyone know who "owns" http://freecores.github.io/ ? | 07:22 |
olofk | mithro: Yep. blueCmd set it up | 07:22 |
mithro | btw opencores.io should give you access to most of the opencores infrastructure while opencores.org is down | 07:23 |
mithro | blueCmd: ping? | 07:23 |
olofk | mithro: Yeah, I took a look at it and was pleased to see that the OpenRISC wiki was there as well | 07:24 |
olofk | mithro: Are you with ORSoC? | 07:24 |
mithro | olofk: nope | 07:25 |
mithro | olofk: just a concerned data packrat :P | 07:25 |
olofk | Just a knight in shining armour? :) | 07:25 |
olofk | I think we should set some time aside at orconf to discuss how to deal with a potential loss of opencores | 07:26 |
mithro | olofk: I personally think you should just move everything to github :P | 07:26 |
mithro | but I've never contributed to opencores at all | 07:27 |
olofk | mithro: All new development and projects that we update frequently are on github already | 07:27 |
olofk | mithro: We still have bugzilla and a wiki on OpenCores that won't be as smooth to move however | 07:28 |
olofk | The wiki is messy, we know that, but until someone comes along and moves all the relevant documentation elsewhere, it's the best we got | 07:29 |
mithro | olofk: I assume you don't have any access to the wiki server? | 07:29 |
olofk | mithro: Nope. I used to work for the company who owns opencores, but I quit some time ago | 07:30 |
olofk | And honestly, if we were to move it, I would rather pick out the relevant information | 07:31 |
mithro | olofk: got a link to the wiki? | 07:31 |
olofk | http://opencores.org/or1k/OR1K:Community_Portal | 07:31 |
olofk | But it looks like opencores.org is back up now | 07:31 |
mithro | olofk: looks like they paid their bill :P | 07:34 |
stekern | to be fair, as soon as they've been aware of the problem, it's been handled fairly quickly | 07:37 |
stekern | so far at least | 07:37 |
mithro | stekern: well, it did expire 4 days ago according to whois | 07:38 |
stekern | well, friday 23:59, so basically a couple of hours of office time | 07:41 |
stekern | I bet no-one there care during weekends... | 07:41 |
olofk | Yeah, that's true | 07:42 |
LoneTech | hello | 07:45 |
olofk | LoneTech: Hi | 07:45 |
olofk | LoneTech: Is the DNS issue sorted out now? | 07:45 |
LoneTech | I don't know (would guess not for a few hours still), but the ball should be rolling. turns out debugging third party issues is harder on sundays. | 07:46 |
olofk | LoneTech: Great! | 08:00 |
olofk | LoneTech: Are you coming to orconf btw? | 08:03 |
LoneTech | not sure yet. I'd like to | 08:03 |
olofk | Hope you can make it | 08:04 |
LoneTech | thanks | 08:05 |
olofk | VHDL must still be the worst language on the planet. I've been doing VHDL work full time for about six years now, but as soon as I'm away from it for a few weeks I forgot basic syntax | 08:38 |
LoneTech | I used to carry a little reference book that included nicely where everything went | 08:39 |
olofk | That's pretty handy | 08:39 |
LoneTech | http://donkey.vernier.se/~yann/VHDL-Handbook-book.pdf - originally published as a supplement for a swedish vhdl course, iirc | 08:41 |
LoneTech | remove -book for original, that was formatted for printing | 08:41 |
sb0__ | olofk, try migen ;-) | 08:43 |
olofk | sb0__: I can't. FuseSoC doesn't support migen :P | 09:15 |
olofk | I'm starting to get the hang of this I/Q nonsense | 09:44 |
blueCmd | mithro: hello! | 09:55 |
olofk | Hmm.. Quartus doesn't accept $sin, even if it's just for preinitializing an array in an initial block. Anyone has ideas for workaround? | 10:15 |
olofk | I'm currently using a python script to build the table, but I'm not very happy with that solution | 10:16 |
LoneTech | I tend to use that solution too | 10:16 |
olofk | Maybe I should just use a cordic instead. Eventually I want to control the frequency anyway | 10:17 |
sb0__ | olofk, there is no fundamental problem with integrating migen cores in a non-migen design | 10:18 |
sb0__ | though I do recommend that you switch to misoc, too | 10:18 |
LoneTech | what makes me really unhappy is when such tables make it into a spec like SHA without explanation of how they are generated (they are explained there, but it happens sometimes) | 10:27 |
sb0__ | olofk, you can use python's math.sin() from migen, no problem. we have a cordic core for you, too. | 10:33 |
sb0__ | both will work with ise, vivado, and quartus. | 10:36 |
mithro | blueCmd: do you "maintain" the opencores github repo? | 11:23 |
Anup | Hi All, any one working on OR1K synthesis on ML605 or Virtex-7 here | 11:45 |
-!- Anup is now known as Guest85545 | 11:45 | |
Guest85545 | i need some details on synthesis | 11:45 |
Guest85545 | OR1K on ML605 or ZYNQ | 11:46 |
Guest85545 | anybody there | 11:48 |
olofk | mithro: It's just a backup. We're having a hard time finding maintainers for most of the cores? Interested in adopting any of them? :) | 12:07 |
mithro | olofk / blueCmd: do you sync anything from opencores into that repo at all? | 12:12 |
olofk | mithro: Sorry. No idea | 12:31 |
blueCmd | mithro: nope | 12:33 |
blueCmd | mithro: due to the state of opencores I wasn't able to feasibly automate it | 12:34 |
blueCmd | mithro: if the website was 1) able to do checkouts like a proper SVN site and 2) did not contain CRC errors with what I assume is on-disk corruption, it would be a whole other matter | 12:35 |
poke53282 | olofk: Looks like I am coming to orconf | 16:13 |
poke53282 | Have to book the flight in the next two days | 16:13 |
olofk | poke53282: Good to hear! Don't forget to register too | 16:26 |
olofk | simoncook: Why on earth did you get three tickets to orconf? Are you planning to sell the other two? :) | 16:27 |
simoncook | Myself, Jeremy and I have one other colleague coming along whose been working on LLVM for OpenRISC | 16:30 |
olofk | simoncook: Cool | 16:32 |
olofk | The more, the merrier | 16:32 |
simoncook | You may actually have it it down as four of me, that I'll need to fix :) | 16:32 |
olofk | simoncook: Hmm... I don't know. Too many cooks.. you know :) | 16:33 |
olofk | stekern: You're not registered either. | 16:35 |
olofk | It's not like we're running out of tickets, but still | 16:36 |
stekern | olofk: there's a 8 minute time limit on the registration, I needed some practice before I succeded to fill it out within that | 16:45 |
olofk | I know the feeling. There's 12 minute time limit on the swedish train systems. I have about 20% success rate on that | 16:46 |
olofk | Make sure to register this week. There's a 37% discount until sunday | 16:50 |
poke53282 | olofk: registered | 16:55 |
poke53282 | and I would like to give a presentation. | 16:56 |
olofk | poke53282: Awesome. Send me a mail once you have a preliminary title. Hoping to have the schedule up soon | 16:56 |
olofk | 25 minutes + 5 minutes discussion. Will that work? | 16:57 |
poke53282 | Hmm, "Hard core introduction to quantum physics for computer freaks" =) | 16:58 |
poke53282 | Yes, that works | 16:58 |
olofk | I like the sound of that :) | 16:58 |
poke53282 | "Nature and people of Vancouver - why the city is on the third place of the most livable cities of the world and what to do when you see a bear" | 17:01 |
poke53282 | No, it will be about jor1k of course. | 17:05 |
poke53282 | 25 minutes + 5 minutes if Ok. I will send you the title when I have it. | 17:11 |
poke53282 | when I know it | 17:11 |
poke53282 | Does it harm if I come with a Windows laptop? Or with an iPad? | 17:17 |
olofk | poke53282: You will be forced to install Limux as soon as you enter the city | 18:04 |
poke53282 | Ahh yeah, Munich is a Linux city. I remember the news. | 18:05 |
poke53282 | olofk: Approx. How many people will be there? | 18:23 |
olofk | poke53282: Just over 20 people atm | 18:23 |
olofk | (including simoncook and his three clones) | 18:23 |
poke53282 | "Writing an OpenRISC emulator in Javascript – fun and pain" | 18:26 |
olofk | No good title. That won't help me at all when I see a bear | 18:30 |
poke53282 | Yes, jor1k doesn't have sound support yet. So you can't annoy the bear with beepy and choppy sound. But I will add a slide. | 18:32 |
poke53282 | But you can annoy humans pretty easily with it, so that they leave the room. | 18:35 |
olofk | That's good. | 18:41 |
poke53282 | I hope that 25 minutes will be enough. | 19:40 |
olofk | poke53282: No worries. We can give you more time if you want that | 19:43 |
poke53282 | :) | 19:54 |
--- Log closed Tue Sep 23 00:00:06 2014 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!