*sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=1* solved the problem. On Friday, October 16, 2020 at 4:58:57 PM UTC-4 [email protected] wrote:
> I'm trying to run the pru examples in /var/lib/cloud9 and I am getting > this error message. Anyone have any suggestions? > > Started /var/lib/cloud9/: neopixelDynamic.pru0.c > File path: /var/lib/cloud9/BeagleBone/Black/pru > File: /var/lib/cloud9/BeagleBone/Black/pru/neopixelDynamic.pru0.c > Arguments: > File name: neopixelDynamic.pru0.c > File extension: c > File base name: neopixelDynamic.pru0 > Packages: ~.c9/packages > Project path: /var/lib/cloud9/ > Project name: projectname > Hostname: localhost > Hostname path: > https://undefined/BeagleBone/Black/pru/neopixelDynamic.pru0.c > URL: http://localhost > Port: 8080 > IP: 0.0.0.0 > Command: BeagleBone/Black/pru/neopixelDynamic.pru0.c > Python: python3 > Python path: > /usr/lib/python3.7/dist-packages:/usr/local/lib/python3.7/dist-packages > /var/lib/cloud9/common/Makefile:27: > MODEL=TI_AM335x_BeagleBone_Black,TARGET=neopixelDynamic.pru0,COMMON=/var/lib/cloud9/common > /var/lib/cloud9/common/Makefile:146: > GEN_DIR=/tmp/cloud9-examples,CHIP=am335x,PROC=pru,PRUN=0,PRU_DIR=/dev/remoteproc/pruss-core0,EXE=.out > - Stopping PRU 0 > /bin/sh: 1: cannot create /dev/remoteproc/pruss-core0/state: Directory > nonexistent > Cannot stop 0 > CC neopixelDynamic.pru0.c > "/var/lib/cloud9/common/prugpio.h", line 55: warning #1181-D: #warning > directive: "Found am335x" > LD /tmp/cloud9-examples/neopixelDynamic.pru0.o > - copying firmware file > /tmp/cloud9-examples/neopixelDynamic.pru0.out to > /lib/firmware/am335x-pru0-fw > write_init_pins.sh > writing "pruout" to "/sys/devices/platform/ocp/ocp:P9_31_pinmux/state" > - Starting PRU 0 > /bin/sh: 1: cannot create /dev/remoteproc/pruss-core0/state: Directory > nonexistent > make: *** [/var/lib/cloud9/common/Makefile:166: start] Error 2 > rm /tmp/cloud9-examples/neopixelDynamic.pru0.o > > > > *debian@beaglebone:/var/lib/cloud9/BeagleBone/Black/pru$ sudo > /opt/scripts/tools/version.sh * > *[sudo] password for debian: * > *git:/opt/scripts/:[ef16ffa8c27225005cc2b2c974a83da3dee6c1ef]* > *eeprom:[A335BNLT000C2025BBBG0598]* > *model:[TI_AM335x_BeagleBone_Black]* > *dogtag:[BeagleBoard.org Debian Buster IoT Image 2020-08-31]* > *bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot > 2019.04-00002-gc9b3922522]:[location: dd MBR]* > *bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot > 2019.04-00002-gf15b99f0b6]:[location: dd MBR]* > *UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts]* > *UBOOT: Loaded Overlay:[BB-ADC-00A0]* > *UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]* > *kernel:[4.19.94-ti-r50]* > *nodejs:[v10.21.0]* > */boot/uEnv.txt Settings:* > *uboot_overlay_options:[enable_uboot_overlays=1]* > *uboot_overlay_options:[disable_uboot_overlay_video=1]* > > *uboot_overlay_options:[uboot_overlay_pru=AM335X-PRU-RPROC-4-19-TI-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.14.20200814.0-0~buster+20200814]* > *pkg:[bb-wl18xx-firmware]:[1.20200813.1-0~buster+20200813]* > *pkg:[kmod]:[26-1]* > *pkg:[librobotcontrol]:[1.0.5-git20200715.0-0~buster+20200716]* > *pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]* > *groups:[debian : debian adm kmem dialout cdrom floppy audio dip video > plugdev users systemd-journal input bluetooth netdev i2c gpio admin spi iio > docker tisdk weston-launch xenomai cloud9ide pwm eqep remoteproc]* > *cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 > root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M > net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]* > *dmesg | grep remote* > *[ 63.167635] remoteproc remoteproc0: wkup_m3 is available* > *[ 63.236184] remoteproc remoteproc0: powering up wkup_m3* > *[ 63.236216] remoteproc remoteproc0: Booting fw image > am335x-pm-firmware.elf, size 217168* > *[ 63.236494] remoteproc remoteproc0: remote processor wkup_m3 is now up* > *dmesg | grep pru* > *dmesg | grep pinctrl-single* > *[ 0.926013] pinctrl-single 44e10800.pinmux: 142 pins, size 568* > *dmesg | grep gpio-of-helper* > *[ 0.939591] gpio-of-helper ocp:cape-universal: ready* > *lsusb* > *Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub* > *END* > *debian@beaglebone:/var/lib/cloud9/BeagleBone/Black/pru$ * > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/8a51b087-8a9f-4fa0-a222-aeee35b4a07en%40googlegroups.com.
