--
Thanks.
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
how do u use the i2c2 pins? it doesn't work on my bbb if i only change the pinmode to mode 7 in my device tree. have u done additional changes or something like that elsewhere?
| &i2c2 { | |
| status = "okay"; | |
| pinctrl-names = "default"; | |
| pinctrl-0 = <&i2c2_pins>; | |
| clock-frequency = <100000>; | |
| cape_eeprom0: cape_eeprom0@54 { | |
| compatible = "at,24c256"; | |
| reg = <0x54>; | |
| }; | |
| cape_eeprom1: cape_eeprom1@55 { | |
| compatible = "at,24c256"; | |
| reg = <0x55>; | |
| }; | |
| cape_eeprom2: cape_eeprom2@56 { | |
| compatible = "at,24c256"; | |
| reg = <0x56>; | |
| }; | |
| cape_eeprom3: cape_eeprom3@57 { | |
| compatible = "at,24c256"; | |
| reg = <0x57>; | |
| }; | |
| }; | |
I'm using Derek Molloys device Tree overlays and I'm running debian... I can't find the folder on my bbb .
But I found the "am335x-bone-common.dtsi" in https://github.com/derekmolloy/boneDeviceTree/tree/master/DTSource3.8.13 which I have on my bbb. I've commented out the section you mentioned but nothing changes. Without using or declaring the I2c2 pins in my Device Tree Overlay I'm able to use all unallocated pins as GPIO Inputs as I declared them in my Device Tree Overlay.
Did i change the wrong am335x-bone-common.dtsi.? Is there another one elsewhere on the debian distribution or do i have to copy the changed file into a specific folder?
git clone https://github.com/RobertCNelson/bb-kernel.gitcd bb-kernel/
git checkout origin/am33x-v3.8 -b tmp
./build_kernel.sh . i get this message after the "resolving deltas process". I've tried several times but it always freezes at 96%. Do you have any Idea what went wrong?Thanks for your quick responses always.
I've tried the Instructions to build the Kernelgit clone https://github.com/RobertCNelson/bb-kernel.gitcd bb-kernel/git checkout origin/am33x-v3.8-b tmp
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/amEtmzQoyyc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
uname_r=3.8.13-bone62
#dtb=
cmdline=quiet init=/lib/systemd/systemd
##Example
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=
##Disable HDMI/eMMC
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
##Disable HDMI
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
##Disable eMMC
#cape_disable=capemgr.disable_partno=BB-BONE-EMMC-2G
##Audio Cape (needs HDMI Audio disabled)
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI
#cape_enable=capemgr.enable_partno=BB-BONE-AUDI-02
##enable BBB: eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v2.sh
So you're trying to make a device tree file for the beaglebone black and not recompile a kernel ?I have no idea why John has you off recompiling the kernel when all you need is a simple cape disable line in uEnv.txt for the eMMC. Depending on what kernel version there are a few different ways to go about this.
It is explained in multiple places. You can use dtc to decompile the device tree file on the bbb currently. Open the resultant file in a text editor, and modify it accordingly, then recompile the file with dtc.This has been explained on these forums at least once( for troubleshooting the sdcard slow 4bit speeds ), and I'm fairly certain ( but not positive ) this technique has been explained on hipstercircuits too.