--- Log opened Sun Jan 19 00:00:00 2014 | ||
stekern | blueCmd_: verilator turns synthesizable verilog into a cycle accurate simulator | 03:24 |
---|---|---|
stekern | which is written in systemc/c++ | 03:25 |
stekern | the benefit is that it's blazing fast compared to event-driven simulation like icarus | 03:26 |
stekern | to give you a hint what blazing fast means, you get a clock frequency of about 0.5 MHz when you simulate the openrisc cpu implementations | 03:28 |
stekern | which means, that you can boot linux inside it in about 10-15 minutes, instead of 24h+ that it would take in icarus | 03:29 |
pk__ | is there any place where i can download or1k-uclibc-linux toolchain? | 06:45 |
pk__ | prebuilt binaries? | 06:45 |
pk__ | all i could find was newlib based binaries | 06:45 |
stekern | pk__: unfortunately, no | 06:57 |
pk__ | i was trying to compile but facing some problems | 07:02 |
pk__ | can i ask here | 07:02 |
pk__ | one things which is confusing me is which toolchain to build..i downloaded an fpga(digilent atlys image) and linux is booting okay which toolchain i need or32 or or1k? | 07:05 |
stekern | or32 is older, but perhaps more stable, or1k is newer and has features that are missing in or32 | 07:17 |
stekern | like support for dynamic linking etc | 07:18 |
pk__ | ohh i see so for me both will produce good binaries | 07:18 |
stekern | yes | 07:24 |
pk__ | ok i compiled binutils successfully..problem was bison and flex were not installed...it should be specified in the wiki that these packages should be installed libgmp-dev,libgmp2,libmpc-dev,libmpc,libmpfr,bison,flex etc | 07:36 |
pk__ | and --depth 1 parameter should be used in all git clone commands if users has to build and use only..there is no sense of downloading the large history of the repository | 07:37 |
pk__ | without --depth 1 linux header repo takes forever to clone on slow internet ;) | 07:38 |
stekern | good point, feel free to add that to the instructions | 08:04 |
pk__ | stekern: i compiled the whole toolchain successfully( i hope) and then wrote simple program int main(){int i;0++} compiled it using or1k-linux-uclibc-gcc test.c it produced a.out then i moved this a.out to the actual device but it does not run | 08:28 |
pk__ | is my compiling procedure correct? | 08:28 |
_franck_ | did you try to compile with --static ? | 08:39 |
pk__ | no | 08:51 |
pk__ | _franck_: or1k-linux-uclibc-gcc --static test.c ? like that? | 08:51 |
_franck_ | yes | 08:52 |
pk__ | lemme try | 08:52 |
pk__ | yes now it run | 08:53 |
pk__ | _franck_: why so? | 08:53 |
_franck_ | because you need to have gcc libraries in your filesystem /lib | 08:54 |
pk__ | so i should do ldd a.out and then copy all the libs also right? | 08:55 |
_franck_ | right :) | 08:55 |
pk__ | all right thanks | 08:55 |
blueCmd | stekern: that is very very cool! | 09:19 |
sova88 | Hello I am new on this channel | 11:38 |
sova88 | I would like to know, how can I extend linux port for DE0_NANO | 11:39 |
sova88 | I need two ethernet interfaces | 11:39 |
sova88 | can anyone help me? | 11:39 |
sova88 | juliusb_: Hi julius, I am looking for help with connecting one more ethernet interface in openrisc simulator | 11:49 |
sova88 | juliusb_:Can you help me? | 11:50 |
stekern | not if you quit before anyone have time to answer... | 11:55 |
blueCmd | stekern: hah, my thoughts exactly | 12:25 |
--- Log closed Mon Jan 20 00:00:02 2014 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!