RPI4 Raspbian 64 bit & LinuxCNC

More
3 years 1 month ago #280371 by rodw
Note to self: The image size in custom.txt needs to have "MB" at the end! Took me to an abrupt halt for a while.

modifying rootfs-extra is an interesting approach. I've finally got time to think about how to tweak it from here.
Actually modifying rootfs_extra so that it optionally calls a new run_function4() in uscripts would be the go. There are examples in rootfs to follow and a recent commit that added a new run_function.
I'd also like to add a couple of variables to userdata.txt to control the lcnc version to checkout and if to include the docs
 

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

More
3 years 1 month ago #280372 by rodw

You know that using menuconfig to set LOCALVERSION is really just for the kernel and the fact that the resulting image has that in it's filename is because that is how the original author has set it up ?

 
Yeh I figured that out. I don't think it flows down to the others.
But  LOCALVERSION is a kernel setting and is used in the file name. I used to use 
make -j4  deb-pkg LOCALVERSION=-linuxcnc
to make my X86 kernels

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

More
3 years 1 month ago #280377 by Donno
Hi rodw i tested rpi-4-debian-bookworm-6.1.46-rt13-arm64-ext4-linuxcnc-2.9--2023-09-10-0552.img.xz as Cornholio pioned out i was greeted with create user if i left it for a few seconds my system would lock up. 



After a few tries i manage to get it to work ! I tipe cnc and "enter" four times fast i manage to log in with Username : cnc and password : cnc 

 

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

More
3 years 1 month ago - 3 years 1 month ago #280384 by rodw
Thanks for the screenshots. Its frustrating my Pi is dead!

Here is another image (2.10 master branch). Hopefully, it has the cnc user set up correctly
drive.google.com/file/d/1DfgpD9K1KrYJYbJ.../view?usp=drive_link
This image includes the dependencies for the Docs but does not include the docs themselves. That is my next job....
See if you can test Andy's GPIO driver.

 
Last edit: 3 years 1 month ago by rodw.
The following user(s) said Thank You: Donno

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

More
3 years 1 month ago #280389 by Donno
The username is fixed it boots directly to desktop logged in with cnc,cnc. Can you tell me how to setup gpio driver so i can test i manage to open the sim axis mm config with some ,disabling of pins in the hal file. I only get hal2pi ( github.com/joao404/HAL2PI ) when googling.
The following user(s) said Thank You: rodw

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

More
3 years 1 month ago - 3 years 1 month ago #280390 by Cant do this anymore bye all
linuxcnc.org/docs/devel/html/drivers/hal_gpio.html

Sounds like you can use a parport hal file and replace hal_parport entries with hal_gpio
Last edit: 3 years 1 month ago by Cant do this anymore bye all.

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

Time to create page: 0.227 seconds
Powered by Kunena Forum