now config-pin p9.25 pruout it's working now but I need to use p8.11 as PRU

root@beaglebone:~/rfsend# cat 
> /sys/devices/platform/ocp/ocp\:P9_25_pinmux/state
> pruout


how I can use p8.11 as PRU ?

List of avaliable pins

root@beaglebone:~/rfsend# cat /sys/devices/platform/ocp/ocp\:
> ocp:cape-universal/   ocp:P8_35_pinmux/     ocp:P9_16_pinmux/
> ocp:l4_wkup@44c00000/ ocp:P8_36_pinmux/     ocp:P9_17_pinmux/
> ocp:P8_07_pinmux/     ocp:P8_37_pinmux/     ocp:P9_18_pinmux/
> ocp:P8_08_pinmux/     ocp:P8_38_pinmux/     ocp:P9_19_pinmux/
> ocp:P8_09_pinmux/     ocp:P8_39_pinmux/     ocp:P9_20_pinmux/
> ocp:P8_10_pinmux/     ocp:P8_40_pinmux/     ocp:P9_21_pinmux/
> ocp:P8_13_pinmux/     ocp:P8_41_pinmux/     ocp:P9_22_pinmux/
> ocp:P8_19_pinmux/     ocp:P8_42_pinmux/     ocp:P9_23_pinmux/
> ocp:P8_27_pinmux/     ocp:P8_43_pinmux/     ocp:P9_24_pinmux/
> ocp:P8_28_pinmux/     ocp:P8_44_pinmux/     ocp:P9_25_pinmux/
> ocp:P8_29_pinmux/     ocp:P8_45_pinmux/     ocp:P9_26_pinmux/
> ocp:P8_30_pinmux/     ocp:P8_46_pinmux/     ocp:P9_27_pinmux/
> ocp:P8_31_pinmux/     ocp:P9_11_pinmux/     ocp:P9_41_pinmux/
> ocp:P8_32_pinmux/     ocp:P9_13_pinmux/     ocp:P9_42_pinmux/
> ocp:P8_33_pinmux/     ocp:P9_14_pinmux/     ocp:P9_91_pinmux/




On Tuesday, April 3, 2018 at 8:38:22 PM UTC-3, Sebastián Sáez wrote:
>
> I burn a new microSD card with the same image and now the linux it's boot
>>
>> bone-debian-8.10-seeed-iot-armhf-2018-02-01-4gb.img
>
>
> Try again and now this is the otuput
>  
>
>> config-pin p8.11 pruout
>
> P8_11 pinmux file not found!
>> bash: /sys/devices/platform/ocp/ocp*P8_11_pinmux/state: No such file or 
>> directory
>> Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P8_11_pinmux/state
>
>
> here the new sytem info
>
> sudo /opt/scripts/tools/version.sh
>> git:/opt/scripts/:[ad016da40de5805f1a6f981cbb6c454b1a7f244b]
>> eeprom:[A335BNLTGW1ABBGW16050761]
>> model:[TI_AM335x_BeagleBone_Green_Wireless]
>> dogtag:[BeagleBoard.org Debian Image 2018-02-01]
>> bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 
>> 2018.01-00002-g9aa111a004]
>> kernel:[4.4.113-ti-r145]
>> nodejs:[v0.12.18]
>> 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:[bb-cape-overlays]:[4.4.20180126.0-0rcnee0~jessie+20180126]
>> pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee2~jessie+20180104]
>> pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~jessie+20170830]
>> groups:[debian : debian adm kmem dialout cdrom floppy audio dip video 
>> plugdev users systemd-journal netdev i2c bluetooth cloud9ide gpio pwm eqep 
>> admin spi tisdk weston-launch xenomai]
>> dmesg | grep pinctrl-single
>> [    1.212781] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 
>> size 568
>> dmesg | grep gpio-of-helper
>> [    1.213903] gpio-of-helper ocp:cape-universal: Allocated GPIO id=0
>> [    1.214074] gpio-of-helper ocp:cape-universal: Allocated GPIO id=1
>> [    1.214218] gpio-of-helper ocp:cape-universal: Allocated GPIO id=2
>> [    1.214357] gpio-of-helper ocp:cape-universal: Allocated GPIO id=3
>> [    1.214497] gpio-of-helper ocp:cape-universal: Allocated GPIO id=4
>> [    1.214630] gpio-of-helper ocp:cape-universal: Allocated GPIO id=5
>> [    1.214762] gpio-of-helper ocp:cape-universal: Allocated GPIO id=6
>> [    1.214902] gpio-of-helper ocp:cape-universal: Allocated GPIO id=7
>> [    1.215048] gpio-of-helper ocp:cape-universal: Allocated GPIO id=8
>> [    1.215192] gpio-of-helper ocp:cape-universal: Allocated GPIO id=9
>> [    1.215327] gpio-of-helper ocp:cape-universal: Allocated GPIO id=10
>> [    1.215466] gpio-of-helper ocp:cape-universal: Allocated GPIO id=11
>> [    1.215609] gpio-of-helper ocp:cape-universal: Allocated GPIO id=12
>> [    1.215746] gpio-of-helper ocp:cape-universal: Allocated GPIO id=13
>> [    1.215882] gpio-of-helper ocp:cape-universal: Allocated GPIO id=14
>> [    1.216023] gpio-of-helper ocp:cape-universal: Allocated GPIO id=15
>> [    1.216634] gpio-of-helper ocp:cape-universal: Allocated GPIO id=16
>> [    1.216813] gpio-of-helper ocp:cape-universal: Allocated GPIO id=17
>> [    1.217031] gpio-of-helper ocp:cape-universal: Allocated GPIO id=18
>> [    1.217194] gpio-of-helper ocp:cape-universal: Allocated GPIO id=19
>> [    1.217341] gpio-of-helper ocp:cape-universal: Allocated GPIO id=20
>> [    1.217481] gpio-of-helper ocp:cape-universal: Allocated GPIO id=21
>> [    1.217619] gpio-of-helper ocp:cape-universal: Allocated GPIO id=22
>> [    1.217763] gpio-of-helper ocp:cape-universal: Allocated GPIO id=23
>> [    1.217902] gpio-of-helper ocp:cape-universal: Allocated GPIO id=24
>> [    1.218040] gpio-of-helper ocp:cape-universal: Allocated GPIO id=25
>> [    1.218193] gpio-of-helper ocp:cape-universal: Allocated GPIO id=26
>> [    1.218338] gpio-of-helper ocp:cape-universal: Allocated GPIO id=27
>> [    1.218486] gpio-of-helper ocp:cape-universal: Allocated GPIO id=28
>> [    1.218627] gpio-of-helper ocp:cape-universal: Allocated GPIO id=29
>> [    1.218769] gpio-of-helper ocp:cape-universal: Allocated GPIO id=30
>> [    1.218916] gpio-of-helper ocp:cape-universal: Allocated GPIO id=31
>> [    1.219057] gpio-of-helper ocp:cape-universal: Allocated GPIO id=32
>> [    1.219197] gpio-of-helper ocp:cape-universal: Allocated GPIO id=33
>> [    1.219349] gpio-of-helper ocp:cape-universal: Allocated GPIO id=34
>> [    1.219494] gpio-of-helper ocp:cape-universal: Allocated GPIO id=35
>> [    1.219643] gpio-of-helper ocp:cape-universal: Allocated GPIO id=36
>> [    1.219791] gpio-of-helper ocp:cape-universal: Allocated GPIO id=37
>> [    1.219933] gpio-of-helper ocp:cape-universal: Allocated GPIO id=38
>> [    1.220317] gpio-of-helper ocp:cape-universal: Allocated GPIO id=39
>> [    1.220485] gpio-of-helper ocp:cape-universal: Allocated GPIO id=40
>> [    1.220631] gpio-of-helper ocp:cape-universal: Allocated GPIO id=41
>> [    1.220785] gpio-of-helper ocp:cape-universal: Allocated GPIO id=42
>> [    1.220933] gpio-of-helper ocp:cape-universal: Allocated GPIO id=43
>> [    1.221079] gpio-of-helper ocp:cape-universal: Allocated GPIO id=44
>> [    1.221210] gpio-of-helper ocp:cape-universal: Allocated GPIO id=45
>> [    1.221221] gpio-of-helper ocp:cape-universal: ready
>> END
>
>
> thanks you for your time
>
>
> regards,
> Sebastián
>
>
>
> On Tuesday, April 3, 2018 at 8:31:08 PM UTC-3, RobertCNelson wrote:
>>
>> On Tue, Apr 3, 2018 at 5:11 PM, Sebastián Sáez <otr...@gmail.com> wrote: 
>> > thank!, I do the cmd but now the linux is not booting 
>> > 
>> > this is the serial log 
>> >>> 
>> >>> U-Boot SPL 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29) 
>> >>> 
>> >>> Trying to boot from MMC1 
>> >>> 
>> >>> 
>> >>> 
>> >>> U-Boot 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29 -0600), 
>> Build: 
>> >>> jenkins-github_Bootloader-Builder-32 
>> >>> 
>> >>> 
>> >>> CPU  : AM335X-GP rev 2.1 
>> >>> 
>> >>> I2C:   ready 
>> >>> 
>> >>> DRAM:  512 MiB 
>> >>> 
>> >>> No match for driver 'omap_hsmmc' 
>> >>> 
>> >>> No match for driver 'omap_hsmmc' 
>> >>> 
>> >>> Some drivers were not found 
>> >>> 
>> >>> Reset Source: Power-on reset has occurred. 
>> >>> 
>> >>> MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1 
>> >>> 
>> >>> Using default environment 
>> >>> 
>> >>> 
>> >>> Board: BeagleBone Black 
>> >>> 
>> >>> <ethaddr> not set. Validating first E-fuse MAC 
>> >>> 
>> >>> BeagleBone Black: 
>> >>> 
>> >>> Model: SeeedStudio BeagleBone Green Wireless: 
>> >>> 
>> >>> BeagleBone: cape eeprom: i2c_probe: 0x54: 
>> >>> 
>> >>> BeagleBone: cape eeprom: i2c_probe: 0x55: 
>> >>> 
>> >>> BeagleBone: cape eeprom: i2c_probe: 0x56: 
>> >>> 
>> >>> BeagleBone: cape eeprom: i2c_probe: 0x57: 
>> >>> 
>> >>> Net:   eth0: MII MODE 
>> >>> 
>> >>> Could not get PHY for cpsw: addr 0 
>> >>> 
>> >>> cpsw, usb_ether 
>> >>> 
>> >>> Press SPACE to abort autoboot in 2 seconds 
>> >>> 
>> >>> board_name=[A335BNLT] ... 
>> >>> 
>> >>> board_rev=[GW1A] ... 
>> >>> 
>> >>> switch to partitions #0, OK 
>> >>> 
>> >>> mmc0 is current device 
>> >>> 
>> >>> SD/MMC found on device 0 
>> >>> 
>> >>> ** Bad device 0:2 0x82000000 ** 
>> >>> 
>> >>> ** Bad device 0:2 0x82000000 ** 
>> >>> 
>> >>> switch to partitions #0, OK 
>> >>> 
>> >>> mmc0 is current device 
>> >>> 
>> >>> Scanning mmc 0:1... 
>> >>> 
>> >>> gpio: pin 56 (gpio 56) value is 0 
>> >>> 
>> >>> gpio: pin 55 (gpio 55) value is 0 
>> >>> 
>> >>> gpio: pin 54 (gpio 54) value is 0 
>> >>> 
>> >>> gpio: pin 53 (gpio 53) value is 1 
>> >>> 
>> >>> switch to partitions #0, OK 
>> >>> 
>> >>> mmc0 is current device 
>> >>> 
>> >>> gpio: pin 54 (gpio 54) value is 1 
>> >>> 
>> >>> Checking for: /uEnv.txt ... 
>> >>> 
>> >>> Checking for: /boot.scr ... 
>> >>> 
>> >>> Checking for: /boot/boot.scr ... 
>> >>> 
>> >>> Checking for: /boot/uEnv.txt ... 
>> >>> 
>> >>> gpio: pin 55 (gpio 55) value is 1 
>> >>> 
>> >>> 1867 bytes read in 43 ms (42 KiB/s) 
>> >>> 
>> >>> Loaded environment from /boot/uEnv.txt 
>> >>> 
>> >>> Checking if uname_r is set in /boot/uEnv.txt... 
>> >>> 
>> >>> gpio: pin 56 (gpio 56) value is 1 
>> >>> 
>> >>> Running uname_boot ... 
>> >>> 
>> >>> loading /boot/vmlinuz-4.4.125-bone22 ... 
>> >>> 
>> >>> 8506344 bytes read in 587 ms (13.8 MiB/s) 
>> >>> 
>> >>> uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot.dtb] ... 
>> >>> 
>> >>> uboot_overlays: Switching too: dtb=am335x-boneblack-uboot.dtb ... 
>> >>> 
>> >>> loading /boot/dtbs/4.4.125-bone22/am335x-boneblack-uboot.dtb ... 
>> >>> 
>> >>> 50339 bytes read in 79 ms (622.1 KiB/s) 
>> >>> 
>> >>> uboot_overlays: [fdt_buffer=0x60000] ... 
>> >>> 
>> >>> uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo ... 
>> >>> 
>> >>> 1440 bytes read in 179 ms (7.8 KiB/s) 
>> >>> 
>> >>> uboot_overlays: loading /lib/firmware/BB-BBGW-WL1835-00A0.dtbo ... 
>> >>> 
>> >>> 4839 bytes read in 69 ms (68.4 KiB/s) 
>> >>> 
>> >>> failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND 
>> >>> 
>> >>> uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ... 
>> >>> 
>> >>> 711 bytes read in 219 ms (2.9 KiB/s) 
>> >>> 
>> >>> libfdt fdt_check_header(): FDT_ERR_BADMAGIC 
>> >>> 
>> >>> failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC 
>> >>> 
>> >>> base fdt does did not have a /__symbols__ node 
>> >>> 
>> >>> make sure you've compiled with -@ 
>> >>> 
>> >>> uboot_overlays: loading /lib/firmware/AM335X-PRU-UIO-00A0.dtbo ... 
>> >>> 
>> >>> 883 bytes read in 162 ms (4.9 KiB/s) 
>> >>> 
>> >>> libfdt fdt_check_header(): FDT_ERR_BADMAGIC 
>> >>> 
>> >>> failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC 
>> >>> 
>> >>> base fdt does did not have a /__symbols__ node 
>> >>> 
>> >>> make sure you've compiled with -@ 
>> >>> 
>> >>> uboot_overlays: loading /lib/firmware/univ-bbgw-EW-00A0.dtbo ... 
>> >>> 
>> >>> 82622 bytes read in 89 ms (906.3 KiB/s) 
>> >>> 
>> >>> libfdt fdt_check_header(): FDT_ERR_BADMAGIC 
>> >>> 
>> >>> failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC 
>> >>> 
>> >>> base fdt does did not have a /__symbols__ node 
>> >>> 
>> >>> make sure you've compiled with -@ 
>> >>> 
>> >>> loading /boot/initrd.img-4.4.125-bone22 ... 
>> >>> 
>> >>> 5415890 bytes read in 392 ms (13.2 MiB/s) 
>> >>> 
>> >>> debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
>> >>> root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M 
>> >>> net.ifnames=0 quiet] ... 
>> >>> 
>> >>> debug: [bootz 0x82000000 0x88080000:52a3d2 88000000] ... 
>> >>> 
>> >>> ERROR: Did not find a cmdline Flattened Device Tree 
>> >>> 
>> >>> Could not find a valid device tree 
>>
>> Okay that was weird, i'll retest that tomorrow at work.. 
>>
>> 4.4.125-bone22 + u-boot overlays should work.. 
>>
>> <weird> 
>> libfdt fdt_check_header(): FDT_ERR_BADMAGIC 
>> failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC 
>> base fdt does did not have a /__symbols__ node 
>> make sure you've compiled with -@ 
>> </end> 
>>
>> They were compiled with -@ wonder what failed... 
>>
>> Regards, 
>>
>> -- 
>> Robert Nelson 
>> https://rcn-ee.com/ 
>>
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/2270c8c8-537c-48cd-a4c5-dd8a4a9ea416%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to