Lotuce2 Darc configs
- BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz
- kernel: Linux beaglebone 3.8.13-bone50 #1 SMP Tue May 13 13:24:52 UTC 2014 armv7l GNU/Linux
- In any pc insert the SD card and get the image:
- wget http://debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz
- xzcat BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz | dd of=/dev/disk1 bs=4M
- default username:password is [root:]
Loading the image to eMMc
- Power down the BBB.
- Insert the microSD card into BBB
- Hold down the BOOT button (S2) on the BBB (This is not power button, neither reset button. S2 boot button is the closest to SD card).
- 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 (about an hour).
- Power down the BBB and remove the microSD card.
- powered up it will boot into Debian.
ssh_id.pub: Run this into shuttle computer
- scp .ssh/id_rsa.pub ubuntu@192.168.7.2:/root/ #This should be run in shuttle
- cat ~/id_rsa.pub >> authorized_keys # This should be run at BBB
- cat ~/id_rsa.pub >> authorized_keys2 # This should be run at BBB
Installing utils env (Run this into BBB)
- git clone https://github.com/normansaez/lotuce2.git
- cd /root/lotuce2/src/env
- sudo make install
dbt is already installed into BBB
- nothing to do
pasm is already installed into BBB
- nothing to do
Make available PRU though python
- The PRU needs to things to make it available: put enable and open when you will use it.
- Put enable PRU*
- cd /root/lotuce2/src/beagleclock/device-tree
- make enable
Open PRU using pypruss
- git clone https://intelligentagent@bitbucket.org/intelligentagent/pypruss.git
- cd pypruss/
- python setup.py build
- python setup.py install
- export LD_LIBRARY_PATH=/usr/local/lib
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
- unxz 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
- default username:password is [ubuntu:temppwd]
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 (S2) on the BBB (This is not power button, neither reset button. S2 boot button is closest to SD card).
- 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 (about an hour).
- Power down the BBB and remove the microSD card.
- powered up it will boot into Ubuntu.
ssh_id.pub
- scp .ssh/id_rsa.pub ubuntu@192.168.7.2:/home/ubuntu/ #This should be run in shuttle
- cat ~/id_rsa.pub >> authorized_keys # This should be run at beagleboneblack
- cat ~/id_rsa.pub >> authorized_keys2 # This should be run at beagleboneblack
Installing utils env
- git clone https://github.com/normansaez/lotuce2.git
- cd /home/ubuntu/lotuce2/src/env
- sudo make install
Patching dbt
- sudo apt-get install build-essential bison flex
- git clone https://github.com/normansaez/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 -@
Installing pasm
- git clone https://github.com/beagleboard/am335x_pru_package.git
- cd am335x_pru_package/
- sudo make install
- cd /usr/include/
- sudo mkdir pruss/
- cd pruss/
- sudo cp ~/am335x_pru_package/pru_sw/app_loader/include/pruss* .