Skip to content

libreComputer-amlS905xCc: Add support for AML-S905X-CC (Le Potato)#213

Merged
samueldr merged 2 commits intoTow-Boot:developmentfrom
samueldr:boards/libreComputer-amlS905xCc
Oct 7, 2023
Merged

libreComputer-amlS905xCc: Add support for AML-S905X-CC (Le Potato)#213
samueldr merged 2 commits intoTow-Boot:developmentfrom
samueldr:boards/libreComputer-amlS905xCc

Conversation

@samueldr
Copy link
Contributor

This tentatively adds a build for the AML-S905X-CC. I don't have the hardware, but have someone handy who is curious and interested.

cc @josqu4red

cc NixOS/nixpkgs#200863

@josqu4red
Copy link

Hi @samueldr, thanks for this!

I just tested it only with shared.disk-image.img written to the SD card, seems to be working properly.
I've yet to succeed with building an actual OS image to really validate my nixpkgs/uboot change and this one though.

@samueldr
Copy link
Contributor Author

samueldr commented Nov 19, 2022

Try booting the stock UEFI NixOS image from USB from Tow-Boot [or stock U-Boot].

Amlogic "this old" (not that old) can generally boot just fine on mainline Linux.

You can look here for some docs and links for the iso:

Though do note that care must be taken in installing to not format with GPT and keep the existing MBR, because of Amlogic idiosyncrasies.

(Also any other recent mainline Linux UEFI iso should work.)

@josqu4red
Copy link

josqu4red commented Dec 6, 2022

Tried with Nixos aarch64 on USB without success, neither this tow-boot build nor the u-boot one from the other PR.
System crashed with "Synchronous Abort" handler seemingly when Grub tries to boot the kernel.
From there, I guess the issue is more with the image than bootloader, but I have no idea how to verify that.

Boot log attached in case you want to take a look
towboot.log

@samueldr
Copy link
Contributor Author

samueldr commented Dec 6, 2022

seemingly when Grub tries to boot the kernel

Thank you for the log, it is the right info to guesstimate.

Did you have the GRUB menu show on screen? Did you have HDMI out connected?

I guess the issue is more with the image than bootloader, but I have no idea how to verify that.

Try fedora, or another known good UEFI-friendly AArch64 distro.

@josqu4red
Copy link

Fedora is booting fine with either distributions!
Though now I have to figure out how to make nixos work here 😬

@samueldr samueldr modified the milestones: [blocked or WIP], 20YY.MM-007 Dec 7, 2022
@samueldr samueldr marked this pull request as ready for review December 7, 2022 21:57
@samueldr samueldr force-pushed the boards/libreComputer-amlS905xCc branch from 684df36 to ee00c79 Compare July 7, 2023 23:03
@samueldr samueldr force-pushed the boards/libreComputer-amlS905xCc branch from ee00c79 to 46fda9f Compare October 5, 2023 05:06
@samueldr samueldr merged commit 34dd3a3 into Tow-Boot:development Oct 7, 2023
@samueldr samueldr deleted the boards/libreComputer-amlS905xCc branch October 7, 2023 03:08
Arvind-Jana

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants