PinePhone U-Boot Upgrade: Difference between revisions
No edit summary |
LongnoseRob (talk | contribs) update to gitlab.postmarketos.org |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Until postmarketOS v22.12 (and around 2022-12 in pmOS edge), we used to upgrade u-boot automatically on the original [[PINE64_PinePhone_(pine64-pinephone)|PinePhone]] (the [[PINE64_PinePhone_Pro_(pine64-pinephonepro)|PPP]] uses [https://postmarketos.org/edge/2022/03/28/ppp-tow-boot/ Tow-Boot]) and [[PINE64_PineTab_(pine64-pinetab)|PineTab]]. While it worked most of the time, in a few instances it was reported that the upgrade didn't work and resulted in osk-sdl not working on boot for encrypted installations ({{issue|1618|pmaports}}). | Until postmarketOS v22.12 (and around 2022-12 in pmOS edge), we used to upgrade u-boot automatically on the original [[PINE64_PinePhone_(pine64-pinephone)|PinePhone]] (the [[PINE64_PinePhone_Pro_(pine64-pinephonepro)|PPP]] uses [https://postmarketos.org/edge/2022/03/28/ppp-tow-boot/ Tow-Boot]) and [[PINE64_PineTab_(pine64-pinetab)|PineTab]]. While it worked most of the time, in a few instances it was reported that the upgrade didn't work and resulted in osk-sdl not working on boot for encrypted installations ({{issue|1618|pmaports}}). | ||
Therefore we do not upgrade it automatically anymore. When installing postmarketOS, you already get the latest version we have packaged at that time. Initially it was [https://gitlab. | Therefore we do not upgrade it automatically anymore. When installing postmarketOS, you already get the latest version we have packaged at that time. Initially it was [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/2149#note_570878335 very important] to be on a specific version of u-boot with the embedded crust/arm-trusted-firmware. But this was in 2021-05, so through v21.12 and v22.06 where we had the automatic upgrade in place all users should have received the upgrade. In case of doubt, just install a fresh postmarketOS version which has the most recent version. | ||
The long-term plan is to replace u-boot with Tow-Boot on the PinePhone and PineTab as well, and then we should eventually be able to upgrade Tow-Boot safely with fwupd. | The long-term plan is to replace u-boot with Tow-Boot on the PinePhone and PineTab as well, and then we should eventually be able to upgrade Tow-Boot safely with fwupd. |
Latest revision as of 09:01, 4 November 2024
Until postmarketOS v22.12 (and around 2022-12 in pmOS edge), we used to upgrade u-boot automatically on the original PinePhone (the PPP uses Tow-Boot) and PineTab. While it worked most of the time, in a few instances it was reported that the upgrade didn't work and resulted in osk-sdl not working on boot for encrypted installations (pmaports#1618).
Therefore we do not upgrade it automatically anymore. When installing postmarketOS, you already get the latest version we have packaged at that time. Initially it was very important to be on a specific version of u-boot with the embedded crust/arm-trusted-firmware. But this was in 2021-05, so through v21.12 and v22.06 where we had the automatic upgrade in place all users should have received the upgrade. In case of doubt, just install a fresh postmarketOS version which has the most recent version.
The long-term plan is to replace u-boot with Tow-Boot on the PinePhone and PineTab as well, and then we should eventually be able to upgrade Tow-Boot safely with fwupd.
Upgrading u-boot manually
If you want to upgrade u-boot manually despite being aware of the risk mentioned above:
$ sudo update-u-boot
Recovering from failed u-boot upgrade
See the Fix U-Boot section of the PinePhone wiki article.
See also
- pmaports!3664: u-boot-pinephone: disable automatic upgrade