--- Log opened Sun Jan 26 00:00:10 2014 | ||
stekern | blueCmd: I could give you an account on oompa as a temporary solution, but it's on a slow 24/3 adsl connection | 09:15 |
---|---|---|
stekern | perhaps jonibo could arrange something on openrisc.net? | 09:15 |
benjamincburns | is Christian in the room? | 10:13 |
benjamincburns | blueCmd: on the off chance that you're around, do you have a second to chat re: OR1K debian? | 10:19 |
benjamincburns | No worries - have to run to bed. I'll shoot you an e-mail. | 10:21 |
blueCmd | benjamincburns: hey! | 10:23 |
benjamincburns | Oh hey | 10:23 |
blueCmd | I just woke up | 10:23 |
benjamincburns | ah, timezones | 10:23 |
blueCmd | They are fun aren't they? | 10:23 |
benjamincburns | indeed | 10:23 |
benjamincburns | OR1K Debian -- exciting stuff! | 10:23 |
benjamincburns | I'm the person who built the network support for Sebastian's jor1k project, and I presently run the web socket gateway it's using for network support | 10:24 |
blueCmd | benjamincburns: cool! | 10:24 |
benjamincburns | I'd love to give a Debian image a shot on there, and if it works nicely, I'd *really* love to host a package repo mirror from there as well | 10:25 |
blueCmd | benjamincburns: wonderful stuff you did there | 10:25 |
benjamincburns | thanks, though it's a bit hacky on the server side at the moment | 10:26 |
blueCmd | benjamincburns: it's a great PR thing anyway, no matter how hacky it is :) | 10:26 |
blueCmd | I use it to showcase openrisc from time to time | 10:26 |
benjamincburns | sweet | 10:26 |
benjamincburns | I've had some interest from a few folks for a subscription-based service built out of all this - end goal being a private subnet, storage persistence (local and remote), and perhaps state transfer between server and browser | 10:27 |
benjamincburns | I don't know that there's enough interest to actually run a viable business out of it, but if it'd pay for the server costs and give me some motivation to keep hacking away at it, I'm all for it | 10:28 |
benjamincburns | my initial thought was that I'd work on Angstrom support in OpenEmbedded or Poky, but if there's a serious effort behind Debian, that's even better! | 10:29 |
blueCmd | I'm serious if I'm not the only one using it basically :) | 10:30 |
benjamincburns | haha, yeah - "serious" is relative | 10:30 |
benjamincburns | I guess what I mean is, if you can build a significant number of debian packages, I'd rather throw my efforts in behind that than work on OE/Poky | 10:31 |
benjamincburns | "significant" being relative as well | 10:31 |
benjamincburns | Python is indeed quite significant, haha | 10:31 |
blueCmd | well, I have around the hundred of packages now I think | 10:34 |
benjamincburns | anyway, I have to run, but I'll be in touch - I'd definitely like to help out any way I can. | 10:34 |
blueCmd | great! i'll be doing alot of traveling in the comming 3 weeks | 10:34 |
blueCmd | where are you btw? in the off chance I'll be travling there | 10:34 |
poke53281 | blueCmd: Looks like you have been busy the last few weeks. :) . Great stuff. I will give a try in a few weeks when I have time. | 10:35 |
blueCmd | poke53281: cool! | 10:36 |
Powermaniac__ | blueCmd: How does one recompile Debian packages for use on the OR1KSim? | 10:37 |
blueCmd | Powermaniac__: oh boy, from scratch? :D | 10:37 |
Powermaniac__ | blueCmd: As I've been thinking I should begin trying to help/use it as then I might get a feel for whether I want to buy an FPGA board to use it on etc. | 10:38 |
Powermaniac__ | blueCmd: Yeah sort of err ignorant when it comes to how linux works, sort of. Although I'm leanring C at the moment so I'm not sure if that helps? | 10:38 |
blueCmd | Powermaniac__: so, the easiest way (not the fastest) is to load you up with qemu-or32 with all the patches. that will allow you to do an Debian or1k installation | 10:39 |
blueCmd | from there you do apt-get install build-essential, apt-get source PACKAGE, cd PACKAGE, dpkg-buildpackage | 10:39 |
Powermaniac__ | Okay what is the preferred way, not the easiest or the fastest...? | 10:40 |
blueCmd | Powermaniac__: the point I was making (a bit snarkly perhaps :P) is that bootstraping or1k Debian from scratch is a painful process. I'm working at making it easier, but since a lot of things in Debian 1) wasn't made to do this (people are chaning that) and 2) or1k stuff is not upstream, that requires a ton of work | 10:40 |
Powermaniac__ | As I don't mind messing around with it, really it matters if anyone is willing to help me mess around with it unless there is some good documentation on setting it up now... | 10:40 |
blueCmd | Powermaniac__: that above is the preferred way | 10:40 |
blueCmd | the qemu thing | 10:41 |
Powermaniac__ | Ahh okay | 10:41 |
blueCmd | the other way is to cross-compile, which is messy and almost never totally works | 10:41 |
Powermaniac__ | Do you have a list of working packages up somewhere or something | 10:42 |
poke53281 | blueCmd: Yes, the intention of the QEMU patches I did was also to provide an easier way to compile stuff. With the patches QEMU user mode is especially fast. | 10:43 |
blueCmd | Powermaniac__: it's not a very nice list, but https://github.com/bluecmd/or1k-debian/blob/master/repository.manifest if you look at files in the /home/bluecmd/public_html/repositories/final directory | 10:43 |
blueCmd | poke53281: are you sebastian? | 10:44 |
poke53281 | Yes | 10:44 |
blueCmd | I keep forgetting | 10:44 |
blueCmd | poke53281: yes! it's indeed the case | 10:44 |
poke53281 | send you an email half an hour ago | 10:44 |
blueCmd | poke53281: sent you a response 11 min ago ;) | 10:44 |
poke53281 | :) | 10:47 |
blueCmd | poke53281: anyway, I cannot thank you enough. if you need help upstreaming or anything, let me know. I know it can be a pain to get around to doing it | 10:48 |
blueCmd | speaking of which, I'd better upstream some stuff now before I go traveling | 10:49 |
Powermaniac__ | So I assume I need to be using linux to get QEMU or well it is recommended to be running say Debian and then QEMU on top of that? Which is fine as I was about to do a fresh install of Debian... | 10:49 |
blueCmd | you need debootstrap, qemu, binfmt-misc (kernel support) and chroot. I seem to recall that it's possible to get debootstrap for fedora, but it was kind of painful. | 10:51 |
blueCmd | debian would be the easy choice | 10:51 |
benjamincburns | blueCmd: I'm in Christchurch, New Zealand | 10:52 |
blueCmd | benjamincburns: ah! sadly i'm not going there! I wouldn't mind though | 10:54 |
Powermaniac__ | Well I'm going to go do a fresh install of Debian | 10:57 |
Powermaniac__ | So bye for now | 10:57 |
powermaniac | Quick question is this the qemu-or32 package I want for OR1kSim: http://alpinelinux.org/apk/main/x86/qemu-or32 ? | 12:45 |
blueCmd | or1ksim and qemu-or32 are not the same thing. you can run either without eachoter | 12:47 |
blueCmd | powermaniac: I'd currently recommend that you clone my fork: https://github.com/bluecmd/or1k-qemu | 12:48 |
powermaniac | Oh... | 12:48 |
powermaniac | Okay so I've cloned that repository, well downloaded it as a zip file. Now is there documentation somewhere on setting this particular setup, up? | 12:58 |
powermaniac | Sorry if I'm being really thick... | 12:58 |
blueCmd | powermaniac: yes, the documentation is blueCmd :P | 12:58 |
powermaniac | Oh xD | 12:58 |
blueCmd | ./configure --target-list=or32-linux-user --static | 12:59 |
blueCmd | make && sudo make install | 12:59 |
blueCmd | you might need 'sudo apt-get build-dep qemu' first | 12:59 |
powermaniac | Hmm | 13:00 |
powermaniac | Okay two problems with that, I tried: "sudo apt-get build-dep qemu" and got: "E: You must put some 'source' URIs in your sources.list" so then I tried: "/configure --target-list=or32-linux-user --static" for the hell of it and got: "ERROR: "cc" either does not exist or does not work" | 13:04 |
powermaniac | oops ./configure* | 13:04 |
powermaniac | oops ./configure* | 13:06 |
blueCmd | yeah, you need to have a src-line in your sources.list. 2 sec | 13:06 |
powermaniac | Okay, thanks | 13:06 |
blueCmd | add this to /etc/apt/sources.list: | 13:07 |
blueCmd | deb-src http://http.debian.net/debian wheezy main | 13:07 |
blueCmd | and apt-get update | 13:11 |
powermaniac | Hmm never seen that before the http://http that is | 13:13 |
blueCmd | it's just naming. they have ftp.debian.net aswell | 13:13 |
blueCmd | and rsync.debian | 13:13 |
powermaniac | Yeah seen the ftp before | 13:13 |
powermaniac | Wow that is a lot of dependencies | 13:13 |
powermaniac | Only 179mb though... | 13:14 |
blueCmd | hah yes | 13:15 |
powermaniac | Okay well, "./configure --target-list=or32-linux-user --static" and "make && sudo make install" is done. Although there were some errors at the end | 13:23 |
blueCmd | yeah, it does that | 13:24 |
blueCmd | powermaniac: I took the time to write a short readme just now | 13:25 |
blueCmd | https://github.com/bluecmd/or1k-debian/blob/master/README | 13:25 |
blueCmd | give it a spin | 13:25 |
powermaniac | Okay | 13:25 |
blueCmd | you would be at line 14 | 13:25 |
powermaniac | So should I worry about the errors from make && sudo make install? | 13:26 |
blueCmd | hm | 13:26 |
blueCmd | do you have /usr/local/bin/qemu-or32 ? | 13:26 |
blueCmd | if not, run sudo make install by itself and then check again | 13:27 |
powermaniac | http://pastebin.com/RmZ4CPKy | 13:29 |
powermaniac | Those are the errors | 13:29 |
powermaniac | Tried make install a second time and got that, no /usr/local/bin/qemu-or32 | 13:29 |
powermaniac | blueCmd: Any ideas...? | 13:40 |
blueCmd | powermaniac: sorry, I was checking in on flights and stuff | 13:44 |
powermaniac | blueCmd: Oh no my bad, just being impatient | 13:45 |
blueCmd | powermaniac: try installing libgpg-error-dev | 13:45 |
blueCmd | and re-running ./configure-thing | 13:46 |
ysionneau | blueCmd: your work on Debian seems really amazing, congratulations it must have been looong hours of work :) | 13:46 |
blueCmd | (not ./configure-thing per say, but the ./configure ... wahtever) | 13:46 |
ysionneau | bravo! | 13:46 |
blueCmd | ysionneau: hah yes, It was been very fun though, learned a lot :P | 13:46 |
blueCmd | thanks :) | 13:46 |
ysionneau | I bet you learned a lot of stuff :) | 13:47 |
* ysionneau is watching the asciinema | 13:47 | |
ysionneau | is it correct to say it's the first time Debian runs on FPGA? | 13:47 |
ysionneau | maybe some guys have run Debian for ARM on FPGA ... | 13:47 |
ysionneau | but the first run of Debian on open source FPGA design? | 13:48 |
powermaniac | blueCmd: Okay tried running "apt-get install libgpg-error-dev" and nothing needed to be installed... | 13:49 |
blueCmd | weird | 13:52 |
powermaniac | If you need to go that is fine | 13:52 |
blueCmd | powermaniac: can you do sudo make V=1 install and give me the first lines at least | 13:52 |
powermaniac | As I will have to go myself eventuallyh | 13:52 |
blueCmd | powermaniac: nah, it's all fine | 13:53 |
powermaniac | http://pastebin.com/AkkcpG8X | 13:54 |
powermaniac | That is all the response from sudo make V=1 | 13:54 |
ysionneau | blueCmd: by TLS (in your email) you mean Thread Local Storage ? | 13:55 |
blueCmd | ysionneau: yep | 13:59 |
blueCmd | i usually try to spell it out at least once, but maybe I forgot this time | 13:59 |
blueCmd | powermaniac: | 14:15 |
blueCmd | on the long line there beginning with cc | 14:16 |
blueCmd | try adding -lgpg at the end | 14:16 |
blueCmd | and running it manually | 14:16 |
powermaniac | Okay | 14:16 |
powermaniac | I'm going to take a stab in the dark and say missing lgpg is probably a bad sign? http://pastebin.com/VTABxiHe | 14:20 |
blueCmd | try -lgpg-error | 14:23 |
powermaniac | blueCmd: http://pastebin.com/uqWLGbpF that seemed to get rid of the lgpg problem. | 14:26 |
powermaniac | ( I seem to be great a making developers make it so anyone can set up there software xD) | 14:27 |
powermaniac | Meaning even linux ignorant people like myself can get it to work xD | 14:35 |
blueCmd | powermaniac: super, do you have /usr/local/bin/qemu-or32 now? | 14:41 |
powermaniac | blueCmd: No...=\ | 14:42 |
powermaniac | blueCmd: I might need to come back to this tomorrow sometime if possible? | 14:46 |
blueCmd | powermaniac: are you sure you ran make install? | 14:48 |
blueCmd | and not just make? | 14:48 |
powermaniac | OH I ran both at first | 14:48 |
powermaniac | I will try make install again though | 14:49 |
blueCmd | it should work now with the thing compiled | 14:49 |
powermaniac | Well it compiled some more stuff it seems but more errors again and still no /usr/local/bin/qemu-or32 http://pastebin.com/pjASLMVT | 14:51 |
blueCmd | powermaniac: yeah, run it from the or32-whatever directory | 14:52 |
blueCmd | make install that is | 14:52 |
powermaniac | Oh I didn't actually mention before I got rid of the lgpg error yes but it still had other errors pop up with the cc etc etc. | 14:52 |
blueCmd | well, you say errors but it's probably warnings | 14:52 |
powermaniac | Ohhh | 14:53 |
blueCmd | which is a whole other thing (we ignore those, they are a result from the static linking most often) | 14:53 |
powermaniac | Yeah like -werror... | 14:53 |
powermaniac | or32-linux-user directory? | 14:53 |
blueCmd | yep | 14:53 |
powermaniac | Well I think that worked | 14:55 |
blueCmd | do you have the file? | 14:55 |
powermaniac | Yes I do! | 14:55 |
blueCmd | Great! :) then continue onwards! | 14:56 |
powermaniac | blueCmd: For this like "sudo ./scripts/qemu-binfmt-conf.sh" what directory do I need to be in? | 14:58 |
powermaniac | line* | 15:00 |
blueCmd | run it in the qemu directry | 15:01 |
powermaniac | qemu-or32? | 15:01 |
powermaniac | Okayt | 15:01 |
blueCmd | (the directory that contains a directory called 'scripts') | 15:01 |
powermaniac | Oh | 15:01 |
powermaniac | Bugger going to have to continue this tomorrow | 15:03 |
powermaniac | I think | 15:03 |
powermaniac | Thanks for all the help blueCmd! | 15:03 |
powermaniac | Seeing as it is 1:42 AM xD | 15:04 |
blueCmd | ok, I'll be travelling a lot the coming 3 weeks | 15:04 |
powermaniac | So I've heard, hope all goes well! | 15:04 |
blueCmd | so I might be hard to reach | 15:04 |
powermaniac | Okay no problem | 15:05 |
powermaniac | Bye. | 15:05 |
-!- ysangkok_ is now known as ysangkok | 17:12 | |
--- Log closed Mon Jan 27 00:00:12 2014 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!