Rasp Pi Alternative ? Le Potatoe?

I thought I read somewhere that somebody got dahdi to compile on armhf. But I updated kernel and headers and get the following output(lots of errors complaining about ioctl:

make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory ‘/usr/src/modules/asl-dahdi/drivers/dahdi/firmware’
make[1]: Leaving directory ‘/usr/src/modules/asl-dahdi/drivers/dahdi/firmware’
make -C /lib/modules/5.15.71-sunxi64/build M=/usr/src/modules/asl-dahdi/drivers/dahdi DAHDI_INCLUDE=/usr/src/modules/asl-dahdi/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory ‘/usr/src/linux-headers-5.15.71-sunxi64’
/usr/src/modules/asl-dahdi/drivers/dahdi/Kbuild:61: CPU Architecture ‘arm64’ does not support VPMADT032 or HPEC. Skipping.

  • CC [M] /usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.o*
    /usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10313:3: error: ‘const struct file_operations’ has no member named ‘ioctl’
    10313 | .ioctl = dahdi_ioctl,
  •  |   ^~~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10313:13: error: positional initialization of field in ‘struct’ declared with ‘designated_init’ attribute [-Werror=designated-init]
10313 | .ioctl = dahdi_ioctl,

  •  |             ^~~~~~~~~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10313:13: note: (near initialization for ‘dahdi_fops’)
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10313:13: error: initialization of ‘int ()(struct file , loff_t, loff_t, int)’ {aka ‘int ()(struct file , long long int, long long int, int)’} from incompatible pointer type ‘int ()(struct inode *, struct file , unsigned int, long unsigned int)’ [-Werror=incompatible-pointer-types]
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10313:13: note: (near initialization for ‘dahdi_fops.fsync’)
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10329:3: error: ‘const struct file_operations’ has no member named ‘ioctl’
10329 | .ioctl = dahdi_timer_ioctl,

  •  |   ^~~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10329:13: error: positional initialization of field in ‘struct’ declared with ‘designated_init’ attribute [-Werror=designated-init]
10329 | .ioctl = dahdi_timer_ioctl,

  •  |             ^~~~~~~~~~~~~~~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10329:13: note: (near initialization for ‘dahdi_timer_fops’)
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10329:13: error: initialization of ‘int ()(struct file , loff_t, loff_t, int)’ {aka ‘int ()(struct file , long long int, long long int, int)’} from incompatible pointer type ‘int ()(struct inode *, struct file , unsigned int, long unsigned int)’ [-Werror=incompatible-pointer-types]
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10329:13: note: (near initialization for ‘dahdi_timer_fops.fsync’)
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10420:3: error: ‘const struct file_operations’ has no member named ‘ioctl’
10420 | .ioctl = nodev_ioctl,

  •  |   ^~~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10420:13: error: positional initialization of field in ‘struct’ declared with ‘designated_init’ attribute [-Werror=designated-init]
10420 | .ioctl = nodev_ioctl,

  •  |             ^~~~~~~~~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10420:13: note: (near initialization for ‘nodev_fops’)
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10420:13: error: initialization of ‘loff_t ()(struct file , loff_t, int)’ {aka ‘long long int ()(struct file , long long int, int)’} from incompatible pointer type ‘int ()(struct inode *, struct file , unsigned int, long unsigned int)’ [-Werror=incompatible-pointer-types]
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10420:13: note: (near initialization for ‘nodev_fops.llseek’)
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10437:3: error: ‘const struct file_operations’ has no member named ‘ioctl’
10437 | .ioctl = dahdi_ioctl,

  •  |   ^~~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10437:13: error: positional initialization of field in ‘struct’ declared with ‘designated_init’ attribute [-Werror=designated-init]
10437 | .ioctl = dahdi_ioctl,

  •  |             ^~~~~~~~~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10437:13: note: (near initialization for ‘dahdi_chan_fops’)
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10437:13: error: initialization of ‘int ()(struct file , loff_t, loff_t, int)’ {aka ‘int ()(struct file , long long int, long long int, int)’} from incompatible pointer type ‘int ()(struct inode *, struct file , unsigned int, long unsigned int)’ [-Werror=incompatible-pointer-types]
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:10437:13: note: (near initialization for ‘dahdi_chan_fops.fsync’)
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c: In function ‘__dahdi_hooksig_pvt’:
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:8513:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

  • 8513 | if (chan->txstate != DAHDI_TXSTATE_OFFHOOK) break;*
  •  |      ^*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:8529:5: note: here

  • 8529 | case DAHDI_SIG_FXSGS: /* FXS Groundstart /
  •  |     ^~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:8540:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

  • 8540 | if (rxsig == DAHDI_RXSIG_START) {*
  •  |      ^*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:8548:5: note: here

  • 8548 | case DAHDI_SIG_FXOLS: /* FXO Loopstart /
  •  |     ^~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c: In function ‘dahdi_rbsbits’:
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:8643:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

  • 8643 | if (!(cursig & DAHDI_BBIT)) {*
  •  |      ^*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:8648:6: note: here

  • 8648 | case DAHDI_SIG_EM_E1:*
  •  |      ^~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c: In function ‘__dahdi_process_getaudio_chunk’:
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:7959:4: warning: this statement may fall through [-Wimplicit-fallthrough=]

  • 7959 | memset(txb + 1, txb[0], DAHDI_CHUNKSIZE - 1);*
  •  |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:7961:3: note: here

  • 7961 | case DAHDI_CONF_CONF: /* Normal conference mode /
  •  |   ^~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:7962:7: warning: this statement may fall through [-Wimplicit-fallthrough=]

  • 7962 | if (is_pseudo_chan(ms)) /* if pseudo-channel /
  •  |       ^*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:7990:3: note: here

  • 7990 | case DAHDI_CONF_CONFMON: /* Conference monitor mode /
  •  |   ^~~~*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c: In function ‘__dahdi_process_putaudio_chunk’:
/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:9080:7: warning: this statement may fall through [-Wimplicit-fallthrough=]

  • 9080 | if (is_pseudo_chan(ms)) /* if a pseudo-channel /
  •  |       ^*
    

/usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.c:9106:3: note: here

  • 9106 | case DAHDI_CONF_CONFANN: /* Conference with announce /
  •  |   ^~~~*
    

cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:289: /usr/src/modules/asl-dahdi/drivers/dahdi/dahdi-base.o] Error 1
make[1]: *** [Makefile:1900: /usr/src/modules/asl-dahdi/drivers/dahdi] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-5.15.71-sunxi64’
make: *** [Makefile:74: modules] Error 2

GeorgeC W2DB

Yeah, that’s a completely different error I get. I guess once it’s decided to update the code to newer kernels because of security reasons we will be able to compile by then? For now, back to bidding on monopoly prices on eBay for RPi 3’s…

Well, I managed to get the ASL_1.01-20180417-amd64-i386-debian-stretch-netinst.iso on an Atomic Pi. The oddity was that after it was all done and reboot, there is no sign of Asterisk on it. There were no choices I saw to install or not install Asterisk. Anybody have any idea what I may have done wrong?
GeorgeC W2DB

You need ke5gdb’s patch to the Dahdi source for it to work on kernels 5.9 and above. See this pull request:Fixed compilation issues on 5.9+ kernel versions by ke5gdb · Pull Request #1 · AllStarLink/ASL-DAHDI · GitHub

I tried getting the admins to merge the pull request, as I’ve been using the patch on Raspberry Pi OS Bullseye 64-bit (arm64), but for some reason they are not convinced yet. If you can try that patch and get it working, maybe bump the pull request with a comment.

Checking in to see if there has been any movement with the Libre Computers, RPi are priced out of contention for these projects, would be b nice to use something like this https://www.amazon.com/Libre-Computer-Potato-Single-Heatsink/dp/B0BQG668P6/

Thanks

I’m pleased to see this thread. I am facing the same issues with the install of ASL. Having a couple of potatoes I am currently unable to get past the dependencies while installing ASL. Really hoping there are some updates here soon.

I bought a bunch of Raspberry PI 3B’s off of eBay, for around $35 ~ $40 each, I suggest you all do the same… Stopping by to unsubscribe…

Nah… I think I’ll likely just unsubscribe as well as clearly there’s no support here.
IRLP is working just fine for me.

Support for what exactly ?

You can;t get help for what you specifically don’t state or ask. It requires your input as well.

Even though you have only these 2 posts on the entire board, I can’t see a question in there.

You are not undeserved from the free software and volunteers around here. And you can’t guilt someone into writing code just for you so you can save $20 on hardware that the software was not designed for.

Get on the beaten path or design your own, or get a group of you with the same interest and work together to make it happen. That is how the software came about, and part of what this board is for.

This is a community discussion board that you are not utilizing for what it is, and that is your loss.