BeagleBone Black Created by Robert Nelson, last modified on Apr 06, 201---fwqlzzlove is for eve
2016-04-09 23:46
405 查看
This is a page about TI's Cortex-A8 based; BeagleBone Black.
Availability
Basic Requirements
ARM Cross Compiler: GCC
Bootloader: U-Boot
Linux Kernel
Mainline
TI BSP
Root File System
Debian 8
Ubuntu 14.04 LTS
Root File System (small flash)
Debian 8 (small flash)
Setup microSD card
Backup Bootloader
Dealing with old Bootloader in eMMC
Install Kernel and Root File System
Copy Root File System
Set uname_r in /boot/uEnv.txt
Copy Kernel Image
Copy Kernel Device Tree Binaries
Copy Kernel Modules
File Systems Table (/etc/fstab)
Networking
Networking: Using a shared SD card with Multiple BeagleBone
Serial Login
Remove microSD/SD card
usb gadget
HDMI
eMMC
SGX
capemgr: v4.1.x+
Comments
BeagleBone Black Rev C (4GB eMMC)at Digi-Key
BeagleBone Greenat Digi-Key
Embest BeagleBone Blackat Digi-Key
Power Supplies:
USB Micro for BeagleBone Greenat Digi-Key
Adapters:
BeagleBone BreadBoard Cape at Digi-Key
BeagleBone Breakout Cape at Digi-Key
Cables:
(USB to serial adapter) TTL-232R-3V3 at Digi-Key
HDMI-A Male to HDMI-D Male (1.5M) at Digi-Key
HDMI-A Male to HDMI-D Male (1.5M) at Digi-Key
HDMI-A Male to HDMI-D Male (2M) at Digi-Key
ARM Cross Compiler – Linaro: http://www.linaro.org Linaro Toolchain Binaries: http://www.linaro.org/downloads/
Bootloader
Das U-Boot – the Universal Boot Loader: http://www.denx.de/wiki/U-Boot Source: http://git.denx.de/?p=u-boot.git;a=summary
Linux Kernel
Linus's Mainline tree: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
ARM based rootfs
Debian: https://www.debian.org Ubuntu: http://www.ubuntu.com
Download/Extract:
~/
Test:
~/
eewiki.net patch archive: https://github.com/eewiki/u-boot-patches
Download:
~/
Patches:
~/u-boot
Configure and Build:
~/u-boot
BeagleBone Black#capemgr:v4.1.x+ for overlay building on target
Download:
~/
For am33x-v4.1 (Longterm 4.1.x):
~/bb-kernel
For am33x-rt-v4.1 (Longterm 4.1.x + Real-Time Linux):
~/bb-kernel
For am33x-v4.4 (Longterm 4.4.x):
~/bb-kernel
For am33x-rt-v4.4 (Longterm 4.4.x + Real-Time Linux):
~/bb-kernel
For am33x-v4.5 (Stable):
~/bb-kernel
For am33x-v4.6 (Prepatch):
~/bb-kernel
Build:
~/bb-kernel/
instead of a stable kernel branch. Thus you will have to do: (git checkout master -f ; git branch -D tmp ; git pull ; git checkout origin/ti-linux-4.1.y -b tmp) often..
Download:
~/
For TI v4.1.x:
~/ti-linux-kernel-dev
For TI v4.1.x: Real-Time
~/ti-linux-kernel-dev
For TI v4.4.x:
~/ti-linux-kernel-dev
For TI v4.4.x: Real-Time
~/ti-linux-kernel-dev
Build:
~/ti-linux-kernel-dev/
Download:
~/
Verify:
~/
Extract:
~/
Download:
~/
Verify:
~/
Extract:
~/
Download:
~/
Verify:
~/
Extract:
~/
Erase partition table/labels on microSD card:
Install Bootloader:
~/
Create Partition Layout:
With util-linux v2.26, sfdisk was rewritten and is now based on libfdisk.
sfdisk
sfdisk >= 2.26.x
sfdisk <= 2.25.x
Format Partition:
With mkfs.ext4 1.43, we need to make sure metadata_csum and 64bit are disabled, as U-Boot CAN NOT currently handle these newer ext4 options.
mkfs.ext4 -V
mkfs.ext4 >= 1.43
mkfs.ext4 <= 1.42
Mount Partition:
On most systems these partitions may will be auto-mounted...
~/
~/uEnv.txt
~/
Copy and paste that "export kernel_version=4.X.Y-Z" exactly as shown in your own build/desktop environment and hit enter to create an environment variable to be used later.
~/
Add:
/etc/network/interfaces
Edit: /etc/udev/rules.d/70-persistent-net.rules
Add:
/etc/udev/rules.d/70-persistent-net.rules
Create new file: /etc/init/serial.conf
With this content:
/etc/init/serial.conf
Ubuntu v4.1.x
Create new file: /etc/init/serial.conf
With this content:
/etc/init/serial.conf
Install udhcpd
Edit: /etc/network/interfaces and add:
/etc/network/interfaces
Temp Script:
the video interface.
Note: If the cursor doesn\'t show up right away, first hit: ctlr-alt-f1 then: ctrl-alt-f7 after which it \'should\' show up...
Make sure to install, modesetting driver and xrandr utilities:
/etc/X11/xorg.conf
xrandr:
xrandr (over serial/ssh)
~/bb-kernel
Copy ./deploy/GFX_5.01.01.02.tar.gz to BeagleBone/BeagleBone Black and install
Verify omaplfb & pvrsrvkm loaded
readme
Download:
~/
Update dtc:
~/bb.org-overlays
Install *.dtbo:
~/bb.org-overlays
BBB compatibility issues:
/boot/uEnv.txt
capemgr: enable/disable capes on kernel cmdline:
/boot/uEnv.txt
slots:
eewiki@digikey.com
Please use the Digi-Key Forum:
TechXchange Community
8 people like this
ti
Black Comments Page:FLIR
Lepton on BeagleBone Black and Green Page:NimbeLink
on BeagleBone Black and Green Page:SNAP
RF on BeagleBone Black
Availability
Basic Requirements
ARM Cross Compiler: GCC
Bootloader: U-Boot
Linux Kernel
Mainline
TI BSP
Root File System
Debian 8
Ubuntu 14.04 LTS
Root File System (small flash)
Debian 8 (small flash)
Setup microSD card
Backup Bootloader
Dealing with old Bootloader in eMMC
Install Kernel and Root File System
Copy Root File System
Set uname_r in /boot/uEnv.txt
Copy Kernel Image
Copy Kernel Device Tree Binaries
Copy Kernel Modules
File Systems Table (/etc/fstab)
Networking
Networking: Using a shared SD card with Multiple BeagleBone
Serial Login
Remove microSD/SD card
usb gadget
HDMI
eMMC
SGX
capemgr: v4.1.x+
Comments
Availability
Boards:BeagleBone Black Rev C (4GB eMMC)at Digi-Key
BeagleBone Greenat Digi-Key
Embest BeagleBone Blackat Digi-Key
Power Supplies:
USB Micro for BeagleBone Greenat Digi-Key
Adapters:
BeagleBone BreadBoard Cape at Digi-Key
BeagleBone Breakout Cape at Digi-Key
Cables:
(USB to serial adapter) TTL-232R-3V3 at Digi-Key
HDMI-A Male to HDMI-D Male (1.5M) at Digi-Key
HDMI-A Male to HDMI-D Male (1.5M) at Digi-Key
HDMI-A Male to HDMI-D Male (2M) at Digi-Key
Basic Requirements
Running a recent release of Debian, Fedora or Ubuntu; without OS Virtualization Software.ARM Cross Compiler – Linaro: http://www.linaro.org Linaro Toolchain Binaries: http://www.linaro.org/downloads/
Bootloader
Das U-Boot – the Universal Boot Loader: http://www.denx.de/wiki/U-Boot Source: http://git.denx.de/?p=u-boot.git;a=summary
Linux Kernel
Linus's Mainline tree: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
ARM based rootfs
Debian: https://www.debian.org Ubuntu: http://www.ubuntu.com
ARM Cross Compiler: GCC
This is a pre-built (64bit) version of Linaro GCC that runs on generic linux, sorry (32bit) x86 users, it's time to upgrade...Download/Extract:
~/
~/
Bootloader: U-Boot
Das U-Boot – the Universal Boot Loader: http://www.denx.de/wiki/U-Booteewiki.net patch archive: https://github.com/eewiki/u-boot-patches
Download:
~/
~/u-boot
~/u-boot
Linux Kernel
This script will build the kernel, modules, device tree binaries and copy them to the deploy directory.Mainline
see:BeagleBone Black#capemgr:v4.1.x+ for overlay building on target
Download:
~/
~/bb-kernel
~/bb-kernel
~/bb-kernel
~/bb-kernel
~/bb-kernel
~/bb-kernel
~/bb-kernel/
TI BSP
WARNING: do not use if you are not use to re-basing git branches, as this is based onhttp://git.ti.com/gitweb/?p=ti-linux-kernel/ti-linux-kernel.git;a=shortlog;h=refs/heads/ti-linux-4.1.yinstead of a stable kernel branch. Thus you will have to do: (git checkout master -f ; git branch -D tmp ; git pull ; git checkout origin/ti-linux-4.1.y -b tmp) often..
Download:
~/
~/ti-linux-kernel-dev
~/ti-linux-kernel-dev
~/ti-linux-kernel-dev
~/ti-linux-kernel-dev
~/ti-linux-kernel-dev/
Root File System
Debian 8
User | Password |
---|---|
debian | temppwd |
root | root |
~/
~/
~/
Ubuntu 14.04 LTS
User | Password |
---|---|
ubuntu | temppwd |
~/
~/
~/
Root File System (small flash)
A Root File System around 100Mb in size, for flash applications.Debian 8 (small flash)
User | Password |
---|---|
debian | temppwd |
root | root |
~/
~/
~/
Setup microSD card
For these instruction we are assuming, DISK=/dev/mmcblk0, lsblk is very useful for determining the device id.~/
With util-linux v2.26, sfdisk was rewritten and is now based on libfdisk.
sfdisk
With mkfs.ext4 1.43, we need to make sure metadata_csum and 64bit are disabled, as U-Boot CAN NOT currently handle these newer ext4 options.
mkfs.ext4 -V
On most systems these partitions may will be auto-mounted...
Backup Bootloader
This version of MLO/u-boot.img will be used on the "eMMC" flasher script on this page.~/
Dealing with old Bootloader in eMMC
If you don't want to clear out the old Bootloader in eMMC add this uEnv.txt to /media/rootfs/~/uEnv.txt
Install Kernel and Root File System
To help new users, since the kernel version can change on a daily basis. The kernel building scripts listed on this page will now give you a hint of what kernel version was built.Copy Root File System
~/Set uname_r in /boot/uEnv.txt
~/Copy Kernel Image
Kernel Image:~/
Copy Kernel Device Tree Binaries
~/Copy Kernel Modules
~/File Systems Table (/etc/fstab)
/etc/fstabNetworking
Edit: /etc/network/interfaces/etc/network/interfaces
Networking: Using a shared SD card with Multiple BeagleBone
To always enable the Ethernet interface as eth0.Edit: /etc/udev/rules.d/70-persistent-net.rules
/etc/udev/rules.d/70-persistent-net.rules
Serial Login
Ubuntu v3.8.xCreate new file: /etc/init/serial.conf
/etc/init/serial.conf
Create new file: /etc/init/serial.conf
/etc/init/serial.conf
Remove microSD/SD card
usb gadget
Provides http access to beaglebone black over usb.Install udhcpd
/etc/network/interfaces
HDMI
This sections assumes you have already installed your favorite xorg based window manager, such as lxde, xfce, kde, gnome, etc... These are packages that need to be installed on top of your selected windows manager and an xorg.conf needed to correctly setupthe video interface.
Note: If the cursor doesn\'t show up right away, first hit: ctlr-alt-f1 then: ctrl-alt-f7 after which it \'should\' show up...
Make sure to install, modesetting driver and xrandr utilities:
eMMC
Script to copy your microSD card to eMMC: (this will need these packages installed: initramfs-tools dosfstools rsync)SGX
Build SGX modules/userspace (must be done on an x86, due to the TI 5.01.01.02 blob extractor)~/bb-kernel
capemgr: v4.1.x+
Full Documentation:readme
Download:
~/
~/bb.org-overlays
~/bb.org-overlays
/boot/uEnv.txt
Comments
Comments, feedback, and questions can be sent to:eewiki@digikey.com
Please use the Digi-Key Forum:
TechXchange Community
8 people like this
ti
4 Child Pages
Page:BeagleBoneBlack Comments Page:FLIR
Lepton on BeagleBone Black and Green Page:NimbeLink
on BeagleBone Black and Green Page:SNAP
RF on BeagleBone Black
相关文章推荐
- 编写一个函数rev用于将一个整数前后倒置。
- source insight怎样恢复默认界面设置!
- [BZOJ4431][Nwerc2015]Hole in One一杆进洞
- 视频剪辑 (添加水印,裁剪,合并视频,添加背景音乐)
- BigInteger类
- System类
- Android socket AsyncTask和linux服务端通讯
- ASC47B borderless
- ASC47B borderless
- 栈溢出笔记1.6 地址问题(1)
- Java设计模式--------策略模式
- 一点基础知识
- Matplotlib安装感想
- LAMP结合discuz论坛的配置
- C#预处理器指令学习
- linux指定系统搜索头文件的路径
- 录音和网络流媒体
- Random类
- C 【位运算符 & | ^ ~ << >>】
- tomcat安装和启动