Hello Friends
I am using following image.
bone-debian-9.3-iot-armhf-2018-03-05-4gb.img
I need to enable UART2 for my project for that I enable BB-UART2-00A0.dtbo 
via uEnvt.txt.
After this I ma facing gpio issues.

Before applying the overlay.
ls /sys/class/gpio
export   gpio112  gpio117  gpio2   gpio27  gpio44  gpio49  gpio61  gpio69  
gpio73  gpio78  gpio86  gpiochip0
gpio10   gpio113  gpio12   gpio20  gpio3   gpio45  gpio5   gpio65  gpio7   
gpio74  gpio79  gpio87  gpiochip32
gpio11   gpio114  gpio13   gpio22  gpio30  gpio46  gpio50  gpio66  gpio70  
gpio75  gpio8   gpio88  gpiochip64
gpio110  gpio115  gpio14   gpio23  gpio31  gpio47  gpio51  gpio67  gpio71  
gpio76  gpio80  gpio89  gpiochip96
gpio111  gpio116  gpio15   gpio26  gpio4   gpio48  gpio60  gpio68  gpio72  
gpio77  gpio81  gpio9   unexport

After i apply the overlay BB-UART2-00A0.dtbo
ls /sys/class/gpio 
export  gpio12  gpio13  gpiochip0  gpiochip32  gpiochip64  gpiochip96  
unexport

Attached is the uEnv.txt file. 

When i go through the BB-UART2-00A0.dtsi files it is enabling only 2 pins, 
not sure what is the issue here.
Please suggest.
Br 
Anuj

-- 
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/8f6f1ba8-c8f7-4333-9417-965715b58715%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
my uEnv.txt is as follows
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.9.82-ti-r102
#uuid=
#dtb=


###U-Boot Overlays###
###Documentation: 
http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
###Master Enable
enable_uboot_overlays=1
###
###Overide capes with eeprom
uboot_overlay_addr0=/lib/firmware/BB-UART2-00A0.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
###
###pru_rproc (4.4.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-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
###
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###
###U-Boot fdt tweaks... (60000 = 384KB)
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###
 
cmdline=coherent_pool=1M net.ifnames=0 quiet
 
#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 quiet video=HDMI-A-1:1024x768@60e
 
##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh                   
                                                                                
                           6,0-1         Top

Reply via email to