BBB-eMMC-flasher-ubuntu-13.04-2013-10-08.img
- wget https://rcn-ee.net/deb/flasher/raring/BBB-eMMC-flasher-ubuntu-13.04-2013-10-08.img.xz
- unzx BBB-eMMC-flasher-ubuntu-13.04-2013-10-08.img
- sudo dd if=BBB-eMMC-flasher-ubuntu-13.04-2013-10-08.img of=/dev/sdX bs=1M
Expanding File System Partition On A microSD
- use fdisk to delete /dev/mmcblk0p2 partition
- create /dev/mmcblk0p2 again using all free space
- resize2fs /dev/mmcblk0p2
Loading the image to eMMc
- Power down the BBB.
- Insert the microSD card.
- Hold down the BOOT button the on the BBB (this is the on at the same end of the board as the microSD card slot.
- Power the board up while still holding down the BOOT button.
- You can release the button when all 4 LEDs are lit.
- Go away and have a coffee. The process is finished when all 4 LEDs are solidly lit.
- Power down the BBB and remove the microSD card. Next time it is
- powered up it will boot into Ubuntu.
- git clone https://github.com/adafruit/adafruit-beaglebone-io-python.git
- git version: f70c915
set gpio to mode 7:
See:
-
http://www.embedded-things.com/bbb/patching-the-device-tree-compiler-for-ubuntu/
- sudo apt-get install build-essential bison flex
- git clone http://jdl.com/software/dtc.git/
- cd dtc
- git reset --hard f8cb5dd94903a5cfa1609695328b8f1d5557367f
- wget https://patchwork.kernel.org/patch/1934471/raw/ -O dynamic-symbols.patch
- git apply dynamic-symbols.patch
- make
- sudo cp dtc /usr/local/bin
- dtc -O dtb -o -b 0 -@
Example: 10. dtc -O dtb -o pinctrl-test-7-00A0.dtbo -b 0 -@ pinmux-test-7.dts 11. cp pinctrl-test-7-00A0.dtbo /lib/firmware/ 12. echo pinctrl-test-7 > $SLOTS
Useful:
- export SLOTS=/sys/devices/bone_capemgr.9/slots
- export PINS=/sys/kernel/debug/pinctrl/44e10800.pinmux/pins
- export PINMUX=/sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins
- export PINGROUPS=/sys/kernel/debug/pinctrl/44e10800.pinmux/pingroups
PYTHONPATH
- add this ~/bbb-darc/BBBServer to PYTHONPATH
- sudo apt-get update
- sudo apt-get install vim python-omniorb omniidl omniidl-python tree omniorb omniorb-nameserver build-essential ntpdate python-dev bison flex screen
Possible errors Traceback (most recent call last): File "/home/ubuntu/bbb-darc/BBBServer/server.py", line 212, in rootContext = obj._narrow(CosNaming.NamingContext) File "/usr/lib/python2.7/dist-packages/omniORB/CORBA.py", line 798, in _narrow return _omnipy.narrow(self, repoId, 1) omniORB.CORBA.TRANSIENT: CORBA.TRANSIENT(omniORB.TRANSIENT_ConnectFailed, CORBA.COMPLETED_NO)
Check cat /var/log/omniorb-nameserver.log
if you see something like: Error: parse error in log file '/var/lib/omniorb/omninames-arm.log' at line 1.
It is possible that /var/lib/omniorb/omninames-arm.log is empty. Useful:
- cp /var/lib/omniorb/omninames-arm.bak /var/lib/omniorb/omninames-arm.log
- reboot machine
- check InitRef = NameService=corbaname::host in /etc/omniORB.cfg