Skip to content

Instantly share code, notes, and snippets.

Created November 19, 2023 17:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save pdp7/841fb1c3384eabe52b022ef16e9c4ac2 to your computer and use it in GitHub Desktop.
beaglev ahead resources

I got a few questions at the Linux Plumbers Conference about various BeagleV Ahead development resources so I thought it would be good type it in a forum post:

Here is the out-of-the-box documentation:

One thing you may notice is that the board has a superspeed USB 3.0 micro B connector. We didn't do USB Type C as it would have required an additional mux chip and the project was already 1 year late. If you don't have a USB 3.0 superspeed micro B cable (like from an old USB 3.0 hard drive), then you still use a normal USB 2.0 micro B cable. I found USB 2.0 is still fast enough when flashing the eMMC to not be painful.

Another oddity is that the voltage translator circuitry for the console UART has some issues. This results in not all USB to UART adapters working. I use an inexpensive CP2102-based adapter that works. Here is how I wire it up:

All the repositories for hardware and software are under:

T-Head only officially supports v5.10 (see below for community upstreaming efforts):

We use their kernel for our Yocto and Ubuntu images in order to have full hardware support:

BeagleV-Ahead Yocto 2023-06-10

BeagleV-Ahead Ubuntu 2023-07-05

We also have CI builds of both for users that want the latest (untested) images:

In terms of upstream, my mmc patch series has been applied by Ulf for 6.8:

This allows the BeagleV-Ahead to boot from the eMMC. Jisheng Zheng is another upstream developer that has been working a lot on the TH1520. Jisheng has patches in review for Ethernet, USB, PWM, and few more:

I recently agreed with Jisheng to take on the clock driver because the previous person working on it stopped responding.

If you want to see the various th1520 patches on top of mainline, then a developer that uses nick Revy or Rabenda keeps a branch here:

I idle in #beaglev on but it is not very active. We do have an active beaglev-ahead channel on the Discord chat server:

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