# l
total 0
drwxr-xr-x 2 root root 0 Jan 1 00:00 .
drwxr-xr-x 44 root root 0 Jan 1 00:00 ..
--w------- 1 root root 4096 Jan 1 00:00 export
lrwxrwxrwx 1 root root 0 Jan 1 00:00 gpiochip0 -> ../../deviorm/soc/1c20800.pinctrl/gpio/gpiochip0
--w------- 1 root root 4096 Jan 1 00:00 unexport
# c
# ls
export gpiochip0 unexport
# echo 133 > export
[ 559.339394] suniv-f1c100s-pinctrl 1c20800.pinctrl: pin PE5 already requested 0.csi; cannot claim for 1c20800.pinctrl:133
[ 559.351183] suniv-f1c100s-pinctrl 1c20800.pinctrl: pin-133 (1c20800.pinctrl:1s -22
sh: write error: Invalid argument
# echo 132 > export
[ 570.416007] suniv-f1c100s-pinctrl 1c20800.pinctrl: pin PE4 already requested 0.csi; cannot claim for 1c20800.pinctrl:132
[ 570.427781] suniv-f1c100s-pinctrl 1c20800.pinctrl: pin-132 (1c20800.pinctrl:1s -22
sh: write error: Invalid argument
# mdev -s
# echo 134 > export
[ 2553.646357] suniv-f1c100s-pinctrl 1c20800.pinctrl: pin PE6 already requested 0.csi; cannot claim for 1c20800.pinctrl:134
[ 2553.658140] suniv-f1c100s-pinctrl 1c20800.pinctrl: pin-134 (1c20800.pinctrl:1s -22
sh: write error: Invalid argument
# echo 135 > export
[ 2558.647273] suniv-f1c100s-pinctrl 1c20800.pinctrl: pin PE7 already requested 0.csi; cannot claim for 1c20800.pinctrl:135
[ 2558.659060] suniv-f1c100s-pinctrl 1c20800.pinctrl: pin-135 (1c20800.pinctrl:1s -22
sh: write error: Invalid argument
#
离线
dts里面把csi disabled掉。
请教一下大神,dts文件太多,不知道找哪个,在哪里?用的buildroot-tiny200的buildroot
离线
@abnerl
是在make uboot-menuconfig查看吗?
离线
8z00z8 说:@abnerl
是在make uboot-menuconfig查看吗?可以,也可以在uboot启动时,终止查看环境变量
已解决,是因为修改设备树后,直接make,设备树并不会重新编译,要删除掉output/build/下面,uboot和对应版本Linux的.stamp_build,重新make才能生效
离线