Mesa 7i90 in SPI mode

More
9 years 11 months ago #82363 by sleepybishop
Replied by sleepybishop on topic Mesa 7i90 in SPI mode
all i did was to take the base package from arch linux arm
github.com/archlinuxarm/PKGBUILDs/blob/m...raspberrypi/PKGBUILD

and add the rt patches from www.kernel.org/pub/linux/kernel/projects/rt/4.4/ while disabling the aufs patches (they conflict with rt)

my kernel is a bit outdated (the downside of arch linux rolling release). but it works and im hesitant to mess with it for a while.
github.com/sleepybishop/linuxcnc/tree/ch...linux-rt-raspberrypi

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago - 9 years 8 months ago #82364 by tinkerer
Replied by tinkerer on topic Mesa 7i90 in SPI mode
.
Last edit: 9 years 8 months ago by tinkerer.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #82365 by jtheath
Replied by jtheath on topic Mesa 7i90 in SPI mode
Sleepybishop, I am happy to hear the hm2_rpspi is working for you. I had not considered the possible device tree issue. Thank you for pointing out the dtparam setting.

I am building CNC routers and was using BBB. The capes I used are no longer available so switching to Mesa solutions.

And I am glad you found the mesaflash update useful. You're welcome. Yes, the one hm2_spi.c change is all that is needed. This works with the RPi spidev driver. And you will need to specify the spidev_path argument to use the desired device (/dev/spidev0.0 on my Pi). A "heads up!" on something I saw - some SPI transfer timeout messages when using "Show HAL Configuration". Please let me know if you experience anything similar.

This hm2_spi.c change is also applicable to other boards. I plan to use this on the Pine64 in the near future. It's SPI driver (spi-sunxi.c) also limits its bpw value to 8.

Oh, just so there is no misunderstanding, I believe information and knowledge are treasures meant to be shared far and wide.

Have a great week! Joe

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago - 9 years 8 months ago #82373 by tinkerer
Replied by tinkerer on topic Mesa 7i90 in SPI mode
.
Last edit: 9 years 8 months ago by tinkerer.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #82377 by jtheath
Replied by jtheath on topic Mesa 7i90 in SPI mode
You're welcome. Polling is a fine solution.

To make things really robust you have to make certain you can't get stuck. By this I mean if there is a busy-wait check on some condition(s) one also needs to keep track of how much time is spent waiting and if the maximum interval passes take appropriate error recovery action.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #82426 by vmarkiv
Replied by vmarkiv on topic Mesa 7i90 in SPI mode
I want test Raspberry Pi 3 with LINUXCNC and SPI PLUTO-P driver . Where I can download image file for PI 3 ?

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.408 seconds
Powered by Kunena Forum