Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-ubuntu [2025/01/13 02:42]
nick
products:maker-kit:mind-2-ai-maker-kit:troubleshooting:fix-ubuntu [2025/02/20 22:01] (current)
nick
Line 2: Line 2:
  
  
-====== Fix Ubuntu 24.04 issues ======+====== Fix Ubuntu 24.04.1 issues ====== 
 + 
 +<WRAP important > 
 +This documentation is only applied for **Ubuntu 24.04.1**, if you use **Ubuntu  24.04.2** or newer version you don't need any tweak and just ignore this documentation. 
 + 
 +And we suggest you to use **Ubuntu 24.04.2** or newer version. 
 +</WRAP> 
  
 ===== Introduction ===== ===== Introduction =====
Line 26: Line 33:
 Reboot and press ''DELETE'' to enter BIOS setup menu, and then navigate to ''Security'' -> ''Secure Boot'', and setup to ''Disabled'', press ''F4'' to save and reboot. Reboot and press ''DELETE'' to enter BIOS setup menu, and then navigate to ''Security'' -> ''Secure Boot'', and setup to ''Disabled'', press ''F4'' to save and reboot.
  
-===== Upgrade your system & kernel =====+===== Upgrade your system =====
  
 ```shell ```shell
 $ sudo apt update $ sudo apt update
 $ sudo apt full-upgrade -y $ sudo apt full-upgrade -y
 +$ sync 
 +$ sudo reboot
 ``` ```
  
-Follow the steps below to upgrade the kernel to ''6.13+'':+After reboot, follow the steps below to upgrade the kernel to ''6.11+'' (kernel of Ubuntu 24.10):
  
 ```shell ```shell
-$ wget https://kernel.ubuntu.com/mainline/v6.13-rc1/amd64/linux-headers-6.13.0-061300rc1-generic_6.13.0-061300rc1.202412012327_amd64.deb -P /tmp +$ wget https://security.ubuntu.com/ubuntu/pool/main//l/linux-signed/linux-image-6.11.0-13-generic_6.11.0-13.14_amd64.deb -P /tmp 
-$ wget https://kernel.ubuntu.com/mainline/v6.13-rc1/amd64/linux-headers-6.13.0-061300rc1_6.13.0-061300rc1.202412012327_all.deb -P /tmp +$ wget https://security.ubuntu.com/ubuntu/pool/main//l/linux/linux-modules-6.11.0-13-generic_6.11.0-13.14_amd64.deb -P /tmp 
-$ wget https://kernel.ubuntu.com/mainline/v6.13-rc1/amd64/linux-image-unsigned-6.13.0-061300rc1-generic_6.13.0-061300rc1.202412012327_amd64.deb -P /tmp +$ wget https://security.ubuntu.com/ubuntu/pool/main//l/linux/linux-modules-extra-6.11.0-13-generic_6.11.0-13.14_amd64.deb -P /tmp 
-$ wget https://kernel.ubuntu.com/mainline/v6.13-rc1/amd64/linux-modules-6.13.0-061300rc1-generic_6.13.0-061300rc1.202412012327_amd64.deb -P /tmp+$ wget https://security.ubuntu.com/ubuntu/pool/main//l/linux/linux-headers-6.11.0-13-generic_6.11.0-13.14_amd64.deb -P /tmp 
 +$ wget https://security.ubuntu.com/ubuntu/pool/main//l/linux/linux-headers-6.11.0-13_6.11.0-13.14_all.deb -P /tmp
 $ sudo dpkg -i /tmp/linux-*.deb $ sudo dpkg -i /tmp/linux-*.deb
 ``` ```
Line 56: Line 66:
  
 ```shell ```shell
-# Install the Intel graphics GPG public key 
 $ wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \ $ wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | \
   sudo gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg   sudo gpg --yes --dearmor --output /usr/share/keyrings/intel-graphics.gpg
- 
-# Configure the repositories.intel.com package repository 
 $ echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu noble client" | \ $ echo "deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu noble client" | \
   sudo tee /etc/apt/sources.list.d/intel-gpu-noble.list   sudo tee /etc/apt/sources.list.d/intel-gpu-noble.list
- 
-# Update the package repository meta-data 
 $ sudo apt update $ sudo apt update
- 
-# Install the compute-related packages 
 $ sudo apt install -y libze-intel-gpu1 libze1 intel-opencl-icd clinfo intel-gsc $ sudo apt install -y libze-intel-gpu1 libze1 intel-opencl-icd clinfo intel-gsc
 ``` ```
Line 97: Line 100:
  
 ===== Fix Wi-Fi issue ===== ===== Fix Wi-Fi issue =====
 +
 +==== Download and install the Wi-Fi driver ====
 +
 +Follow the steps below to download the Wi-Fi driver:
 +
 +```shell
 +$ sudo apt update
 +$ sudo apt install -y git build-essential gcc-14 net-tools
 +$ cd ~/Downloads
 +$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git -b release/core91 --depth=1
 +```
 +
 +Build and install the Wi-Fi driver:
 +
 +```shell
 +$ cd ~/Downloads/backport-iwlwifi
 +$ make defconfig-iwlwifi-public
 +$ make -j10
 +$ sudo make install
 +$ sync
 +```
  
 ==== Update the Wi-Fi firmware ==== ==== Update the Wi-Fi firmware ====
Line 162: Line 186:
  
 ===== In the end ===== ===== In the end =====
 +
 +<WRAP tip >
 +Ubuntu **24.04.2** already fixed all the issues above, you don't need to do anything if you use **24.04.2** or newer version.
 +</WRAP>
  
 All the above steps will not needed once the Ubuntu official release the new OS with kernel ''6.11+''. All the above steps will not needed once the Ubuntu official release the new OS with kernel ''6.11+''.
 +
 +See also:
 +
 +  * [[https://dgpu-docs.intel.com/driver/client/overview.html | Installing Client GPUs]]
  
  
Last modified: 2025/01/13 02:42 by nick