This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am572x的SPI设备树修改测试问题以及模块开机自加载问题

Other Parts Discussed in Thread: AM5728

我用的是官方的am5728 evm开发板,原理图上没有spi的接口,但我想测试一下spi驱动,在写设备树时,我修改的是am57xx-beagle-x15-common.dtsi文件,添加http://software-dl.ti.com/processor-sdk-linux/esd/docs/05_03_00_07/linux/Foundational_Components_Kernel_Drivers.html#spi中的默认代码,也没做修改

&spi1 {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&spi1_pins_s0>;
        spidev@1 {
                spi-max-frequency = <24000000>;
                reg = <0>;
                compatible = "rohm,dh2228fv";
        };
};
添加后报错没有spi1的节点,编译menuconfig已经勾选了,但是这步没有通过,想知道如何添加节点,能够在$/dev中找到spi设备

2.添加模块,我用的是arago-base-rootf,因此有些模块需要手动安装/lib/driver/下的模块文件,例如insmod spibitbang.ko和spi-gpio.ko,然后运行spi-test,
因为上一步没有完成,但我想知道如何让这些模块在开机的时候就自己安装好,需要配置哪些文件,网上说的方法我在/etc下没找到/etc/modprobe.conf文件,
所以目前不知道怎么解决。