Orange Pi One for ASL

I have a couple Orange Pi One SBCs here
and want to get ASL running on them
but it always seems just as you get going, it comes to a screeching halt
with a kernel header version mismatch or some such
I know Steve Z. was working on this awhile back but seems to have tossed in the towel

been trying Stretch and Buster but kind of get hung on the same stuff

anyone have any luck with this?

thanks de k9wkj

What image or install script are you using ?

using
Armbian_20.11.10_Orangepione_buster_current_5.10.4.img
or
Armbian_19.11.3_Orangepione_stretch_current_5.3.9
or
OrangePi_one_debian_stretch_server_linux5.3.5_v1.0

and using the instructions on the wiki
cd /tmp
wget http://dvswitch.org/install-allstarlink-repository
chmod +x install-allstarlink-repository
./install-allstarlink-repository
apt-get install linux-headers-uname -r -y

apt-get update
apt-get install allstarlink -y

and then try to rebuild Dahdi so asterisk is happier
root@orangepione:/usr/src/asl-dahdi-linux-2.11.1# make
make -C linux all
make[1]: Entering directory ‘/usr/src/asl-dahdi-linux-2.11.1/linux’
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory ‘/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/firmware’
make[2]: Leaving directory ‘/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi/firmware’
make -C /lib/modules/5.10.4-sunxi/build SUBDIRS=/usr/src/asl-dahdi-linux-2.11.1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/asl-dahdi-linux-2.11.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory ‘/usr/src/linux-headers-5.10.4-sunxi’
make[3]: *** No rule to make target ‘arch/arm/tools/syscall.tbl’, needed by ‘arch/arm/include/generated/uapi/asm/unistd-common.h’. Stop.
arch/arm/Makefile:307: recipe for target ‘archheaders’ failed
make[2]: *** [archheaders] Error 2
make[2]: Leaving directory ‘/usr/src/linux-headers-5.10.4-sunxi’
Makefile:74: recipe for target ‘modules’ failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory ‘/usr/src/asl-dahdi-linux-2.11.1/linux’
Makefile:9: recipe for target ‘all’ failed
make: *** [all] Error 2

a couple years ago I beat my head on this to no avail
so gave up
but I have not learned my lesson completely

I deployed one of these as a APRS node for the club
and it works just great

Give this a try and let us know if it works on Orange Pi.

http://downloads.allstarlink.org/ASL_Images_Beta/Raspberry_Pi2_3_4/

Tim,
as I suspected a RasPi image wont run on a OrangePi
as it runs a Allwinner SOC not a Broadcom

but its still fun watching the 1st Doctor and messing with this

If you’re trying to compile for OrangePi, you’ll need to completely compile everything from source, which unfortunately is no small feat.

Due to the former team taking down the official GitHub repository, the resources to do so aren’t available publicly anymore.

You can, however, try to via our develop branch. But you need to make sure the OrangePi is running Debian 10, but the kernel modules are almost guaranteed not to work.

Once we’re doing getting our beta out there, we’ll be publishing the source compile repos. But you pay for what you get with an OrangePi – all the hardware without the software :confused:

I have plenty of other stuff to work on currently
so will shelve them for now
but for added fun, I did find the home office posted all kinds of goodies
on Github
https://github.com/orangepi-xunlong

building all of it is a few notches above my pay grade

thanks
de k9wkj

Taking a guess, I might think that since that script was written in 2017, it is not up to date with current issues.
The first being kernel headers being updated past support levels.
Perhaps I am off base on that, but DAHDI issues are the big clue.

So, if you can load the older kernel and put a hold on them like we do for raspi.
http://dvswitch.org/files/ASL_Images/Raspberry_Pi/Stretch/ASL_1.01-20180228-armhf-raspbian-stretch-image.readme

But a fair way to do this with less grief might be to find someone who has one running and get a copy of there running image.

I had one that worked but I could not do other things I wanted to do so I quickly scrapped the project.
Still looking for the image. I probably never filed it since I did not use it. But it did work early 2018.

A post was split to a new topic: Orange Pi Zero errors