Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5556

SDK • Re: SDK install errors

$
0
0
Further experimenting here -


64-bit RasPiOS Bookworm, up-to-date with this week's 70-package bundle.


Which gpio library?

Code:

david@rp58book101064fnvme:~/Projects/pico/SDK2/openocd $ gpioinfo --versiongpioinfo (libgpiod) v1.6.3Copyright (C) 2017-2018 Bartosz GolaszewskiLicense: LGPLv2.1This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.david@rp58book101064fnvme:~/Projects/pico/SDK2/openocd $ 
A: v1.6.3


Outside of the installer script, manually ran the same steps -

Code:

    OPENOCD_CONFIGURE_ARGS="--enable-ftdi --enable-sysfsgpio --enable-bcm2835gpio --disable-werror"    git clone "${GITHUB_PREFIX}openocd${GITHUB_SUFFIX}" --depth=1    cd openocd    ./bootstrap    ./configure $OPENOCD_CONFIGURE_ARGS    make
Compile/build runs to completion without error, openocd binary created in .src

Code:

david@rp58book101064fnvme:~/Projects/pico/SDK2/openocd $ ls -al src/openocd-rwxr-xr-x 1 david david 15968224 Nov  2 15:10 src/openocddavid@rp58book101064fnvme:~/Projects/pico/SDK2/openocd $ file  src/openocdsrc/openocd: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=90de7e512f6859201052ab6d35a1d31f7e7b621b, for GNU/Linux 3.7.0, with debug_info, not strippeddavid@rp58book101064fnvme:~/Projects/pico/SDK2/openocd $ 


So maybe it isn't what you are 'missing', but rather that you have something gpio-related that is out of step with what RasPiOS ships by default?

Statistics: Posted by B.Goode — Sat Nov 02, 2024 3:21 pm



Viewing all articles
Browse latest Browse all 5556

Trending Articles