From 45058e35f9f9d9a7d903a38dcac93a743e1bd1b0 Mon Sep 17 00:00:00 2001 From: Francisco Gil Martinez Date: Mon, 11 May 2020 13:00:26 +0200 Subject: [PATCH] sysinfo: improve the search of the otp folder With the change of bsp now we have several entries under /sys/bus/nvmem/devices/ in the CC6UL platform and we should reduce the num of folders where the otp folder can be found. ls /sys/bus/nvmem/devices/ bootloader environment imx-ocotp0 linux recovery rootfs safe update https://jira.digi.com/browse/DEL-7082 Signed-off-by: Francisco Gil Martinez --- meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo b/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo index 4a542fd84..03f93b264 100755 --- a/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo +++ b/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo @@ -241,7 +241,7 @@ make_report(){ done echo "" fi - for d in /sys/bus/nvmem/devices/*; do + for d in /sys/bus/nvmem/devices/imx-ocotp*; do [ -e $d ] || continue echo "$d:" hexdump -C $d/nvmem