Greetings all;

I have not managed to figure out how to install the realtime kernel I 
have built on the rockchip yet...  Its a u-boot system.

But I though I'd see how the sheldon's config would run, or if it would 
even try on a stock ayufan stretch kernel. So I copied that whole config 
from the pi to the rock64, so run in place could find it.  Edited the 
bottom of the .ini file, which on the pi says:
[HOSTMOT2]
DRIVER                          =       hm2_rpspi
BOARD                           =       7i90
CONFIG                          =       "num_encoders=4 num_pwmgens=1 
num_stepgens=4"

And now on the rock64:
[HOSTMOT2]
DRIVER                          =       spidev
BOARD                           =       7i90
CONFIG                          =       "num_encoders=4 num_pwmgens=1 
num_stepgens=4"


Theory according to what it reports, there is not an spidev.ko in the 
driver tree of linuxcnc-dev while running in place. of course not, its 
in /lib/modules/kernel(version)/drivers/spi because its kernels version, 
not linuxcnc's.

Stretch has munged the paths such that only root has access to modprobe 
and other such tools, gotta be root to do anything that effects the 
system at all. That is a major Pain In The Ass right there.

I have become root long enough to load the driver, no errors when I've 
done so, and an lsmod says its now loaded but linuxcnc still can't find 
it.

Seeing as how this is trembling virgin dirt that has not yet seen any 
tracks, whats the next step?

Thanks.

Oh, and I brute-forced the screen, once blanked, needed a reboot to get 
back into the system problem. 

I had installed tesk-xfce for a gui, and it uses /sbin/light-locker to 
get in the way, and it does not recognize any username/pw combo as 
valid, so you are locked out until a reboot, at which point you might 
get 2 try's to get it right.

Become root, then chmod -x /sbin/light-locker, again with light-locker*, 
and kill it in memory with killall light-locker and killall 
light-locker* until killall can't find it.

Now, the screen will go dark, but will not be locked and a touch of the 
keyboard or mouse wakes it back up ready to go.

I have no clue what paranoid SOB thought that was a good idea, but I've 
got a nice, white ash shileighlie carved up to use as a training tool. 
About 2" thick, should make a lasting impression.

Anyway, I am making progress, I think...
-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to