Beaglebone - Getting Started

本文介绍了BeagleBone的基础知识,包括其系统参考手册链接,并详细讲述了如何开始搭建BeagleBone,涉及依赖项安装、系统构建及如何将内容解压到SD卡等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

what is BeagleBone

http://beagleboard.org/Products/BeagleBone


System Reference Mannual

https://github.com/CircuitCo/BeagleBone-RevA6/blob/master/BeagleBone_SRM_A6_0_1.pdf?raw=true

Getting Started

http://beagleboard.org/Getting%20Started
Note: Additional FTDI USB to serial/JTAG information and drivers are available from http://www.ftdichip.com/Drivers/VCP.htm

Update to last image
Get lastest sd card image
http://beagleboard.org/latest-images/
Clone lastest images to SD card(at least 4G SD card)
http://downloads.angstrom-distribution.org/demo/beaglebone/
  $ sudo -s
   (type in your password)
  $ zcat Angstrom-Cloud9-IDE-eglibc-ipk-v2011.10-core-beaglebone-r0.img.gz > /dev/sdX
  $ exit

Build the beaglebone

Dependencies

http://www.openembedded.org/wiki/OEandYourDistro#Mandatory_packages

sudo apt-get 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 

Build

http://downloads.angstrom-distribution.org/demo/beaglebone/
git clone git://github.com/Angstrom-distribution/setup-scripts.git
cd setup-scripts
./oebb.sh config beaglebone
MACHINE=beaglebone ./oebb.sh bitbake systemd-image

If you want other images, you can check the following folder:

peter@peter-VirtualBox:setup-scripts$ ls sources/meta-angstrom/recipes-images/angstrom/
console-base-image.bb  development-gnome-image.bb  hardware-bringup-image.bb  systemd-image.bb
console-image.bb       efl-nodm-image.bb           systemd-gnome-image.bb     xfce-nm-image.bb

Unpack to SD card

After building, MLO, u-boot.img, uImage, rootfs can be found under following folder:
build/tmp-angstrom_v2012_12-eglibc/deploy/images/beaglebone/
SD card should be 2 partitions:
1st partition is in VFAT format
2nd partition is in EXT4 format
You can create these 2 partitions by the tools you prefer.
Or use this script
http://downloads.angstrom-distribution.org/demo/beaglebone/mkcard.txt
/bin/bash mkcard.txt /dev/sdX

copy MLO, u-boot.img to 1st partition
unzip rootfs to 2nd partition
suppose you have mounted 2nd partition to /mnt/rootfs
sudo tar -xzf Angstrom-systemd-image-eglibc-ipk-v2012.12-beaglebone.rootfs.tar.gz -C /mnt/rootfs

Enjoy your beaglebone.


Reference

http://beagleboard.org/Products/BeagleBone
http://circuitco.com/support/index.php?title=BeagleBone
http://downloads.angstrom-distribution.org/demo/beaglebone/


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值