[beagleboard] BB-I2C1-00A0 and BB-UART2-00A0

I've connected a LCD4 cape to my BBB. I would like to use the UART and I2C ports that are brought out on J2. I am trying to load the dtbo files BB-I2C1-00A0 and BB-UART2-00A0 via the optargs option in uEnv.txt

I am using a fresh build of the Angstrom distribution as of 08/01/13 and booting from the uSD card.

Here are some snippets from dmesg:

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.8.13 (mvpcal@mvpcal-system) (gcc version 4.7.3 20130205 (prerelease) (Linaro GCC 4.
7-2013.02-01) ) #1 SMP Thu Aug 1 07:40:38 PDT 2013
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 130816
[ 0.000000] free_area_init_node: node 0, pgdat c069d540, node_mem_map c06f8000
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 129792 pages, LIFO batch:31
[ 0.000000] AM335X ES1.0 (neon )
..
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129792
[ 0.000000] Kernel command line: console=ttyO0,115200n8 quiet consoleblank=0 drm.debug=7 capemgr.disable_partno
=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G capemgr.enable_partno=BB-UART2-00A0,BB-I2C1-00A0 root=/dev/mmcblk0
p2 ro rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
..
[ 0.386324] bone-capemgr bone_capemgr.8: bone: Using override eeprom data at slot 4
[ 0.386353] bone-capemgr bone_capemgr.8: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
[ 0.386489] bone-capemgr bone_capemgr.8: slot #5: specific override
[ 0.386528] bone-capemgr bone_capemgr.8: bone: Using override eeprom data at slot 5
[ 0.386555] bone-capemgr bone_capemgr.8: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
[ 0.386694] bone-capemgr bone_capemgr.8: slot #6: specific override
[ 0.386730] bone-capemgr bone_capemgr.8: bone: Using override eeprom data at slot 6
[ 0.386759] bone-capemgr bone_capemgr.8: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
[ 0.386907] bone-capemgr bone_capemgr.8: enabled_partno part_number 'BB-UART2-00A0', version 'N/A', prio '0'
[ 0.386931] bone-capemgr bone_capemgr.8: slot #7: generic override
[ 0.386954] bone-capemgr bone_capemgr.8: bone: Using override eeprom data at slot 7
[ 0.386981] bone-capemgr bone_capemgr.8: slot #7: 'Override Board Name,00A0,Override Manuf,BB-UART2-00A0'
[ 0.387108] bone-capemgr bone_capemgr.8: enabled_partno part_number 'BB-I2C1-00A0', version 'N/A', prio '0'
[ 0.387131] bone-capemgr bone_capemgr.8: slot #8: generic override
[ 0.387154] bone-capemgr bone_capemgr.8: bone: Using override eeprom data at slot 8
[ 0.387181] bone-capemgr bone_capemgr.8: slot #8: 'Override Board Name,00A0,Override Manuf,BB-I2C1-00A0'
[ 0.387456] bone-capemgr bone_capemgr.8: Skipping loading of disabled cape with part# BB-BONE-EMMC-2G
[ 0.387482] bone-capemgr bone_capemgr.8: Skipping loading of disabled cape with part# BB-BONELT-HDMI
[ 0.387506] bone-capemgr bone_capemgr.8: Skipping loading of disabled cape with part# BB-BONELT-HDMIN
[ 0.387973] bone-capemgr bone_capemgr.8: initialized OK.
..
[ 2.150426] systemd[1]: Mounted Huge Pages File System.
[ 2.370526] systemd-udevd[83]: starting version 196
[ 2.420175] NET: Registered protocol family 10
[ 3.071380] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 3.540475] systemd-journald[82]: Received SIGUSR1
[ 3.748586] bone-capemgr bone_capemgr.8: failed to load firmware 'BB-I2C1-00A0-00A0.dtbo'
[ 3.757228] bone-capemgr bone_capemgr.8: loader: retrying slot-8 BB-I2C1-00A0:00A0 (prio 0)
[ 3.758138] bone-capemgr bone_capemgr.8: failed to load firmware 'BB-UART2-00A0-00A0.dtbo'
[ 3.766867] bone-capemgr bone_capemgr.8: loader: retrying slot-7 BB-UART2-00A0:00A0 (prio 0)
[ 3.774343] bone-capemgr bone_capemgr.8: loader: failed to load slot-8 BB-I2C1-00A0:00A0 (prio 0)
[ 3.784373] bone-capemgr bone_capemgr.8: loader: failed to load slot-7 BB-UART2-00A0:00A0 (prio 0)
[ 4.396961] ip_tables: (C) 2000-2006 Netfilter Core Team

Can anyone fill me in as to what I am doing wrong?

Thanks,
Ross

on the uEnv.txt you have capemgr.enable_partno=BB-UART2-00A0,BB-I2C1-00A0 and I think it should be capemgr.enable_partno=BB-UART2, BB-I2C1

I haven,t tested on uEnv but at least thats the name using echo ‘name’ > /sys/devices/bone_capemgr.x/slots

goodluck,

Pedro

That works, thanks Pedro.

No problem

Did you enable UART2 with LCD4 connected? I tried it but dmesg gives me pin conflict error:

BB-UART2 conflict P9.21 (#0:BB-BONE-LCD4-01)

slot#0 is the LCD4 cape. How did you manage to enable UART2 with LCD4 loaded? Based on your dmesg, I can see you disabled two HDMI capes but still it didn’t solve the pin conflict. I don’t think that’s possible.