OpenOCD is missing bcm2835gpio and sysfsgpio support

Problems with packages? Post here, using [tags] of the package name.

OpenOCD is missing bcm2835gpio and sysfsgpio support

Postby drws » Wed Dec 14, 2022 7:04 pm

OpenOCD's PKGBUILD is missing two features (build flags) to support Raspberry Pi's and generic GPIOs. These are bcm2835gpio and sysfsgpio. I've verified that the package with added features builds on a Raspberry Pi and that OpenOCD works afterwards, even tried JTAG with an actual device.

The PKGBUILD is also missing ARM architecture(s) and doesn't want to build as-is. I don't know if that's a common occurence in ALARM, but thought it was worth mentioning. If you manually build it, the arch line has to be corrected as well.

"diff":
$this->bbcode_second_pass_code('', '_features=(amtjtagaccel armjtagew buspirate ftdi gw16012 jlink oocd_trace opendous osbdm
parport presto_libftdi remote-bitbang rlink stlink ti-icdi ulink usbprog vsllink
aice cmsis-dap dummy jtag_vpi openjtag_ftdi usb-blaster-2 usb_blaster_libftdi bcm2835gpio sysfsgpio)
pkgrel=3
arch=('x86_64' 'armv7h' 'aarch64')')
drws
 
Posts: 9
Joined: Fri Jul 07, 2017 1:40 am

Return to Packages

Who is online

Users browsing this forum: No registered users and 16 guests