dtbo edition does not work

Hello,

I am currently using a Beaglebone Black with these distribution :

Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8.7
Codename: jessie

I tried to modify a dtbo file in /lib/firmware in order to disable all the buttons on the LCD7 cape.

Modification did not change anything so I decided to clean the whole folder to see if it changes anything. And surprise ! My LCD is booting up perfectly and everything is working.

Here is my dmesg with nothing in /lib/firmware :

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.43-ti-r84 (root@a3-imx6q-wandboard-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Fri Jan 20 16:28:53 UTC 2017
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: TI AM335x BeagleBone Black
[ 0.000000] cma: Reserved 48 MiB at 0x9c800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 130560
[ 0.000000] free_area_init_node: node 0, pgdat c105d300, node_mem_map df961000
[ 0.000000] Normal zone: 1152 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130560 pages, LIFO batch:31
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon )
[ 0.000000] PERCPU: Embedded 13 pages/cpu @df920000 s24320 r8192 d20736 u53248
[ 0.000000] pcpu-alloc: s24320 r8192 d20736 u53248 alloc=13*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408
[ 0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART4 root=UUID=c70fe398-9a84-4888-8fba-0ca17bd1421a ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet cape_universal=enable
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 445068K/522240K available (11370K kernel code, 917K rwdata, 3796K rodata, 744K init, 907K bss, 28020K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0ed7aa0 (15167 kB)
.init : 0xc0ed8000 - 0xc0f92000 ( 744 kB)
.data : 0xc0f92000 - 0xc10775d0 ( 918 kB)
.bss : 0xc107a000 - 0xc115cfa8 ( 908 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000037] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000049] OMAP clocksource: timer1 at 24000000 Hz
[ 0.001015] clocksource_probe: no matching clocksources found
[ 0.001228] Console: colour dummy device 80x30
[ 0.001258] WARNING: Your ‘console=ttyO0’ has been replaced by ‘ttyS0’
[ 0.001266] This ensures that you still see kernel messages. Please
[ 0.001272] update your kernel commandline.
[ 0.001293] Calibrating delay loop… 995.32 BogoMIPS (lpj=1990656)
[ 0.046822] pid_max: default: 32768 minimum: 301
[ 0.046969] Security Framework initialized
[ 0.046983] Yama: becoming mindful.
[ 0.047020] AppArmor: AppArmor disabled by boot time parameter
[ 0.047193] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.047206] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.048069] Initializing cgroup subsys io
[ 0.048101] Initializing cgroup subsys memory
[ 0.048147] Initializing cgroup subsys devices
[ 0.048166] Initializing cgroup subsys freezer
[ 0.048182] Initializing cgroup subsys net_cls
[ 0.048198] Initializing cgroup subsys perf_event
[ 0.048213] Initializing cgroup subsys net_prio
[ 0.048238] Initializing cgroup subsys pids
[ 0.048296] CPU: Testing write buffer coherency: ok
[ 0.048357] ftrace: allocating 34645 entries in 102 pages
[ 0.146400] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.146522] Setting up static identity map for 0x80008280 - 0x800082e0
[ 0.150658] Brought up 1 CPUs
[ 0.150683] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.150692] CPU: All CPU(s) started in SVC mode.
[ 0.152425] devtmpfs: initialized
[ 0.170041] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.190075] omap_hwmod: debugss: _wait_target_disable failed
[ 0.231284] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.235401] xor: measuring software checksum speed
[ 0.274821] arm4regs : 1219.000 MB/sec
[ 0.314815] 8regs : 1091.000 MB/sec
[ 0.354816] 32regs : 1089.000 MB/sec
[ 0.394815] neon : 1730.000 MB/sec
[ 0.394823] xor: using function: neon (1730.000 MB/sec)
[ 0.394862] pinctrl core: initialized pinctrl subsystem
[ 0.396875] NET: Registered protocol family 16
[ 0.400608] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.401827] cpuidle: using governor ladder
[ 0.401850] cpuidle: using governor menu
[ 0.407680] OMAP GPIO hardware version 0.1
[ 0.419582] No ATAGs?
[ 0.419616] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.420178] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.420193] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.499062] raid6: int32x1 gen() 230 MB/s
[ 0.566886] raid6: int32x1 xor() 176 MB/s
[ 0.634983] raid6: int32x2 gen() 304 MB/s
[ 0.702836] raid6: int32x2 xor() 199 MB/s
[ 0.770948] raid6: int32x4 gen() 284 MB/s
[ 0.838936] raid6: int32x4 xor() 199 MB/s
[ 0.906940] raid6: int32x8 gen() 282 MB/s
[ 0.974933] raid6: int32x8 xor() 186 MB/s
[ 1.042838] raid6: neonx1 gen() 1458 MB/s
[ 1.110824] raid6: neonx1 xor() 846 MB/s
[ 1.178824] raid6: neonx2 gen() 1885 MB/s
[ 1.246820] raid6: neonx2 xor() 1173 MB/s
[ 1.314816] raid6: neonx4 gen() 1928 MB/s
[ 1.382839] raid6: neonx4 xor() 1206 MB/s
[ 1.450846] raid6: neonx8 gen() 1188 MB/s
[ 1.518850] raid6: neonx8 xor() 845 MB/s
[ 1.518857] raid6: using algorithm neonx4 gen() 1928 MB/s
[ 1.518864] raid6: … xor() 1206 MB/s, rmw enabled
[ 1.518871] raid6: using intx1 recovery algorithm
[ 1.528223] edma 49000000.edma: TI EDMA DMA engine driver
[ 1.532856] SCSI subsystem initialized
[ 1.533305] libata version 3.00 loaded.
[ 1.533643] usbcore: registered new interface driver usbfs
[ 1.533717] usbcore: registered new interface driver hub
[ 1.533830] usbcore: registered new device driver usb
[ 1.534433] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 1.534487] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[ 1.534608] media: Linux media interface: v0.10
[ 1.534669] Linux video capture interface: v2.00
[ 1.534775] pps_core: LinuxPPS API ver. 1 registered

/lib/firmware/*.dtbo's get copied to the initramfs.

So on every /lib/firmware/*.dtbo change run:

sudo update-initramfs -uk `uname -r`

Regards,

Thank you it works perfectly :slight_smile: