2013/9/10
1 add second net card to host only for qnx test.This card can comunicate with the host,but can not visit the internet.
2 change su password
ctrl+alt+T enter the terminal
sudo passwd
3 vboxlinuxaddtion
sudo chmod a+x ./
./
4 share folders
in virtualbox ,add share folders
sudo mkdir soft
sudo mount -t vboxsf soft soft
5 add hard disk
in virtualbox ,storage add a new hard disk ,then there is a disk in /dev/sdb
sudo fdisk /dev/sdb
n add a new partition
p primary (default)
1 partition number (default)
2048 First sector (default)
67~ Last sector (default)
w werite table to disk and exit
sudo mkfst -t ext4 /dev/sdb1
6 mout
sudo mkdir /mnt/userdisk
sudo mount /dev/sdb1 /mnt/userdisk
7 install arm-linux-gcc
copy the file to the root,then tar,and modify the enervioment
you can download them from uclinux -net
PATH usr/local/bin
8 install java
download java (www.java.com)
tar
set
sudo vi /etc/profile
JAVA_HOME=/jre1.7.0_25
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
sourc /etc/profile
9 install qnx
install 32 bit lib
sudo apt-get install ia32-libs
sudo chmod a+x ./~
sudo ./
10 install eclipse
tar
11 install qemu
sudo apt-get install qemu-kvm
sudo apt-get install qemu-kvm-extras
12 install linaro
sudo add-apt-repository ppa:linaro-maintainers/tools(I do not know what this means)
sudo apt-get updates
sudo apt-get install linaro-image-tools
13 create image
sudo linaro-media-create --image_file beagle_sd.img --dev beagle --binary nano-n-tar-20110823-1.tar.gz --hwpack hwpack_linaro-omap3_20110823-0_armel_supported.tar.gz
(here will install some packet)
sudo qemu-system-arm -M beaglexm -m 512 -sd ./beagle_sd.img -clock unix -serial stdio
14 uclinux
sudo tar
sudo make xconfig
sudo apt-get install libgtk2.0-dev
sudo apt-get install libglade2-dev
sudo make
sudo apt-get install libncurses5-dev
sudo apt-get install genromfs
get image file form ./images
15 skyeye
./configure
make lib
make
cannot find -lltdl (sudp apt-get install libltdl-dev)
cannot find -liconv(download libiconv-1.14, sudo ./configure,sudo make,sudo make install)
Python.h (sudo apt-get install python-dev)
sudo make install
sudo make install_lib
add path to /etc/profile
skyeye
undefined symbol:pyfloat_type
reinstall python
python ./configure --enable-shared --enable-unicode
sudo make
_bsddb
_sqlite3 (sudo apt-get install libsqlite3-dev,
sudo apt-get install sqlite3)
_tkinter (sudo apt-get build-dep python-gdbm)
bsddb185
bz2 (sudo apt-get install bzip2 libbz2-dev)
dbm (sudo apt-get build-dep python-gdbm)
dl
gdbm (sudo apt-get build-dep python-gdbm)
imageop
readline (sudo apt-get install libreadline-dev)
sunaudiodev
sudo make install
16 install quartus
do not need sudo.