- Posts: 383
- Thank you received: 135
Can the OPI5 be Configured to Run LCNC?
- royka
- Offline
- Platinum Member
-
Less
More
3 years 6 months ago #268583
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Wouldn't it compile the non rt 6.2 half mainline kernel then? (Unless you change that source too).
That would make it easier indeed to install LinuxCNC, but then you'll need to compile mesa, mpp, Chromium, v4l2, ffmpeg configurated to use the Rockchip gpu and manually add the rules to have gpu acceleration.
That would make it easier indeed to install LinuxCNC, but then you'll need to compile mesa, mpp, Chromium, v4l2, ffmpeg configurated to use the Rockchip gpu and manually add the rules to have gpu acceleration.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
3 years 6 months ago #268588
by rodw
Chromium is included in the Debian Repositories and worked for me on another platform.
Replied by rodw on topic Can the OPI5 be Configured to Run LCNC?
Take the time to familiarise yourself with the Armbian build environment, user configurations, userpatches and config files etc. I would expect you could configure the build environment to apply your customisations if you know whats is going on.Wouldn't it compile the non rt 6.2 half mainline kernel then? (Unless you change that source too).
That would make it easier indeed to install LinuxCNC, but then you'll need to compile mesa, mpp, Chromium, v4l2, ffmpeg configurated to use the Rockchip gpu and manually add the rules to have gpu acceleration.
Chromium is included in the Debian Repositories and worked for me on another platform.
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 383
- Thank you received: 135
3 years 6 months ago #268595
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
I think I know a bit how the armbian build system works, it would be a ton of work for me to automate these things and maintain. It's not something I'd really love to do and this works already, just trying to help to make them start a bit more easy.
For Chromium I was talking about hw acceleration/hw decoding, it does work without but the CPU usage will be high.
But you're absolutely free to do whatever you like.
If you could make something like this for Debian Bookworm, would be awesome
launchpad.net/~liujianfeng1994/+archive/ubuntu/panfork-mesa
launchpad.net/~liujianfeng1994/+archive/.../rockchip-multimedia
For Chromium I was talking about hw acceleration/hw decoding, it does work without but the CPU usage will be high.
But you're absolutely free to do whatever you like.
If you could make something like this for Debian Bookworm, would be awesome
launchpad.net/~liujianfeng1994/+archive/ubuntu/panfork-mesa
launchpad.net/~liujianfeng1994/+archive/.../rockchip-multimedia
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 383
- Thank you received: 135
3 years 6 months ago - 3 years 6 months ago #268603
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Oops made a typo in the headers package. so to keep it a bit organized:
After you've booted an Armbian Jammy image/installation, you could install these packages.
Kernel:
[url] filebin.net/lpleuciilara5q60/linux-image...c222-Be9aa_arm64.deb [/url]
Kernel headers:
filebin.net/lpleuciilara5q60/linux-heade...c222-Be9ac_arm64.deb
LinuxCNC packages:
[url] filebin.net/lpleuciilara5q60/linuxcnc-debs.zip [/url]
After you've booted an Armbian Jammy image/installation, you could install these packages.
Kernel:
[url] filebin.net/lpleuciilara5q60/linux-image...c222-Be9aa_arm64.deb [/url]
Kernel headers:
filebin.net/lpleuciilara5q60/linux-heade...c222-Be9ac_arm64.deb
LinuxCNC packages:
[url] filebin.net/lpleuciilara5q60/linuxcnc-debs.zip [/url]
Last edit: 3 years 6 months ago by royka.
Please Log in or Create an account to join the conversation.
- kanuboy13b
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 7
3 years 6 months ago - 3 years 6 months ago #268644
by kanuboy13b
Replied by kanuboy13b on topic Can the OPI5 be Configured to Run LCNC?
So I am having a hell of a time trying to get anything to work.
I have tried installing the image and header files in royka's latest post using sudo dpkg -i command on a fresh install of armbian jammy 23.02 that downloaded from armbian's website.
after having to create a link to python 3 to python, I was able to get the header .deb file to install without issue. The image on the other hand is still giving me problems. Here is where the error starts:
I haven't had much luck building my own image either, at first I tried building the an image from a virtualbox on my Laptop. I'm running Manjaro so I needed a VM or Ubuntu to run the build. It seemed to have worked, I have replaced the two config files in there respective places in the build directory. Though for some reason I do not get a boot image created, only deb files in the output directory. I tried doing a kernel build on the Orange Pi following the instructions from Armbian's website. Again replacing the two .conf files and running the compile.sh script. Unfortunately, on the Orange pi only a u-boot deb package is made. I've made sure to follow every step correctly, searched the net to find answers on what I am doing wrong but I'm just not having any luck what so ever.
I have tried installing the image and header files in royka's latest post using sudo dpkg -i command on a fresh install of armbian jammy 23.02 that downloaded from armbian's website.
after having to create a link to python 3 to python, I was able to get the header .deb file to install without issue. The image on the other hand is still giving me problems. Here is where the error starts:
Code:
[b]dpkg: error processing archive
linux-image-legacy-rockchip-rk3588_23.05.0-trunk--5.10.110-rt53-Scbae-De8b2-Pc4e1-Caa25Hfe66-Vc222-Be9aa_arm64.deb (--install):
[b] error setting ownership of './boot/System.map-5.10.110-rt53-rockchip-rk3588': Operation not permitted
[b]dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
[b]Armbian 'linux-image-legacy-rockchip-rk3588' for '5.10.110-rt53-rockchip-rk3588': 'postrm' starting.
[b]+ export 'DEB_MAINT_PARAMS=abort-upgrade 23.02.2 23.05.0-trunk--5.10.110-rt53-Scbae-De8b2-Pc4e1-Caa25Hfe66-Vc222-Be9aa'
[b]+ DEB_MAINT_PARAMS='abort-upgrade 23.02.2 23.05.0-trunk--5.10.110-rt53-Scbae-De8b2-Pc4e1-Caa25Hfe66-Vc222-Be9aa'[b]+ export INITRD=Yes
[b]+ INITRD=Yes[b]+ test -d /etc/kernel/postrm.d[b]+ run-parts --arg=5.10.110-rt53-rockchip-rk3588 --arg=/boot/vmlinuz-5.10.110-rt53-rockchip-rk3588 /etc/kernel/postrm.d[b]+ set +x[b]Armbian 'linux-image-legacy-rockchip-rk3588' for '5.10.110-rt53-rockchip-rk3588': 'postrm' finishing.[b]cp: cannot stat '/boot/vmlinuz-5.10.110-rockchip-rk3588': No such file or directory[b]dpkg: error while cleaning up:[b] installed linux-image-legacy-rockchip-rk3588 package post-installation script subprocess returned error exit status 1[b]Errors were encountered while processing:[b] linux-image-legacy-rockchip-rk3588_23.05.0-trunk--5.10.110-rt53-Scbae-De8b2-Pc4e1-Caa25Hfe66-Vc222-Be9aa_arm64.deb
I haven't had much luck building my own image either, at first I tried building the an image from a virtualbox on my Laptop. I'm running Manjaro so I needed a VM or Ubuntu to run the build. It seemed to have worked, I have replaced the two config files in there respective places in the build directory. Though for some reason I do not get a boot image created, only deb files in the output directory. I tried doing a kernel build on the Orange Pi following the instructions from Armbian's website. Again replacing the two .conf files and running the compile.sh script. Unfortunately, on the Orange pi only a u-boot deb package is made. I've made sure to follow every step correctly, searched the net to find answers on what I am doing wrong but I'm just not having any luck what so ever.
Last edit: 3 years 6 months ago by kanuboy13b.
Please Log in or Create an account to join the conversation.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 383
- Thank you received: 135
3 years 6 months ago #268675
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
I've just tried it on a clean image and got the same error indeed, I will look at it later.
At the moment you could install it by forcing it:
For the headers you'll need:
Then add the following line to /boot/armbianEnv.txt
extraargs="isolcpus=5,7"
At the moment you could install it by forcing it:
Code:
sudo dpkg -i --force-all linux-image-legacy-rockchip-rk3588_23.05.0-trunk--5.10.110-rt53-Scbae-De8b2-Pc4e1-Caa25Hfe66-Vc222-Be9aa_arm64.deb
For the headers you'll need:
Code:
sudo apt install python3-venv python-is-python3
sudo apt install ./linux-headers-legacy-rockchip-rk3588_23.05.0-trunk--5.10.110-rt53-Scbae-De8b2-Pc4e1-Caa25Hfe66-Vc222-Be9ac_arm64.deb
Then add the following line to /boot/armbianEnv.txt
extraargs="isolcpus=5,7"
Please Log in or Create an account to join the conversation.
Time to create page: 1.141 seconds