Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:xu4_upgrade_from_3.10_to_4.9 [2017/07/03 15:13] odroid |
en:xu4_upgrade_from_3.10_to_4.9 [2017/07/14 12:57] neal |
||
---|---|---|---|
Line 9: | Line 9: | ||
- Gain root access, everything from now on requires root access: <code>sudo -s</code> | - Gain root access, everything from now on requires root access: <code>sudo -s</code> | ||
- Make sure your system is up-to-date: <code>apt update && apt upgrade && apt dist-upgrade</code> | - Make sure your system is up-to-date: <code>apt update && apt upgrade && apt dist-upgrade</code> | ||
- | - Modifying the repo: <code>sed -i s/"5422"/"5422-s"/g /etc/apt/sources.list.d/odroid.list</code> | + | - Modifying the repo: <code>if [ -z "$(grep "5422-s" /etc/apt/sources.list.d/odroid.list)" ]; then sed -i s/"5422"/"5422-s"/g /etc/apt/sources.list.d/odroid.list; fi</code> |
- | - Update your package information: <code>apt update</code> | + | - Update your package information: <code>apt update && apt upgrade && apt dist-upgrade</code> |
- Update your kernel: <code>apt download linux-image-4.9.30-41</code><code>dpkg -i --force-all linux-image-4.9.30-41_20170531_armhf.deb</code> | - Update your kernel: <code>apt download linux-image-4.9.30-41</code><code>dpkg -i --force-all linux-image-4.9.30-41_20170531_armhf.deb</code> | ||
- Update your system again. New packages that matches kernel 4.9 configuration will be replaced/installed. \\ This includes a new boot.ini that _MUST BE_ installed: <code>apt dist-upgrade</code> | - Update your system again. New packages that matches kernel 4.9 configuration will be replaced/installed. \\ This includes a new boot.ini that _MUST BE_ installed: <code>apt dist-upgrade</code> | ||
- | - Install the latest Kernel package from our server. http://deb.odroid.in/5422-s/pool/main/l/linux-image-xu3/ \\ XX is the version number of the kernel package.<code>apt install linux-image-xu3=XX-1</code> {{:en:download_ker.png?nolink|}} | + | - Install the latest Kernel package from our server. http://deb.odroid.in/5422-s/pool/main/l/linux-image-xu3/ \\ <color #ed1c24>XX-Y</color> is the version number of the kernel package.<code>apt install linux-image-xu3=XX-Y</code> {{:en:download_ker2.png?nolink|}} |
- Sync and turn off: <code>sync && poweroff</code> | - Sync and turn off: <code>sync && poweroff</code> | ||
- Turn your board on again and enjoy. | - Turn your board on again and enjoy. |