Skip to content

astranome/Astra_S9_FPGA

Repository files navigation

Astra_S9_FPGA

Astra_S9_FPGA is a FPGA-SoC Development Board from used Antminer S9 Control Board. This board WAS NOT DESIGNED as a motherboard with the ability to connect anything other than hashboards. It has no video output,USB,SPI, I2S, or audio. It is an industrial equipment for one specific task, made to high standards of reliability and durability.

But there is a great advantage over other platforms such as Raspberry, Orange, Banana, BeagleBoard. This is the ZYNQ 7000, that is, in addition to the SoC (microprocessor), there is an FPGA in the chip, which can be implemented (synthesized) in hardware, rather than emulated, for example, a pair of microcontrollers, a video card, video and audio codecs, USB, a dozen comports, Crypto cores, scalers, media converters, frequency synthesizers and much more.

But there are some limitations. For example, only DDR3 memory is supported, with a capacity of up to 1000MB. And the frequency of both CORTEX A9 processor cores is much less than 1000 MHz.

astra_S9

ubun

This project shows how to add I2c, SPI, second UART, PS/2 mouse (not finished yet), generator signal output up to 100 MHz, and, of course, HDMI is implemented. Now this board allows you to view images, PDF too. It is possible to watch videos, for example mp4, pre-downloaded from YouTube. The sound has not yet been implemented, if you start streaming video from YouTube in the browser, then playback is in slideshow mode. Therefore, a better use will be found for this board than running Chrome.

For example, let's display the exchange rate chart of Bitcoin, the weather and the news feed.

image

And yes! It was possible to run X11, in other words, Linux Desktop LXDE. image

To run UBUNTU on this board, you need to prepare an SD card. You need to create two disk partitions, FAT32 and Ext4. In the FAT section, you need to copy the files from the BOOT directory. You need to copy the rootfs image to the EXT4 partition. ROOTFS has a size of more than 4 Gb. It is unlikely that Github allows you to download such large files, so I hope a free file storage will help me.

What has been achieved? What was done with the C41 card? The story lasts for a couple of years: --2001--2023——

An example for this board was found on github, https://github.com/KarolNi/S9miner_sample

The first project has been assembled - LED flashing.

Successful launch of Ubuntu and Petalinux

Our own U-Boot has been successfully built, thanks to the excellent tutorial from Andrey https://habr.com/ru/articles/565368/

---=== It became clear that you can do without a JTAG programmer ===---

We managed to revive the board from the Antbuild (thanks a lot @Tankonaft)

Test applications have been launched — pattern generators —HDMI and VGA monitors display images

image

———-2024——-

PYNQ—Ubuntu successfully displays the console, MS, pictures and video clips on the HDMI monitor image

image

Lubuntu-desktop is running image

A USB Host is implemented (this pleasure is several times higher than the cost of the board) image

The work with GPIO is mastered, the ILI 9325 screen is connected via the 8bit bus image

this SMALL screen is difficult to connect image

I2C has been mastered and the LCD2004 SMBUS display is connected image

SPI interface - 9341 and 7735 TFT displays are connected image

image image

The converter is made - USB keyboard-UART image

Implemented access to the NAND (MTD) when booting from the SD

I2S implementation — audio is played, while HDMI does not work due to the proprietary HDMI core. (VGA works without problems.)

The web radio is working, the ZynAddSubFX Yoshimi midi synthesizer, the FluidSynth midi player and the RoseGarden sound studio are implemented

image image image

the microphone is working image

, STT TTS speech recognition and synthesis are running, and as a result, the Offline Voice Assistant Irina

image

VGA1bit image

image

VGA runs on a standard core, now audio and video are played at the same time. The disadvantage is that the CA requires a lot - 14 pins for 4bit per color mode, while the picture quality is tolerable, not ideal, to improve the color space, you will need to use 12 more pins = 26 (and 52 resistors), there are very few free pins left.

-------------- Valid links --------------

There is a very similar board - Antminer T9+ image

https://github.com/opensatellite/antminer_t9/tree/master

If you have good soldering skills, you might want to make a devboard yourself.

image

The Gerber files can be found here https://github.com/cropinghigh/zynq_a9_mb

Minimal LCD1602A module using gpiod and nothing else, tested on ZYNQ 7010 running Armbian Ubuntu

https://github.com/astranome/LCD1602-Python-Module-compatible-with-ZYNQ-

This is the simplest example of a Blink on a Microblaze. The constrain is made for the S9 board

https://github.com/astranome/MicroBlaze-on-Zynq-7010

1 bit VGA

https://github.com/astranome/S9_VGA/tree/master/S9_vga

SDR Receiver: https://github.com/iliasam/OpenZynqSDR_HW

Astra_S9_Base = With All interfaces : HDMI, I2S (In & Out), I2C, SPI, 16xGPIO (PL), Stereo Audio OUT, MIDI https://github.com/astranome/Astra_S9_FPGA_Base

About

Astra_S9_FPGA is a Powerful DevBoard from used Antminer S9 Control Board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors