From 4ffc10ed0c65e0be30935037f43391c8395a685d Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Tue, 27 Feb 2024 09:18:57 +0000 Subject: [PATCH] utils: Update camera-bug-report script for Bookworm - Point to the right config.txt and cmdline.txt files - Replace vcdbg with vclog Signed-off-by: Naushir Patuck --- utils/camera-bug-report | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/utils/camera-bug-report b/utils/camera-bug-report index d7b14b24..e32281a0 100755 --- a/utils/camera-bug-report +++ b/utils/camera-bug-report @@ -102,15 +102,14 @@ if __name__ == '__main__': reports.append(hwinfo) config = Report('Configuration', file) - config.add_cmd('cat /boot/cmdline.txt') - config.add_cmd('cat /boot/config.txt') + config.add_cmd('cat /boot/firmware/cmdline.txt') + config.add_cmd('cat /boot/firmware/config.txt') reports.append(config) logs = Report('Logs', file) logs.add_cmd('dmesg') - logs.add_cmd('sudo vcdbg log msg') - logs.add_cmd('sudo vcdbg log assert') - logs.add_cmd('sudo vcdbg log ex') + logs.add_cmd('sudo vclog log --msg') + logs.add_cmd('sudo vclog log --assert') reports.append(logs) mem = Report('Memory', file)