User Tools

Site Tools


civilinfrastructureplatform:beagleboneblackboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
civilinfrastructureplatform:beagleboneblackboard [2017/10/05 13:10]
rajmarshall change the device dictionary update for LAVA 2017-7
civilinfrastructureplatform:beagleboneblackboard [2018/09/13 13:08] (current)
rajmarshall
Line 1: Line 1:
 ====== Beaglebone Black Setup & Configuration (3/5) ====== ====== Beaglebone Black Setup & Configuration (3/5) ======
-This set of instructions assumes you have already Setup and Configured the B@D Virtual Machine. If that is not the case please go back to the [[ciptestingboardatdesksingledevsetup|B@D Setup and Configuration wiki page]].+This set of instructions assumes you have already Setup and Configured the B@D Virtual Machine. If that is not the case please go back to the [[ciptestingboardatdesksingledevsetup|B@D Setup and Configuration wiki page]]. If you are using the 1.0 release rather than the latest version for git you need to read an [[https://​wiki.linuxfoundation.org/​civilinfrastructureplatform/​beagleboneblackboard?​rev=1508248464|older version]] of this page. 
 + 
 +If you are using the Renesas IWG20M board see [[renesasboard|this ​page]].
  
 ===== Working with the Beaglebone Black ===== ===== Working with the Beaglebone Black =====
Line 68: Line 70:
 ''​user@host:​ **sudo systemctl restart ser2net.service**''​ ''​user@host:​ **sudo systemctl restart ser2net.service**''​
  
-8. On the VM change localhost to host'​s ​IP Address (Machine ​that is connected serially to BBB):+8. B@D now uses a private network so that the host IP address no longer needs setting in the device dictionary. If your local IP address settings are such that a change ​is necessary from the default 192.168.22.1,​  
 + edit mybbb.dat appropriately ​ and then copy it into the device dictionary:
  
-''​vagrant@guest:​ **sed -i '​s/​localhost/​<host_ip>/​g' ​mybbb.dat** ''​+''​vagrant@guest:​**<nowiki>sudo cp mybbb.dat ​/​etc/​lava-server/​dispatcher-config/​devices/​bbb01.jinja2</​nowiki>​**''​
  
 Note: If you have multiple IP addresses (e.g. due to WiFi and Ethernet both being active) then it is recommended that you disable all but one network interface. Note: If you have multiple IP addresses (e.g. due to WiFi and Ethernet both being active) then it is recommended that you disable all but one network interface.
  
-==== Update ​the Beaglebone Black Device Dictionary ====+// If you don't wish to change ​the root password of the board then edit the first line of mybbb.dat so that lavauser123 is replaced by your current board password. ​ Or you can change it when logged in via telnet (see next step) //
  
-9. Update device dictionary: 
- 
-''​vagrant@guest:​$ **<​nowiki>​sudo cp mybbb.dat /​etc/​lava-server/​dispatcher-config/​devices/​bbb01.jinja2</​nowiki>​**''​ 
  
-10. Connect to the BBB using the serial port.+9. Connect to the BBB using the serial port.
  
-''​ vagrant@guest:​~$ **telnet ​<​host_ip> ​8020** ''​+''​ vagrant@guest:​~$ **telnet ​192.168.22.1 ​8020** ''​
  
    ​Trying ::1...    ​Trying ::1...
Line 104: Line 104:
 ==== Using an Ethernet Cable ==== ==== Using an Ethernet Cable ====
  
-11. Connect an Ethernet Cable from the Ethernet switch to the BBB's RJ-45 connector and connect to BBB using SSH.+10. Connect an Ethernet Cable from the Ethernet switch to the BBB's RJ-45 connector and connect to BBB using SSH.
  
 ''​[host@user ~]$ **ssh debian@10.0.0.50**''​ ''​[host@user ~]$ **ssh debian@10.0.0.50**''​
Line 120: Line 120:
  
  
-12. Exit the ''​debian''​ login and login as ''​root''​+11. Exit the ''​debian''​ login and login as ''​root''​
    ​debian@beaglebone:​~$ exit    ​debian@beaglebone:​~$ exit
    ​logout    ​logout
Line 133: Line 133:
    ​root@beaglebone:​~#​    ​root@beaglebone:​~#​
  
-13. Change the root password to ''​lavauser123''​+12. Change the root password to ''​lavauser123''​
  
 ''​root@beaglebone:​~#​ **passwd** ''​ ''​root@beaglebone:​~#​ **passwd** ''​
Line 143: Line 143:
  
  
-14. Next, before you test the B@D Virtual Machine Setup with the Beaglebone Black and the CIP Linux Kernel, you will need to [[cipsystembuildhowto|create an initramfs with BusyBox for the Beaglebone Black]].+13. Next, before you test the B@D Virtual Machine Setup with the Beaglebone Black and the CIP Linux Kernel, you will need to [[cipsystembuildhowto|create an initramfs with BusyBox for the Beaglebone Black]]. 
 + 
 +-------
  
-15. **Next 2 steps are Windows 10 Only**+14. **Next 2 steps are Windows 10 Only**
 On the Windows host, run VirtualBox, select the VM  and enable the FTDI filter - see screenshot:​{{:​civilinfrastructureplatform:​usb-subset.png?​200|}} On the Windows host, run VirtualBox, select the VM  and enable the FTDI filter - see screenshot:​{{:​civilinfrastructureplatform:​usb-subset.png?​200|}}
        
-16. On the VM change localhost to the VM's IP Address (use ''​ip addr''​ and the IP address associated with eth1):+15. On the VM change localhost to the VM's IP Address (use ''​ip addr''​ and the IP address associated with eth1):
  
 ''​vagrant@guest:​ **sed -i '​s/​localhost/<​vm_ip>/​g'​ mybbb.dat** ''​ ''​vagrant@guest:​ **sed -i '​s/​localhost/<​vm_ip>/​g'​ mybbb.dat** ''​
civilinfrastructureplatform/beagleboneblackboard.1507209019.txt.gz · Last modified: 2017/10/05 13:10 by rajmarshall