Re: [casper] My Problem with bee_xps
> I found the problem. I started > putting uppercase letters in file > names. Uppercase letters cause > bee_xps to have trouble finding > files. Hi all. Can someone at CASPER put this in big letters on the WIKI somewhere? This bites everyone who uses the Linux version at least once. There maybe even ought to be a check in the bee_xps script to warn the user that the name cannot contain uppercase letters. Maybe it should even die with a fatal error if there are capital letters in the name. John > >> When I run bee_xps on my Simulink >> models, I get the following error >> message. >> >> Error using ==> gen_xps_create_pcore at 41 >> Cannot find any compiled XSG netlist. Have you run the >> Xilinx System Generator on your design ? >> >> I am running on Linux. After >> running bee_xps, the >> sysgen/synth_model directory has >> the following contents: >> >> cntr_11_0_9711f575cf7ce495.ngc >> firsttutorial_cw.sgp >> isim_firsttutorial.prj >> commandLines >> firsttutorial_cw.syr >> ngcbuild.results >> firsttutorial_cw_complete.blc >> firsttutorial_cw.vhd >> synopsis >> firsttutorial_cw_complete.ngc >> firsttutorial_cw.xise >> vcom.do >> firsttutorial_cw.gise >> firsttutorial.vhd >> xlpersistentdff.ngc >> firsttutorial_cw.ise >> globals >> xst_firsttutorial.prj >> firsttutorial_cw.ngc >> hdlFiles >> xst_firsttutorial.scr >> >> >> The full run of messages in the >> Matlab window from bee_xps are >> below. >> >> Detected Linux OS >> # >> ## System Update ## >> # >> Warning: The model 'firstTutorial' does not have continuous >> states, hence Simulink is >> using the solver 'VariableStepDiscrete' instead of solver >> 'ode45'. You can disable this >> diagnostic by explicitly specifying a discrete solver in >> the solver tab of the >> Configuration Parameters dialog, or by setting the >> 'Automatic solver parameter >> selection' diagnostic to 'none' in the Diagnostics tab of >> the Configuration Parameters >> dialog. >>> In gen_xps_files at 199 >> In bee_xps>run_Callback at 150 >> In bee_xps at 82 >> Warning: Using a default value of 0.2 for maximum step >> size. The simulation step size >> will be equal to or less than this value. You can disable >> this diagnostic by setting >> 'Automatic solver parameter selection' diagnostic to 'none' >> in the Diagnostics page of >> the configuration parameters dialog. >>> In gen_xps_files at 199 >> In bee_xps>run_Callback at 150 >> In bee_xps at 82 >> # >> ## Block objects creation ## >> # >> ## >> ## Checking objects ## >> ## >> Running system generator ... >> Warning: The model 'firstTutorial' does not have continuous >> states, hence Simulink is >> using the solver 'VariableStepDiscrete' instead of solver >> 'ode45'. You can disable this >> diagnostic by explicitly specifying a discrete solver in >> the solver tab of the >> Configuration Parameters dialog, or by setting the >> 'Automatic solver parameter >> selection' diagnostic to 'none' in the Diagnostics tab of >> the Configuration Parameters >> dialog. >>> In >> /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlCompileGenerateMdl.p>xlCompileGenerateMdl >> at 180 >> In >> /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlGenerateButton.p>xlGenerateButton >> at 281 >> In gen_xps_files at 324 >> In bee_xps>run_Callback at 150 >> In bee_xps at 82 >> Warning: Using a default value of 0.2 for maximum step >> size. The simulation step size >> will be equal to or less than this value. You can disable >> this diagnostic by setting >> 'Automatic solver parameter selection' diagnostic to 'none' >> in the Diagnostics page of >> the configuration parameters dialog. >>> In >> /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlCompileGenerateMdl.p>xlCompileGenerateMdl >> at 180 >> In >> /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlGenerateButton.p>xlGenerateButton >> at 281 >> In gen_xps_files at 324 >> In bee_xps>run_Callback at 150 >> In bee_xps at 82 >> XSG generation complete. >> # >> ## Copying base system ## >> # >> >> ## Copying custom IPs ## >> >> ## >> ## Creating Simulink IP ## >> ## >> Error using ==> gen_xps_create_pcore at 41 >> Cannot find any compiled XSG netlist. Have you run the >> Xilinx System Generator on your design ? >> >> >> >> >> > > >
Re: [casper] My Problem with bee_xps
I found the problem. I started putting uppercase letters in file names. Uppercase letters cause bee_xps to have trouble finding files. > When I run bee_xps on my Simulink > models, I get the following error > message. > > Error using ==> gen_xps_create_pcore at 41 > Cannot find any compiled XSG netlist. Have you run the > Xilinx System Generator on your design ? > > I am running on Linux. After > running bee_xps, the > sysgen/synth_model directory has > the following contents: > > cntr_11_0_9711f575cf7ce495.ngc > firsttutorial_cw.sgp > isim_firsttutorial.prj > commandLines > firsttutorial_cw.syr > ngcbuild.results > firsttutorial_cw_complete.blc > firsttutorial_cw.vhd > synopsis > firsttutorial_cw_complete.ngc > firsttutorial_cw.xise > vcom.do > firsttutorial_cw.gise > firsttutorial.vhd > xlpersistentdff.ngc > firsttutorial_cw.ise > globals > xst_firsttutorial.prj > firsttutorial_cw.ngc > hdlFiles > xst_firsttutorial.scr > > > The full run of messages in the > Matlab window from bee_xps are > below. > > Detected Linux OS > # > ## System Update ## > # > Warning: The model 'firstTutorial' does not have continuous > states, hence Simulink is > using the solver 'VariableStepDiscrete' instead of solver > 'ode45'. You can disable this > diagnostic by explicitly specifying a discrete solver in > the solver tab of the > Configuration Parameters dialog, or by setting the > 'Automatic solver parameter > selection' diagnostic to 'none' in the Diagnostics tab of > the Configuration Parameters > dialog. >> In gen_xps_files at 199 > In bee_xps>run_Callback at 150 > In bee_xps at 82 > Warning: Using a default value of 0.2 for maximum step > size. The simulation step size > will be equal to or less than this value. You can disable > this diagnostic by setting > 'Automatic solver parameter selection' diagnostic to 'none' > in the Diagnostics page of > the configuration parameters dialog. >> In gen_xps_files at 199 > In bee_xps>run_Callback at 150 > In bee_xps at 82 > # > ## Block objects creation ## > # > ## > ## Checking objects ## > ## > Running system generator ... > Warning: The model 'firstTutorial' does not have continuous > states, hence Simulink is > using the solver 'VariableStepDiscrete' instead of solver > 'ode45'. You can disable this > diagnostic by explicitly specifying a discrete solver in > the solver tab of the > Configuration Parameters dialog, or by setting the > 'Automatic solver parameter > selection' diagnostic to 'none' in the Diagnostics tab of > the Configuration Parameters > dialog. >> In > /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlCompileGenerateMdl.p>xlCompileGenerateMdl > at 180 > In > /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlGenerateButton.p>xlGenerateButton > at 281 > In gen_xps_files at 324 > In bee_xps>run_Callback at 150 > In bee_xps at 82 > Warning: Using a default value of 0.2 for maximum step > size. The simulation step size > will be equal to or less than this value. You can disable > this diagnostic by setting > 'Automatic solver parameter selection' diagnostic to 'none' > in the Diagnostics page of > the configuration parameters dialog. >> In > /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlCompileGenerateMdl.p>xlCompileGenerateMdl > at 180 > In > /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlGenerateButton.p>xlGenerateButton > at 281 > In gen_xps_files at 324 > In bee_xps>run_Callback at 150 > In bee_xps at 82 > XSG generation complete. > # > ## Copying base system ## > # > > ## Copying custom IPs ## > > ## > ## Creating Simulink IP ## > ## > Error using ==> gen_xps_create_pcore at 41 > Cannot find any compiled XSG netlist. Have you run the > Xilinx System Generator on your design ? > > > > >
Re: [casper] ROACH usbboot
Hi Mark, Thanks for your reply. I made a silly mistake: the filesystem, when untarred sits under a directory etch or etch-devel, and the system dirs (etc, usr,..) had to be moved one level up on the usb stick. It works now... cheers! --Ramesh On Sep 9, 2010, at 6:12 PM, Mark Wagner wrote: > Hi Ramesh, > > Did you make sure that the partition you created was bootable? > > Also, di you copy the filesystem over to the usb drive as root using 'cp > -rp'? > This is to preserve permissions and ownerships. > > Mark > > > On Thu, Sep 9, 2010 at 10:26 AM, Ramesh Karuppusamy wrote: > Hi All, > > I am trying to boot a ROACH system off a usb-stick. I followed instructions > found at > http://casper.berkeley.edu/wiki/Getting_Started_with_ROACH and tried both > > I tried both filesystem_etch_nfs_2009_07_07.tar.gz and > filesystem_etch_2009-11-30.tar.bz from the SVN repository. > > I used a 2GB usb-stick, then parted'ed the device to create a primary > parition and then ran > "mkfs .-t ext2" command to create an ext2 file system. > > I stopped the normal roach boot procedure, and then typed "run usbboot" and I > see > the following error: > > Warning: unable to open an initial console. > Kernel panic - not syncing: No init found. Try passing init= option to > kernel. > > Including "init=3" parameter to bootargs doesn't help either. > > Any idea on what is going wrong here? > > Thanks in advance! > > Cheers, > Ramesh >
[casper] spectrometer.py compatibility with wxpython
Hi, I have wxpython installed as the graphical backend of matplotlib. I find that the latest spectrum.py script uses figure.canvas.manager.window.after and the attribute 'after' is not supported in wx. I notice that this is supported in tk. So is 'tk' the preferred backend that you recommend? Thanks, Mandana
Re: [casper] updating CASPER-Corr wiki page
I am not the keeper of the CASPER wiki, so I will forward this to the CASPER list. On Thu, Sep 9, 2010 at 2:28 PM, Mandana Amiri wrote: > Hi Aaron, > > I took notes when I was installing python stuff on my two RHEL5.2 systems. I > was hesitating whether it's worth adding it to your wiki page. I'm not a > unix superuser by any means, so please review at your convenience and if you > think they are useful to others, I will add them in. > > Regards, > mandana > > Setting up Python > > Follow steps in http://casper.berkeley.edu/wiki/Corr > RHEL5 comes with python2.4, the corr page (above) asks for python 2.6, > therefore parallel installation of python2.6 is needed. > When you get to installing Corr package, it turns out that you need numpy > first. > Install python26-devel from epel, then python26-distribute to get > easy_install-2.6 > Follow numpy instructions to install numpy on SciPy.org. Building numpy from > source requires installing gcc-c++, gfortran. one may use ATLAS or lapack. > When configuring ATLAS, replace outdated --with-netlib option with -Ss > flapack (see ../configure --help) > When configuring ATLAS, there is a message about not being able to tune, so > we needed to turn off CPU throttling: su -c /usr//bin/cpufreq-selector -g > performance" (see ATLAS README.txt) > After painful installation of ATLAS, it turns out that ATLAS is broken and > we need to use BLAS and LAPACK, download blas, cblas, and lapack and build > them and install them. Now one can build and install numpy. For some reason > numpy1.5.2 doesn't work and numpy-1.4.1 works. > To be able to plot, install matplotlib which requires scipy (??) and a > graphical backend. > > run > > $python2.6 setup.py config > # if there is anything listed for graphical backend, then proceed with > build and install. > $python2.6 setup.py build > $sudo python2.6 setup.py install > > continue > > If there were more than one graphical backend listed during configuration, > then modify matplotlibrc file to choose your preferred backend. (look for > keyword 'backend'). Tkinter or tk seem to be compatible with casper scripts. > If there is no graphical backend listed, then proceed to installing a > graphical backend first. > The choice of backend was: gtk++, qt, or wxpython. gtk++ required pygobject > glib2 (!) and the problem was that when building it, it would go to > pygobject for 2.4. So the build wasn't succesful. Then we couldn't find qt > for python2.6. Built wxpython from source which required manually copying > libraries to /usr/lib64/python2.6. > how to build wxwidget or wxpython > > Then run python2.6, import matplotlib.pylab and import numpy work and > plotting works! > > now import corr and if it fails, you need to easy_install-2.6 inparse > > -- > Here is how to build wxwidget or wxpython: > > Downloaded 2.8.11.0 from www.wxpython.org > We need to make a separate version of wxwidget: > $ ./configure --prefix=/opt/wx > $ make > $ ( cd contrib && make ) > $ make install > $ cp lib/wx/include//wx/setup.h /opt/wx/include/wx-2.8/wx > ( is usually gtk2-unicode-release-2.8) > Change directory to /opt/wx/include > $ ln -s wx-2.8 wx > Change back to source directory: > $ cd wxPython > Edit config.py: > > Set BUILD_GLCANVAS = 0 > Set UNICODE = 0 > Set WX_CONFIG = "/opt/wx/bin/wx-config" > > $ python2.6 setup.py config > $ python2.6 setup.py build > $ sudo python2.6 setup.py install > $ cd /usr/lib/python2.6/site-packages > $ cp wx* /usr/lib64/python2.6/site-packages/ > > Add the following line to /etc/ld.so.conf: > /opt/wx/lib > and then run ldconfig. > > -- Aaron Parsons 510-406-4322 (cell) Campbell Hall 523, UCB
[casper] My Problem with bee_xps
When I run bee_xps on my Simulink models, I get the following error message. Error using ==> gen_xps_create_pcore at 41 Cannot find any compiled XSG netlist. Have you run the Xilinx System Generator on your design ? I am running on Linux. After running bee_xps, the sysgen/synth_model directory has the following contents: cntr_11_0_9711f575cf7ce495.ngc firsttutorial_cw.sgp isim_firsttutorial.prj commandLines firsttutorial_cw.syr ngcbuild.results firsttutorial_cw_complete.blc firsttutorial_cw.vhd synopsis firsttutorial_cw_complete.ngc firsttutorial_cw.xise vcom.do firsttutorial_cw.gise firsttutorial.vhd xlpersistentdff.ngc firsttutorial_cw.ise globals xst_firsttutorial.prj firsttutorial_cw.ngc hdlFiles xst_firsttutorial.scr The full run of messages in the Matlab window from bee_xps are below. Detected Linux OS # ## System Update ## # Warning: The model 'firstTutorial' does not have continuous states, hence Simulink is using the solver 'VariableStepDiscrete' instead of solver 'ode45'. You can disable this diagnostic by explicitly specifying a discrete solver in the solver tab of the Configuration Parameters dialog, or by setting the 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics tab of the Configuration Parameters dialog. > In gen_xps_files at 199 In bee_xps>run_Callback at 150 In bee_xps at 82 Warning: Using a default value of 0.2 for maximum step size. The simulation step size will be equal to or less than this value. You can disable this diagnostic by setting 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics page of the configuration parameters dialog. > In gen_xps_files at 199 In bee_xps>run_Callback at 150 In bee_xps at 82 # ## Block objects creation ## # ## ## Checking objects ## ## Running system generator ... Warning: The model 'firstTutorial' does not have continuous states, hence Simulink is using the solver 'VariableStepDiscrete' instead of solver 'ode45'. You can disable this diagnostic by explicitly specifying a discrete solver in the solver tab of the Configuration Parameters dialog, or by setting the 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics tab of the Configuration Parameters dialog. > In /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlCompileGenerateMdl.p>xlCompileGenerateMdl at 180 In /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlGenerateButton.p>xlGenerateButton at 281 In gen_xps_files at 324 In bee_xps>run_Callback at 150 In bee_xps at 82 Warning: Using a default value of 0.2 for maximum step size. The simulation step size will be equal to or less than this value. You can disable this diagnostic by setting 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics page of the configuration parameters dialog. > In /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlCompileGenerateMdl.p>xlCompileGenerateMdl at 180 In /usr/local/hdl/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlGenerateButton.p>xlGenerateButton at 281 In gen_xps_files at 324 In bee_xps>run_Callback at 150 In bee_xps at 82 XSG generation complete. # ## Copying base system ## # ## Copying custom IPs ## ## ## Creating Simulink IP ## ## Error using ==> gen_xps_create_pcore at 41 Cannot find any compiled XSG netlist. Have you run the Xilinx System Generator on your design ?
Re: [casper] ROACH usbboot
Hi Ramesh, Did you make sure that the partition you created was bootable? Also, di you copy the filesystem over to the usb drive as root using 'cp -rp'? This is to preserve permissions and ownerships. Mark On Thu, Sep 9, 2010 at 10:26 AM, Ramesh Karuppusamy wrote: > Hi All, > > I am trying to boot a ROACH system off a usb-stick. I followed instructions > found at > http://casper.berkeley.edu/wiki/Getting_Started_with_ROACH and tried both > > I tried both filesystem_etch_nfs_2009_07_07.tar.gz and > filesystem_etch_2009-11-30.tar.bz from the SVN repository. > > I used a 2GB usb-stick, then parted'ed the device to create a primary > parition and then ran > "mkfs .-t ext2" command to create an ext2 file system. > > I stopped the normal roach boot procedure, and then typed "run usbboot" and > I see > the following error: > > Warning: unable to open an initial console. > Kernel panic - not syncing: No init found. Try passing init= option to > kernel. > > Including "init=3" parameter to bootargs doesn't help either. > > Any idea on what is going wrong here? > > Thanks in advance! > > Cheers, > Ramesh >
[casper] ROACH usbboot
Hi All, I am trying to boot a ROACH system off a usb-stick. I followed instructions found at http://casper.berkeley.edu/wiki/Getting_Started_with_ROACH and tried both I tried both filesystem_etch_nfs_2009_07_07.tar.gz and filesystem_etch_2009-11-30.tar.bz from the SVN repository. I used a 2GB usb-stick, then parted'ed the device to create a primary parition and then ran "mkfs .-t ext2" command to create an ext2 file system. I stopped the normal roach boot procedure, and then typed "run usbboot" and I see the following error: Warning: unable to open an initial console. Kernel panic - not syncing: No init found. Try passing init= option to kernel. Including "init=3" parameter to bootargs doesn't help either. Any idea on what is going wrong here? Thanks in advance! Cheers, Ramesh