Following pettitda instructions Atmel SAMA5D4 Xplained Ultra Road Test -- Day 3
I installed the USB driver, and hooked my SAM to the USB of a windows machine, connected with putty....and... hello there!
Note that I did not have to change flow control to "none", just changed speed to 115200 and set correct port.
"root" account is without password. Had a look around, by running:
uname -a
Linux sama5d4-xplained 3.10.0-custom #1 Thu Oct 30 16:04:45 CST 2014 armv7l GNU/
cat /etc/issue
Poky (Yocto Project Reference Distro) 1.6.1
cat /proc/version
Linux version 3.10.0-custom (josh@melon) (gcc version 4.8.2 (GCC) ) #1 Thu Oct 30 16:04:45 CST 2014
df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 446M 100M 347M 23% /
ubi0:rootfs 446M 100M 347M 23% /
devtmpfs 251M 0 251M 0% /dev
tmpfs 251M 72K 251M 1% /run
tmpfs 251M 108K 251M 1% /var/volatile
top
top - 09:14:38 up 51 min, 1 user, load average: 0.08, 0.03, 0.05
Tasks: 39 total, 1 running, 38 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 98.7%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%st
Mem: 513976k total, 25240k used, 488736k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 11776k cached
opkg list|grep java
Did a quick search, and came up with this:
It's for Intel(R) Galileo board, but it's also using Yocto. This gave me a hint, that I need to specify a source url for /etc/opkg/opkg.conf but is there one that we could use ?
So I guess that means, I will have to install Java manually, or the normal (atmel) approach must be to build a different image with the distro of choice (i.e. debian) and inherit the support/repos/etc.
As a quick and dirty test, I tried the following:
wget http://ftp.heanet.ie/mirrors/funtoo/distfiles/oracle-java/jdk-7u60-linux-arm-vfp-hflt.tar.gz
(Oracle requires "I agree" ticks, so I did a search and found a random mirror for direct download)
mkdir /java
tar xzf jdk-7u60-linux-arm-vfp-hflt.tar.gz
export JAVA_HOME=/java/jdk1.7.0_60/jre/
java -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode)
Next post >> [ExM] #3 First attempt on Arduino Yun
Top Comments