--- Log opened Fri Mar 18 00:00:39 2016 | ||
juliusb | so, yes the searech function has stopped working since my server switch-over, I think the difference is I'm on apache 2.4 now and the permissions thing I copy-pasted from https://github.com/mgedmin/irclog2html don't work anymore | 06:05 |
---|---|---|
juliusb | is anyone an apache guru and care to help me out? | 06:06 |
juliusb | In my log I get this: [Fri Mar 18 06:00:09.482658 2016] [authz_core:error] [pid 11767:tid 140008417621760] [client 212.136.9.4:23742] AH01630: client denied by server configuration: /usr/local/bin/irclogsearch, referer: http://juliusbaxter.net/openrisc-irc/%23openrisc.2016-03-16.log.html | 06:06 |
juliusb | .. then I added this to my apache2.conf: | 06:07 |
juliusb | <Directory /usr/local/bin> Options All AllowOverride All Require all granted | 06:07 |
juliusb | </Directory> | 06:07 |
juliusb | ... based on someting I saw on the internets. but, that results in showing you the contents of the Python it's trying to execute, not actually executing it | 06:08 |
olofk | juliusb: Not my area, but could it be a python 2 vs 3 problem, rather than apache? | 06:30 |
olofk | Does your apache user (www-data?) have access to /usr/local/bin/ ? | 06:30 |
juliusb | okay, fixed it! Just had to enable CGI on the server, which apparently doesn't get done by default | 07:25 |
juliusb | http://juliusbaxter.net/openrisc-irc/search?q=omg | 07:26 |
juliusb | olofk: yes also had to add permissions to do CGI-binning in /usr/local/bin | 07:28 |
juliusb | alright, I promise not to touch the server for another 5 years | 07:28 |
wallento | shorne: Would you create a "Build Linux" for the tutorial? | 07:57 |
wallento | stekern: I am building all toolchains and put them up as releases on Github | 11:09 |
wallento | for musl I forked musl-cross and started a branch plus tags/releases for ork1, is that good? | 11:10 |
wallento | https://github.com/openrisc/musl-cross/releases | 11:10 |
wallento | and I added travis: https://travis-ci.org/openrisc/musl-cross | 11:10 |
wallento | I have also updated the newlib release with a gcc 5.2 version | 11:13 |
wallento | https://github.com/openrisc/newlib/releases/tag/v2.3.0-1 | 11:14 |
wallento | blueCmd and stekern: I pushed gcc 4.9.3 as the latest 4.9.x | 12:34 |
olofk | wallento: Great | 12:42 |
wallento | strangely I stumbled over this for the first time now: https://gist.github.com/wallento/26d15503e0dacbc2131c | 14:28 |
wallento | adding the prototype to or1k-proto.h solves it | 14:28 |
olofk | wallento: Are you trying to break the world record of most releases in a day :) | 15:39 |
stekern | wallento: yeah, that sounds good | 16:08 |
shorne | I need to remove the reset button on my machine. Daughter pressed it last night so I got logged out :) | 16:57 |
shorne | anyone looking for me ? | 16:57 |
olofk | shorne: juliusb got the logs back up, so you can check for yourself now :) | 17:04 |
shorne | olofk: great | 17:09 |
shorne | wallento: Ill create a build linux, sure. I was playing with that a lot 2 days ago... | 17:13 |
shorne | I think I found that loading the linux image via gdb doesnt really work, not sure where it fails | 17:14 |
shorne | if I load and boot in openocd it boots | 17:14 |
shorne | if in gdb, I dont have luck, it starts and I can step through it, but when I let it run it crashes with some errors | 17:15 |
shorne | anyway... Ill try some more thing later. | 17:15 |
olofk | shorne: Did you see the linux document I put up in the tutorials repo? | 17:18 |
shorne | wallento: in terms of building linux I thought I saw something, maybe this? http://opencores.org/or1k/Linux | 17:18 |
shorne | oh... maybe that was olofk | 17:18 |
shorne | yeah, that was it. wallento want more? I could add a few notes | 17:19 |
shorne | olofk: you did memset, did you have a look at memcpy? | 17:22 |
shorne | I am looking at it now. there are actually a ton of different implementations in the kernel already | 17:23 |
olofk | shorne: I never got around to do memcpy. It was slightly more complicated than memset, so I let it be | 17:26 |
shorne | olofk: many implementations just do something like this... http://lxr.free-electrons.com/source/arch/arm/boot/compressed/string.c#L9 | 17:27 |
shorne | loop unrolls | 17:27 |
olofk | Yeah, I think I based my memset on the microblaze c algorithm, but wanted to do asm to shave off a few more cycles | 17:28 |
olofk | But just doing that C algorithm will make it ~4 times faster on larger chunks | 17:30 |
shorne | microblaze. this one http://lxr.free-electrons.com/source/arch/microblaze/lib/memcpy.c#L36? | 17:30 |
olofk | :) | 17:30 |
shorne | the microblaze looks the same as a kernel default | 17:31 |
olofk | http://lxr.free-electrons.com/source/arch/microblaze/lib/memset.c#L49 | 17:31 |
shorne | anyway, the main goal with assembly will be to use the word memory transfers | 17:31 |
shorne | oh, they do that with c in the memset | 17:32 |
olofk | yep | 17:32 |
shorne | ok, cool | 17:32 |
shorne | let me play with that, I was seeing that during boot it takes about 5 seconds to load my initramfs | 17:32 |
shorne | If I can get it 4x faster that would be nice | 17:33 |
shorne | but maybe its gzip | 17:33 |
olofk | Four times faster memcpy should probably help a bit in many cases | 18:12 |
olofk | I noticed that the improved memset only used 90% as many instructions at boot. That's a 10% improvement, and probably more than that, since we reduce the number of memory accesses a lot too | 18:14 |
wallento | shorne: I thought you needed to do adopt some of the build instructions to get it running | 18:58 |
wallento | missed the one thats already there :) | 19:01 |
wallento | thanks | 19:01 |
wallento | olofk: just want to get all releases straight to bring openrisc.io to a good state | 19:01 |
olofk | wallento: It's great that you do that | 19:05 |
olofk | I'm playing with yosys and icestorm. Almost done with the FuseSoC backend | 19:05 |
shorne | wallento: Ill update it if I see anything I do different | 19:12 |
shorne | So I am playing with memcpy, for now I think the microblaze one is a bit too much and I just dont want to copy. Also it doesnt unroll loops | 19:12 |
shorne | So I make one that assumes word alignment, and if not if falls back to by copy with loop unrolls | 19:13 |
shorne | which should be pretty good, and Usually we would have word alignment | 19:13 |
shorne | all in C for now | 19:14 |
shorne | hah, its slower | 19:17 |
shorne | slower than the byte copies | 19:17 |
mithro | http://google-opensource.blogspot.com.au/2016/03/something-different-code-up-hardware-in.html?m=1 | 19:24 |
shorne | mithro: good writeup, I didnt see the openrisc gsoc proposal | 19:46 |
shorne | where is that? | 19:46 |
shorne | mithro: do you know a C braken at work? | 19:47 |
mithro | Name sounds familiar | 19:52 |
shorne | last I talked to him he was working on dart, if you see him say hi :) | 19:56 |
mithro | Please do share that blog post around, want as many potential GSoC students to see it | 19:57 |
--- Log closed Sat Mar 19 00:00:41 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!