メモ2 †
メモ †
- J16 microUSB(電源)
電源補助付USBケーブルGM-UH004を使って電源を補強。J21端子からの給電なしでも大丈夫っぽい。
(上記ケーブルはMiniBなので、別途:MiniB->MicroB変換機も必要)
- J3 USB Sirial
本シリアルポートから、root loginして、Wifiをセットアップすれば、以後Wifiからssh login可能になる。
(以後 本USB Sirialは不要になる。)
Wifiのセットアップは、configure_edisonコマンドで対話的に行われる。
- 最初にやること
- USBケーブルを2本つないで、root login
- ファームウェアのアップデート
状態等 †
root@edison:~# cat /proc/version
Linux version 3.10.17-poky-edison+ (sys_dswci@ncsndgbuild04) (gcc version 4.8.2 (GCC) ) #1 SMP PREEMPT Mon Sep 8 14:09:55 CEST 2014
root@edison:~# busybox
BusyBox v1.22.1 (2014-09-03 21:46:26 CEST) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2012.
Licensed under GPLv2. See source distribution for detailed
copyright notices.
Usage: busybox [function [arguments]...]
or: busybox --list
or: function [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
[, [[, addgroup, adduser, ar, ash, awk, basename, brctl, bunzip2,
bzcat, cat, chattr, chgrp, chmod, chown, chroot, chvt, clear, cmp, cp,
cpio, cut, date, dc, dd, deallocvt, delgroup, deluser, depmod, df,
diff, dirname, dmesg, dnsdomainname, du, dumpkmap, dumpleases, echo,
egrep, env, expr, false, fbset, fdisk, fgrep, find, flock, free, fsck,
fstrim, fuser, getty, grep, groups, gunzip, gzip, halt, head, hexdump,
hostname, hwclock, id, ifconfig, ifdown, ifup, insmod, ip, kill,
killall, klogd, less, ln, loadfont, loadkmap, logger, logname, logread,
losetup, ls, lsmod, md5sum, microcom, mkdir, mkfifo, mknod, mkswap,
mktemp, modprobe, more, mount, mv, nc, netstat, nohup, nslookup, od,
openvt, patch, pidof, pivot_root, poweroff, printf, ps, pwd, rdate,
readlink, realpath, reboot, renice, reset, rfkill, rm, rmdir, rmmod,
route, run-parts, sed, seq, setconsole, sh, sha3sum, sleep, sort,
start-stop-daemon, stat, strings, stty, sulogin, swapoff, swapon,
switch_root, sync, sysctl, syslogd, tail, tar, tee, telnet, test, tftp,
time, top, touch, tr, true, tty, udhcpc, udhcpd, umount, uname, uniq,
unzip, uptime, users, usleep, vi, watch, wc, wget, which, who, whoami,
xargs, yes, zcat
root@edison:~# gcc --version
gcc (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@edison:~# ldd --version
ldd (EGLIBC) 2.19
$Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$Written by Roland McGrath and Ulrich Drepper.
root@edison:~# free
total used free shared buffers
Mem: 984108 89400 894708 0 6628
-/+ buffers: 82772 901336
Swap: 0 0 0
root@edison:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 475080 328444 109940 75% /
devtmpfs 491740 0 491740 0% /dev
tmpfs 492052 0 492052 0% /dev/shm
tmpfs 492052 496 491556 0% /run
tmpfs 492052 0 492052 0% /sys/fs/cgroup
tmpfs 492052 496 491556 0% /etc/machine-id
systemd-1 5638 5182 456 92% /boot
systemd-1 2337308 3588 2317336 0% /home
tmpfs 492052 4 492048 0% /tmp
tmpfs 492052 0 492052 0% /var/volatile
/dev/mmcblk0p5 1003 19 913 2% /factory
/dev/mmcblk0p10 2337308 3588 2317336 0% /home
/dev/mmcblk0p7 5638 5182 456 92% /boot
root@edison:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 74
model name : Genuine Intel(R) CPU 4000 @ 500MHz
stepping : 8
microcode : 0x810
cpu MHz : 500.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush
dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology
nonstop_tsc aperfmperf nonstop_tsc_s3 pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat
epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips : 998.40
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 74
model name : Genuine Intel(R) CPU 4000 @ 500MHz
stepping : 8
microcode : 0x810
cpu MHz : 500.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 2
initial apicid : 2
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush
dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology
nonstop_tsc aperfmperf nonstop_tsc_s3 pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat
epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips : 998.40
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
root@edison:~# parted
(parted) print all
Error: /dev/mmcblk0rpmb: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0rpmb: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Error: /dev/mmcblk0boot0: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Error: /dev/mmcblk0boot1: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: MMC H4G1d (sd/mmc)
Disk /dev/mmcblk0: 3909MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB u-boot0
2 3146kB 4194kB 1049kB u-boot-env0
3 4194kB 6291kB 2097kB u-boot1
4 6291kB 7340kB 1049kB u-boot-env1
5 7340kB 8389kB 1049kB ext2 factory
6 8389kB 33.6MB 25.2MB panic
7 33.6MB 67.1MB 33.6MB fat16 boot
8 67.1MB 604MB 537MB ext4 rootfs
9 604MB 1409MB 805MB update
10 1409MB 3909MB 2500MB ext4 home
(parted)