[[labs.beatcraft.com]]~
[[Raspberry Pi]]~
[[Raspbian]]~

#contents

* Raspbian Wheezy [#j8c51e4c]
>
Raspbian Wheezy is available at the official page of Raspberry Foundation.~
[[Raspbian Wheezy: 2015-05-05-raspbian-wheezy.img:https://www.raspberrypi.org/downloads/raspbian/]]~
The details of the image of Raspbian Wheezy are as following:~

**Size of Image [#h152722c]
>
The size of image is 3.1GB approximately.~
 $ ls -al 2015-05-05-raspbian-wheezy.img
 -rw-r--r--  1 beat beat 3276800000  5月  7 01:00 2015-05-05-raspbian-wheezy.img

**debian version [#b1e5d816]
>
Raspbian Wheezy is compatible with debian wheezy (7.x). The debian version of Raspbian Wheezy is 7.8.~
 pi@raspberrypi ~ $ cat /etc/debian_version
 7.8

** kernel [#i1d63f54]
>
Initially, the version of kernel is 3.18.11.~
 pi@raspberrypi ~ $ uname -a
 Linux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux
This kernel is built on x86 by using the cross toolchain gcc 4.8.3 of linaro.~
 pi@raspberrypi ~ $ cat /proc/version
 Linux version 3.18.11-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015

**gcc [#q162a0c7]
>
The version of gcc at the default setting is 4.6.3. This gcc is built for armv6 vfp handfloat.~
 pi@raspberrypi ~ $ gcc -v
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
 Target: arm-linux-gnueabihf
 Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs \
 --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib \
 --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls \
 --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin                  --enable-objc-gc --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.6.3 (Debian 4.6.3-14+rpi1)

**Package [#gcbde55a]
>
Since a lot of packages are installed in Raspbian Wheezy, the installed microSD card can be used as it is inserted into the microSD card drive of Raspberry Pi. Including MetaPackages and libraries, totally 853 packages are included in Raspbian Wheezy. It contains the full packages for desktop managements such as printing functions, managing moving images, voice and sound. It includes the libraries for development and packages for programing languages. OpenCV and Wolfram-Engine are also included initially. The boot-up of OS is done by SysVinit.~
~
The list of packages that initially installed in Raspbian Wheezy.
>
#ref(Raspbin_Wheezt_Default_packages.txt);~
#ref(Raspbin_Wheezy_default_packages.txt);~

** Update [#zc2657f7]
>
As of October 2015, to apply apt-get update and apt-get upgrade, the packages are updated. Once the update of respberrypi-bootloader is done, the kernel is updated from 3.18.11 to 4.1.7 without making a backup copy of kernel.~
 pi@raspberrypi ~ $ sudo apt-get upgrade
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following packages have been kept back:
   nuscratch
 The following packages will be upgraded:
   bind9-host cups-bsd cups-client cups-common firmware-realtek fuse
   ghostscript libbind9-80 libcups2 libcupsimage2 libdns88 libexpat1 libfuse2
   libgs9 libgs9-common libicu48 libisc84 libisccc80 libisccfg82 liblcms1
   liblwres80 libmp3lame0 libnss3 libraspberrypi-bin libraspberrypi-dev
   libraspberrypi-doc libraspberrypi0 libsdl1.2debian libsqlite3-0 libssl1.0.0
   omxplayer openssl raspberrypi-bootloader raspi-config rpcbind sonic-pi sudo
   tzdata unzip
 39 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
 Need to get 127 MB of archives.
 After this operation, 8,692 kB of additional disk space will be used.
 Do you want to continue [Y/n]?

>
To execute rpi-update, the kernel is updated to 4.1.10. Unlike the update of raspberrypi-bootloader, rpi-update saves the contents of the /boot/ partition into the /boot.bak/ of rootfs, and the original kernel modules are stored into /lib/modules/ and /lib/modules.bak/.~
 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  61102      0 --:--:-- --:--:-- --:--:--  100k
  *** 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 3.18.11-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    203      0 --:--:-- --:--:-- --:--:--   266
 100 48.2M  100 48.2M    0     0  1171k      0  0:00:42  0:00:42 --:--:-- 1008k
  *** 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

>
As rpi-update is executed on 3.18.11 kernel, which is kept original setting as 2015-05-05-raspbian-wheezy is written into a microSD card, the directory under /lib/modules/ is changed as it is shown below.~
 pi@raspberrypi ~ $ ls /lib/modules
 3.18.11+  3.18.11-v7+  4.1.10+  4.1.10-v7+

>
In their name of directory, the “-v7” suffix indicates that its directory is for Raspberry Pi 2 (ARMv7 architecture).~
~
After the kernel is updated to 4.1.7 and rpi-update is executed, the directory under /lib/modules/ is changed as it is shown below.~
 pi@raspberrypi ~ $ ls /lib/modules
 4.1.7+  4.1.7-v7+  4.1.10+  4.1.10-v7+

>
If you frequently need 3.x.x kernel or if you often bring back the original condition by any reasons, please apply rpi-update and save the contents of /boot/ partition and kernel modules into the directories below /boot.bak/ and /lib/modules.bak/, respectively. If to do so, you can bring back the original settings.~

*Revision History [#vdcfd3ca]
>
-2015-10-23 This document is initially released.

Front page   Edit Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   RSS of recent changes