Jump to content

spaceship

Members
  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

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

  1. Thank you very much @martinayotte ! It works like a charm! We're able to communicate with an external device. We will try and see what's going on in the sun4i-i2s driver. Again great job martinayotte, thank you! Edit: Donated a little bit of money, it would be nice that others looking for help would do the same.
  2. Thank you very much @martinayotte . Our hopes are with you, as this seems out of our reach for now.
  3. The only error that seems to be directly related to the overlays is this: > OF: resolver: overlay phandle fixup failed: -22 We'll look deeper into the device trees as the SPI configuration is definitly missing in the main dt file.
  4. We built it. The following are the steps we took: > sudo armbian-add-overlay sun50i-h6-spi-spidev.dts (0) > reboot (1) > mkdir /sys/kernel/config/device-tree/overlays/spi (2) > cat /boot/overlay-user/sun50i-h6-spi-spidev.dtbo > /sys/kernel/config/device-tree/overlays/spi/dtbo (3) (.dts fie from step (0) is this one . In attachment (Bottom on post) we include both dts files we used, one was disassembled and corresponds to /boot/dtb-4.20.8-sunxi64/allwinner/overlay/sun50i-h6-spi-spidev.dtbo that came with the kernel build ) Now we have three folders inside the dtbo folder: dtbo, path and status; >cat status >unapplied We tried to cat (step (3) above) both files from: /boot/overlay-user/sun50i-h6-spi-spidev.dtbo /boot/dtb-4.20.8-sunxi64/allwinner/overlay/sun50i-h6-spi-spidev.dtbo Repeat step (1) At this point, still nothing shows. The resulting armbianEnv.txt: cat /boot/armbianEnv.txt verbosity=1 console=both overlay_prefix=sun50i-h6 rootdev=UUID=82f29a48-bbc5-4f83-8df9-b4819074fecd rootfstype=ext4 user_overlays=sun50i-h6-spi-spidev param_spidev_spi_bus=0 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u lsmod produces the following: Module Size Used by zstd 16384 4 cpufreq_dt 16384 0 sun50i_h6_ths 16384 0 thermal_sys 65536 2 cpufreq_dt,sun50i_h6_ths zram 24576 5 realtek 20480 1 armbian-config shows the following : At the moment, ls /dev/spi shows nothing. (Will update with more info in the following minutes) dts from github dts disassembled that came with kernel
  5. Igor, i commend you for all the work done here. With the growth of ARM architecture, Armbian will set both feet under the spotlight in the years to come, i foresee great adoption of this distro . I cannot thank you enough for what you and your team have done so far (And at least will donate. Regarding this issue, would be nice to make it more visible, the option to donate) . I blame the hardware producers, not the ones doing pro bono work. @martinayotte where are de latest images available? I would guess the download section would point us in the right direction. Edit: Will just lay here the links with respect to information regarding custom builds (if someone stumbles upon this thread): https://docs.armbian.com/Developer-Guide_Build-Preparation/ https://github.com/armbian/build We'll dig into this. Thank you all.
  6. We downloaded from here, the 4.18 (And it is the version we're using) : https://www.armbian.com/orange-pi-one-plus/ We tried the 4.20 before it was available on the previous link and the board didn't boot after reboot. Regarding the branch, probably it is set to default as we didn't specify anywhere next or dev. Is this an option at first installation?
  7. It seems too much for now, to write a proper driver for i2s. we are trying to make spi work out. This is what we have tried: > download dts file and run : sudo armbian-add-overlay sun50i-h6-spi-spidev.dts > Check armbianEnv.txt after reboot and there were new lines > Added manually to previous file : param_spidev_spi_bus=0 > reboot again > Nothing new at /dev/ Some people seem to be able to do the following : > mkdir /sys/kernel/config/device-tree/overlays/spi > cat spidev-enable.dtbo > /sys/kernel/config/device-tree/overlays/spi/dtbo /sys/ doesn't like being tinkered with . And funny thing is, /sys/kernel/config/ is empty... The board seems similar to others, we supposed they included drivers for MOSI/MISO pins. Can somebody point us on the right direction? It's a pitty that Xunlog doesn't invest in more research and development on software, we really enjoy their hardware but we're going for RPi probably. ...
  8. Where do i find the corresponding driver on the kernel source code , pertaining to the following dts file: https://github.com/armbian/sunxi-DT-overlays/blob/master/sun7i-a20/sun7i-a20-i2s0.dts
  9. Hello, it seems like there are no dts files to add support for i2s. How hard would it be to complete this task? The documentation from h6 references support for i2s, and the same in the user manual from Xunlog : http://dl.sumnic.com/download/OrangePi-One-Plus.pdf Edit:After some reading, i2s is not working for now and there's no proper driver yet. Thanks to martinayotte, SPI is working.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines