Skip to content

Invalid mode: in #4

Open
Open

Description

@SmartFactory-github

Hello!
I have issues using the config-pin -f .bbio command.

My bbio file, generated with the GUI is:
DT-mk-probotix-bb.txt

When I run
sudo /opt/scripts/tools/version.sh
I get

git:/opt/scripts/:[9599f8c47e18db5cdd36ee11355593ecdfe50979]
eeprom:[A335BNLTEIA05116BBBK3FEC]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[Machinekit Debian Image 2019-10-01]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2019.04-00002-gf15b99f0b6]:[l                                                                                                             ocation: dd MBR]
kernel:[4.19.72-bone-rt-r39]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-cape-overlays]:[4.4.20190922.0-0rcnee0~stretch+20190922]
pkg:[bb-wl18xx-firmware]:[1.20190227.1-0rcnee0~stretch+20190227]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED]
pkg:[firmware-ti-connectivity]:[20180825+dfsg-1rcnee1~stretch+20181217]
groups:[machinekit : machinekit adm kmem dialout cdrom floppy audio dip video pl                                                                                                             ugdev users systemd-journal i2c bluetooth netdev gpio pwm eqep remoteproc admin                                                                                                              spi tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/m                                                                                                             mcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 rng_core.def                                                                                                             ault_quality=100 quiet]
dmesg | grep remote
[    1.110641] remoteproc remoteproc0: wkup_m3 is available
[    1.352669] remoteproc remoteproc0: powering up wkup_m3
[    1.352689] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf,                                                                                                              size 217168
[    1.354761] remoteproc remoteproc0: remote processor wkup_m3 is now up
dmesg | grep pru
dmesg | grep pinctrl-single
[    0.734968] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    0.746271] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

but when using the conf-pin file, I obtain a Invalid mode: in

I plan to use this BBIO for Machinekit configuration for the Beaglebone Black

thanks in advance

regards,

Sergio Salinas

Activity

  1. RobertCNelson commented on Oct 17, 2019

    @RobertCNelson

    @SmartFactory-github please remove these 2 lines:

    overlay cape-universal
    overlay cape-bone-iio
    

    You also have:

    P9_25 in
    

    That's an audio pin, double check that you are disabling onboard devices:

    https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Disable_on-board_devices

    Regards,

  2. SmartFactory-github commented on Oct 17, 2019

    @SmartFactory-github
    Author

    Well, I removed those 2 lines, and edited the u-boot to disable de uboot overlay audio and just in case the video too.

    Still I get the same error Invalid mode: pin

    When executing in the same folder config-pin -f DT-mk-probotix-bb.bbio

    I attach my uEnv.txt configuration file.
    uEnv.txt

    What could be happening?

    regards,

  3. RobertCNelson commented on Oct 18, 2019

    @RobertCNelson

    @SmartFactory-github it's failing on the blank lines:

    P9_13 
    

    Remove that then it works fine..

    Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions