1/1
where is my or1ksim.cfg ?
by danmcb on Jun 14, 2018 |
danmcb
Posts: 2 Joined: May 25, 2018 Last seen: Sep 13, 2018 |
||
hi,
Quite new to FPGA work, but I am looking to get into openrisc and hopefully run it on a MIMAS2 dev board I have (it runs a Spartan 6). So first I thought to build the kernel for or1ksim as detailed here: https://github.com/kdgwill/OR1K/wiki/Build-Linux-Kernel-For-OpenRisc-1000#run-on-or1ksim and the build seems to work fine, I did make defconfig make exactly as described. And I have a vmlinux image but the file arch/openrisc/or1ksim.cfg is not there. (There are various object files and so on in that part of the tree.) Any idea why? I guess I need it ... thanks Daniel |
RE: where is my or1ksim.cfg ?
by danmcb on Jun 15, 2018 |
danmcb
Posts: 2 Joined: May 25, 2018 Last seen: Sep 13, 2018 |
||
ok, to answer my own question - seems it is not a file from the build process? I downloaded from here:
https://github.com/openrisc/tutorials/tree/master/or1ksim and I could simulate hello world - didn't manage to run linux in sim yet ... does it need some sort of loader? |
RE: where is my or1ksim.cfg ?
by rahulkande on Sep 24, 2018 |
rahulkande
Posts: 1 Joined: Sep 20, 2018 Last seen: May 1, 2022 |
||
Hi,
I am Rahul. I am also trying to do something similar. If I am guessing correctly, you must be getting 'Segmentation Fault(Core Dump) with your current .cfg file and an empty xterm. I am saying so because this is the problem I am facing. Even I was not able to find the .cfg file when I built the linux kernel and hence tried with the one from https://github.com/openrisc/tutorials/tree/master/or1ksim. But as far as I know, the or1ksim.cfg file that we need to use for simulating the linux kernel will be different from this default one, thats why it is not working. But I couldnt find that too. Sorry that I am not able to provide you with anything substantial. Do let me know if you find some way of making it work. |
1/1