Hi There...

Thanks for the help, it means a lot...

Regarding item 4:
It appears to be already installed (not sure if I did this in my fumbling 
around or if it came in with something else), so I'll look forward to your 
upcoming driver....Alan

debian@BeagleBone:~$ gpioinfo
gpiochip0 - 32 lines:
        line   0: "P8_25 [mmc1_dat0]" "P8_25" input active-high [used]
        line   1: "[mmc1_dat1]" "P8_24" input active-high [used]
...

debian@BeagleBone:~$ sudo apt list | grep gpio

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

gpiod/oldstable,now 1.6.2-1 armhf [installed]
libgpiod-dev/oldstable,now 1.6.2-1 armhf [installed]
libgpiod-doc/oldstable 1.6.2-1 all
libgpiod2/oldstable,now 1.6.2-1 armhf [installed]
libpigpiod-if-dev/oldstable 1.78-1 armhf
libpigpiod-if1/oldstable 1.78-1 armhf
libpigpiod-if2-1/oldstable 1.78-1 armhf
pigpio-tools/oldstable 1.78-1 armhf
python3-gpiozero/oldstable 1.4.1-1.3 armhf
python3-libgpiod/oldstable,now 1.6.2-1 armhf [installed]
python3-pigpio/oldstable 1.78-1 all
python3-rpi.gpio/oldstable 0.7.0-0.2+b2 armhf
rpi.gpio-common/oldstable 0.7.0-0.2+b2 armhf
svxlink-gpio/oldstable 19.09.1-3 all

-----Original Message-----
From: andy pugh <bodge...@gmail.com> 
Sent: Wednesday, August 2, 2023 9:40 AM
To: Enhanced Machine Controller (EMC) <emc-users@lists.sourceforge.net>
Cc: alanmthoma...@icloud.com
Subject: Re: [Emc-users] LinuxCNC build on BeagleBoneBlack

On Wed, 2 Aug 2023 at 02:13, alanmthomason--- via Emc-users 
<emc-users@lists.sourceforge.net> wrote:

> 2.      When I perform the configure, is there a way to specify the BBB?
> I'm trying to figure out how the compile process would bring in 
> src/hal/driver/hal_bb_gpio.c

It might be automatic, the modules should be built for any "uspace" config:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/Makefile#L995


> 4.      Does operation on the beaglebone black require a dtb file to be
> loaded to specify the needed pins as input/output?

If you install "gpiod" does "gpioinfo" work?
If so, then I am currently working on a driver that uses libgpiod.
That might work for you (though not at the moment)

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed for 
the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to