- Posts: 383
- Thank you received: 0
Can the OPI5 be Configured to Run LCNC?
2 years 2 weeks ago #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.
Please Log in to join the conversation.
2 years 2 weeks ago #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 to join the conversation.
2 years 1 week ago #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.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
2 years 1 week ago #312412
by tommylight
Replied by tommylight on topic Can the OPI5 be Configured to Run LCNC?
Try this
Then try open FSTAB if possible and edit it by replacing the UUID of your drive from the resulting list
Code:
lsblk -o UUID,VENDOR,ID
Code:
sudo nano /etc/fstab
Please Log in to join the conversation.
2 years 1 week ago #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.
Please Log in to join the conversation.
2 years 1 week ago #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=.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
2 years 1 week ago #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!
Please Log in to join the conversation.
2 years 1 week ago #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 to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
2 years 1 week ago #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 to join the conversation.
2 years 1 week ago #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.
Please Log in to join the conversation.
Time to create page: 0.206 seconds
