On Sun, Mar 3, 2019 at 7:00 PM <[email protected]> wrote: > > > 1. From the command line how do I show which capes are detected since I > > can't cat $SLOTS anymore? >> >> >> 1a: cat /proc/cmdline >> 1b: look at serial boot log >> > debian@ebb:~$ cat /proc/cmdline > console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 > root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait > uboot_detected_capes=BB-W1-P8.11, coherent_pool=1M net.ifnames=0 quiet > > I then powered down, installed a second cape. > > debian@ebb:~$ cat /proc/cmdline > console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 > root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait > uboot_detected_capes=cape-CBB-Serial,BB-W1-P8.11, coherent_pool=1M > net.ifnames=0 quiet > > Trial and error for each of the 2-005x folders got me this: > > debian@ebb:/sys/bus/i2c/devices/2-0054$ sudo cat eeprom | hexdump -C > 00000000 aa 55 33 ee 41 30 63 61 70 65 2d 43 42 42 2d 53 |.U3.A0cape-CBB-S| > 00000010 65 72 69 61 6c 00 00 00 00 00 00 00 00 00 00 00 |erial...........| > 00000020 00 00 00 00 00 00 72 30 31 00 4c 6f 67 69 63 20 |......r01.Logic | > 00000030 53 75 70 70 6c 79 00 00 00 00 63 61 70 65 2d 43 |Supply....cape-C| > 00000040 42 42 2d 53 65 72 69 61 6c 00 00 07 63 61 70 65 |BB-Serial...cape| > 00000050 2d 43 42 42 2d 53 65 72 a0 3e c0 1e 00 00 00 00 |-CBB-Ser.>......| > > So one short question: > Why did it change from 1-005x to 2-005x?
Because back in 3.8.x days, the i2c bus "#" was a race condition between the 3 bus node, first got 0, 2nd got 1, 3rd got 2.. The eeprom's are attached to Pins which are attached to i2c"2"... Thus they are "2"... 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYhHgOUMmToLVNVp%3DUEXx1b_iYSgkYZjdsGBgxpfiSFZ6w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
