Jump to content

Dan Walton76

  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I've been able to get two /dev/spidev's working on Orange Pi Zero Plus 2 (H5) boards. How is configuring this on a Orange Pi Zero 2 (h616) going to be different or similar? Any tips for getting spi-double-spidev-cs.dts to work? Thanks so much,
  2. I'm using an Orange Pi Zero Plus 2 trying to setup double spi. By configuring my boot armbianEnv.txt I am able to see two spi devices. verbosity=7 logo=disabled console=both overlay_prefix=sun50i-h5 overlays=analog-codec spi-add-cs1 spi-spidev uart1 uart2 usbhost2 usbhost3 param_spidev_max_freq=12000000 param_spidev_spi_bus=1 param_spidev_spi_cs=1 user_overlays=spi-double-spidev-cs sun50i-h5-spi-cs usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u However I only see one chip select working on the physical board. Is there something I need to do to assign with gpio the second chip select will be on? Thanks, Dan
  3. I was able to essentially solve my problem by using the armbian build scrips and creating .deb images. Thanks
  4. lsmod does have this: spidev 24576 0 My armbianEnv.txt contains this: verbosity=7 bootlogo=false console=both disp_mode=1920x1080p60 overlay_prefix=sun50i-h5 param_spidev_spi_bus=1 overlays=analog-codec spi-spidev rootdev=UUID=558c413f-84e6-4d3e-b9df-b683d55ad429 rootfstype=ext4 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
  5. I am seeing this: ls -l /sys/bus/spi/devices/ total 0 lrwxrwxrwx 1 root root 0 Feb 22 14:57 spi1.0 -> ../../../devices/platform/soc/1c69000.spi/spi_master/spi1/spi1.0 but still no /dev/spi1.0 Thanks, Dan
  6. I'm using an Orange PI Zero Plus 2. Thanks for the reply. I'll check out the link you included. I'm also using the existing dtb and initrd.img. I'm just swapping kernels, and modules too I suppose. Thanks, Dan
  7. I'm trying to upgrade my kernel. However on the new kernel the boot loader says 'Applying kernel provided DT overlay sun50i-h5-spi-spidev.dtbo'. But there are no spi devices. If I run the old kernel, everything is there. In a bit more detail... 1) Download linux source 5.16.10 2) Copy config from /boot/ directory 3) Make menuconfig 4) turn on real time PREEMPT (something I want to experiment with) 5) build 6) build the modules 7) copy the kernel and modules to the sd card 8) link Image to the new version. reboot The device comes up and networking is working, but I have no /dev/spi Is there something I'm doing wrong? Is there a way to debug? Thanks
  • Create New...