AR sound/built-in.a
MK_FW firmware/am335x-pm-firmware.elf.gen.S
MK_FW firmware/am335x-bone-scale-data.bin.gen.S
make[1]: *** No rule to make target ‘firmware/am335x-bone-scale-data.bin’, needed by ‘firmware/am335x-bone-scale-data.bin.gen.o’. Stop.
make: *** [Makefile:1076: firmware] Error 2
debian@beaglebone:/usr/src/linux-source-4.19$
voodoo@hestia:~/scratchpad$ git clone -b v4.19.94-ti-r74 https://github.com/beagleboard/linux --depth=100
Cloning into 'linux'...
remote: Enumerating objects: 67153, done.
remote: Counting objects: 100% (67153/67153), done.
remote: Compressing objects: 100% (62179/62179), done.
Receiving objects: 100% (67153/67153), 177.16 MiB | 7.00 MiB/s, done.
remote: Total 67153 (delta 6797), reused 15701 (delta 4024), pack-reused 0
Resolving deltas: 100% (6797/6797), done.
Updating files: 100% (62442/62442), done.
voodoo@hestia:~/scratchpad$ ls linux/firmware/am335x-*
linux/firmware/am335x-bone-scale-data.bin linux/firmware/am335x-evm-scale-data.bin linux/firmware/am335x-pm-firmware.bin linux/firmware/am335x-pm-firmware.elf
Where did you get your 4.19 source?
Con
sudo apt-get install linux-source
y predeterminadame se instalo 4.19.94-ti-r42.
Esto para buscar una version de mi Boar black para su uso con un GPS y tomar su PPS
That package installs… Debian -- Details of package linux-source-4.19 in buster
It does not support the BeagleBone Black
For: 4.19.94-ti-r42
→
#git clone https://github.com/RobertCNelson/linux-stable-rcn-ee
#cd ./linux-stable-rcn-ee
#git checkout `uname -r` -b tmp
git clone https://github.com/RobertCNelson/linux-stable-rcn-ee
cd ./linux-stable-rcn-ee
git checkout 4.19.94-ti-r42 -b tmp
Regards,
git clone -b v4.19.94-ti-r74 GitHub - beagleboard/linux: The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux --depth=100
Ya no seria recomendable cargarlo para mi Beaglebone black?
Solo necesito activar algún puerto GPIO para poder hacer la lectura de ese pulso por segundo, y lograr sincronizar esa información con Chrony.
git clone GitHub - RobertCNelson/linux-stable-rcn-ee
Seria la mejor opcion?
Saludos, gracias por su ayuda
For PPS and Chrony, you just need the kernel to be configured with:
debian@21-am335x-bbb:~$ zcat /proc/config.gz | grep PPS
CONFIG_PPS=y
# CONFIG_PPS_DEBUG is not set
# PPS clients support
CONFIG_PPS_CLIENT_KTIMER=m
CONFIG_PPS_CLIENT_LDISC=m
CONFIG_PPS_CLIENT_GPIO=m
# PPS generators support
and a u-boot overlay with a pin (or any other pin) configured like so:
pps {
status = "okay";
compatible = "pps-gpio";
pinctrl-names = "default";
pinctrl-0 = <&P2_03_gpio_pin>;
gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
};
Regards,
Al descargar git clone -b v4.19.94-ti-r74 GitHub - beagleboard/linux: The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux --depth=100 en mi BBone Black
Por lo tanto no puedo encotrar el al archivo am335x
zcat /proc/config.gz | grep PPS
CONFIG_PPS=y
CONFIG_PPS_DEBUG is not set
PPS clients support
CONFIG_PPS_CLIENT_KTIMER=m
CONFIG_PPS_CLIENT_LDISC=m
CONFIG_PPS_CLIENT_GPIO=m
PPS generators support
Viene así configurado en la interfaz de configuración del kernel necesito que CONFIG_PPS_CLIENT_GPIO=* este marcado con un asterisco para que detecte el pps, no?
Solo quiero usar el P9_12 de la BBone Black, ya que necesito tomar esos datos para sincronizar dispositivos. Ya que soy muy principiante en el aspecto del kernel y como hacer esa configuracion
He probado esto en mi kernel pero al momento de usar
sudo config-pin overlay /lib/firmware/pps-gpio-00A0.dtbo
me lanza un error de que no ha encontrado el archivo a pesar de que si me permitió crearlo
También probé con este código pero surge el mismo error
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
part-number = "pps-gpio";
version = "00A0";
/* Coloca la superposición en el bus de expansión P9 */
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
pps_pin: pinmux_pps_pins {
pinctrl-single,pins = <
0x074 0x27 /* P9_12 mode 7 (GPIO_PULL_UP | MUX_MODE7) */
>;
};
};
};
/* Configura el pin P9_12 como una entrada PPS */
fragment@1 {
target-path = "/ocp/i2c@44e0b000";
__overlay__ {
#define GPIO_ACTIVE_HIGH 1
#define AM335X_PIN_P9_12 12
pps_pin: pps-gpio {
compatible = "pps-gpio";
gpios = <&gpio1 AM335X_PIN_P9_12 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pps_pins>;
status = "okay";
};
};
};
};
No se que versión de kernel pueda usar
open/edit /boot/uEnv.txt
uboot_overlay_addr4=pps-gpio-00A0.dtbo
This is i2c:
fragment@1 {
target-path = "/ocp/i2c@44e0b000";
__overlay__ {
Use the / base…
fragment@1 {
target-path = "/";
__overlay__ {
Regards,
Sorry, got distracted at work, see above… You had the i2c node in their, you need the ‘/’ root node… Updated the previous post…
Regards,