Initial support for Libre Computer Amlogic Boards
This MR adds support for two Amlogic SBCs from Libre Computer; AML-S905X-CC (aka. lepotato) and AML-S805X-AC (aka. lafrite).
This MR supplies its own U-Boot for lafrite
, which boots from SPI by default. To make use of this U-Boot instead of the one on the SPI you need to wipe it:
# flashrom -p linux_mtd -E # erase SPI flash
Wiki pages:
- AML-S905X-CC-V1.0: https://wiki.postmarketos.org/wiki/Libre_Computer_AML-S905X-CC-V1.0_(librecomputer-lepotato)
- AML-S805X-AC-V1.0: https://wiki.postmarketos.org/wiki/Libre_Computer_AML-S805X-AC-V1.0_(librecomputer-lafrite)
Cc: @exkc
Merge request reports
Activity
- Resolved by Administrator
- Resolved by Administrator
This MR is confirmed to work on both
lepotato
andlafrite
. Marking as ready and hoping that the CI will finish successfully.By f_ on 2023-08-13T12:42:34
Edited by Ghost User
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
Now thinking about this; most of the Amlogic U-Boot packages are just copy-pasted from others, but I think we should instead merge them all together into SoC-specific packages rather than device-specific packages. The only thing that differs is how you sign the U-Boot binary and how you include the blobs, and this only differs depending on the SoC, not the device. And while in the LibreELEC repo there are different blob revisions for different devices I think we can get away with using the latest revision of these blobs and optionally also build BL31 from upstream Arm Trusted Firmware-A.
Thoughts?
By f_ on 2023-09-24T11:52:54
Edited by Administrator
You can get some inspiration from !4221 (closed)
By jenneron on 2023-08-15T12:05:33
- Resolved by Administrator
@funderscore We (Libre Computer) use different bl2/bl30 than standard copy and pasted ones.
https://github.com/libre-computer-project/libretech-amlogic-blx
By Da Xue on 2023-09-03T10:43:44
Edited by Administrator
added category::device device-category::testing type::feature labels
- Resolved by Administrator
added 47 commits
-
2eba66b6...2cb492a5 - 43 commits from branch
postmarketOS:master
- 9751f8b0 - device-librecomputer-lepotato: new aport (MR 4324)
- e13a0a15 - u-boot-librecomputer-lepotato: new aport (MR 4324)
- 0cad27f9 - device-librecomputer-lafrite: new aport (MR 4324)
- 6ff0fc82 - u-boot-librecomputer-lafrite: new aport (MR 4324)
By Newbyte on 2023-09-03T13:30:15
Toggle commit list-
2eba66b6...2cb492a5 - 43 commits from branch
enabled an automatic merge when the pipeline for 6ff0fc82 succeeds
By Newbyte on 2023-09-03T13:30:32