Beaglebone - Getting Started

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

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/


### BeagleBone Black 介绍 BeagleBone Black 是一款基于 ARM Cortex-A8 处理器的单板计算机 (SBC),专为开发人员、教育工作者以及爱好者设计。该设备提供了一个强大的平台用于嵌入式计算应用,支持多种操作系统和编程环境。 #### 主要特性 - **处理器**:AM335x 1GHz ARM® Cortex-A8 微控制器。 - **内存**:512MB DDR3 RAM 和 4GB 8位 eMMC 板载闪存[^1]。 - **接口丰富**:配备 USB 接口、HDMI 输出端子、以太网端口、microSD 插槽等标准连接选项;还带有两个 46 针扩展头,允许访问 GPIOs 及其他外设信号线。 - **软件兼容性强**:预装 Linux 发行版 Angstrom 或 Debian,并且可以运行 Android 系统以及其他开源项目。 ### 使用教程概览 对于初学者来说,启动并配置 BeagleBone Black 并不复杂: 1. 将 microUSB 数据线的一端接到主机上的 USB OTG 端口中,另一端接入个人电脑的一个空闲 USB 端口。此时 BB 黑应该能够通过 USB 进行供电并且自动挂载为磁盘驱动器。 2. 如果需要更新固件版本,则可按照特定说明操作——通常涉及插入 SD 卡至相应插槽内,在加电前按下 Boot 按钮直到看到所有指示灯点亮为止[^3]。 3. 对于文件系统的管理,用户可以选择安装官方提供的精简型或完整型文件系统映像到内部存储介质或是外部 MicroSDHC 存储卡里去[^2]。 ```bash # 更新包列表并安装必要的工具链 sudo apt-get update && sudo apt-get install build-essential device-tree-compiler git python-pip -y ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值