Skip to content
This ARISC firmware uses by Orange Pi boards to help LinuxCNC/Machinekit make a real-time GPIO manipulations
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
loader Added the firmware loader (uboot script) Jul 10, 2018
.gitignore
Doxifile
Makefile optimization -O2 -> -O3 Mar 27, 2019
README.md URLs fix Mar 27, 2019
arisc-fw.code
arisc-fw.ld Initial commit Jan 12, 2017
io.h
libgcc.c Initial commit Jan 12, 2017
main.c
mod_encoder.c * docs update Mar 22, 2019
mod_encoder.h
mod_gpio.c
mod_gpio.h
mod_msg.c
mod_msg.h + new message types for the pulsgen Mar 22, 2019
mod_pulsgen.c * u32 toggles_done -> s32 cnt Mar 23, 2019
mod_pulsgen.h
mod_stepgen.c
mod_stepgen.h
mod_timer.c Small fix Aug 1, 2018
mod_timer.h
start.S
sys.c
sys.h 1. Added module `pulsgen` without docs. Not tested. May 26, 2018

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
You can’t perform that action at this time.