--- Log opened Tue Aug 09 00:00:17 2016 | ||
olofk_ | I think stekern or bandvig might have done some of those tests | 03:17 |
---|---|---|
vidya | hello all | 05:31 |
vidya | Anyone who can help me out in executing a C code on or1ksim? | 05:31 |
olofk_ | Hi vidya. You could start with a small "Hello world" program | 08:21 |
olofk_ | Compile it with or1k-elf-gcc -o hello hello.c | 08:21 |
olofk_ | Then you need to run or1ksim with a config file, and the compiled program | 08:21 |
olofk_ | Like or1k-elf-sim -f path/to/sim.cfg hello | 08:22 |
vidya | I get this error while trying to compile the program cannot execute binary file: Exec format error | 08:22 |
vidya | This is when I'm using tutorial directory which you mentioned earlier | 08:23 |
vidya | when I'm using the other toolchain which I built earlier i.e or1k-elf-gcc -o hello.elf hello.c and use it in the or1ksim built as in the tutorials ..it works somehow | 08:25 |
olofk_ | I'm not sure I follow you now. You have two toolchains? One that is working and one that's not working. Did I understand you correctly? | 08:26 |
vidya | Yes, after you suggested to use https://github.com/openrisc/tutorials link, I cloned this project and started following the steps in this | 08:27 |
vidya | What I mean is compilation of C prgram works in old toolchain I had built but the run command works using the new or1ksim | 08:28 |
vidya | I found that the or1ksim.cfg file is missing in old steps link | 08:29 |
vidya | I'm not sure why the compilation is not working with the toolchain in tutorials | 08:29 |
vidya | Do you follow? | 08:31 |
olofk_ | Sorry. I need to go for a bit | 08:33 |
vidya | Oh ok . No problem | 08:41 |
vidya | I got it working. The paths were not set properly hence the errors. | 09:21 |
shorne_ | vidya, hello, oh signed off | 11:33 |
shorne_ | Hi All, sorry been away, busy a bit | 11:33 |
-!- shorne_ is now known as shorne | 11:33 | |
shorne | Hello | 11:33 |
shorne | Last I was working on gdb, then was starting to look into gcc 5.3.0 | 11:34 |
shorne | Then I think gcc 6, anyone working on merging the openrisc patches into latest gcc upstream (any reason we should? / shouldn't) | 11:35 |
shorne | FYI, from what I recall moving to gcc 6 was hard, I think binutils and gdb needed a lot of patches | 11:36 |
shorne | Anyway, I just build linux 4.8 with gcc 5.3.0 and it seems to be working (booted on or1ksim) | 11:40 |
shorne | Linux version 4.8.0-rc1-smh-26495-gea1ee77 ([email protected]) (gcc version 5.3.0 (GCC) ) | 11:41 |
ZipCPU | shorne: Welcome back! | 12:00 |
olofk_ | shorne: Great to know that latest kernel with gcc 5.3.0 is working | 12:42 |
olofk_ | I'd say that gcc 6 would be nice. It's always good to track upstream. Haven't got a clue about the potential difficulties involved though | 12:44 |
oleg-nenashev | olofk_: My bad. I'm behind the schedule with everything related to OSS on this month :( | 14:39 |
oleg-nenashev | I've started drafting the Dockerfile, but it's still in the non-operational state. | 14:39 |
olofk_ | oleg-nenashev: Sorry. Don't mean to add more things to your workload. Just let me know if you get time to work on it and need any input from me | 15:26 |
oleg-nenashev | olofk_: I'm kinda interested about FuseSOC autotests. Do you just run some test/demo scripts? Or do you have something else? | 15:27 |
oleg-nenashev | olofk_: BTW, don't hesitate to ping me. Jenkins project and GSoC consumes too much my time, so I get easily swamped by TODOs there. But I want to follow-up on commitments in other areas | 15:30 |
olofk_ | oleg-nenashev: The CI tests for FuseSoC itself right now are very simple. They just install FuseSoC and lists the available cores basically. | 17:19 |
olofk_ | They don't run any simulations on the cores or try to build anything | 17:20 |
olofk_ | But this is what I would like to use Jenkins for. Iterating over all testbenches for each core and run them with their supported simulators/FPGA build tools | 17:21 |
olofk_ | For a given library | 17:21 |
olofk_ | shorne, wallento: We had some strange problems with sys/mman.h in newlib IIRC. Just saw that there was something about adding that file just recently on the newlib mailing list. It was for the rtems target, but maybe applicable for us too | 17:22 |
--- Log closed Wed Aug 10 00:00:18 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!