Need .h includes for rk3328
#5
We wrote, Bertho stultans and the mouse in his pocket, a driver for the pi's that runs an spi port at 25 to 32 MHz for the pi's, which in turn drives a mesa 7i90 interface card for machine control, using me as the testing lab rat.  This driver runs flawlessly on the pi.  But the pi is being pushed a bit what with all the stuff I wrote to replace the hand cranks on a nearly 70 yo Sheldon 11x36 metal lathe that I made all the pieces except the ball screws to convert it to fully cnc control. When you remove the cranks to put a honking big stepper motor on it to turn the screws, the cranks usually wind up in a parts drawer, as do all the drive gears that used to couple the spindle to the screws.  I made an A/B/Z encoder so the pi knows, 240 times a revolution, where the spindle is and what direction its turning. So all the gears are replaced by math that can move the cutting tool to micron accuracy, in perfect step with the spindle.

The pi does all that flawlessly, but has one big honking problem, it throws away input events from its own local keyboard and mouse, wired or wireless.  So you have to reboot it quite a few times until the keyboard works, and it might work for 30 seconds, or 3 weeks.

The gpio in the rock64 is claimed to be pi compatible.  Unfortunately in getting this driver right, Bertho made sure it was running on a pi, and exits with an unsupported platform message when it doesn't find the SoC it was written for, which is a bcm27xx to bcm28xx bit of silicon.

This driver would be helped by gpio pin drivers in the silicon that had faster slew rates.  With the pi's puny pin drivers its limited to just over 50% of the speed the rest of the hardware can run at, 50 megabaud, to only 30ish megabaud writes and 25ish reads.

So I am trying to convert this driver to run on the rockchip SoC.  But the forum won't let me post code yet. If it can be pulled off, we truly have a pi killer for the simple reason that it runs LinuxCNC right out of the buildbot.linuxcnc.org x86 repo, bleeding edge development version. And that can't help but bump sales for the rock64.

Thank you & Cheers, gene83
  Reply


Messages In This Thread
Need .h includes for rk3328 - by gene83 - 10-06-2017, 09:31 AM
RE: Need .h includes for rk3328 - by martinayotte - 10-06-2017, 12:54 PM
RE: Need .h includes for rk3328 - by gene83 - 10-06-2017, 02:53 PM
RE: Need .h includes for rk3328 - by martinayotte - 10-06-2017, 03:59 PM
RE: Need .h includes for rk3328 - by gene83 - 10-06-2017, 07:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 191,868 10-09-2023, 03:31 AM
Last Post: mara
  RK3328 Media Script zet_lab 3 5,119 01-27-2019, 04:50 PM
Last Post: danboid
  Error when installing some packages - Installing new rk3328-rock64.dtb. msg thewonderer 0 1,836 02-07-2018, 05:22 AM
Last Post: thewonderer

Forum Jump:


Users browsing this thread: 2 Guest(s)