BeagleBoneBlack

Modify uEnv.txt to this to disable the conflicting hdmi cape

optargs=quiet drm.debug=7 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G capemgr.enable_partno=BB-BONE-AUDI-01

Script to enable internet access from the BBB

#!/bin/bash

# bbbIPforward.sh -- Enable internet access for my BeagleBone Black (BBB)
# using my Linux HOST as a router
# Inspired by http://shallowsky.com/blog/hardware/talking-  to-beaglebone.html

bbbAddr="192.168.7.2"
hostAddr="192.168.7.1"

# Configure IP forwarding on HOST
sudo iptables -A POSTROUTING -t nat -j MASQUERADE
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward > /dev/null

# Copy ssh key to BBB for passwordless logins
ssh-copy-id root@$bbbAddr

# Configure BBB to use HOST as gateway
ssh root@$bbbAddr "/sbin/route add default gw $hostAddr"

# Backup and substitute BBB resolv.conf with HOST resolv.conf
ssh root@$bbbAddr "mv -n /etc/resolv.conf /etc/resolv.conf.bak"
scp /etc/resolv.conf root@$bbbAddr:/etc/

Set the correct date

ntpdate -u pool.ntp.org

Check that alsa can find the board

root@beaglebone:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: EVM [DA830 EVM], device 0: AIC3X tlv320aic3x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

Audio playback

aplay sound.wav

Record audio

arecord -fS32_LE -c2 -r96000 -twav -d10 record.wav
beagleboneblack/start.txt · Last modified: 2013/10/21 09:44 by bcousson
Recent changes RSS feed Creative Commons License Donate Minima Template by Wikidesign Driven by DokuWiki