原创 source code

2011-6-24 21:16 1265 6 6 分类: 工程师职场

u-boot

The u-boot repository is available at:

$ git clone git://git.denx.de/u-boot.git

Problem reports and patches should be submitted via the u-boot mailing list:


Linux Kernel

The most up-to-date kernel source for the Overo in this tree:


Currently, users are recommended to use the omap3-2.6.35 branch

Please submit problem reports and patches via the Gumstix mailing list.



OpenEmbedded

Gumstix uses the OpenEmbedded build system. While it is certainly possible to use other methods to build the boot loaders, kernel, and root file systems, we've found OpenEmbedded to be an attractive solution.

The OpenEmbedded "metadata" is stored in a large git repository.

$ git clone http://git.gitorious.org/gumstix-oe/mainline.git

Note: Overo support is located in the "overo" branch

After cloning the OpenEmbedded repository use the following command to work with the overo branch

$ git checkout --track -b overo origin/overo

Please submit problem reports and patches via the Gumstix mailing list.


Build & Install UHD:

$ git clone git://ettus.sourcerepo.com/ettus/uhd.git


 Make build area 
mkdir ${HOME}/oe;cd ${HOME}/oe
Install required packages on build system
 Checkout OE and bitbak
Cloning the metadata & bitbake
git clone git://git.openembedded.org/openembedded
 org.openembedded.dev – Master
 Stable/2009 – Stable release branch
 User branches 
git clone git://git.openembedded.net/bitbake
 You can use master branch


 Create build directory
mkdir ${HOME}/oe/build
 Create setup.sh in ${HOME}/oe/build
 Create local.conf in ${HOME}/oe/build
 Setup Environment
$ source ${HOME}/oe/build/setup.sh
 Build an image
bitbake console-image
 Wait for build to churn
 Images are in ${HOME}/oe/build/deploy

Boot it up in QEMU
qemu-system-arm -M versatilepb --snapshot -gdb tcp::1234
-m 256 -kernel
/scratch/oe/qemuarm/deploy/eglibc/images/qemuarm/zImageqemuarm.
bin -hda
/scratch/oe/qemuarm/deploy/eglibc/images/qemuarm/console
-image-qemuarm.ext2 -usb -usbdevice wacom-tablet
-nographic --no-reboot -localtime -append
'console=ttyAMA0 console=ttyS0 root=/dev/sda rw debug
user_debug=-1' -net none

PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
EE直播间
更多
我要评论
0
6
关闭 站长推荐上一条 /3 下一条