From 2f6e3eae557c30c97968818e6d3d4e52dc665e9f Mon Sep 17 00:00:00 2001 From: Carlos Santos Date: Sun, 11 Aug 2019 20:01:43 -0300 Subject: [PATCH] package/ti-gfx: do not use devmem2 in script ti-gfx may install a debug script that uses devmem2 but does not select BR2_PACKAGE_DEVMEM2. Use devmem, instead, already provided by Busybox. Signed-off-by: Carlos Santos Signed-off-by: Thomas Petazzoni --- package/ti-gfx/esrev.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/ti-gfx/esrev.sh b/package/ti-gfx/esrev.sh index 6220d4477d..8109334b79 100644 --- a/package/ti-gfx/esrev.sh +++ b/package/ti-gfx/esrev.sh @@ -48,7 +48,8 @@ case $CPUTYPE in devmem 0x48180900 w 0x2 devmem 0x48180920 w 0x2 - ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:6: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')" + ES_REVISION="$(devmem 0x56000014 | sed -e s:0x00010205:6: \ + -e s:0x00010201:3: -e s:0x00010003:2:)" ;; *) echo Unable to determine SGX hardware -- 2.30.2