Can the OPI5 be Configured to Run LCNC?
13 Oct 2024 18:28 #311999
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Used the source from: github.com/armbian/linux-rockchip
The rt patched source is now next to the deb files.
The only thing I noticed was that when you create a deb package it automatically compresses the kernel image (which gives a missing arm64 magic error), so to workaround that I repacked it with the uncompressed kernel.
Also after installing LinuxCNC it updated the iniramfs of the old kernel and linked uInitrd to the old kernel one. To prevent that from happening it might be better to remove the old kernel (after making a backup).
Otherwise you could: sudo update-initramfs -u -k all
I've updated the deb package with the iwl driver by the way.
The rt patched source is now next to the deb files.
The only thing I noticed was that when you create a deb package it automatically compresses the kernel image (which gives a missing arm64 magic error), so to workaround that I repacked it with the uncompressed kernel.
Also after installing LinuxCNC it updated the iniramfs of the old kernel and linked uInitrd to the old kernel one. To prevent that from happening it might be better to remove the old kernel (after making a backup).
Otherwise you could: sudo update-initramfs -u -k all
I've updated the deb package with the iwl driver by the way.
The following user(s) said Thank You: onceloved
Please Log in or Create an account to join the conversation.
14 Oct 2024 07:38 #312041
by onceloved
Replied by onceloved on topic Can the OPI5 be Configured to Run LCNC?
I plan to use your updated deb package. If there are any problems, I will try to compile it myself. Thank you.
Please Log in or Create an account to join the conversation.
17 Oct 2024 16:01 - 21 Oct 2024 22:04 #312405
by ccc774
Replied by ccc774 on topic Can the OPI5 be Configured to Run LCNC?
I installed 6.1.75-rt23 on SD card and it works ok on Orange-Pi-5. I tried to put it on nvme and it didn't work. It freezes when booting. Please can you put a version that also works on nvme.
Last edit: 21 Oct 2024 22:04 by ccc774.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
17 Oct 2024 16:51 #312412
by tommylight
Replied by tommylight on topic Can the OPI5 be Configured to Run LCNC?
Try thisThen try open FSTAB if possible and edit it by replacing the UUID of your drive from the resulting list
lsblk -o UUID,VENDOR,ID
sudo nano /etc/fstab
The following user(s) said Thank You: royka
Please Log in or Create an account to join the conversation.
17 Oct 2024 19:52 #312426
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Like tommylight said and I want to add that you should also check /boot/armbiEnv.txt for the same UUID. When you see a /boot mount in fstab you could remove that line too.
Here it didn't recognize the ID option by the way, in that case just leave that away, alternatively you could issue the blkid command to see the UUID.
Here it didn't recognize the ID option by the way, in that case just leave that away, alternatively you could issue the blkid command to see the UUID.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
17 Oct 2024 21:44 - 21 Oct 2024 22:06 #312432
by ccc774
Replied by ccc774 on topic Can the OPI5 be Configured to Run LCNC?
first of all, thank you for your prompt answers.I can boot with kernel 6.1.75-vendor-rk35xx, with the 6.1.75-rt23 .debs installed, but without making the link (sudo ln -sf vmlinuz-6.1.75-rt23 Image). If I reboot and then make the link, it doesn't boot anymore. In /proc/cmdline I don't see any value for ubootpart=.
Last edit: 21 Oct 2024 22:06 by ccc774.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
17 Oct 2024 21:58 #312434
by tommylight
Thank you for reminding me, now i will go on and forget it promptly!
Replied by tommylight on topic Can the OPI5 be Configured to Run LCNC?
I could not recall this to save my life when i was answering this!... alternatively you could issue the blkid command to see the UUID.
Thank you for reminding me, now i will go on and forget it promptly!
The following user(s) said Thank You: royka
Please Log in or Create an account to join the conversation.
17 Oct 2024 22:14 #312435
by ccc774
Replied by ccc774 on topic Can the OPI5 be Configured to Run LCNC?
I can read all the IDs in /drv/disks...., but I don't know how to enter it to recognize it.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
17 Oct 2024 22:24 #312439
by tommylight
Replied by tommylight on topic Can the OPI5 be Configured to Run LCNC?
rootdev=UUID= lotsofnumbershere
those lots of numbers have to be replaced by the ID of your drive
those lots of numbers have to be replaced by the ID of your drive
Please Log in or Create an account to join the conversation.
17 Oct 2024 22:57 - 21 Oct 2024 22:07 #312443
by ccc774
Replied by ccc774 on topic Can the OPI5 be Configured to Run LCNC?
The ID returned by blkid is the same that I have in armbianEnv and it is the same ID that it says it does not recognize when booting.
Last edit: 21 Oct 2024 22:07 by ccc774.
Please Log in or Create an account to join the conversation.
Time to create page: 0.138 seconds