系統(tǒng)升級(jí)
rpi-update是一個(gè)命令行應(yīng)用程序,可以將您的Raspberry Pi操作系統(tǒng)內(nèi)核和VideoCore固件更新到最新的預(yù)發(fā)布版本。
::: tip
軟件的預(yù)發(fā)布版本不保證能夠工作。除非Raspberry Pi工程師建議,否則不要在任何系統(tǒng)上使用rpi-update。它可能會(huì)使你的系統(tǒng)不可靠,甚至完全崩潰。它不應(yīng)作為任何常規(guī)更新過(guò)程的一部分。
:::
rpi-update
使用rpi-update將下載linux內(nèi)核的最新預(yù)發(fā)布版本、其匹配模塊、設(shè)備樹(shù)文件以及最新版本的VideoCore固件。然后,它會(huì)將這些文件安裝到SD卡上的相關(guān)位置,覆蓋任何以前的版本。
rpi-update使用的所有源數(shù)據(jù)都來(lái)自rpi-firmware repository。該存儲(chǔ)庫(kù)僅包含來(lái)自官方固件存儲(chǔ)庫(kù)的數(shù)據(jù)子集,因?yàn)椴⒉恍枰獊?lái)自該存儲(chǔ)庫(kù)的所有數(shù)據(jù)。
運(yùn)行rpi-update
如果您確定需要使用rpi-update,建議您首先備份當(dāng)前系統(tǒng),因?yàn)檫\(yùn)行rpi-update可能會(huì)導(dǎo)致系統(tǒng)無(wú)法啟動(dòng)。
rpi-update 需要以root用戶(hù)身份運(yùn)行。更新完成后,您需要重新啟動(dòng)。
sudo rpi-update sudo reboot
它有許多選項(xiàng)記錄在rpi-update repository中。
還原版本
如果您已經(jīng)完成了rpi-update,但事情并不像您希望的那樣工作,如果您的Raspberry Pi仍然是可引導(dǎo)的,您可以使用以下命令返回到穩(wěn)定版本:
sudo apt-get update sudo apt install --reinstall libraspberrypi0 libraspberrypi-{bin,dev,doc} raspberrypi-bootloader raspberrypi-kernel
您需要重啟您的Raspberry Pi以使這些更改生效。
rpi-update 與 系統(tǒng)升級(jí)
審核編輯黃宇
-
rpi
+關(guān)注
關(guān)注
0文章
6瀏覽量
3489
發(fā)布評(píng)論請(qǐng)先 登錄
相關(guān)推薦
評(píng)論