Last active
September 1, 2018 14:28
-
-
Save sihorton/274571958b25ccecc1183bd45355c6f7 to your computer and use it in GitHub Desktop.
odroid u2 kernel upgrade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ubuntu16.04 with kernel 4.16 - https://forum.odroid.com/viewtopic.php?f=77&t=30654 | |
# win32 disk imager, burn "ubuntu-odroidu3-4.16" to sd card, gives you kernel4.16 | |
login root/odroid | |
#attempt to fix network problems after upgrade (random mac address on reboot) | |
nano /etc/netplan/01-netcfg.yaml | |
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
eth0: | |
#dhcp4: true | |
gateway4: 192.168.1.1 | |
addresses: [192.168.1.215/24] | |
macaddress: 3A:02:DD:67:B6:01 | |
nameservers: | |
addresses: [8.8.8.8,8.8.4.4] | |
netplan --debug generate | |
sudo netplan apply | |
sudo reboot | |
ip addr | |
#should now get the fixed ip address, the mac address seems not to be set still. | |
#Upgrade to 1804 | |
sudo apt-get install update-manager-core | |
sudo do-release-upgrade | |
# upgrade took 1 hr | |
#select the timezone for the server | |
sudo dpkg-reconfigure tzdata | |
localectl set-keymap se | |
#expand sd card partition: https://forum.odroid.com/viewtopic.php?f=52&t=2948 | |
cd ~ | |
nano resize.sh | |
chmod +x resize.sh | |
sudo ./resize.sh | |
sudo reboot | |
sudo ./resize.sh | |
# Selecting a kernel: | |
# ================== | |
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git | |
# It lists the tags, so you can see a particular tag and switch the branch to that before compiling. | |
# change logs:- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ | |
# Known Issues: | |
# ============ | |
# wireless networking card not recognised or installed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment