“MYZR-R16-EK166 FAQ Reference Manual”的版本间的差异
来自明远智睿的wiki
(创建页面,内容为“##'''About R16 increase spi ''' #### Linux system: 1)Add spi drivers to the kernel $cd tinaV2.1 $source build/envsetup.sh $lunch astar_parrot-tina $m...”) |
小 (Admin移动页面MY-R16-EK166 FAQ Reference Manual至MYZR-R16-EK166 FAQ Reference Manual,不留重定向) |
(没有差异)
|
2020年10月22日 (四) 17:15的最新版本
About R16 increase spi
Linux system:
1)Add spi drivers to the kernel
$cd tinaV2.1
$source build/envsetup.sh
$lunch astar_parrot-tina
$make kernel_menuconfig
Device Drivers --->
SPI support --->
<*> User mode SPI device driver support
2)Modification
tinaV2.1/target/allwinner/astar-parrot/configs/sys_config.fex [spi_board0] modalias = "at25df641" sflash_size = 32 max_speed_hz = 50000000 bus_num = 0 chip_select = 0 mode = 0
changed to
[spi_board0] modalias = "spidev" sflash_size = 32 max_speed_hz = 50000000 bus_num = 0 chip_select = 0 mode = 0
Android system:
1)Add spi drivers to the kernel
$cd lichee/linux-3.4
$make ARCH=arm menuconfig
Device Drivers --->
SPI support --->
<*> User mode SPI device driver support
2)Modification
lichee/tools/pack/chips/sun8iw5p1/configs/evb-30/sys_config.fex [spi_board0] modalias = "at25df641" sflash_size = 32 max_speed_hz = 50000000 bus_num = 0 chip_select = 0 mode = 0
changed to
[spi_board0] modalias = "spidev" sflash_size = 32 max_speed_hz = 50000000 bus_num = 0 chip_select = 0 mode = 0