Difference between revisions of "Template:RockchipCommonLinuxTips"
From FriendlyELEC WiKi
(updated by API) |
(updated by API) |
||
Line 27: | Line 27: | ||
sudo dpkg -i /opt/archives/linux-headers-*.deb | sudo dpkg -i /opt/archives/linux-headers-*.deb | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | |||
===Update Kernel to Latest Version=== | ===Update Kernel to Latest Version=== | ||
This will update the kernel to the latest version and update the kernel and resource partitions, as well as the kernel modules: | This will update the kernel to the latest version and update the kernel and resource partitions, as well as the kernel modules: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | wget http://112.124.9.243/archives/ | + | wget http://112.124.9.243/archives/{{{1}}}/linux-image-latest.deb |
sudo dpkg -i ./linux-image-latest.deb | sudo dpkg -i ./linux-image-latest.deb | ||
sudo reboot | sudo reboot | ||
Line 38: | Line 36: | ||
Update the kernel headers: | Update the kernel headers: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | wget http://112.124.9.243/archives/ | + | wget http://112.124.9.243/archives/{{{1}}}/linux-headers-latest.deb |
sudo dpkg -i ./linux-headers-latest.deb | sudo dpkg -i ./linux-headers-latest.deb | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− |
Revision as of 04:30, 23 May 2024
Contents
1 Common Linux-based operating system operations
1.1 Using ADB on Linux Systems
1.1.1 Enabling ADB in Buildroot System
Enable on Startup
mv /etc/init.d/K50usbdevice /etc/init.d/S50usbdevice reboot
Enable Temporarily
usbdevice-wrapper start
1.1.2 Enabling ADB in Ubuntu and Debian Systems
Enable on Startup
sudo systemctl enable usbdevice sudo reboot
Enable Temporarily
usbdevice-wrapper start
1.1.3 How to Connect
When using ADB, the port connected to the computer is the same as the USB flashing port.
1.2 Install Kernel Headers
sudo dpkg -i /opt/archives/linux-headers-*.deb
1.3 Update Kernel to Latest Version
This will update the kernel to the latest version and update the kernel and resource partitions, as well as the kernel modules:
wget http://112.124.9.243/archives/{{{1}}}/linux-image-latest.deb sudo dpkg -i ./linux-image-latest.deb sudo reboot
Update the kernel headers:
wget http://112.124.9.243/archives/{{{1}}}/linux-headers-latest.deb sudo dpkg -i ./linux-headers-latest.deb