From bb552e56ddf6bf1e878d2370eb59e74853bc63cc Mon Sep 17 00:00:00 2001 From: carbon Date: Fri, 8 Sep 2023 16:38:16 +0800 Subject: [PATCH] set pin 19 to GPIO in init script --- milkv/overlay/mnt/system/duo-init.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/milkv/overlay/mnt/system/duo-init.sh b/milkv/overlay/mnt/system/duo-init.sh index c946b090e..86e4492cd 100755 --- a/milkv/overlay/mnt/system/duo-init.sh +++ b/milkv/overlay/mnt/system/duo-init.sh @@ -1,6 +1,9 @@ #!/bin/sh -# set PWR_GPIO[4] to gpio +# Set Pin-29(PWR_SEQ2) to GPIO devmem 0x0502707c 32 0x111 devmem 0x03001068 32 0x3 +# Set Pin-19(SD0_PWR_EN) to GPIO +cvi_pinmux -w SD0_PWR_EN/XGPIOA_14 > /dev/null +