- 追加された行はこの色です。
- 削除された行はこの色です。
[[Raspberry Pi]]~
[[Raspbian]]~
#contents
*Raspbian Jessie [#s4b62796]
RaspberryPi Foundation の公式ページからダウンロードした~
Raspbian Jessie~
2015-09-24-raspbian-jessie.img~
は以下のような内容になっています。
**イメージサイズ [#i226979e]
約 4.1GB あります。
$ ls -alh 2015-09-24-raspbian-jessie.img
-rw-r--r-- 1 beat beat 4.1G 9月 24 16:14 2015-09-24-raspbian-jessie.img
**debian version [#u498c70b]
debian jessie (8.x) と互換で version は 8.0 です。~
(debian 8.x 系最新の 8.2 より少し前の version です。)
pi@raspberrypi ~ $ cat /etc/debian_version
8.0
**kernel [#s439759c]
初期状態の kernel は 4.1.7 です。
pi@raspberrypi ~ $ uname -a
Linux raspberrypi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l GNU/Linux
kernel は linaro の cross toolchain gcc 4.8.3 を使ってx86 上でビルドされています。
pi@raspberrypi ~ $ cat /proc/version
Linux version 4.1.7-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015
**gcc [#b2ba3c27]
default の gcc は 4.9.2 で、 armv6 vfp hardfloat 向けにビルドされています。
pi@raspberrypi ~ $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Raspbian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs \
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id \
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls \
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object \
--disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo \
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-armhf \
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-armhf --with-arch-directory=arm --with-ecj-jar=/usr/share/java/eclipse-ecj.jar \
--enable-objc-gc --enable-multiarch --disable-sjlj-exceptions \
--with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.9.2 (Raspbian 4.9.2-10)
**パッケージ [#m3500b06]
Wheezy よりさらに大量の 1112 パッケージが最初からインストールされています。~
Wheezy にはなかった libreoffice と java もインストールされています。~
起動は systemd で行います。~
~
Raspbian Jessie にインストールされているパッケージ
#ref(Raspbian_Jessie_default_packages.txt)
**service [#n741215c]
起動時に起動されているデーモンは以下のようになっています。
pi@raspberrypi ~ $ service --status-all
[ + ] alsa-utils
[ + ] avahi-daemon
[ - ] bootlogs
[ - ] bootmisc.sh
[ - ] checkfs.sh
[ - ] checkroot-bootclean.sh
[ - ] checkroot.sh
[ + ] console-setup
[ + ] cron
[ + ] dbus
[ + ] dhcpcd
[ + ] dphys-swapfile
[ + ] fake-hwclock
[ + ] hdparm
[ - ] hostname.sh
[ - ] hwclock.sh
[ + ] ifplugd
[ + ] kbd
[ + ] keyboard-setup
[ - ] killprocs
[ + ] kmod
[ + ] lightdm
[ - ] motd
[ - ] mountall-bootclean.sh
[ - ] mountall.sh
[ - ] mountdevsubfs.sh
[ - ] mountkernfs.sh
[ - ] mountnfs-bootclean.sh
[ - ] mountnfs.sh
[ + ] networking
[ - ] nfs-common
[ + ] ntp
[ - ] plymouth
[ - ] plymouth-log
[ + ] procps
[ + ] raspi-config
[ + ] rc.local
[ - ] rmnologin
[ - ] rpcbind
[ - ] rsync
[ + ] rsyslog
[ - ] sendsigs
[ + ] ssh
[ - ] sudo
[ + ] triggerhappy
[ + ] udev
[ + ] udev-finish
[ - ] umountfs
[ - ] umountnfs.sh
[ - ] umountroot
[ + ] urandom
[ - ] x11-common
**update [#x0df9228]
2015年10月13日の時点で apt-get update & apt-get upgrade を行うと以下のパッケージが更新されます。~
pi@raspberrypi ~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libsasl2-2 libsasl2-modules libsasl2-modules-db
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 257 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
2015年10月14日の時点で rpi-update を行うと、4.1.10 kernel に更新されます。
pi@raspberrypi ~ $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10206 100 10206 0 0 44043 0 --:--:-- --:--:-- --:--:-- 44181
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** We're running for the first time
*** Backing up files (this will take a few minutes)
*** Backing up firmware
*** Backing up modules 4.1.7-v7+
#############################################################
This update bumps to rpi-4.1.y linux tree
Be aware there could be compatibility issues with some drivers
Discussion here:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=113753
##############################################################
*** Downloading specific firmware revision (this will take a few minutes)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 168 0 168 0 0 185 0 --:--:-- --:--:-- --:--:-- 185
100 48.2M 100 48.2M 0 0 999k 0 0:00:49 0:00:49 --:--:-- 1121k
*** Updating firmware
*** Updating kernel modules
*** depmod 4.1.10+
*** depmod 4.1.10-v7+
*** Updating VideoCore libraries
*** Using HardFP libraries
*** Updating SDK
*** Running ldconfig
*** Storing current firmware revision
*** Deleting downloaded files
*** Syncing changes to disk
*** If no errors appeared, your firmware was successfully updated to 260bc9c7589b3359485fc02fed8f56d4c5eaad9a
*** A reboot is needed to activate the new firmware
更新後の kernel は以下のようになります。 ~
Wheezy で rpi-update してインストールされるものも同じ kernel です。
pi@raspberrypi:~$ uname -a
Linux raspberrypi 4.1.10-v7+ #821 SMP PREEMPT Sat Oct 10 00:16:28 BST 2015 armv7l GNU/Linux
更新前の 4.1.7 と同様に linaro の cross toolchain gcc 4.8.3 を使ってx86 上でビルドされています。
pi@raspberrypi:~$ cat /proc/version
Linux version 4.1.10-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #821 SMP PREEMPT Sat Oct 10 00:16:28 BST 2015