RPI4 Raspbian 64 bit & LinuxCNC

More
3 years 1 month ago #279955 by Cant do this anymore bye all
Hey Rod are you installing task-xfce-desktop or just xfce ?

The former is what the debian setup program uses the (included lightdm greeter and other stuffs) latter is for installing if you want a second desktop..ie: you already have Mate or something like that.

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

More
3 years 1 month ago #279961 by rodw

How bad was it ? Compared to what ?
It's based on the same sources as was Rod uses, the only difference is I was experimenting with a 10Hz tick rate rather than a 250Hz.
I have found my self the image I use more regulary based on RPi OS or Raspbian or whatever they call it with a 5 series kernel is better.
Is that the governor? you can set that on the pi with menu-config. If not, where is it, we might be able to twaek the installer.

Also this next build I'm about to test is going to copy the deb files to the user's home directory. That will let you experiment with what we are building with the Debian default ARM RT kernel etc.

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

More
3 years 1 month ago #279963 by rodw

One thing that does annoy we, which I should fix, is that sudo doesn't require a user password. You might as well be running as root.

I've mentioned before, this can be fixed by deleting the file  in /etc/sudoers.d that contains the users name. We have tried to remove it in userscripst but it did not work but you can do it on the pi.

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

More
3 years 1 month ago #279966 by Cant do this anymore bye all
I’d advise against the Debian kernel for anyone wanting spi and use mesaflash, it doesn’t have the required patches for the overlays. For Ethernet or direct gpio it should be ok.

I spent a lot of time finding this out, and looking for a fix. Apart from the Raspbian patched kernel there isn’t much that can be done.

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

More
3 years 1 month ago #279968 by ruffle
Cornholio: Ah yes sorry. Didn't grok that this is Debian with a different kernel. My aging brain automatically thought Raspbian.

Network Manager is indeed installed and works fine.

Power Settings do allow passwordless screensaver.

Personally I'm not that concerned about sudo passwords etc as for our use case it's a dedicated machine making chips but one can just change sudoers either way.

Next fun thing then is booting from SSD. I've dd'd the SDCard to my USB SSD (which was previously booting Raspian Bullseye so I know the RPi firmware is USB boot enabled) but when booting it gets stuck in a firmware not found loop.

The contents of the boot partition are quite different to a stock Raspbian so I guess I need to start Googling... unless someone's got a bright idea.

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

More
3 years 1 month ago #279976 by Cant do this anymore bye all
Ok I fixed the screensaver thing.
Enabled the rainbow at turn on
Enabled sudo user password (stop you doing stupid things with root privileges)
Turned on wifi adapter
Diabled BT adapter
Turned on SPI
Set GPUMEM to 128M
Added isolcpus=2,3 and max.processor.cstate=1 to kernel cmdline(for latency issues)
Changed MC colour to default, similar to the old Norton DOS file manager (after 20 0dd years with Linux I still use it, great for transferring files from one computer to another as along as ssh server is running on the one you want to connect to).
Yeah the files are under /boot/broadcom (have to check where they usually are)
Added a launcher for Geany to bottom panel
Confirmed Network Manager can be used to connect and edit networks

It's now 00:20 in Australia, still need to dd the image from the sd card, compress the image and upload...I'll post in about 8-9 hours when done.

If anyone read this before then leave a comment and I'll see what I can do.
The following user(s) said Thank You: ruffle

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

Time to create page: 0.075 seconds
Powered by Kunena Forum