videostrong-kii-pro: Initial support for the Videostrong KII Pro.
Initial support for the Meson GXBB-based Videostrong KII Pro TV Box (Amlogic S905). Not to be confused with the Mecool KII Pro, which uses a different SoC (the Amlogic S905D).
The Videostrong KII Pro needs a kernel with a configuration different from the mainline kernel configuration Alpine Linux uses.
This is also my first MR, so don't hesitate to give me recommendations!
What works:
- U-Boot v2020.07 (newer versions partially work)
- mainline Linux
- booting up postmarketOS with both the vendor U-Boot (~2015) and the mainline U-Boot
- hardware acceleration
- wayland and X11 (the latter needs a config file)
- Xwayland
- ethernet (when booting from the mainline U-Boot)
- the 2 LEDs the device has
- HDMI
- USB-A
- Wi-Fi with nonfree firmware
- bluetooth with nonfree firmware
- audio
- ... (see wiki)
What doesn't work/Isn't tested: Everything else
Wiki: https://wiki.postmarketos.org/wiki/VideoStrong_KII_Pro_(videostrong-kii-pro)
Merge request reports
Activity
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
added category::device device-category::testing type::feature labels
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
added 1 commit
- 827aebe7 - device/testing/linux-videostrong-kii-pro: Install DTBs to /boot/dtbs
By f_ on 2023-02-01T11:37:53
added 1 commit
- bc6b9883 - testing/device-videostrong-kii-pro: Remove whitespace
By f_ on 2023-02-01T11:42:41
added 1 commit
- 1e280230 - testing/device-videostrong-kii-pro: Remove mkbootimg, not used.
By f_ on 2023-02-03T17:36:15
added 1 commit
- 244e11f1 - device-videostrong-kii-pro: Move SoC-specific subpackages to soc-amlogic-s905
By f_ on 2023-02-03T19:18:14
Oh wait. postmarketOS doesn't boot without regenerating the uImage with this command:
mkimage -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n linux-next -d vmlinuz uImage
Don't merge yet until I fix that.
By f_ on 2023-02-04T11:58:56
Edited by Administratoradded 1 commit
- 30e2fb38 - testing/device-videostrong-kii-pro: Set 'gpu_accelerated' to true and the u-boot load address
By f_ on 2023-02-04T12:57:06
added 11 commits
-
30e2fb38...af6cc1f1 - 4 commits from branch
postmarketOS:master
- aa588780 - videostrong-kii-pro: Initial support for the VideoStrong KII Pro.
- 6b2c0ed8 - CODEOWNERS: Add myself
- 93ae22b8 - device/testing/linux-videostrong-kii-pro: Install DTBs to /boot/dtbs
- 7035954e - testing/device-videostrong-kii-pro: Remove whitespace
- 2ca94b54 - testing/device-videostrong-kii-pro: Remove mkbootimg, not used.
- 0c3e0f57 - device-videostrong-kii-pro: Move SoC-specific subpackages to soc-amlogic-s905
- f5e42ec6 - testing/device-videostrong-kii-pro: Set 'gpu_accelerated' to true and the u-boot load address
By f_ on 2023-02-04T13:53:52
Toggle commit list-
30e2fb38...af6cc1f1 - 4 commits from branch
added 1 commit
- a3431f6a - CODEOWNERS: Add myself for the soc-amlogic-s905 package
By f_ on 2023-02-04T14:02:08
well u could try getting linux-edge kernel to work it.as far i know s905 has great mainline support .
see also : https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2948
By ΞЖKƆ/QVH on 2023-02-04T19:24:19
Edited by Administrator- Resolved by Administrator
@exkc As said before
linux-edge
doesn't work. It boots but is stuck on a splash screen that says that the initramfs couldn't detect the boot partition, so it seems likelinux-videostrong-kii-pro
is needed.By f_ on 2023-02-05T02:12:30
Edited by Ghost User
- Resolved by Administrator
Next: Getting mainline U-Boot to work! These instructions could help: https://github.com/hexdump0815/u-boot-misc/blob/master/readme.gxb
By f_ on 2023-02-05T15:56:26
Edited by Administrator
added 1 commit
- cd70a104 - device-videostrong-kii-pro: Use U-Boot v2020.07
By f_ on 2023-02-05T19:21:35
Got U-Boot to work. I cannot compile and test for now because of !3846 (closed) but I did compile on my host and test and it works (along with HDMI output!). By using mainline U-Boot I also got ethernet to work!
By f_ on 2023-02-05T19:23:43
Edited by Administrator- Resolved by Administrator
Does u-boot work with extlinux.conf?
By jenneron on 2023-02-06T09:21:12
Edited by Ghost User
!3846 (closed) has been merged. I can now test this.
By f_ on 2023-02-06T12:18:55
added 11 commits
-
a08bd157 - 1 commit from branch
postmarketOS:master
- 0001737c - videostrong-kii-pro: Initial support for the VideoStrong KII Pro.
- 95de02c7 - CODEOWNERS: Add myself
- 78894e00 - device/testing/linux-videostrong-kii-pro: Install DTBs to /boot/dtbs
- 577a5f69 - testing/device-videostrong-kii-pro: Remove whitespace
- 5f23c18a - testing/device-videostrong-kii-pro: Remove mkbootimg, not used.
- 618d67a0 - device-videostrong-kii-pro: Move SoC-specific subpackages to soc-amlogic-s905
- e198573d - testing/device-videostrong-kii-pro: Set 'gpu_accelerated' to true and the u-boot load address
- 4a90932f - CODEOWNERS: Add myself for the soc-amlogic-s905 package
- 2ac4237e - device-videostrong-kii-pro: Use U-Boot v2020.07
- 0feaf346 - testing/soc-amlogic-s905: Just run U-Boot.
By f_ on 2023-02-06T12:19:09
Toggle commit list-
a08bd157 - 1 commit from branch
added 1 commit
- 7ecae593 - testing/{device-videostrong-kii-pro,soc-amlogic-s905,u-boot-amlogic-s905}:...
By f_ on 2023-02-06T13:01:08
added 19 commits
-
7ecae593...c957e4d5 - 8 commits from branch
postmarketOS:master
- 1ed36e53 - videostrong-kii-pro: Initial support for the VideoStrong KII Pro.
- 39c2cdd4 - CODEOWNERS: Add myself
- 7cfa6282 - device/testing/linux-videostrong-kii-pro: Install DTBs to /boot/dtbs
- 32667917 - testing/device-videostrong-kii-pro: Remove whitespace
- 78a67619 - testing/device-videostrong-kii-pro: Remove mkbootimg, not used.
- dd32aa03 - device-videostrong-kii-pro: Move SoC-specific subpackages to soc-amlogic-s905
- 418b6d4a - testing/device-videostrong-kii-pro: Set 'gpu_accelerated' to true and the u-boot load address
- 48d3f93c - CODEOWNERS: Add myself for the soc-amlogic-s905 package
- 5137306c - device-videostrong-kii-pro: Use U-Boot v2020.07
- b25dd38d - testing/soc-amlogic-s905: Just run U-Boot.
- 8ffb6cf3 - testing/{device-videostrong-kii-pro,soc-amlogic-s905,u-boot-amlogic-s905}:...
By f_ on 2023-02-06T13:47:38
Toggle commit list-
7ecae593...c957e4d5 - 8 commits from branch
added 1 commit
- 360e0385 - testing/linux-videostrong-kii-pro: Minify kernel config and bump kernel version
By f_ on 2023-02-07T15:42:57
added 18 commits
-
360e0385...c319a9db - 6 commits from branch
postmarketOS:master
- 17bc470c - videostrong-kii-pro: Initial support for the VideoStrong KII Pro.
- 72b81ecb - CODEOWNERS: Add myself
- 06c10f1f - device/testing/linux-videostrong-kii-pro: Install DTBs to /boot/dtbs
- 21ee8a6c - testing/device-videostrong-kii-pro: Remove whitespace
- 4f012181 - testing/device-videostrong-kii-pro: Remove mkbootimg, not used.
- da856dfb - device-videostrong-kii-pro: Move SoC-specific subpackages to soc-amlogic-s905
- 55ebc1fd - testing/device-videostrong-kii-pro: Set 'gpu_accelerated' to true and the u-boot load address
- fd717e04 - CODEOWNERS: Add myself for the soc-amlogic-s905 package
- 415d5478 - device-videostrong-kii-pro: Use U-Boot v2020.07
- 5e1af5f0 - testing/soc-amlogic-s905: Just run U-Boot.
- 856c63c5 - testing/{device-videostrong-kii-pro,soc-amlogic-s905,u-boot-amlogic-s905}:...
- 08d29bf5 - testing/linux-videostrong-kii-pro: Minify kernel config and bump kernel version
By f_ on 2023-02-07T15:43:17
Toggle commit list-
360e0385...c319a9db - 6 commits from branch
added 14 commits
-
08d29bf5...99f1489c - 2 commits from branch
postmarketOS:master
- 31a77df0 - videostrong-kii-pro: Initial support for the VideoStrong KII Pro.
- 5b7ddb15 - CODEOWNERS: Add myself
- 9e6792fc - device/testing/linux-videostrong-kii-pro: Install DTBs to /boot/dtbs
- b2426bb3 - testing/device-videostrong-kii-pro: Remove whitespace
- 6d51f18d - testing/device-videostrong-kii-pro: Remove mkbootimg, not used.
- 393f1b79 - device-videostrong-kii-pro: Move SoC-specific subpackages to soc-amlogic-s905
- f485cc56 - testing/device-videostrong-kii-pro: Set 'gpu_accelerated' to true and the u-boot load address
- 77eb7b9d - CODEOWNERS: Add myself for the soc-amlogic-s905 package
- b242e627 - device-videostrong-kii-pro: Use U-Boot v2020.07
- 8277b931 - testing/soc-amlogic-s905: Just run U-Boot.
- 829f236e - testing/{device-videostrong-kii-pro,soc-amlogic-s905,u-boot-amlogic-s905}:...
- 1149a4c4 - testing/linux-videostrong-kii-pro: Minify kernel config and bump kernel version
By f_ on 2023-02-08T16:57:11
Toggle commit list-
08d29bf5...99f1489c - 2 commits from branch
added 15 commits
-
1149a4c4...3bf48874 - 3 commits from branch
postmarketOS:master
- d6fa2265 - videostrong-kii-pro: Initial support for the VideoStrong KII Pro.
- 0cd697ee - CODEOWNERS: Add myself
- 61e70288 - device/testing/linux-videostrong-kii-pro: Install DTBs to /boot/dtbs
- 05db414b - testing/device-videostrong-kii-pro: Remove whitespace
- ddd64371 - testing/device-videostrong-kii-pro: Remove mkbootimg, not used.
- fc09b081 - device-videostrong-kii-pro: Move SoC-specific subpackages to soc-amlogic-s905
- e29b885f - testing/device-videostrong-kii-pro: Set 'gpu_accelerated' to true and the u-boot load address
- 520a6f24 - CODEOWNERS: Add myself for the soc-amlogic-s905 package
- c672cc3f - device-videostrong-kii-pro: Use U-Boot v2020.07
- 7bb4f15a - testing/soc-amlogic-s905: Just run U-Boot.
- 9aff1a7f - testing/{device-videostrong-kii-pro,soc-amlogic-s905,u-boot-amlogic-s905}:...
- d9a804e3 - testing/linux-videostrong-kii-pro: Minify kernel config and bump kernel version
By f_ on 2023-02-09T10:34:01
Toggle commit list-
1149a4c4...3bf48874 - 3 commits from branch
- Resolved by Administrator
Not ready. Gotta fix U-Boot. Don't merge yet.
By f_ on 2023-02-10T15:03:12
Edited by Ghost User
- Resolved by Administrator
added 1 commit
- 093eb9fb - testing/linux-videostrong-kii-pro: Enable Audio and BT (still requires a...
By f_ on 2023-02-10T17:48:20
added 1 commit
- 165c9bb7 - testing/firmware-videostrong-kii-pro: Add firmware.
By f_ on 2023-02-10T18:41:05
- Resolved by Administrator
For now the
u-boot-amlogic-s905
package uses a prebuilt U-Boot binary I built myself on my host (which uses a slightly older toolchain) because building U-Boot v2020.xx versions or older doesn't work (ld.bfd
returns 1). I'll fix the linking errors later. For now I need to concentrate on postmarketOS itself.For reference this is how to build the binary and install it:
- Get the U-Boot v2020.07 source
- Get a (small) patch (located in the package directory)
patch -p1 < patchfile.patch
make p201_defconfig
make
- Copy
u-boot.bin
to the root of the boot partition in the SD card.
By f_ on 2023-02-11T15:10:30
Edited by Administrator
- Resolved by Administrator
- Resolved by Administrator