Beaglebone

From VentureResearchWiki
Jump to navigation Jump to search

For new ASD Controller with Linux Board 4.0/4.1, see[edit | edit source]

ASDHelmerCtlr


OLD INSTRUCTIONS[edit | edit source]

BeagleBone[edit | edit source]

The VR Cape attachment to use with the beaglebone.


SD Card Loading[edit | edit source]

  • Insert Micro SD Card
  • Run script:

multi card script on MFC17:

cd ~/svn/vr/linux/production/asd/beaglebone/
sudo ./burn-multi-sd.sh
  • pop out SD card
  • mark with silver paint pen as shown to signify it is programmed

Beaglebone OLD 1.png

BeagleBone OLD 2.png

  • continue with assembly instructions: VR-BB-MICRO-SD

Provisioning[edit | edit source]

  • with programmed SD card, assembled on VR Cape Board

first run script[edit | edit source]

login as root

wget http://readonly:secret@svn.ventureresearch.com/svn/linux/testing/vr-bb-asdhelmer/asd-firstrun.sh -O /tmp/asd-firstrun.sh
wget http://readonly:secret@svn.ventureresearch.com/svn/linux/testing/asd-gen3/checkINETCnx_ASD.sh -O /home/user/checkINETCnx_ASD.sh
wget http://readonly:secret@svn.ventureresearch.com/svn/linux/testing/vr-bb-asdhelmer/BIST_ASD.sh -O /home/user/BIST_ASD.sh
chmod +x /home/user/*.sh

sh /tmp/asd-firstrun.sh

after reboot: begin testing.

Testing[edit | edit source]

  • connect all test fixtures
  • Run test:
bash /home/user/BIST_ASD.sh VRLAB
  • then shutdown with:
shutdown -h now 
  • wait for system halted before unplugging
  • take labels, ready for packaging, continue with Assembly instructions: VR-BB-LABEL

OTHER[edit | edit source]

Debugs[edit | edit source]

cd /sys/kernel/debug/omap_mux/

root@beaglebone:/mnt/debug/omap_mux# cat uart1_txd
name: uart1_txd.gpio0_15 (0x44e10984/0x984 = 0x0037), b NA, t NA
mode: OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7
signals: uart1_txd | mmc2_sdwp | d_can1_rx | i2c1_scl | NA | pr1_uart0_txd_mux1 | NA | gpio0_15

echo 0x00 > /sys/kernel/debug/omap_mux/uart1_txd

u-boot fix rw[edit | edit source]

run mmc_args
setenv bootargs console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait break=y
mmc rescan
run mmc_load_uimage_ext4
bootm ${kloadaddr}

create uEnv.txt on the SD card to have the correct sd root there:

mmc_root="/dev/mmcblk0p2 rw"

Build[edit | edit source]

See VRReaderImage; build for MACHINE=vr-bb-asdhelmer