BeagleBoneBlack その2 SDカードのマウントについて
ファイルシステムを見てみる。
BeagleBoneBlackのリビジョンはA6
SDカードは4Gを使った。
システムパーティションは/dev/mmcblk0がマウントされている。
/dev/mmcblk0と/dev/mmcblk1があることがわかる。
あれ?
BeagleBoneBlackってeMMCを内蔵してるんだけど、
内蔵が1でSDカードが0になるんだね。。。
回路図を確認したら
SDカードにMMC0
eMMCにMMC1がつながっているからそうみたい。
eMMCから起動するって記事を見たんだけど、
このCPUのROMブートローダはどうなってるんだろう。
あとで調べよう。データシートでかいんだよなぁ。
BeagleBoneBlackのリビジョンはA6
SDカードは4Gを使った。
ubuntu@arm:~$ mount
/dev/mmcblk0p2 on / type ext4 (rw,noatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/mmcblk0p1 on /boot/uboot type vfat (rw)
システムパーティションは/dev/mmcblk0がマウントされている。
ubuntu@arm:~$ ls /dev/mmcblk*
/dev/mmcblk0 /dev/mmcblk0p2 /dev/mmcblk1boot0 /dev/mmcblk1p1
/dev/mmcblk0p1 /dev/mmcblk1 /dev/mmcblk1boot1 /dev/mmcblk1p2
/dev/mmcblk0と/dev/mmcblk1があることがわかる。
ubuntu@arm:~$ sudo fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 4012 MB, 4012900352 bytes
4 heads, 16 sectors/track, 122464 cylinders, total 7837696 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 2048 198655 98304 e W95 FAT16 (LBA)
/dev/mmcblk0p2 198656 7837695 3819520 83 Linux
ubuntu@arm:~$ sudo fdisk -l /dev/mmcblk1
Disk /dev/mmcblk1: 1920 MB, 1920991232 bytes
255 heads, 63 sectors/track, 233 cylinders, total 3751936 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/mmcblk1p1 * 63 144584 72261 c W95 FAT32 (LBA)
/dev/mmcblk1p2 144585 3743144 1799280 83 Linux
あれ?
BeagleBoneBlackってeMMCを内蔵してるんだけど、
内蔵が1でSDカードが0になるんだね。。。
回路図を確認したら
SDカードにMMC0
eMMCにMMC1がつながっているからそうみたい。
eMMCから起動するって記事を見たんだけど、
このCPUのROMブートローダはどうなってるんだろう。
あとで調べよう。データシートでかいんだよなぁ。
BeagleBoneBlack その1
GWになにも趣味をやらないのもなんなので
かなり前に買ったBeagleBoneBlackを久々に引っ張り出してきた。
ubuntuを入れてみる。
FTDIのシリアルケーブルでターミナルをつなげる。
Raspberrypiとはピン配がちがって標準なんだね。
前買った奴は切って繋ぎ変えてしまったのでまた新しく買った。
http://elinux.org/BeagleBoardUbuntu
から
mkdir bone1
cd bone1
wget https://rcn-ee.net/deb/rootfs/trusty/ubuntu-14.04-console-armhf-2014-04-18.tar.xz
tar xf ubuntu-14.04-console-armhf-2014-04-18.tar.xz
cd ubuntu-14.04-console-armhf-2014-04-18
sudo ./setup_sdcard.sh --mmc /dev/sdb --uboot bone
でやってみたら起動するSDカードは簡単にできた。
wgetに全部入ってるわけではなくて
setup_sdcard.shのなかでもダウンロードしているみたい。
telnet localhost 2000
でFTDIに接続する。これは楽だね。
beagleboneblackに電源を入れるとLinuxが起動して
Ubuntu 14.04 LTS arm ttyO0
default username:password is [ubuntu:temppwd]
と出る。パスワードまで表示される。なんて親切。
どんなパッケージが入ってるか見てみる
sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove
やったあと
sshもapacheも最初から起動しているようだ。
raspberrypiも良くできてるけど、
beagleboneubuntuのほうがよくできてる感じを受ける。
かなり前に買ったBeagleBoneBlackを久々に引っ張り出してきた。
ubuntuを入れてみる。
FTDIのシリアルケーブルでターミナルをつなげる。
Raspberrypiとはピン配がちがって標準なんだね。
前買った奴は切って繋ぎ変えてしまったのでまた新しく買った。
http://elinux.org/BeagleBoardUbuntu
から
mkdir bone1
cd bone1
wget https://rcn-ee.net/deb/rootfs/trusty/ubuntu-14.04-console-armhf-2014-04-18.tar.xz
tar xf ubuntu-14.04-console-armhf-2014-04-18.tar.xz
cd ubuntu-14.04-console-armhf-2014-04-18
sudo ./setup_sdcard.sh --mmc /dev/sdb --uboot bone
でやってみたら起動するSDカードは簡単にできた。
wgetに全部入ってるわけではなくて
setup_sdcard.shのなかでもダウンロードしているみたい。
telnet localhost 2000
でFTDIに接続する。これは楽だね。
beagleboneblackに電源を入れるとLinuxが起動して
Ubuntu 14.04 LTS arm ttyO0
default username:password is [ubuntu:temppwd]
と出る。パスワードまで表示される。なんて親切。
ubuntu@arm:~$ uname -r
3.8.13-bone47
ubuntu@arm:~$ uname -a
Linux arm 3.8.13-bone47 #1 SMP Fri Apr 11 03:16:21 UTC 2014 armv7l armv7l armv7l GNU/Linux
ubuntu@arm:~$ mount
/dev/mmcblk0p2 on / type ext4 (rw,noatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/mmcblk0p1 on /boot/uboot type vfat (rw)
どんなパッケージが入ってるか見てみる
sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove
やったあと
ubuntu@arm:~$ dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii acpid 1:2.0.21-1ub armhf Advanced Configuration and Power
ii adduser 3.113+nmu3ub all add and remove users and groups
ii apache2 2.4.7-1ubunt armhf Apache HTTP Server
ii apache2-bin 2.4.7-1ubunt armhf Apache HTTP Server (binary files
ii apache2-data 2.4.7-1ubunt all Apache HTTP Server (common files)
ii apt 1.0.1ubuntu2 armhf commandline package manager
ii apt-utils 1.0.1ubuntu2 armhf package management related utilit
ii avahi-daemon 0.6.31-4ubun armhf Avahi mDNS/DNS-SD daemon
ii base-files 7.2ubuntu5 armhf Debian base system miscellaneous
ii base-passwd 3.5.33 armhf Debian base system master passwor
ii bash 4.3-7ubuntu1 armhf GNU Bourne Again SHell
ii bind9-host 1:9.9.5.dfsg armhf Version of 'host' bundled with BI
ii bsdmainutils 9.0.5ubuntu1 armhf collection of more utilities from
ii bsdutils 1:2.20.1-5.1 armhf Basic utilities from 4.4BSD-Lite
ii btrfs-tools 3.12-1 armhf Checksumming Copy on Write Filesy
ii busybox 1:1.21.0-1ub armhf Tiny utilities for small and embe
ii busybox-initra 1:1.21.0-1ub armhf Standalone shell setup for initra
ii bzip2 1.0.6-5 armhf high-quality block-sorting file c
ii ca-certificate 20130906ubun all Common CA certificates
ii console-setup 1.70ubuntu8 all console font and keymap setup pro
ii coreutils 8.21-1ubuntu armhf GNU core utilities
ii cpio 2.11+dfsg-1u armhf GNU cpio -- a program to manage a
ii cpufrequtils 008-1 armhf utilities to deal with the cpufre
ii cron 3.0pl1-124ub armhf process scheduling daemon
ii dash 0.5.7-4ubunt armhf POSIX-compliant shell
ii dbus 1.6.18-0ubun armhf simple interprocess messaging sys
ii debconf 1.5.51ubuntu all Debian configuration management s
ii debconf-i18n 1.5.51ubuntu all full internationalization support
ii debianutils 4.4 armhf Miscellaneous utilities specific
ii devmem2 0.0-0ubuntu1 armhf simple program to read/write from
ii dh-python 1.20140128-1 all Debian helper tools for packaging
ii diffutils 1:3.3-1 armhf File comparison utilities
ii dmsetup 2:1.02.77-6u armhf Linux Kernel Device Mapper usersp
ii dosfstools 3.0.26-1 armhf utilities for making and checking
ii dpkg 1.17.5ubuntu armhf Debian package management system
ii e2fslibs:armhf 1.42.9-3ubun armhf ext2/ext3/ext4 file system librar
ii e2fsprogs 1.42.9-3ubun armhf ext2/ext3/ext4 file system utilit
ii eject 2.1.5+deb1+c armhf ejects CDs and operates CD-Change
ii fbset 2.1-27 armhf framebuffer device maintenance pr
ii file 1:5.14-2ubun armhf Determines file type using "magic
ii findutils 4.4.2-7 armhf utilities for finding files--find
ii gcc-4.8-base:a 4.8.2-19ubun armhf GCC, the GNU Compiler Collection
ii gcc-4.9-base:a 4.9-20140406 armhf GCC, the GNU Compiler Collection
ii git 1:1.9.1-1 armhf fast, scalable, distributed revis
ii git-core 1:1.9.1-1 all fast, scalable, distributed revis
ii git-man 1:1.9.1-1 all fast, scalable, distributed revis
ii gnupg 1.4.16-1ubun armhf GNU privacy guard - a free PGP re
ii gpgv 1.4.16-1ubun armhf GNU privacy guard - signature ver
ii grep 2.16-1 armhf GNU grep, egrep and fgrep
ii gzip 1.6-3ubuntu1 armhf GNU compression utilities
ii hdparm 9.43-1ubuntu armhf tune hard disk parameters for hig
ii hexedit 1.2.13-1 armhf view and edit files in hexadecima
ii hostapd 1:2.1-0ubunt armhf user space IEEE 802.11 AP and IEE
ii hostname 3.15ubuntu1 armhf utility to set/show the host name
ii i2c-tools 3.1.0-2 armhf heterogeneous set of I2C tools fo
ii ifupdown 0.7.47.2ubun armhf high level tools to configure net
ii init-system-he 1.14 all helper tools for all init systems
ii initramfs-tool 0.103ubuntu4 all tools for generating an initramfs
ii initramfs-tool 0.103ubuntu4 armhf binaries used by initramfs-tools
ii initscripts 2.88dsf-41ub armhf scripts for initializing and shut
ii insserv 1.14.0-5ubun armhf boot sequence organizer using LSB
ii iproute2 3.12.0-2 armhf networking and traffic control to
ii iputils-ping 3:20121221-4 armhf Tools to test the reachability of
ii isc-dhcp-clien 4.2.4-7ubunt armhf ISC DHCP client
ii isc-dhcp-commo 4.2.4-7ubunt armhf common files used by all the isc-
ii kbd 1.15.5-1ubun armhf Linux console font and keytable u
ii keyboard-confi 1.70ubuntu8 all system-wide keyboard preferences
ii klibc-utils 2.0.3-0ubunt armhf small utilities built with klibc
ii kmod 15-0ubuntu6 armhf tools for managing Linux kernel m
ii less 458-2 armhf pager program similar to more
ii libacl1:armhf 2.2.52-1 armhf Access control list shared librar
ii libapparmor1:a 2.8.95~2430- armhf changehat AppArmor library
ii libapr1:armhf 1.5.0-1 armhf Apache Portable Runtime Library
ii libaprutil1:ar 1.5.3-1 armhf Apache Portable Runtime Utility L
ii libaprutil1-db 1.5.3-1 armhf Apache Portable Runtime Utility L
ii libaprutil1-ld 1.5.3-1 armhf Apache Portable Runtime Utility L
ii libapt-inst1.5 1.0.1ubuntu2 armhf deb package format runtime librar
ii libapt-pkg4.12 1.0.1ubuntu2 armhf package management runtime librar
ii libarchive-ext 0.70-1 all generic archive extracting module
ii libasn1-8-heim 1.6~git20131 armhf Heimdal Kerberos - ASN.1 library
ii libattr1:armhf 1:2.4.47-1ub armhf Extended attribute shared library
ii libaudit-commo 1:2.3.2-2ubu all Dynamic library for security audi
ii libaudit1:armh 1:2.3.2-2ubu armhf Dynamic library for security audi
ii libavahi-commo 0.6.31-4ubun armhf Avahi common data files
ii libavahi-commo 0.6.31-4ubun armhf Avahi common library
ii libavahi-core7 0.6.31-4ubun armhf Avahi's embeddable mDNS/DNS-SD li
ii libbind9-90 1:9.9.5.dfsg armhf BIND9 Shared Library used by BIND
ii libblkid1:armh 2.20.1-5.1ub armhf block device id library
ii libbsd0:armhf 0.6.0-2ubunt armhf utility functions from BSD system
ii libbz2-1.0:arm 1.0.6-5 armhf high-quality block-sorting file c
ii libc-bin 2.19-0ubuntu armhf Embedded GNU C Library: Binaries
ii libc6:armhf 2.19-0ubuntu armhf Embedded GNU C Library: Shared li
ii libcap2:armhf 1:2.24-0ubun armhf support for getting/setting POSIX
ii libcap2-bin 1:2.24-0ubun armhf basic utility programs for using
ii libcgmanager0: 0.24-0ubuntu armhf Central cgroup manager daemon (cl
ii libck-connecto 0.4.5-3.1ubu armhf ConsoleKit libraries
ii libcomerr2:arm 1.42.9-3ubun armhf common error description library
ii libcpufreq0 008-1 armhf shared library to deal with the c
ii libcurl3-gnutl 7.35.0-1ubun armhf easy-to-use client-side URL trans
ii libdaemon0 0.14-2ubuntu armhf lightweight C library for daemons
ii libdb5.3:armhf 5.3.28-3ubun armhf Berkeley v5.3 Database Libraries
ii libdbus-1-3:ar 1.6.18-0ubun armhf simple interprocess messaging sys
ii libdebconfclie 0.187ubuntu1 armhf Debian Configuration Management S
ii libdevmapper1. 2:1.02.77-6u armhf Linux Kernel Device Mapper usersp
ii libdns100 1:9.9.5.dfsg armhf DNS Shared Library used by BIND
ii libdrm2:armhf 2.4.52-1 armhf Userspace interface to kernel DRM
ii libedit2:armhf 3.1-20130712 armhf BSD editline and history librarie
ii liberror-perl 0.17-1.1 all Perl module for error/exception h
ii libestr0 0.1.9-0ubunt armhf Helper functions for handling str
ii libexpat1:armh 2.1.0-4ubunt armhf XML parsing C library - runtime l
ii libffi6:armhf 3.1~rc1+r3.0 armhf Foreign Function Interface librar
ii libfribidi0:ar 0.19.6-1 armhf Free Implementation of the Unicod
ii libgcc1:armhf 1:4.9-201404 armhf GCC support library
ii libgcrypt11:ar 1.5.3-2ubunt armhf LGPL Crypto library - runtime lib
ii libgdbm3:armhf 1.8.3-12buil armhf GNU dbm database routines (runtim
ii libgeoip1:armh 1.6.0-1 armhf non-DNS IP-to-country resolver li
ii libgnutls-open 2.12.23-12ub armhf GNU TLS library - OpenSSL wrapper
ii libgnutls26:ar 2.12.23-12ub armhf GNU TLS library - runtime library
ii libgpg-error0: 1.12-0.2ubun armhf library for common error values a
ii libgssapi-krb5 1.12+dfsg-2u armhf MIT Kerberos runtime libraries -
ii libgssapi3-hei 1.6~git20131 armhf Heimdal Kerberos - GSSAPI support
ii libhcrypto4-he 1.6~git20131 armhf Heimdal Kerberos - crypto library
ii libheimbase1-h 1.6~git20131 armhf Heimdal Kerberos - Base library
ii libheimntlm0-h 1.6~git20131 armhf Heimdal Kerberos - NTLM support l
ii libhx509-5-hei 1.6~git20131 armhf Heimdal Kerberos - X509 support l
ii libidn11:armhf 1.28-1ubuntu armhf GNU Libidn library, implementatio
ii libisc95 1:9.9.5.dfsg armhf ISC Shared Library used by BIND
ii libisccc90 1:9.9.5.dfsg armhf Command Channel Library used by B
ii libisccfg90 1:9.9.5.dfsg armhf Config File Handling Library used
ii libiw30:armhf 30~pre9-8ubu armhf Wireless tools - library
ii libjson-c2:arm 0.11-3ubuntu armhf JSON manipulation library - share
ii libjson0:armhf 0.11-3ubuntu armhf JSON manipulation library (transi
ii libk5crypto3:a 1.12+dfsg-2u armhf MIT Kerberos runtime libraries -
ii libkeyutils1:a 1.5.6-1 armhf Linux Key Management Utilities (l
ii libklibc 2.0.3-0ubunt armhf minimal libc subset for use with
ii libkmod2:armhf 15-0ubuntu6 armhf libkmod shared library
ii libkrb5-26-hei 1.6~git20131 armhf Heimdal Kerberos - libraries
ii libkrb5-3:armh 1.12+dfsg-2u armhf MIT Kerberos runtime libraries
ii libkrb5support 1.12+dfsg-2u armhf MIT Kerberos runtime libraries -
ii libldap-2.4-2: 2.4.31-1+nmu armhf OpenLDAP libraries
ii liblocale-gett 1.05-7build3 armhf module using libc functions for i
ii liblockfile-bi 1.09-6ubuntu armhf support binaries for and cli util
ii liblockfile1:a 1.09-6ubuntu armhf NFS-safe locking library
ii liblog-message 0.10-1 all simplified interface to Log::Mess
ii liblwres90 1:9.9.5.dfsg armhf Lightweight Resolver Library used
ii liblzma5:armhf 5.1.1alpha+2 armhf XZ-format compression library
ii liblzo2-2:armh 2.06-1.2ubun armhf data compression library
ii libmagic1:armh 1:5.14-2ubun armhf File type determination library u
ii libmodule-plug 5.1-1 all module for giving modules the ab
ii libmount1:armh 2.20.1-5.1ub armhf block device id library
ii libmpdec2:armh 2.4.0-6 armhf library for decimal floating poin
ii libncurses5:ar 5.9+20140118 armhf shared libraries for terminal han
ii libncursesw5:a 5.9+20140118 armhf shared libraries for terminal han
ii libnewt0.52:ar 0.52.15-2ubu armhf Not Erik's Windowing Toolkit - te
ii libnih-dbus1:a 1.0.3-4ubunt armhf NIH D-Bus Bindings Library
ii libnih1:armhf 1.0.3-4ubunt armhf NIH Utility Library
ii libnl-3-200:ar 3.2.21-1 armhf library for dealing with netlink
ii libnl-genl-3-2 3.2.21-1 armhf library for dealing with netlink
ii libp11-kit0:ar 0.20.2-2ubun armhf Library for loading and coordinat
ii libpam-cap:arm 1:2.24-0ubun armhf PAM module for implementing capab
ii libpam-modules 1.1.8-1ubunt armhf Pluggable Authentication Modules
ii libpam-modules 1.1.8-1ubunt armhf Pluggable Authentication Modules
ii libpam-runtime 1.1.8-1ubunt all Runtime support for the PAM libra
ii libpam0g:armhf 1.1.8-1ubunt armhf Pluggable Authentication Modules
ii libpcap0.8:arm 1.5.3-2 armhf system interface for user-level p
ii libpcre3:armhf 1:8.31-2ubun armhf Perl 5 Compatible Regular Express
ii libpcsclite1:a 1.8.10-1ubun armhf Middleware to access a smart card
ii libpipeline1:a 1.3.0-1 armhf pipeline manipulation library
ii libplymouth2:a 0.8.8-0ubunt armhf graphical boot animation and logg
ii libpng12-0:arm 1.2.50-1ubun armhf PNG library - runtime
ii libpod-latex-p 0.61-1 all module to convert Pod data to for
ii libpopt0:armhf 1.16-8ubuntu armhf lib for parsing cmdline parameter
ii libprocps3:arm 1:3.3.9-1ubu armhf library for accessing process inf
ii libpython3-std 3.4.0-0ubunt armhf interactive high-level object-ori
ii libpython3.4-m 3.4.0-2ubunt armhf Minimal subset of the Python lang
ii libpython3.4-s 3.4.0-2ubunt armhf Interactive high-level object-ori
ii libreadline5:a 5.2+dfsg-2 armhf GNU readline and history librarie
ii libreadline6:a 6.3-4ubuntu2 armhf GNU readline and history librarie
ii libroken18-hei 1.6~git20131 armhf Heimdal Kerberos - roken support
ii librtmp0:armhf 2.4+20121230 armhf toolkit for RTMP streams (shared
ii libsasl2-2:arm 2.1.25.dfsg1 armhf Cyrus SASL - authentication abstr
ii libsasl2-modul 2.1.25.dfsg1 armhf Cyrus SASL - pluggable authentica
ii libselinux1:ar 2.2.2-1 armhf SELinux runtime shared libraries
ii libsemanage-co 2.2-1 all Common files for SELinux policy m
ii libsemanage1:a 2.2-1 armhf SELinux policy management library
ii libsepol1:armh 2.2-1 armhf SELinux library for manipulating
ii libslang2:armh 2.2.4-15ubun armhf S-Lang programming library - runt
ii libsqlite3-0:a 3.8.2-1ubunt armhf SQLite 3 shared library
ii libss2:armhf 1.42.9-3ubun armhf command-line interface parsing li
ii libssl1.0.0:ar 1.0.1f-1ubun armhf Secure Sockets Layer toolkit - sh
ii libstdc++6:arm 4.8.2-19ubun armhf GNU Standard C++ Library v3
ii libsystemd-log 204-5ubuntu2 armhf systemd login utility library
ii libtasn1-6:arm 3.4-3 armhf Manage ASN.1 structures (runtime)
ii libterm-ui-per 0.42-1 all Term::ReadLine UI made easy
ii libtext-charwi 0.04-7build3 armhf get display widths of characters
ii libtext-iconv- 1.7-5build2 armhf converts between character sets i
ii libtext-sounde 3.4-1build1 armhf implementation of the soundex alg
ii libtext-wrapi1 0.06-7 all internationalized substitute of T
ii libtinfo5:armh 5.9+20140118 armhf shared low-level terminfo library
ii libudev1:armhf 204-5ubuntu2 armhf libudev shared library
ii libuniconf4.6 4.6.1-7 armhf C++ network libraries for rapid a
ii libusb-0.1-4:a 2:0.1.12-23. armhf userspace USB programming library
ii libusb-1.0-0:a 2:1.0.17-1ub armhf userspace USB programming library
ii libustr-1.0-1: 1.0.4-3ubunt armhf Micro string library: shared libr
ii libuuid1:armhf 2.20.1-5.1ub armhf Universally Unique ID library
ii libwind0-heimd 1.6~git20131 armhf Heimdal Kerberos - stringprep imp
ii libwrap0:armhf 7.6.q-25 armhf Wietse Venema's TCP wrappers libr
ii libwvstreams4. 4.6.1-7 armhf C++ network libraries for rapid a
ii libwvstreams4. 4.6.1-7 armhf C++ network libraries for rapid a
ii libxml2:armhf 2.9.1+dfsg1- armhf GNOME XML library
ii linux-firmware 1.127 all Firmware for Linux kernel drivers
ii locales 2.13+git2012 all common files for locale support
ii lockfile-progs 0.1.17 armhf Programs for locking and unlockin
ii login 1:4.1.5.1-1u armhf system login tools
ii logrotate 3.8.7-1ubunt armhf Log rotation utility
ii lowpan-tools 0.3-1 armhf Base programs for LoWPAN in Linux
ii lsb-base 4.1+Debian11 all Linux Standard Base 4.1 init scri
ii lsb-release 4.1+Debian11 all Linux Standard Base version repor
ii lshw 02.16-2ubunt armhf information about hardware config
ii makedev 2.3.1-93ubun all creates device files in /dev
ii mawk 1.3.3-17ubun armhf a pattern scanning and text proce
ii memtester 4.3.0-3 armhf Utility for testing the memory su
ii mime-support 3.54ubuntu1 all MIME files 'mime.types' & 'mailca
ii module-init-to 15-0ubuntu6 all transitional dummy package (modul
ii mount 2.20.1-5.1ub armhf Tools for mounting and manipulati
ii mountall 2.53 armhf filesystem mounting tool
ii multiarch-supp 2.19-0ubuntu armhf Transitional package to ensure mu
ii nano 2.2.6-1ubunt armhf small, friendly text editor inspi
ii ncurses-base 5.9+20140118 all basic terminal type definitions
ii ncurses-bin 5.9+20140118 armhf terminal-related programs and man
ii net-tools 1.60-25ubunt armhf The NET-3 networking toolkit
ii netbase 5.2 all Basic TCP/IP networking system
ii netcat-openbsd 1.105-7ubunt armhf TCP/IP swiss army knife
ii ntpdate 1:4.2.6.p5+d armhf client for setting system time fr
ii openssh-client 1:6.6p1-2ubu armhf secure shell (SSH) client, for se
ii openssh-server 1:6.6p1-2ubu armhf secure shell (SSH) server, for se
ii openssh-sftp-s 1:6.6p1-2ubu armhf secure shell (SSH) sftp server mo
ii openssl 1.0.1f-1ubun armhf Secure Sockets Layer toolkit - cr
ii passwd 1:4.1.5.1-1u armhf change and administer password an
ii pastebinit 1.4-3 all command-line pastebin client
ii perl 5.18.2-2ubun armhf Larry Wall's Practical Extraction
ii perl-base 5.18.2-2ubun armhf minimal Perl system
ii perl-modules 5.18.2-2ubun all Core Perl modules
ii plymouth 0.8.8-0ubunt armhf graphical boot animation and logg
ii ppp 2.4.5-5.1ubu armhf Point-to-Point Protocol (PPP) - d
ii procps 1:3.3.9-1ubu armhf /proc file system utilities
ii python3 3.4.0-0ubunt armhf interactive high-level object-ori
ii python3-minima 3.4.0-0ubunt armhf minimal subset of the Python lang
ii python3.4 3.4.0-2ubunt armhf Interactive high-level object-ori
ii python3.4-mini 3.4.0-2ubunt armhf Minimal subset of the Python lang
ii read-edid 3.0.1-2 armhf hardware information-gathering to
ii readline-commo 6.3-4ubuntu2 all GNU readline and history librarie
ii resolvconf 1.69ubuntu1 all name server information handler
ii rsync 3.1.0-2ubunt armhf fast, versatile, remote (and loca
ii rsyslog 7.4.4-1ubunt armhf reliable system and kernel loggin
ii sed 4.2.2-4ubunt armhf The GNU sed stream editor
ii sensible-utils 0.0.9 all Utilities for sensible alternativ
ii sudo 1.8.9p5-1ubu armhf Provide limited super user privil
ii sysv-rc 2.88dsf-41ub all System-V-like runlevel change mec
ii sysvinit-utils 2.88dsf-41ub armhf System-V-like utilities
ii tar 1.27.1-1 armhf GNU version of the tar archiving
ii tzdata 2014b-1 all time zone and daylight-saving tim
ii u-boot-tools 2013.10-3 armhf companion tools for Das U-Boot bo
ii ubuntu-keyring 2012.05.19 all GnuPG keys of the Ubuntu archive
ii ubuntu-minimal 1.325 armhf Minimal core of Ubuntu
ii ucf 3.0027+nmu1 all Update Configuration File(s): pre
ii udev 204-5ubuntu2 armhf /dev/ and hotplug management daem
ii udhcpd 1:1.21.0-1ub armhf Provides the busybox DHCP server
ii upstart 1.12.1-0ubun armhf event-based init daemon
ii ureadahead 0.100.0-16 armhf Read required files in advance
ii usb-modeswitch 2.1.1+repack armhf mode switching tool for controlli
ii usb-modeswitch 20140327-1 all mode switching data for usb-modes
ii usbutils 1:007-2ubunt armhf Linux USB utilities
ii util-linux 2.20.1-5.1ub armhf Miscellaneous system utilities
ii vim-common 2:7.4.052-1u armhf Vi IMproved - Common files
ii vim-tiny 2:7.4.052-1u armhf Vi IMproved - enhanced vi editor
ii wget 1.15-1ubuntu armhf retrieves files from the web
ii whiptail 0.52.15-2ubu armhf Displays user-friendly dialog box
ii wireless-tools 30~pre9-8ubu armhf Tools for manipulating Linux Wire
ii wpasupplicant 2.1-0ubuntu1 armhf client support for WPA and WPA2 (
ii wvdial 1.61-4.1 armhf intelligent Point-to-Point Protoc
ii xkb-data 2.10.1-1ubun all X Keyboard Extension (XKB) config
ii zlib1g:armhf 1:1.2.8.dfsg armhf compression library - runtime
sshもapacheも最初から起動しているようだ。
raspberrypiも良くできてるけど、
beagleboneubuntuのほうがよくできてる感じを受ける。
bluez-toolsのコンパイル
bluezをコンパイルしたんだけど、やっぱり音を出すには他にはいろいろいるらしい。
とりあえず音をならしたときにインストールしたbluez-toolsをコンパイルしてみる。
webで探すとgitっぽい
sudo apt-get install git
git clone git://gitorious.org/bluez-tools/bluez-tools.git
.configureがないので実行可能ファイルを探すと
./autogen.shと言うのがあるので実行してみる。
なんかエラーが出る。
./autogen.sh: 3: ./autogen.sh: autoreconf: not found
autoreconfがないらしい。探してみるとそれっぽいのがあった
sudo apt-get install dh-autoreconf
なんかいっぱい入った。
./autogen.sh
今度はおわったっぽい。
./configure
checking for DBUS_GLIB... no
configure: error: Package requirements (dbus-glib-1 >= 0.84) were not met:
No package 'dbus-glib-1' found
sudo apt-get install libdbus-glib-1-dev
Makefileができた。
make
srcの下に
bt-adapter
bt-agent
bt-audio
bt-device
bt-input
bt-monitor
bt-network
bt-obex
bt-serial
ができてた。
とりあえず音をならしたときにインストールしたbluez-toolsをコンパイルしてみる。
webで探すとgitっぽい
sudo apt-get install git
git clone git://gitorious.org/bluez-tools/bluez-tools.git
.configureがないので実行可能ファイルを探すと
./autogen.shと言うのがあるので実行してみる。
なんかエラーが出る。
./autogen.sh: 3: ./autogen.sh: autoreconf: not found
autoreconfがないらしい。探してみるとそれっぽいのがあった
sudo apt-get install dh-autoreconf
なんかいっぱい入った。
./autogen.sh
今度はおわったっぽい。
./configure
checking for DBUS_GLIB... no
configure: error: Package requirements (dbus-glib-1 >= 0.84) were not met:
No package 'dbus-glib-1' found
sudo apt-get install libdbus-glib-1-dev
Makefileができた。
make
srcの下に
bt-adapter
bt-agent
bt-audio
bt-device
bt-input
bt-monitor
bt-network
bt-obex
bt-serial
ができてた。
bluezのインストール
sudo make installを実行する
make --no-print-directory install-am
/bin/mkdir -p '/usr/local/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c client/bluetoothctl monitor/btmon tools/hciattach tools/hciconfig tools/hcitool tools/hcidump tools/rfcomm tools/rctest tools/l2test tools/l2ping tools/sdptool tools/ciptool tools/bccmd '/usr/local/bin'
libtool: install: /usr/bin/install -c client/bluetoothctl /usr/local/bin/bluetoothctl
libtool: install: /usr/bin/install -c monitor/btmon /usr/local/bin/btmon
libtool: install: /usr/bin/install -c tools/hciattach /usr/local/bin/hciattach
libtool: install: /usr/bin/install -c tools/hciconfig /usr/local/bin/hciconfig
libtool: install: /usr/bin/install -c tools/hcitool /usr/local/bin/hcitool
libtool: install: /usr/bin/install -c tools/hcidump /usr/local/bin/hcidump
libtool: install: /usr/bin/install -c tools/rfcomm /usr/local/bin/rfcomm
libtool: install: /usr/bin/install -c tools/rctest /usr/local/bin/rctest
libtool: install: /usr/bin/install -c tools/l2test /usr/local/bin/l2test
libtool: install: /usr/bin/install -c tools/l2ping /usr/local/bin/l2ping
libtool: install: /usr/bin/install -c tools/sdptool /usr/local/bin/sdptool
libtool: install: /usr/bin/install -c tools/ciptool /usr/local/bin/ciptool
libtool: install: /usr/bin/install -c tools/bccmd /usr/local/bin/bccmd
/bin/mkdir -p '/usr/local/libexec/bluetooth'
/bin/bash ./libtool --mode=install /usr/bin/install -c src/bluetoothd obexd/src/obexd '/usr/local/libexec/bluetooth'
libtool: install: /usr/bin/install -c src/bluetoothd /usr/local/libexec/bluetooth/bluetoothd
libtool: install: /usr/bin/install -c obexd/src/obexd /usr/local/libexec/bluetooth/obexd
/bin/mkdir -p '/usr/local/lib/cups/backend'
/bin/bash ./libtool --mode=install /usr/bin/install -c profiles/cups/bluetooth '/usr/local/lib/cups/backend'
libtool: install: /usr/bin/install -c profiles/cups/bluetooth /usr/local/lib/cups/backend/bluetooth
/bin/mkdir -p '/etc/dbus-1/system.d'
/usr/bin/install -c -m 644 src/bluetooth.conf '/etc/dbus-1/system.d'
/bin/mkdir -p '/usr/local/share/man/man1'
/usr/bin/install -c -m 644 tools/hciattach.1 tools/hciconfig.1 tools/hcitool.1 tools/hcidump.1 tools/rfcomm.1 tools/rctest.1 tools/l2ping.1 tools/sdptool.1 tools/ciptool.1 tools/bccmd.1 tools/hid2hci.1 '/usr/local/share/man/man1'
/bin/mkdir -p '/usr/local/share/man/man8'
/usr/bin/install -c -m 644 src/bluetoothd.8 '/usr/local/share/man/man8'
/bin/mkdir -p '/lib/udev/rules.d'
/usr/bin/install -c -m 644 tools/97-hid2hci.rules '/lib/udev/rules.d'
/bin/mkdir -p '/lib/udev'
/bin/bash ./libtool --mode=install /usr/bin/install -c tools/hid2hci '/lib/udev'
libtool: install: /usr/bin/install -c tools/hid2hci /lib/udev/hid2hci
make --no-print-directory install-am
/bin/mkdir -p '/usr/local/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c client/bluetoothctl monitor/btmon tools/hciattach tools/hciconfig tools/hcitool tools/hcidump tools/rfcomm tools/rctest tools/l2test tools/l2ping tools/sdptool tools/ciptool tools/bccmd '/usr/local/bin'
libtool: install: /usr/bin/install -c client/bluetoothctl /usr/local/bin/bluetoothctl
libtool: install: /usr/bin/install -c monitor/btmon /usr/local/bin/btmon
libtool: install: /usr/bin/install -c tools/hciattach /usr/local/bin/hciattach
libtool: install: /usr/bin/install -c tools/hciconfig /usr/local/bin/hciconfig
libtool: install: /usr/bin/install -c tools/hcitool /usr/local/bin/hcitool
libtool: install: /usr/bin/install -c tools/hcidump /usr/local/bin/hcidump
libtool: install: /usr/bin/install -c tools/rfcomm /usr/local/bin/rfcomm
libtool: install: /usr/bin/install -c tools/rctest /usr/local/bin/rctest
libtool: install: /usr/bin/install -c tools/l2test /usr/local/bin/l2test
libtool: install: /usr/bin/install -c tools/l2ping /usr/local/bin/l2ping
libtool: install: /usr/bin/install -c tools/sdptool /usr/local/bin/sdptool
libtool: install: /usr/bin/install -c tools/ciptool /usr/local/bin/ciptool
libtool: install: /usr/bin/install -c tools/bccmd /usr/local/bin/bccmd
/bin/mkdir -p '/usr/local/libexec/bluetooth'
/bin/bash ./libtool --mode=install /usr/bin/install -c src/bluetoothd obexd/src/obexd '/usr/local/libexec/bluetooth'
libtool: install: /usr/bin/install -c src/bluetoothd /usr/local/libexec/bluetooth/bluetoothd
libtool: install: /usr/bin/install -c obexd/src/obexd /usr/local/libexec/bluetooth/obexd
/bin/mkdir -p '/usr/local/lib/cups/backend'
/bin/bash ./libtool --mode=install /usr/bin/install -c profiles/cups/bluetooth '/usr/local/lib/cups/backend'
libtool: install: /usr/bin/install -c profiles/cups/bluetooth /usr/local/lib/cups/backend/bluetooth
/bin/mkdir -p '/etc/dbus-1/system.d'
/usr/bin/install -c -m 644 src/bluetooth.conf '/etc/dbus-1/system.d'
/bin/mkdir -p '/usr/local/share/man/man1'
/usr/bin/install -c -m 644 tools/hciattach.1 tools/hciconfig.1 tools/hcitool.1 tools/hcidump.1 tools/rfcomm.1 tools/rctest.1 tools/l2ping.1 tools/sdptool.1 tools/ciptool.1 tools/bccmd.1 tools/hid2hci.1 '/usr/local/share/man/man1'
/bin/mkdir -p '/usr/local/share/man/man8'
/usr/bin/install -c -m 644 src/bluetoothd.8 '/usr/local/share/man/man8'
/bin/mkdir -p '/lib/udev/rules.d'
/usr/bin/install -c -m 644 tools/97-hid2hci.rules '/lib/udev/rules.d'
/bin/mkdir -p '/lib/udev'
/bin/bash ./libtool --mode=install /usr/bin/install -c tools/hid2hci '/lib/udev'
libtool: install: /usr/bin/install -c tools/hid2hci /lib/udev/hid2hci
サタデーバー
中学のころ、よくラジオを聞いていた。
その中でもサタデーバーというラジオ番組を聞いていて
小さいころのおれはバーという大人に憧れたものだった。
上京してからもAVANTIを探しに元麻布をうろうろしたこともあった。
最近はめっきりラジオを聞かなくなって忘れてたんだけど、
Macmini-ubuntuで音がなるのかな?と
radikoにアクセスしたらPCからラジオが聞こえてきた。
そういえば、サタデーバーの時間が近いな。久々に。
って楽しみにしてたら、番組が終わってた。
よく聞いてたのに残念だなぁ。
と、いろいろネットで探したら昔の放送をwebで公開しているようだ。
1つ聞いてみたらやっぱりおもしろくて、
一つずつクリックしながら聞いてたんだけど、
面倒くさくなって、シェルスクリプトで全部ダウンロードをしてみた。
for i in `seq 1 365`; do wget "http://podcasts.tfm.co.jp/podcasts/tokyo/avanti/avanti_vol$i.mp3"; done
ラジオコンテンツの作りがいいからか、
MacMiniのクソスピーカーでも聞き取りやすい。
大人になったおれは酒を飲みながらサタデーバーを聞きながら
Linuxをいじる楽しい時間を過ごせるのだ。
(今日は嫁さんが外出してるからだけど。。。)
その中でもサタデーバーというラジオ番組を聞いていて
小さいころのおれはバーという大人に憧れたものだった。
上京してからもAVANTIを探しに元麻布をうろうろしたこともあった。
最近はめっきりラジオを聞かなくなって忘れてたんだけど、
Macmini-ubuntuで音がなるのかな?と
radikoにアクセスしたらPCからラジオが聞こえてきた。
そういえば、サタデーバーの時間が近いな。久々に。
って楽しみにしてたら、番組が終わってた。
よく聞いてたのに残念だなぁ。
と、いろいろネットで探したら昔の放送をwebで公開しているようだ。
1つ聞いてみたらやっぱりおもしろくて、
一つずつクリックしながら聞いてたんだけど、
面倒くさくなって、シェルスクリプトで全部ダウンロードをしてみた。
for i in `seq 1 365`; do wget "http://podcasts.tfm.co.jp/podcasts/tokyo/avanti/avanti_vol$i.mp3"; done
ラジオコンテンツの作りがいいからか、
MacMiniのクソスピーカーでも聞き取りやすい。
大人になったおれは酒を飲みながらサタデーバーを聞きながら
Linuxをいじる楽しい時間を過ごせるのだ。
(今日は嫁さんが外出してるからだけど。。。)