Christoffer Kjølbæk I have a blog, therefore I am…

21Feb/103

Installing Xilinx ISE/EDK 11.5 under Ubuntu 9.10

This guide tell how-to install Xilinx ISE and EDK under Ubuntu 9.10, using a 30-days evaluation license acquired at http://www.xilinx.com/ise_eval/index.htm.

Required tools
The EDK needs make, which must be called gmake. The easiest way is to install build essential and make a symlink from make to gmake. Futhermore fxload is needed for firmware upload and motif for the GUI.

sudo apt-get install fxload build-essential motif-clients
sudo ln -s /usr/bin/make /usr/bin/gmake

If you have purchased a development board from Xilinx, use the included DVD:

cd /media/cdrom
sudo ./xsetup

If not, follow the download link at the above URL, and download the ISE Design Suite: Full DVD, which is roughly 5.6 GB and untar it:

mkdir ise
cd ise
tar -cvf Xilinx_11.1_ISE_DS_SFD.tar
cd Xilinx_11.1_ISE_DS_SFD
sudo ./xsetup

You do not need to use sudo, but if all users on the system should use EDK, it will be installed in /opt/Xilinx/ using sudo. If sudo is not used, it will be installed in /home/username/.

The installation process is straight forward, and will guide you to setting up a license in the last step. If you choose to use the 30-day trial, a browser will open the Xilinx license system, which will generate the license, download it and install it.

Start up scripts

In order to start xps the environment variable $XILINX must hold the path to ISE. To start xps type

export XILINX=/opt/Xilinx/11.1/ISE/ && /opt/Xilinx/11.1/EDK/bin/lin/xps
Tagged som: , , 3 Kommentarer
21Feb/100

Cleaning up /boot by removing unused kernels (Ubuntu)

At some point /boot will be full of old kernels (if /boot is a separate partition), which makes it impossible to make a dist-upgrade and it is therefore necessary to remove some old kernels.

Start by finding you current kernel

uname -r

which will give something like

2.6.24-25-server

Now, find all installed kernels

aptitude search linux|grep linux-image | grep "i   "

which will give something like

i linux-image-2.6.24-12-server - Linux kernel image for version 2.6.24 on x
i linux-image-2.6.24-14-server - Linux kernel image for version 2.6.24 on x
i linux-image-2.6.24-15-server - Linux kernel image for version 2.6.24 on x
i linux-image-2.6.24-16-server - Linux kernel image for version 2.6.24 on x
i linux-image-2.6.24-17-server - Linux kernel image for version 2.6.24 on x
i linux-image-2.6.24-18-server - Linux kernel image for version 2.6.24 on x
i linux-image-2.6.24-19-server - Linux kernel image for version 2.6.24 on x
i linux-image-2.6.24-21-server - Linux kernel image for version 2.6.24 on x
i linux-image-2.6.24-22-server - Linux kernel image for version 2.6.24 on x
i linux-image-2.6.24-23-server - Linux kernel image for version 2.6.24 on x
i linux-image-2.6.24-24-server - Linux kernel image for version 2.6.24 on x
i linux-image-2.6.24-25-server - Linux kernel image for version 2.6.24 on x
i linux-image-server - Linux kernel image on Server Equipment.

Purge all of these, except the one found with uname -r and linux-image-server, which is a meta package

sudo apt-get purge linux-image-2.6.24-14-server linux-image-2.6.24-15-server linux-image-2.6.24-16-server linux-image-2.6.24-17-server linux-image-2.6.24-18-server linux-image-2.6.24-19-server linux-image-2.6.24-21-server linux-image-2.6.24-22-server linux-image-2.6.24-23-server linux-image-2.6.24-24-server

The above freed 250 MB from /boot and 550 MB from / at my system.

31Jan/100

Krypter med DanIDs “Digital Signatur” i Evolution

Er du bruger af Evolution og har behov for at sende en krypteret mail med DanIDs "Digital Signatur", skal du først have fat i kontaktpersonens certifikat. Dette finder du på DanIDs Certificeringscenter, såfremt personen har valgt at være listet her. Når du har fundet det rette certifikat klikke du på download, hvorefter du kan gemme en .cer fil.

I Evolution vælger du Rediger -> Indstillinger (eller Shift-Ctrl-S) -> Certifikater -> Kontaktpersoners certifikater -> Importer hvorefter du får mulighed for at importere den hentede .cer fil.

Du skal naturligvis have din egen private signaturfil i Evolution.