Skip to content

Commit ae47281

Browse files
committed
Add documentation about u-boot overlays
1 parent ae38e86 commit ae47281

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/common.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,16 @@ BBIO_err load_device_tree(const char *name)
443443
FILE *file = NULL;
444444
char line[256];
445445
char uboot_overlay;
446+
/*
447+
Refer to: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
448+
449+
Robert C. Nelson maintains the BeagleBoard.org Debian images and
450+
suggested adding this check to see if u-boot overlays are enabled.
451+
452+
If u-boot overlays are enabled, then device tree overlays should not
453+
be loaded with the cape manager by writing to the slots file. There
454+
is currently a kernel bug that causes the write to hang.
455+
*/
446456
const char *cmd = "grep -c bone_capemgr.uboot_capemgr_enabled=1 /proc/cmdline";
447457

448458
#ifdef BBBVERSION41

0 commit comments

Comments
 (0)