First install 32 bit libraries:
# sudo dpkg --add-architecture i386 # sudo apt-get update # sudo apt-get install libxss1:i386 libxft2:i386
now add your ubuntu username to group for dialout so you can access the USB (last line checks that it got added)
# cd ~ # sudo adduser <username> dialout # cat /etc/group | grep dialout
now install SAM-BA either by downloading from the ATMEL website or using the ftp link below, I cd into the /opt directory before this step but you can save it wherever you like.
# wget ftp://ftp.linux4sam.org/pub/sam-ba/sam-ba_2.12.zip
unzip the file, cd into the samba_cdc_cdc_linux folder and then patch it with the patch file (patch 7) from the website (ftp doesn't have the latest patch file).
# sudo patch -pl < patch7.diff
logout or restart to get the USB dialout to work and then execute with the following (make sure the file is executable (chmod +x samba):
Mine was saved in /opt but just put the patch where you placed it. Also remove jumper JP5 and reset your SAMA5D3 XPLAINED board before running samba.
then play as you like.
Mine was saved in /opt but just put the patch where you placed it. Also remove jumper JP5 and reset your SAMA5D3 XPLAINED board before running samba.
# sudo /opt/sam-ba_cdc_cdc_linux/sam-ba
No comments:
Post a Comment