Hi there,
I do not speak English so... sorry in advance...
Basically, I need to set up this (pins ??.. I do not know how is the right way to refer it) in this mode...
| Offset |
Mod |
| 0x800 |
0 |
| 0x804 |
0 |
| 0x808 |
0 |
| 0x80C |
0 |
| 0x810 |
0 |
| 0x814 |
0 |
| 0x818 |
0 |
| 0x81C |
0 |
| 0x820 |
0 |
| 0x824 |
0 |
| 0x828 |
0 |
| 0x82C |
0 |
| 0x830 |
0 |
| 0x834 |
0 |
| 0x838 |
0 |
| 0x83C |
0 |
| 0x840 |
1 |
| 0x844 |
1 |
| 0x848 |
1 |
| 0x84C |
1 |
| 0x850 |
1 |
| 0x854 |
1 |
| 0x858 |
1 |
| 0x85C |
1 |
| 0x860 |
1 |
| 0x864 |
1 |
| 0x868 |
1 |
| 0x86C |
1 |
| 0X870 |
0 |
| 0X880 |
0 |
| 0X884 |
0 |
| 0X88C |
0 |
| 0X890 |
0 |
| 0X894 |
0 |
| 0X898 |
0 |
so I've created a .dts file (i took it from ... I just do not remember where I found it ). for now I'm just trying with 3 of them.
/*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
/plugin/;
/ { compatible = "ti,beaglebone", "ti,beaglebone-black";
/* identification */
part-number = "pinctrl-test-0";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
pinctrl_test: pinctrl_test_0_pins {
pinctrl-single,pins = <
0x08 0x00 /* (R8) gpmc_ad2.gpmc_ad2 */
0x04 0x00 /* (V7) gpmc_ad1.gpmc_ad1 */
0x00 0x00 /* (U7) gpmc_ad0.gpmc_ad0 */
/* Add more pins here*/
>;
};
};
};
fragment@1 {
target = <&ocp>;
__overlay__ {
test_helper: helper {
compatible = "bone-pinmux-helper";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_test>;
status = "okay";
};
};
};
};
after compiled and copied (dtbo) into /lib/firmware, I'm trying to load it (if that is the right expression to use) at uEnv.txt
uname_r=4.14.71-ti-r80
#uuid=
#dtb=
###U-Boot Overlays###
###Master Enable
enable_uboot_overlays=1
###
###Overide capes with eeprom
uboot_overlay_addr0=/lib/firmware/MYDTSFILENAME.dtbo
#uboot_overlay_addr1=/lib/firmware/<file1>.dtbo
#uboot_overlay_addr2=/lib/firmware/<file2>.dtbo
#uboot_overlay_addr3=/lib/firmware/<file3>.dtbo
###
###Additional custom capes
#uboot_overlay_addr4=/lib/firmware/<file4>.dtbo
#uboot_overlay_addr5=/lib/firmware/<file5>.dtbo
#uboot_overlay_addr6=/lib/firmware/<file6>.dtbo
#uboot_overlay_addr7=/lib/firmware/<file7>.dtbo
###
###Custom Cape
#dtb_overlay=/lib/firmware/<file8>.dtbo
###
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1
###
###PRUSS OPTIONS
###pru_rproc (4.4.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
###pru_rproc (4.14.x-ti kernel)
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
###pru_uio (4.4.x-ti, 4.14.x-ti & mainline/bone kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
###
###Cape Universal Enable
enable_uboot_cape_universal=1
After reboot my BBB it does not boot ..... I mean, i cannot connect to it...
any idea what am I missing???
this is my version.sh
root@beaglebone:~# /opt/scripts/tools/version.sh
git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
eeprom:[A335BNLT000C1837BBBG0932]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2018-10-07]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2018.09-00002-g0b54a51eee]:[location: dd MBR]
kernel:[4.14.71-ti-r80]
nodejs:[v6.14.4]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-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.4.20180928.0-0rcnee0~stretch+20180928]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[librobotcontrol]:[1.0.3-git20181005.0-0rcnee0~stretch+20181005]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdkweston-launch xenomai]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[ 1.106906] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[ 1.118793] gpio-of-helper ocp:cape-universal: ready
END
Thx in advance...