nokia-ant: new port
The device boots, requires manual boot.img adjustments, and being connected to USB, as it shutdowns otherwise (battery not detected)
Merge request reports
Activity
added 3 commits
-
87be9f49...1b695a27 - 2 commits from branch
postmarketOS:master
- 820538b9 - initial nokia-ant porting effort
-
87be9f49...1b695a27 - 2 commits from branch
added 5 commits
-
820538b9...70ca0ebe - 4 commits from branch
postmarketOS:master
- 462fae77 - nokia-ant: new device
-
820538b9...70ca0ebe - 4 commits from branch
added 2 commits
- Resolved by Piotr Halama
Kernel builds, but
pmbootstrap install
fails with hard to analyze error log.txt
added 5 commits
-
2eabe388...03c4ff5c - 4 commits from branch
postmarketOS:master
- 62dcae85 - nokia-ant: new device
-
2eabe388...03c4ff5c - 4 commits from branch
Fix: Kernel defconfig posted by Nokia had
CONFIG_BUILD_ARM_APPENDED_DTB_IMAGE
flag set, and no .dtb file was produced. The boot.img taken from the phone's dump on the other hand uses separate .dtb file. For now I've disabled theCONFIG_BUILD_ARM_APPENDED_DTB_IMAGE
flag and enabled .dtb file generation, but I might need to enable both.I was able to fix compilation issues and now
pmbootstrap install
works. After flashing system and kernel the phone bootloops, so something is still broken, but I can safely reflash Android boot.img if necessaryI'll have more issues with the device than I thought. After taking working Android boot.img and removing AVB data from the end the device no longer boots. https://wiki.postmarketos.org/wiki/Android_Verified_Boot_(AVB) says that vbmeta partition needs to be flashed, but this device doesn't have this partition, or at least that's what fastboot and mtkclient tools are saying. I'd need to get original boot.img without the AVB info to boot, and then I can continue with the port :/
added 51 commits
-
dd5cbd39...f51775ed - 50 commits from branch
postmarketOS:master
- c40497ef - nokia-ant: new device
-
dd5cbd39...f51775ed - 50 commits from branch
Flashing boot has to be done manualy (
avbtool add_hash_footer
is required, see https://wiki.postmarketos.org/wiki/HMD_Global_Nokia_1_Plus_(nokia-ant)#Using_pmbootstrap), but other than that it bootsadded 10 commits
-
9ab15dd4...c3273472 - 9 commits from branch
postmarketOS:master
- 5d31c019 - nokia-ant: new device
-
9ab15dd4...c3273472 - 9 commits from branch
- Resolved by Robert Eckelmann
- Resolved by Robert Eckelmann
added 68 commits
-
5d31c019...1d732b5a - 65 commits from branch
postmarketOS:master
- 8321c098 - nokia-ant: new device
- 4edb4dba - sort deps alphabetically
- ccd7b338 - generate kernel modules
Toggle commit list-
5d31c019...1d732b5a - 65 commits from branch
- Resolved by Piotr Halama
Main issue I have right now is that this device can't be flashed with
pmbootstrap flasher flash_kernel
, because boot partition needs to have AVB footer (see https://wiki.postmarketos.org/wiki/HMD_Global_Nokia_1_Plus_(nokia-ant)#Using_pmbootstrap ), and I don't know if it is possible to modify generated boot.img before flashing it
I think this PR is ready, at least as far as initial device support goes:
- nokia-ant packages can be built
- rootfs and boot partitions can be flashed with pmbootstrap (boot required avb footer data)
- XFCE4 works
- USB networking works, can ssh into the machine
Edited by Piotr Halamaadded porting label
added 20 commits
-
6d7b98c0...d45164ac - 19 commits from branch
postmarketOS:master
- 70e8d1af - nokia-ant: new device (MR 6134)
-
6d7b98c0...d45164ac - 19 commits from branch
enabled an automatic merge when all merge checks for 70e8d1af pass