Commit ae38e86
committed
check if kernel cmdline for uboot overlay
Test on Debian Jessie 2017-06-18 image:
debian@beaglebone:~$ cat /proc/cmdline
console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet
debian@beaglebone:~$ grep -c bone_capemgr.uboot_capemgr_enabled=1 /proc/cmdline
1
debian@beaglebone:~$ sudo python ~/read_adc.py
load_device_tree: cmd=grep -c bone_capemgr.uboot_capemgr_enabled=1 /proc/cmdline
load_device_tree: uboot_overlay=1
load_device_tree: uboot_overlay is 11 parent d93466f commit ae38e86
1 file changed
+13
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
444 | 448 | | |
445 | 449 | | |
446 | 450 | | |
| |||
449 | 453 | | |
450 | 454 | | |
451 | 455 | | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | 456 | | |
458 | | - | |
459 | | - | |
| 457 | + | |
| 458 | + | |
460 | 459 | | |
461 | 460 | | |
462 | 461 | | |
463 | 462 | | |
464 | 463 | | |
465 | 464 | | |
466 | | - | |
467 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
468 | 471 | | |
469 | | - | |
470 | | - | |
| 472 | + | |
471 | 473 | | |
472 | 474 | | |
473 | | - | |
474 | 475 | | |
475 | 476 | | |
476 | 477 | | |
| |||
481 | 482 | | |
482 | 483 | | |
483 | 484 | | |
484 | | - | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| |||
0 commit comments