Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aarch64 portage #35

Open
wants to merge 105 commits into
base: develop
Choose a base branch
from
Open

Conversation

Artemia76
Copy link

@Artemia76 Artemia76 commented Nov 21, 2022

Modifications for aarch64 (arm64) portability

sys/io.h does not exist on arm64 architecture (Direct I/O port access). This is used by ASL asterisk to access parallel port with old school method (ioperm, etc). I Disabled these specific calls to enable arm64 build.
Tested on my ISP router (embedded VM on debian buster aarch64)

tsawyer and others added 30 commits April 23, 2021 15:56
Radio Interface selects cli based on selected channel driver
Added help text to node-setup
Added statpost_url yes/no
Add and modify help/info text boxes.
Fixed a few minor bugs.
Removed some menu items we can go without
for now. I don't expect any major changes
to the menu structure before the next release.
No hangtime when sending beacon ID

Signed-off-by: Jim <james@colderwood.com>
I run ASL as a pbx as well as an ASL node. Every time I would reload the pbx configs, an error would appear to the effect that IAX trunking is not available without a timing source. I thought this was strange since every indication showed that dahdi/pseudo was in fact running. Thus it appeared that IAX was not pulling in the timing from the kernel. Looking through chan_iax.c, I found two bad file descriptors, probably left over from the zaptel days that were trying to pull in zaptel timing (the "old lines" above). I corrected them to show /dev/dahdi/... After the change, no more errors about an inability to do trunking. Note, part of this fix was determining that /dev/zap/... did not exist and that /dev/dahdi/... did exist.

Changes start on line 112. Two original lines commented out. Two new lines inserted.

This is the first time I am using Github, so please excuse and errors in procedure.
…fg parameter set in usbradio.conf. When using usbradio in carrierfrom=vox mode this is the value the vox hang timer pChan->rxVoxTimer is set to in xpmr.c each time RX audio is detected. Making it configurable allows the default value of 2000mS to be reduced to a shorter time thereby preventing 2 seconds of silence being added to all node user transmissions. A value of 500mS seems to be much more optimal, and in my testing resulted in no false RX CD drops even when not talking. (xpmr.c's vox mode detects even quiet background noise and thereby supports reliable COS detection for radios that do not have a hardware COS line output.) Add the new voxhangtime parm to chan_usbradio.c chan_usbradio_pvt struct, store_config(), xpmr.c createPmrChannel(), xpmr.h t_pmr_chan struct, and to asterisk/configs/usbradio.conf.sample and allstar/configs/usbradio/usbradio.conf.
Fix statpost error message as well as bad exit from fork
Update chan_iax2.c The Zingman brothers approve. Merging. Thank you!
Make the call to libcurl for statpost quiet.  It was placing OK on stdout
update config.guess and config.sub
DU8BL and others added 25 commits January 9, 2023 16:27
Corrects a pointer allocation error in xpmr.  This allows the code to operate properly on x64 systems.
This change addresses memory leaks in chan_echolink.c.
Pointer allocation Error in xpmr.c
Address memory leaks in chan_echolink
fix crash when large number of nodes are connected
A this point I'm assuming a big part of the memory leak is from echolink which has been addressed with Pr AllStarLink#42.
…or_new_osarch

Fix linker library flags for native armhf builds of asterisk
Replace xpmr.c #define with new voxhangtime usbradio.conf parameter
No hangtime when sending beacon ID
Updated to use gpg key.
The original URL redirects automatically, but make doesn't follow the redirect.
On a minimal installation of Debian (Docker: debian:buster-slim) the following packages are required to build:

* devscripts
* doxygen
* graphviz
* gsfonts

To better track which packages are needed, I've also sorted the list alphabetically.

Note that I've only added to this list, not checked to see if all packages are required. If I spot any surplus packages I'll add a separate pull request.
Fix URL to point at asterisk.org domain
Signed-off-by: Bj Lee <bplee87@gmail.com>
Signed-off-by: Bj Lee <bplee87@gmail.com>
Signed-off-by: Bj Lee <bplee87@gmail.com>
Signed-off-by: Bj Lee <bplee87@gmail.com>
chan_echolink: Support for 4th server
@tsawyer
Copy link
Member

tsawyer commented Mar 19, 2023

@Artemia76, I think most of these changes have been merged elsewhere. Could please verify and clean this up?

@Artemia76
Copy link
Author

@tsawyer, ok, clean to just keep [5ce5980] [Disable direct IO access for ARM64 compatibility] modifications ?

@Artemia76
Copy link
Author

Artemia76 commented Mar 19, 2023

@tsawyer Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet