a5调试
1
generating rsa key...[ 4.452000] mmc0: error -110 whilst initialising SD card
[ 5.602000] mmc0: error -110 whilst initialising SD card
[ 7.750000] mmc0: error -110 whilst initialising SD card
[ 8.898000] mmc0: error -110 whilst initialising SD card
2 gpio-led灯
led 板内
3 串口
microcom -s 9600 -p /dev/ttySx
echo xxxx > /dev/ttySx
console debug /dev/ttyS0
arm-rxd0
arm-txd0
/dev/ttyS1
arm-rxd1
arm-txd1
/dev/ttyS2
arm-rxd2
arm-txd2
/dev/ttyS3
arm-rxd3
arm-txd3
/dev/ttyS4
arm-rxd4
arm-txd4
/dev/ttyS5
arm-rxd5
arm-txd5
/dev/ttyS6
4 ftp 下载
passwd root
5 meminfo
root@sama5d3-linux:~ cat /proc/meminfo
MemTotal: 253820 kB
MemFree: 237552 kB
Buffers: 0 kB
Cached: 8648 kB
SwapCached: 0 kB
Active: 3264 kB
Inactive: 7008 kB
Active(anon): 1688 kB
Inactive(anon): 76 kB
Active(file): 1576 kB
Inactive(file): 6932 kB
6 nand mtdinfo
root@sama5d3-linux:~ df
Filesystem 1K-blocks Used Available Use% Mounted on
ubi0:rootfs 104132 27056 77076 26% /
devtmpfs 126828 0 126828 0% /dev
none 126908 4 126904 0% /tmp
none 126908 48 126860 0% /run
none 126908 92 126816 0% /var/log
none 126908 48 126860 0% /var/run
none 126908 0 126908 0% /var/lock
none 126908 0 126908 0% /var/tmp
root@sama5d3-linux:cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00020000 "bootstrap"
mtd1: 00080000 00020000 "uboot"
mtd2: 00040000 00020000 "env"
mtd3: 00040000 00020000 "env_redundant"
mtd4: 00040000 00020000 "spare"
mtd5: 00080000 00020000 "dtb"
mtd6: 00600000 00020000 "kernel"
mtd7: 07800000 00020000 "rootfs"
7 can设备
root@sama5d3-linux:/dev ifconfig -a
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18
can1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:27
8 eth设备
vi /etc/network/interfaces
# /etc/network/interfaces
# The loopback interface
auto lo
# auto lo
#iface lo inet loopback
# auto eth0
#iface eth0 inet static
# address 192.168.18.202
# netmask 255.255.255.0
# auto eth1
#iface eth1 inet static
# address 192.168.20.202
# netmask 255.255.255.0
9 rtc-rx8025 /dev/rtc0
root@sama5d3-linux:/dev date --help
BusyBox v1.22.0 (2015-05-07 06:53:05 CST) multi-call binary.
Usage: date [OPTIONS] [+FMT] [TIME]
Display time (using +FMT), or set time
[-s,--set] TIME Set time to TIME
-u,--utc Work in UTC (don't convert to local time)
-R,--rfc-2822 Output RFC-2822 compliant date string
-I[SPEC] Output ISO-8601 compliant date string
SPEC='date' (default) for date only,
'hours', 'minutes', or 'seconds' for date and
time to the indicated precision
-r,--reference FILE Display last modification time of FILE
-d,--date TIME Display TIME, not 'now'
-D FMT Use FMT for -d TIME conversion
Recognized TIME formats:
hh:mm[:ss]
[YYYY.]MM.DD-hh:mm[:ss]
YYYY-MM-DD hh:mm[:ss]
[[[[[YY]YY]MM]DD]hh]mm[.ss]
'date TIME' form accepts MMDDhhmm[[YY]YY][.ss] instead
root@sama5d3-linux:/dev date 050816002015.00
Fri May 8 16:00:00 UTC 2015
root@sama5d3-linux:/dev date
Fri May 8 16:00:03 UTC 2015
root@sama5d3-linux:/dev hwclock -w
10 codec-wm8978
root@sama5d3-linux:~ dmesg | grep wm89
[ 1.099000] atmel-wm8978-audio sound.3: obtain a copy of previously claimed pinctrl
[ 1.099000] atmel-wm8978-audio sound.3: setting pck to 24000000Hz
[ 1.213000] atmel-wm8978-audio sound.3: wm8978-hifi <-> f0008000.ssc mapping ok
[ 1.876000] #0: wm8978 @ SAMA5D3
配置 /etc/asound.state