Прошивка для RISC сопроцессора, расположенного внутри процессоров Allwinner H2+, H3 и H5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MX_Master 486d3be079 + new message types for GPIO module 1 week ago
loader Added the firmware loader (uboot script) 1 year ago
.gitignore + compiled firmware 1 year ago
Makefile timer module removed, uses timer macros instead 2 months ago
README.md URLs fix 11 months ago
arisc-fw.code + new message types for GPIO module 1 week ago
arisc-fw.ld Initial commit 3 years ago
io.h indentation fix, tabs/spaces -> spaces 1 year ago
libgcc.c Initial commit 3 years ago
main.c repo address fix 11 months ago
mod_encoder.c * AB state typo fix 1 month ago
mod_encoder.h * docs update 11 months ago
mod_gpio.c + new message types for GPIO module 1 week ago
mod_gpio.h + new message types for GPIO module 1 week ago
mod_msg.c + lock message slot while reading/writing it 2 weeks ago
mod_msg.h + lock message slot while reading/writing it 2 weeks ago
mod_stepgen.c + report commanded position position 2 weeks ago
mod_stepgen.h + report commanded position position 2 weeks ago
start.S cleanup 1 year ago
sys.c 1. Added module `pulsgen` without docs. Not tested. 1 year ago
sys.h 1. Added module `pulsgen` without docs. Not tested. 1 year ago
timer.h timer module removed, uses timer macros instead 2 months ago

README.md

It’s free firmware for the Allwinner H3 SoC’s co-processor (ARISC)

  • This firmware uses to make a real-time GPIO pulses generation and counting.
  • This firmware can be used for the any CNC applications - STEP/DIR and PWM generation, ABZ encoders counting.

How to build?

  • You’ll need any Linux OS and a custom toolchain.
  • Download the toolchain binaries from here - https://github.com/openrisc/newlib/releases
  • Unpack toolchain binary files into the /opt/toolchains/or1k-elf folder
  • Clone this repo to any folder: $ git clone https://github.com/orange-cnc/arisc_firmware.git
  • Build the firmware by the make all command

How to use?

  • You’ll need any Orange Pi board with Alwinner H3 SoC and any Linux OS built by armbian. SD images can be found here - https://github.com/orange-cnc/armbian_build/releases, and here - https://www.armbian.com/download/.
  • Copy arisc-fw.code binary file and all files from repo’s folder /loader into the /boot folder of your Armbian OS.
  • Restart your Orange Pi board.
  • Clone arisc linux API repo to any folder of your Armbian OS: $ git clone https://github.com/orange-cnc/arisc_api.git
  • Build arisc linux API by the make all command
  • Run arisc linux API: $ ./arisc