Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wangqingjie opened this issue May 8, 2021 · 5 comments
Open

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

wangqingjie opened this issue May 8, 2021 · 5 comments

Comments

@wangqingjie
Copy link

wangqingjie commented May 8, 2021

配置步骤:

  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
Copy link
Contributor

alan-wt commented May 8, 2021

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

@alan-wt
Copy link
Contributor

alan-wt commented May 8, 2021

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

@dmitrijdo
Copy link

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
Copy link
Contributor

alan-wt commented Feb 21, 2022

0462db7

@alan-wt
Copy link
Contributor

alan-wt commented Feb 21, 2022

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

0462db7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants