Difference between revisions of "Beagleboard:BeagleBone Debian Image Migration"

From eLinux.org
Jump to: navigation, search
(What changes were made to SYSFS?)
(Add info on device trees)
Line 13: Line 13:
 
|}
 
|}
 
</blockquote>
 
</blockquote>
 +
 +
==Device Tree==
 +
===== Disabling eMMC or HDMI =====
 +
HDMI and eMMC are now part of the main dtb instead of being virtual CAPEs, which means that to disable these you change the 'dtb' variable in /boot/uEnv.txt instead of using capemgr.disable_partno:
 +
{| class=wikitable
 +
|-
 +
! 3.8 kernel
 +
cape_disable=capemgr.disable_partno=
 +
! 4.x kernel
 +
dtb=
 +
|-
 +
| ''(blank)'' || am335x-boneblack.dtb
 +
|-
 +
| BB-BONELT-HDMI || ?
 +
|-
 +
| BB-BONELT-HDMI,BB-BONELT-HDMIN || am335x-boneblack-emmc-overlay.dtb
 +
|-
 +
| BB-BONE-EMMC-2G || am335x-boneblack-hdmi-overlay.dtb
 +
|-
 +
| BB-BONE-EMMC-2G,BB-BONELT-HDMI || am335x-boneblack-nhdmi-overlay.dtb
 +
|-
 +
| BB-BONE-EMMC-2G,BB-BONELT-HDMI,BB-BONELT-HDMIN || am335x-boneblack-overlay.dtb
 +
|}
 +
 +
See also this survey of [[BeagleBone DTBs]].

Revision as of 18:55, 10 September 2016

Kernel

What changes were made to SYSFS?
3.8 kernel SYSFS entry 4.x kernel SYSFS entry
/sys/devices/bone_capemgr.* /sys/devices/platform/bone_capemgr
/sys/devices/ocp.* /sys/devices/platform/ocp/
/sys/devices/ocp.*/helper.*/AIN* /sys/bus/iio/devices/iio:device0

Device Tree

Disabling eMMC or HDMI

HDMI and eMMC are now part of the main dtb instead of being virtual CAPEs, which means that to disable these you change the 'dtb' variable in /boot/uEnv.txt instead of using capemgr.disable_partno:

3.8 kernel

cape_disable=capemgr.disable_partno=

4.x kernel

dtb=

(blank) am335x-boneblack.dtb
BB-BONELT-HDMI ?
BB-BONELT-HDMI,BB-BONELT-HDMIN am335x-boneblack-emmc-overlay.dtb
BB-BONE-EMMC-2G am335x-boneblack-hdmi-overlay.dtb
BB-BONE-EMMC-2G,BB-BONELT-HDMI am335x-boneblack-nhdmi-overlay.dtb
BB-BONE-EMMC-2G,BB-BONELT-HDMI,BB-BONELT-HDMIN am335x-boneblack-overlay.dtb

See also this survey of BeagleBone DTBs.