最終更新:2012-09-30 (日) 07:09:49 (4198d)
gumstix
Top / gumstix
CPU
http://www.gumstix.com/store/catalog/index.php?cPath=27
開発者向けサイト
拡張ボード
ボード名 | 値段 | USB Console | Ethernet | 映像出力 | USB Host | USB OTG | Audio | その他 |
Stagecoach | $229.00 | 1 | 1 | - | - | 7 | - | 7つまでOveroを装着可 |
Gallop43 | $129.00 | 1 | - | LCD | - | 1 | out 1 | GPS,LEDx2,ボタンx2 |
RoboVero? | $99.00 | 1 | - | - | 2 | - | - | LPC1769?,加速度センサ、角速度センサ |
Chestnut43 | $79.00 | 1 | 1 | LCD | 1 | 1 | in 1,out 1 | |
Tobi-Duo | $79.00 | - | 2 | - | - | - | - | ファイアウォール用 |
Tobi | $69.00 | 1 | 1 | HDMI | 1 | 1 | in 1,out 1 | |
Palo43 | $59.00 | 1 | - | LCD | 1 | 1 | in 1,out 1 | |
Palo35 | $59.00 | 1 | - | LCD | 1 | 1 | in 1,out 1 | 加速度センサ |
Summit | $49.00 | 1 | 1 | HDMI | 1 | 1 | in 1,out 1 | |
Pinto-TH | $27.50 | - | - | - | - | 1 | LEDx2,ボタンx2 | |
Thumbo | $27.50 | - | - | - | - | 1 | LEDx2,ボタンx2 |
フォーラム
BitBake
を生成する
クロスコンパイル環境の用意
- OpenEmbedded(BitBake)を使う
- Ubuntu推奨
シェルの変更(dashからbashに)
- Ubuntuでは/bin/shが/bin/dashのシンボリックリンクなので
sudo dpkg-reconfigure dash
- を実行してnoを選ぶ。これをしないとイメージをビルドしても起動しないっぽい
必須パッケージ
aptitude install sed wget cvs subversion git-core \ coreutils unzip texi2html texinfo docbook-utils \ gawk python-pysqlite2 diffstat help2man make gcc build-essential g++ \ desktop-file-utils chrpath
sysctlの変更?
- If you are using Ubuntu 8.04 or later you will also need to edit /etc/sysctl.conf and set
vm.vdso_enabled = 0 vm.mmap_min_addr = 0
- Afterwards run
$ sudo sysctl -p
OEのページより
qemu-arm fails whilst building locales (Ubuntu 10.04 LTS and possibly other releases). This is due to a kernel setting which restricts memory mapping to low addresses. To work around this you can either:
- a) Enter 'echo 128 > /proc/sys/vm/mmap_min_addr' prior to running bitbake.
- b) Set permanent parameter 'sudo sysctl -w vm.mmap_min_addr=128'.
With current qemu in OE mmap_min_addr tricks are not needed at all. So now it should work on every system with readable /proc/sys/vm/mmap_min_addr or /proc/sys/vm/mmap_min_addr <= 65536.
http://www.openembedded.org/index.php/OEandYourDistro
インストール
$ mkdir -p ~/overo-oe $ cd ~/overo-oe
$ git clone git://gitorious.org/gumstix-oe/mainline.git org.openembedded.dev $ cd org.openembedded.dev $ git checkout --track -b overo origin/overo
ビルドの高速化
- Improve build performance by modifying site.conf to use multiple cores
Edit build/conf/site.conf
PARALLEL_MAKE = "-j 4" BB_NUMBER_THREADS = "4"
http://www.gumstix.net/wiki/index.php?title=Category:How_to_-_virtual_machine
ビルド
$ bitbake omap3-console-image $ bitbake u-boot-omap3 $ bitbake x-load
$ bitbake virtual/kernel #最新のカーネルだけビルドされる $ bitbake linux-omap3-2.6.32 #2.6.32がビルドされる
バイナリ
$HOME/overo-oe/tmp/deploy/glibc/images/overo
カーネルのリビルド
- http://wiki.gumstix.org/index.php?title=Kernel_Reconfiguration
- http://uma-wiki.network-mobility.org/index.php5?title=Kernel_Reconfiguration_-_Gumstix_Overo
パッケージ
Ubuntu
fdiskでのシリンダ数?
メーカー | 容量 | MB | バイト数 | バイト数/255/63/512 |
Transcend | 8GB | 7948MB | 7,948,206,080bytes | 966.32 |
PATRIOT? | 4GB | 4001MB | 4,001,366,016bytes | 486.47 |
http://www.gumstix.org/create-a-bootable-microsd-card.html