New way of installing updated kernel
This commit is contained in:
parent
574741d901
commit
11eaba7e33
|
@ -385,7 +385,7 @@ Some basic Emacs keys which will be useful to new users are:
|
|||
To enable some newer packages add backports to the repositories.
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
echo "deb http://ftp.us.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list
|
||||
echo "deb http://ftp.us.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get dist-upgrade
|
||||
apt-get install ca-certificates
|
||||
|
@ -420,32 +420,11 @@ echo "export TZ='Europe/London'" >> /home/myusername/.bashrc
|
|||
#+END_SRC
|
||||
|
||||
** Upgrade the kernel
|
||||
Using a more recent kernel should improve stability of the system and also allow it to make use of hardware random number generation, which improves the overall security. Please note that this kernel is specific to the BBB, so if you're using a Raspberry Pi, Cubieboard or other SBC then look elsewhere on the web for information about upgrading the kernel. Newer kernels are also available at http://rcn-ee.net/deb/wheezy-armhf ("bone" in the name indicates kernels with BBB specific patches).
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
mkdir ~/build
|
||||
cd ~/build
|
||||
wget http://freedombone.uk.to/kernel-3.15.tar.gz
|
||||
#+END_SRC
|
||||
|
||||
Verify it.
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
sha256sum kernel-3.15.tar.gz
|
||||
abf3e1077bed32a2d7b8e751a6002488032ada7611825c46b0fb548fc838fd99
|
||||
#+END_SRC
|
||||
|
||||
Then extract and install it.
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
tar -xzvf kernel-3.15.tar.gz
|
||||
cd kernel-3.15
|
||||
sh install-me.sh
|
||||
#+END_SRC
|
||||
|
||||
If you get a certificate error then edit *install-me.sh* and change the /https/ to /http/, save and try again. Once the installation has completed then you can reboot by typing:
|
||||
Using a more recent kernel should improve stability of the system and also allow it to make use of hardware random number generation, which improves the overall security. Please note that this kernel is specific to the BBB, so if you're using a Raspberry Pi, Cubieboard or other SBC then look elsewhere on the web for information about upgrading the kernel. Newer kernels are also available at http://rcn-ee.net/deb/jessie-armhf ("bone" in the name indicates kernels with BBB specific patches).
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
cd /opt/scripts/tools
|
||||
./update_kernel.sh --kernel v3.15.10-bone7
|
||||
reboot
|
||||
#+END_SRC
|
||||
|
||||
|
@ -455,6 +434,8 @@ After the system has rebooted you can ssh back unto it and log in as the root us
|
|||
uname -mrs
|
||||
#+END_SRC
|
||||
|
||||
Note: If you're upgrading to any other kernel version and the BBB fails to reboot, with lights continuously on, then remove power, take out the microSD, insert it into your laptop then do something like "*sudo emacs /media/$USER/rootfs/boot/uEnv.txt*" and change the kernel version to the previous one which you were using, then eject the microSD drive, re-insert it into the BBB and re-apply power.
|
||||
|
||||
Now enable zram.
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
|
@ -557,7 +538,7 @@ esac
|
|||
exit $RETVAL
|
||||
#+END_SRC
|
||||
|
||||
Save and exit, then reboot again.
|
||||
Save and exit.
|
||||
|
||||
#+BEGIN_SRC: bash
|
||||
chmod +x /etc/init.d/zram
|
||||
|
|
Loading…
Reference in New Issue