wireless-tag-com / openwrt-ssd20x

openwrt for sigmastar SSD201/SSD202
65 stars 46 forks source link

openwrt系统, ssd201开发板,spi配置 #5

Open wangqingjie opened 3 years ago

wangqingjie commented 3 years ago

配置步骤:

  1. 修改 /home/zgk/openwrt-ssd20x/18.06/build_dir/target-arm-linux-gnueabihf_glibc/linux-sstar_ssd20x/linux-4.9.84/arch/arm/boot/dts/WT2015.dtsi image disable改为ok image
  2. 在18.06下make menuconfig,做如下配置: image

结果在/dev/下没有出现spidev0.0,请问有什么步骤漏掉了或者配置错了吗?

alan-wt commented 3 years ago

参考最新的代码,已经添加spidev,使用GPIO4-GPIO7。 重新编译WT2015,不用改配置。

alan-wt commented 3 years ago

GPIO2-3: I2C1 GPIO8-11: SPI GPIO6-7:I2C0 GPIO4: PWM0 GPIO5: PWM1 默认已配置好(WT2015),请重新编译WT2015

dmitrijdo commented 2 years ago

Hello, i not see any spidev in /sys/class/spidev folder under openwrt 18.06 I use make WT2020_wt | SSD202+FRD720X720BK(720*720)+2Gbit QSPI NAND| Can you help me to activate SPI0 on GPIO8-11

Thanks in advance

alan-wt commented 2 years ago

https://github.com/wireless-tag-com/openwrt-ssd20x/commit/0462db78958d11cb937e662f56a93cdf30b92a59

alan-wt commented 2 years ago

Hello, i not see any spidev in /sys/class/spidev folder under openwrt 18.06 I use make WT2020_wt | SSD202+FRD720X720BK(720*720)+2Gbit QSPI NAND| Can you help me to activate SPI0 on GPIO8-11

Thanks in advance

https://github.com/wireless-tag-com/openwrt-ssd20x/commit/0462db78958d11cb937e662f56a93cdf30b92a59