页次: 1
已经改好了,感谢
内核源码配置要加SPI驱动
可以30M就笑了:D
话说100Mhz是不是有点嚣张啊?
确实是没改,改了CONFIG_SPI_SPIDEV=y就可以了
make menuconfig 有没有勾选 SPIDEV 相关驱动?
/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts
文件已经修改添加 ,但是/dev设备文件下还是没有找到spi,还有哪里需要修改添加的吗?
#include "sunxi-common-regulators.dtsi"
/ {
model = "Lichee Pi Zero";
compatible = "licheepi,licheepi-zero", "allwinner,sun8i-v3s";
aliases {
serial0 = &uart0;
spi0 = &spi0;
};
chosen {
stdout-path = "serial0:115200n8";
};
};
&mmc0 {
pinctrl-0 = <&mmc0_pins_a>;
pinctrl-names = "default";
broken-cd;
bus-width = <4>;
vmmc-supply = <®_vcc3v3>;
status = "okay";
};
&spi0 {
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins>;
status = "okay";
#address-cells=<1>;
#size-cells=<0>;
spidev@0x00 {
compatible = "spidev";
spi-max-frequency = <100000000>;
reg = <0>;
};
};
我也是刚注册没法下载,一直回复被当成灌水也没积分!!TVT
下载下来解压报错:
tar zxvf buildroot_201908_hf_20190911A_config.tgz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now知道原因了,
下载的文件是空文件,因为我的账号才注册。。。
我的16M的还没搞好,围观学习
搞了半天没起来,学习中感谢楼主
下载了,感谢楼主
大牛,正在入坑来学习
最高只能到180,240就起不来了!我的系统有问题?
页次: 1