|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
question about or1ksim used by embecosm's ean1.pdf and ean2.pdfHi, all
Have anybody read Jeremy Bennett's 'ean1.pdf' and 'ean2.pdf' downloaded from http://www.embecosm.com/download.html. It's a case study of the usage of the or1ksim. It's really in detail, but I still have many question. First, I build the or1ksim following the section 3.7 of ean2, but where are the 'include' and 'lib' folder after 'make install'. without these folder, the compile of the ean1 section 5.5.1 can not pass. Second, I did all the job following the ean2, but the linux still can not start. enclosed was the error reported. (BTW, the linux I use is running on a vmware on the windows OS, does it matter?) I really appreciate your response.
Thank you! -- Best Regards
Ye Jun
Computer Science Colleage
National University of Defence Technology
Changsha, China
Zip-code: 410073 [广告] 重奖 悬赏kfc3v3 球衣 _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc |
|
|
Re: question about or1ksim used by embecosm's ean1.pdf and ean2.pdfOn Fri, 2008-11-28 at 10:48 +0800, yejun.golden wrote:
> Hi, all > Have anybody read Jeremy Bennett's 'ean1.pdf' and 'ean2.pdf' > downloaded from http://www.embecosm.com/download.html. It's a case > study of the usage of the or1ksim. > It's really in detail, but I still have many question. > > First, I build the or1ksim following the section 3.7 of ean2, but > where are the 'include' and 'lib' folder after 'make install'. without > these folder, the compile of the ean1 section 5.5.1 can not pass. Hi Ye Jun, They will be sub-directories of the directory you specified with your --prefix parameter (in my example /opt/or1ksim). > Second, I did all the job following the ean2, but the linux still can > not start. enclosed was the error reported. (BTW, the linux I use is > running on a vmware on the windows OS, does it matter?) Which version of Or1ksim are you using? Could you repeat, using a debug build of Ork1sim. Follow the standard instructions, but instead of "make all" use make all CFLAGS+="-ggdb" Ensure that your Linux system is set up to generate core dumps. Use: ulimit -c unlimited After the crash you should have a file of the form core.XXXXX, where XXXXX is the process id of the Or1ksim that crashed. Inspect this with gdb (the one on your system NOT the Or1ksim one). gdb /opt/or1ksim/bin/or32-uclinux-sim core.XXXXX (substitute the actual location of your or1ksim and the actual core file name). Use the command "backtrace" and post the result here. That should show where the crash is occurring. HTH, Jeremy -- Tel: +44 (1202) 416955 Cell: +44 (7970) 676050 SkypeID: jeremybennett Email: jeremy.bennett@... Web: www.embecosm.com _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc |
|
|
Re: question about or1ksim used by embecosm's ean1.pdf and ean2.pdfHi Jeremy
Hi run into the same issue when you say "They will be sub-directories of the directory you specified with your --prefix parameter (in my example /opt/or1ksim)." are the lib and include folder expected to appear under /opt/orksim ??? I only get the bin folder...in step 3.7.3 of AN2 BR LSousa
|
|
|
Re: question about or1ksim used by embecosm's ean1.pdf and ean2.pdf
Refer to this script http://www.opencores.org/projects.cgi/web/or1k/vmware_image/MOF_ORSOC_TCHN_v3b.sh may can help you easily know how to build the or1ksim
--Xianfeng On Wed, 2009-02-18 at 16:20 -0800, lsousa wrote: Hi Jeremy Hi run into the same issue when you say "They will be sub-directories of the directory you specified with your --prefix parameter (in my example /opt/or1ksim)." are the lib and include folder expected to appear under /opt/orksim ??? I only get the bin folder...in step 3.7.3 of AN2 BR LSousa Jeremy Bennett-4 wrote: > > On Fri, 2008-11-28 at 10:48 +0800, yejun.golden wrote: >> Hi, all >> Have anybody read Jeremy Bennett's 'ean1.pdf' and 'ean2.pdf' >> downloaded from http://www.embecosm.com/download.html. It's a case >> study of the usage of the or1ksim. >> It's really in detail, but I still have many question. >> >> First, I build the or1ksim following the section 3.7 of ean2, but >> where are the 'include' and 'lib' folder after 'make install'. without >> these folder, the compile of the ean1 section 5.5.1 can not pass. > > Hi Ye Jun, > > They will be sub-directories of the directory you specified with your > --prefix parameter (in my example /opt/or1ksim). > >> Second, I did all the job following the ean2, but the linux still can >> not start. enclosed was the error reported. (BTW, the linux I use is >> running on a vmware on the windows OS, does it matter?) > > Which version of Or1ksim are you using? Could you repeat, using a debug > build of Ork1sim. Follow the standard instructions, but instead of "make > all" use > > make all CFLAGS+="-ggdb" > > Ensure that your Linux system is set up to generate core dumps. Use: > > ulimit -c unlimited > > After the crash you should have a file of the form core.XXXXX, where > XXXXX is the process id of the Or1ksim that crashed. Inspect this with > gdb (the one on your system NOT the Or1ksim one). > > gdb /opt/or1ksim/bin/or32-uclinux-sim core.XXXXX > > (substitute the actual location of your or1ksim and the actual core file > name). Use the command "backtrace" and post the result here. That should > show where the crash is occurring. > > HTH, > > > Jeremy > > -- > Tel: +44 (1202) 416955 > Cell: +44 (7970) 676050 > SkypeID: jeremybennett > Email: jeremy.bennett@... > Web: www.embecosm.com > > > _______________________________________________ > http://www.opencores.org/mailman/listinfo/openrisc > > _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc |
|
|
|
|
|
|
|
|
Re: question about or1ksim used by embecosm's ean1.pdf and ean2.pdfOn Wed, 2009-02-18 at 16:20 -0800, lsousa wrote:
> Hi Jeremy > Hi run into the same issue > > when you say "They will be sub-directories of the directory you specified > with your > --prefix parameter (in my example /opt/or1ksim)." are the lib and include > folder expected to appear under /opt/orksim ??? > I only get the bin folder...in step 3.7.3 of AN2 > > BR > LSousa Hi LSousa, I see from your later email that you are using Or1ksim 0.2.0. There is nothing to install in the include and lib directories for 0.2.0. It is for the standalone library and header, which is available either as a separate project for for 0.2.0 or as part of Or1ksim 0.3.0rc2. I would strongly recommend you move to Or1ksim 0.3.0rc2. It fixes many bugs. The lib and include directories all work fine for me. HTH, Jeremy -- Tel: +44 (1202) 416955 Cell: +44 (7970) 676050 SkypeID: jeremybennett Email: jeremy.bennett@... Web: www.embecosm.com _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc |
|
|
|
|
|
Re: question about or1ksim used by embecosm's ean1.pdf and ean2.pdfOn Fri, 2009-02-20 at 20:04 +0100, licinios@... wrote:
> Hi jeremy, > Very well, i will move to 3.0RC2. > But can i use this version in AN1??? this is my main goal Yes. Please report if you find any problems. ATB, Jeremy -- Tel: +44 (1202) 416955 Cell: +44 (7970) 676050 SkypeID: jeremybennett Email: jeremy.bennett@... Web: www.embecosm.com _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc |
|
|
|
|
|
Re: question about or1ksim used by embecosm's ean1.pdf and ean2.pdfOn Wed, 2009-02-25 at 17:20 +0100, licinios@... wrote:
> Hi jeremy, > Very well, i will move to 3.0RC2. > But can i use this version in AN1??? this is my main goal Hi Licnio, Since I wrote this, I've released Or1ksim 0.3.0rc3. I have tested this and it works fine with EAN1. You will need to use the latest release of the examples (ESP1 version 1.2). Some of the diagrams in EAN1 are now slightly wrong, because they describe the old endianness, which is now fixed. However all the programs work correctly. I am planning to release Or1ksim 0.3.0 at the end of this month. ATB, Jeremy -- Tel: +44 (1202) 416955 Cell: +44 (7970) 676050 SkypeID: jeremybennett Email: jeremy.bennett@... Web: www.embecosm.com _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc |
| Free embeddable forum powered by Nabble | Forum Help |