Jia | hi or1k gangs, anyone right here right now? | 03:30 |
---|---|---|
Administrator_ | hi | 03:50 |
Administrator_ | how to building gdb under cygwin? | 03:51 |
Administrator_ | I'm compiled the or1ksim success under cygwin. | 03:53 |
Administrator_ | hello | 04:38 |
Jia | I'm here, but I'm a *NIX user. | 04:49 |
stekern | Administrator_: I think _franck_ made some efforts building gdb under cygwin, but I'm not sure if he ever succeeded | 05:18 |
Jia | did or1ksim some special work? when I test or32-linux on qemu, it can NOT run busybox. | 05:21 |
Jia | I'm porting qemu to or32, almost finish. | 05:21 |
gxti | Jia: excellent | 05:21 |
stekern | cool! | 05:22 |
stekern | what do you mean by "special work"? | 05:22 |
Jia | when I run linux using or1ksim, it is OK. when I run linux using qemu, it stop at busybox | 05:23 |
Jia | really wired | 05:23 |
gxti | Jia: segfault? | 05:23 |
Jia | bbl | 05:23 |
Jia | it just STOP there. | 05:25 |
Jia | but if I replace busybox with a "hello" program, it is OK. | 05:26 |
stekern | so where in busybox does it stop? | 05:28 |
stekern | a bit hard for us to help you, you are the one who have done the qemu implementation... | 05:28 |
Jia | I'll eat the last bug. | 05:29 |
Jia | what ever, I can't give up at this moment. | 05:29 |
stekern | do you have your work published somewhere? | 05:30 |
Jia | not yet | 05:30 |
olofk | qemu sounds very interesting. Keep us posted | 07:23 |
stekern | _franck_: I finally got around to take a look at your or1k-tcltools this morning, I didn't quite get it to work though. Have you tried running it from commandline under linux? | 07:24 |
stekern | I did: quartus_stp -t run.tcl <filename> | 07:27 |
stekern | that's perhaps not the way to do it? | 07:27 |
--- Log closed Wed May 09 08:12:36 2012 | ||
--- Log opened Wed May 09 08:12:47 2012 | ||
-!- Irssi: #openrisc: Total of 19 nicks [0 ops, 0 halfops, 0 voices, 19 normal] | 08:12 | |
-!- Irssi: Join to #openrisc was synced in 22 secs | 08:13 | |
_franck_ | hi stekern , thanks for testing. There was a small mistake in the script. I fixed it, Can you pull the project again ? | 10:20 |
_franck_ | no, I didn't try it under linux | 10:20 |
stekern | ok, after pulling it works | 10:23 |
stekern | so now it's tested under linux too ;) | 10:24 |
_franck_ | cool :) | 10:24 |
stekern | but the loading is pretty slow | 10:24 |
_franck_ | yeah I know :( But it is usefull when you want to use signal tap using or1k | 10:24 |
stekern | yep, and it's a lot "easier" than setting up the whole thing with openocd-gdb | 10:26 |
stekern | I think I'll add this stuff to the de0 nano orpsoc port | 10:27 |
_franck_ | it is perfect for newbies | 10:27 |
_franck_ | I wanted to interface openocd with the tcl script so we could have gdb , signal tap | 10:28 |
_franck_ | may be one day... | 10:28 |
jonibo | is there a quick way to go from hex codes to _readable_ or1k assembly??? | 12:04 |
jonibo | ok, figured it out | 12:09 |
jonibo | or32-aac-linux-objdump -m or32 -b binary -D ooo | 12:09 |
jonibo | after dumping my hex codes to the file ooo | 12:09 |
Administrator_ | hi, why the https://github.com/rdiez/orbuild build target is or32-elf, how to use orbuild build or-linux | 12:30 |
Administrator_ | or32-linux | 12:30 |
jonibo | why do you need or32-linux? | 12:31 |
Administrator_ | I'm need the uClib. | 12:31 |
jonibo | ok | 12:31 |
Administrator_ | I saw the orbuild dir include newlib, not uclib. | 12:32 |
jonibo | yeah, looks like it doesn't do the linux toolchain yet | 12:32 |
jonibo | don't know... what are you trying to achieve? just a build a toolchain? is orbuild the right tool for that? | 12:33 |
jonibo | or are you planning on running the tests? | 12:33 |
Administrator_ | my company have a lot of windows developer. them need the toolchain under windows with uclibc | 12:37 |
jonibo | ok | 12:37 |
jonibo | i think you'll need to build under cygwin | 12:37 |
jonibo | this is not my area of expertise, I'm afraid | 12:37 |
Administrator_ | thanks | 12:38 |
jonibo | I saw michaelliu was doing cygwin builds... perhaps he can help you out | 12:38 |
jonibo | I think orsoc1__ knows about this, too | 12:39 |
jonibo | you could try to ping them | 12:39 |
Administrator_ | yh, exactly me. michaelliu login on my linux computer | 12:40 |
jonibo | heh! | 12:40 |
jonibo | I guess you know where to find him then! :) | 12:40 |
Administrator_ | michaelliu is my other english name. | 12:41 |
jonibo | yeah, I got that | 12:41 |
jonibo | i'm sometimes known as 'root', myself | 12:42 |
Administrator_ | i'm under linux use i686-pc-mingw32-gcc compile target-gcc is fine,target-libgcc is fail | 12:43 |
jonibo | I think you really need to use cygwin... I don't think mingw will cut it for building this toolchain | 12:44 |
Administrator_ | use orbuild under cygwin also failed, "makefile:1162: recipe for target 'gdb.exe' failed" | 13:50 |
Administrator_ | just build gdb.exe failed, the other is fine to work.like "or32-elf-gcc or32-elf-nm and so on" | 13:51 |
jeremybennett | Administrator_: MinGW has some issues with absolute filenames and symbolic links. All the scripts I have ever seen have special code for MinGW to get round this. | 14:34 |
jeremybennett | It's a scripting challenge, there is no problem building GNU tool chains in general in this environment | 14:35 |
jeremybennett | Have a look at the build scripts for the ARC tool chain for an example of how to deal with this: http://sourceforge.net/projects/arc-linux/files/ARC%20GNU%20Toolchain/ARC%20GNU%20Rel%202.4/ | 14:36 |
Administrator_ | thanks,them has some of Relationship? | 14:45 |
jeremybennett | Administrator_: My company works with ARC. It's a good example of how to do scripts that also support MinGW. Not my work - I believe it was written by Brendan Kehoe | 15:22 |
stekern | jonibo: what newlib patches were you speaking about earlier? | 18:19 |
stekern | I still haven't got the new toolchain up and running with libgloss... | 18:20 |
stekern | crt0 et al doesn't get built for some reason | 18:22 |
hjy | ORPSoC v2 does not support for Altera's FPGA board? | 18:26 |
juliusb | hjy: certain builds do | 18:27 |
juliusb | i guess not the ones on OpenCores | 18:27 |
stekern | hjy: what board? | 18:27 |
juliusb | stekern's repo does have a couple of altera boards | 18:27 |
hjy | DE2 | 18:30 |
hjy | DE2-35 | 18:31 |
hjy | Stefan's ORPSoc support for de0-nano and de2-115 | 18:32 |
stekern | there is a port for de2-115 in my tree | 18:32 |
stekern | aah, you had already noticed ;) | 18:33 |
hjy | yes | 18:33 |
stekern | don't know how close they are, but not very much work would be required with one of those as base | 18:34 |
hjy | but,can't support ethernet | 18:34 |
stekern | well, the de0-nano board doesn't have ethernet | 18:35 |
stekern | but it shouldn't be that hard to add | 18:35 |
hjy | I try it。 but without success | 18:38 |
stekern | try harder? ;) | 18:39 |
stekern | seriously though, what made it fail? | 18:39 |
hjy | de2-115 have PHY for ethernet | 18:39 |
stekern | yeah, I didn't do that board port (I don't own one of those) | 18:40 |
hjy | I will try again | 18:42 |
hjy | use de2-115 | 18:42 |
hjy | sorry | 18:43 |
hjy | use de2-35 | 18:43 |
_franck_ | de2-35 has a dm9000 so yo don't need ethernet IP, yo just need a driver | 18:48 |
hjy | yeah | 18:50 |
hjy | This will be easier | 18:50 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!