最終更新:2012-09-30 (日) 07:09:49 (4228d)  

gumstix
Top / gumstix

http://www.gumstix.com/

CPU

http://www.gumstix.com/store/catalog/index.php?cPath=27

開発者向けサイト

拡張ボード

ボード名値段USB ConsoleEthernet映像出力USB HostUSB OTGAudioその他
Stagecoach$229.0011--7-7つまでOveroを装着可
Gallop43$129.001-LCD-1out 1GPS,LEDx2,ボタンx2
RoboVero?$99.001--2--LPC1769?,加速度センサ、角速度センサ
Chestnut43$79.0011LCD11in 1,out 1
Tobi-Duo$79.00-2----ファイアウォール用
Tobi$69.0011HDMI11in 1,out 1
Palo43$59.001-LCD11in 1,out 1
Palo35$59.001-LCD11in 1,out 1加速度センサ
Summit$49.0011HDMI11in 1,out 1
Pinto-TH$27.50----1LEDx2,ボタンx2
Thumbo$27.50----1LEDx2,ボタンx2

フォーラム

BitBake

を生成する

http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Setting-up-a-build-environment/111.html

クロスコンパイル環境の用意

シェルの変更(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

カーネルのリビルド

パッケージ

Ubuntu

fdiskでのシリンダ数?

メーカー容量MBバイト数バイト数/255/63/512
Transcend8GB7948MB7,948,206,080bytes966.32
PATRIOT?4GB4001MB4,001,366,016bytes486.47

http://www.gumstix.org/create-a-bootable-microsd-card.html

DVSDK

DaVinci DM3703?Stellaris AM3703のボードとか含めロードマップ

関連