RPI4 Raspbian 64 bit & LinuxCNC

More
3 years 1 month ago - 3 years 1 month ago #280204 by Cant do this anymore bye all
Ok from what I know running a local package repo at home.
I upload the file/s to my server in a tmp directory, then I run reprepro which copies the the file/s to the correct directory and updates the files and whatever magic it does.
If my sources list I have a entry pointing to my local server.
I run sudo apt-get update on one of my computers, it odes its thing and tells me what needs upgrading.
If the packages on my server are the most recent it will use them, if the debian/ubuntu repo has the most recent it will use that, sometimes it's mix of local & debian.
I save bandwidth this way. I have a few machines running Mint so when I need to do an update I update one machine, copy the files to my server, server does it's thing, then the other computers get the updates from my server.

So I can build linuxcnc, upload to my server and do a normal upgrade to install the most recent git pull of Linuxcnc.
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.

More
3 years 1 month ago - 3 years 1 month ago #280249 by Donno
@Cornholio can you please post your complete build instructions ?
Last edit: 3 years 1 month ago by Donno.

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

More
3 years 1 month ago #280252 by rodw

Cornholio can you please post your complete build instructions ?
clone my repository and checkout the linuxcnc branch
Code:
git clone https://github.com/rodw-au/rpi-img-builder-lcnc git checkout linuxcnc
edit userdata.txt and change to this setting MENUCONFIG ="0"
Open the file instructions.txt
and follow the rest of the steps
SIMPLE!

This is not quite where I want it to be but it does work as is.
I ran out of time this morning before I had to go to work.
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 #280254 by Cant do this anymore bye all
One thing I may add:
Once you've successfully built a first kernel & rootfs, after that all need to do is
Code:
make image board=bcm2711
if you want to rebuild an image.
There's no need to build the kernel & initial rootfs again (once this is built it's compressed only to be decompressed when building a new rootfs).
After you have a successfully built an image, that can be used with qemu on a x86 host to build Linuxcnc once there's been an update on the Linuxcnc git repo. No need to use rpi-image-builder just to build updated packages.
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 - 3 years 1 month ago #280351 by rodw
Could some of you please test my installer at last
drive.google.com/drive/folders/1Bv4ceKAa...4PQGjKfQ?usp=sharing
User: cnc
Password: cnc

For the builders,  clone my repo
github.com/rodw-au/rpi-img-builder-lcnc/tree/linuxcnc
and follow the instructions
github.com/rodw-au/rpi-img-builder-lcnc/...cnc/instructions.txt

The linuxcnc debs are now saved  to output/<board>/linuxcnc
There have been some big internal changes to the builder but from a usability perspective, all of the required linuxcnc packages are saved in ROOTFS so subsequent builds of the image are a lot faster!
Do NOT run make config as it will wipe out all of our settings in userdata.txt

Please let me know if additional customisations should be included.
Last edit: 3 years 1 month ago by rodw.

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

More
3 years 1 month ago #280358 by rodw
Andy asked if his new GPIO driver in master branch worked. (its not in 2.9 yet)
ref:  linuxcnc.org/docs/devel/html/drivers/hal_gpio.html
I made an image using master branch.
If any of you know your way around the pi it would be great if you could test it out
Download here:
drive.google.com/file/d/1g6zVRar7TQUxSPb...fF6/view?usp=sharing

If it works, maybe he can backport it  to 2.9

Please give some feedback

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

Time to create page: 0.088 seconds
Powered by Kunena Forum