Skip to content
Snippets Groups Projects

Initial support for Libre Computer Amlogic Boards

Merged Imported Administrator requested to merge device/lc-lepotato-lafrite into master
1 unresolved thread

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:

Cc: @exkc

Edited by Administrator

Merge request reports

Checking pipeline status.

Approved by

Merged by AdministratorAdministrator 1 year ago (Sep 3, 2023 1:32pm UTC)

Merge details

  • Changes merged into master with 6ff0fc82.
  • Deleted the source branch.

Pipeline #201261 passed

Pipeline passed for 6ff0fc82 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Owner

    Ideally since lafrite has SPI flash we should use it to flash U-Boot there.

    By f_ on 2023-08-12T18:21:09

  • Administrator added 4 commits · Imported

    added 4 commits

    • b2eb3efa - device-librecomputer-lepotato: new aport
    • 338a9276 - device-librecomputer-lafrite: new aport
    • 9fb9814b - u-boot-librecomputer-lepotato: new aport
    • 4633d93e - u-boot-librecomputer-lafrite: new aport

    Compare with previous version

    By f_ on 2023-08-12T18:47:50

  • Administrator resolved all threads · Imported

    resolved all threads

    By f_ on 2023-08-12T18:49:29

  • Administrator changed the description · Imported

    changed the description

    By f_ on 2023-08-12T18:51:28

  • Administrator marked this merge request as ready · Imported

    marked this merge request as ready

    By f_ on 2023-08-13T10:14:24

  • Administrator changed the description · Imported

    changed the description

    By f_ on 2023-08-13T10:14:45

  • Administrator resolved all threads · Imported

    resolved all threads

    By f_ on 2023-08-13T12:42:34

  • Administrator changed title from librecomputer-lepotato && librecomputer-lafrite: initial support to Initial support for Libre Computer Amlogic Boards · Imported

    changed title from librecomputer-lepotato && librecomputer-lafrite: initial support to Initial support for Libre Computer Amlogic Boards

    By f_ on 2023-08-13T14:58:13

  • Administrator changed the description · Imported

    changed the description

    By f_ on 2023-08-13T14:58:13

  • Administrator
  • Administrator
  • Administrator
  • Administrator
  • Administrator
  • Administrator
  • Administrator
  • Administrator
  • Administrator added 1 commit · Imported

    added 1 commit

    • a69b2a5e - remove PMOS_NO_OUTPUT_REDIRECT

    Compare with previous version

    By f_ on 2023-08-15T10:57:22

  • Administrator added 1 commit · Imported

    added 1 commit

    • f3345745 - also remove PMOS_NO_OUTPUT_REDIRECT

    Compare with previous version

    By f_ on 2023-08-15T10:57:42

  • Administrator added 1 commit · Imported

    added 1 commit

    Compare with previous version

    By f_ on 2023-08-15T10:58:02

  • Administrator added 1 commit · Imported

    added 1 commit

    Compare with previous version

    By f_ on 2023-08-15T10:58:19

  • Administrator resolved all threads · Imported

    resolved all threads

    By f_ on 2023-08-15T11:20:06

  • Administrator added 4 commits · Imported

    added 4 commits

    • 69c5d24a - device-librecomputer-lepotato: new aport
    • 7092a884 - u-boot-librecomputer-lepotato: new aport
    • c0d1cd89 - device-librecomputer-lafrite: new aport
    • 2eba66b6 - u-boot-librecomputer-lafrite: new aport

    Compare with previous version

    By f_ on 2023-08-15T11:28:02

    • Author Owner

      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
    • Author Owner

      make a device package for p* since a lot of amlogic device is a fork of p*

      By ΞЖKƆ/QVH on 2023-09-24T11:52:54

    • Please register or sign in to reply
  • Author Owner

    You can get some inspiration from !4221 (closed)

    By jenneron on 2023-08-15T12:05:33

  • Administrator approved this merge request · Imported

    approved this merge request

    By jenneron on 2023-08-15T12:10:06

  • Author Owner

    Could also get some inspiration for flashing a U-Boot into the SPI flash, on librecomputer-lafrite. For now it's unused.

    By f_ on 2023-08-15T12:44:21

  • Administrator changed the description · Imported

    changed the description

    By f_ on 2023-08-15T12:53:29

  • Author Owner

    But this will go in a later MR.

    By f_ on 2023-08-15T13:41:27

  • Author Owner

    Ah, if I remember correctly you told me that the binaries in the LibreELEC repos were quite out-of-date.

    By f_ on 2023-08-17T12:04:29

  • Administrator
  • Administrator resolved all threads · Imported

    resolved all threads

    By f_ on 2023-09-03T10:42:47

  • Administrator resolved all threads · Imported

    resolved all threads

    By f_ on 2023-09-03T10:43:44

  • Administrator approved this merge request · Imported

    approved this merge request

    By Newbyte on 2023-09-03T13:29:03

  • Administrator added 47 commits · Imported

    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)

    Compare with previous version

    By Newbyte on 2023-09-03T13:30:15

  • Administrator enabled an automatic merge when the pipeline for 6ff0fc82 succeeds · Imported

    enabled an automatic merge when the pipeline for 6ff0fc82 succeeds

    By Newbyte on 2023-09-03T13:30:32

  • Administrator merged · Imported

    merged

  • Please register or sign in to reply
    Loading