Denis, I'm using BeagleBone Black as a kind of starter kit to develop some software to be used later in a much constrained hardware environment. Ready to download Beaglebone images are 1G in size while I can obtaind images that occupy 80Mb using buildroot. As for the SPI1 I managed to have that /dev/spidev1.0 device created. I've reviewed the Kernel configuration (make linux-menuconfig; in buildroot) and found that SPI support was implemented as a module (whatever this means). I changed it to "built-in", re-generated the system and those spidev devices appeared. However I haven't succeeded yet: spidev_test sends some bytes but receives none (it displays 0's for the data received) despite having a jumper between P9-29 and P9-30. With the help of an oscilloscope I've been able to see that CS pin and CLK pin output the proper signal. However data that were supposed to be output through DO, was output through DI; although I believe I've properly reversed the default functions of DO and DI. It seems that I still need to tweak that dts file.
Thanks for your support. Joan Salvat El dimecres, 27 novembre de 2019 20:16:21 UTC+1, Dennis Bieber va escriure: > > On Wed, 27 Nov 2019 13:39:50 -0500, in > gmane.comp.hardware.beagleboard.user > Dennis Lee Bieber <[email protected] > <javascript:>> > wrote: > > Follow up... I seem to have had a successful completion (testing it on the > BBB is another matter) > > > > wulfraed@debian:~/buildroot$ grep -i "spi" build.log > HOSTCC tools/rkspi.o > CC cmd/spi.o > CC drivers/mtd/spi/sf_probe.o > CC drivers/mtd/spi/spi_flash.o > CC drivers/mtd/spi/spi_flash_ids.o > CC drivers/mtd/spi/sf.o > LD drivers/mtd/spi/built-in.o > CC drivers/spi/spi.o > CC drivers/spi/omap3_spi.o > LD drivers/spi/built-in.o > This board does not use CONFIG_DM_SPI. Please update > This board does not use CONFIG_DM_SPI_FLASH. Please update > the board to use CONFIG_SPI_FLASH before the v2019.07 release. > CC kernel/locking/spinlock.o > CC kernel/locking/spinlock_debug.o > CC drivers/base/regmap/regmap-spi.o > CC lib/bust_spinlocks.o > AR drivers/media/spi/built-in.a > AR drivers/net/can/spi/built-in.a > AR drivers/mtd/nand/spi/built-in.a > CC drivers/spi/spi.o > CC drivers/spi/spi-mem.o > CC drivers/spi/spi-omap2-mcspi.o > AR drivers/spi/built-in.a > CC [M] drivers/iio/accel/st_accel_spi.o > CC [M] drivers/iio/common/st_sensors/st_sensors_spi.o > CC [M] drivers/iio/pressure/bmp280-spi.o > CC [M] drivers/mtd/spi-nor/spi-nor.o > CC [M] drivers/spi/spi-ti-qspi.o > CC [M] drivers/media/rc/ir-spi.o > CC [M] drivers/net/wireless/ti/wlcore/spi.o > LD [M] drivers/net/wireless/ti/wlcore/wlcore_spi.o > CC drivers/iio/accel/st_accel_spi.mod.o > CC drivers/iio/common/st_sensors/st_sensors_spi.mod.o > CC drivers/iio/pressure/bmp280-spi.mod.o > CC drivers/media/rc/ir-spi.mod.o > CC drivers/mtd/spi-nor/spi-nor.mod.o > CC drivers/net/wireless/ti/wlcore/wlcore_spi.mod.o > CC drivers/spi/spi-ti-qspi.mod.o > LD [M] drivers/iio/accel/st_accel_spi.ko > LD [M] drivers/iio/common/st_sensors/st_sensors_spi.ko > LD [M] drivers/iio/pressure/bmp280-spi.ko > LD [M] drivers/media/rc/ir-spi.ko > LD [M] drivers/mtd/spi-nor/spi-nor.ko > LD [M] drivers/net/wireless/ti/wlcore/wlcore_spi.ko > LD [M] drivers/spi/spi-ti-qspi.ko > INSTALL drivers/iio/accel/st_accel_spi.ko > INSTALL drivers/iio/common/st_sensors/st_sensors_spi.ko > INSTALL drivers/iio/pressure/bmp280-spi.ko > INSTALL drivers/media/rc/ir-spi.ko > INSTALL drivers/mtd/spi-nor/spi-nor.ko > INSTALL drivers/net/wireless/ti/wlcore/wlcore_spi.ko > INSTALL drivers/spi/spi-ti-qspi.ko > wulfraed@debian:~/buildroot$ > > No spidev, but there do seem to be a number of spi related kernel > object... > -- > Dennis L Bieber > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/4b725fb9-2836-4e42-8b1a-f392fc2076a9%40googlegroups.com.
