Can the OPI5 be Configured to Run LCNC?

More
06 Apr 2023 13:37 #268429 by royka
Sorry a new post, somehow it doesn't show the config I'd uploaded and didn't want to risk to edit my previous message.
Place these files in the right folder to build Armbian with the low latency kernel. Just choose to build the legacy kernel (only option) and it will download the rt version.

 

File Attachment:

File Name: build_2023-04-06.zip
File Size:45 KB
Attachments:
The following user(s) said Thank You: tommylight, Guglielmi

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

More
06 Apr 2023 17:43 #268444 by tommylight

Sorry a new post, somehow it doesn't show the config I'd uploaded and didn't want to risk to edit my previous message.

No need to be sorry for that, most of us do the same thing not to mess with the editor.
The following user(s) said Thank You: royka

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

More
06 Apr 2023 20:25 #268456 by Guglielmi
Royka, are you joking to doubt it could be an issue watching a video while the cnc is working? Who is doing this?! 
Funny.. I mean you can use any other device to spend time when the machine is running, right?
Jokes aside, I'm also interested to try this way, Armbian is more flexible and tailored for this board. I will try, in case of issue I will ask your (or Rodw) precious help.
Thanks for now
The following user(s) said Thank You: tommylight

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

More
06 Apr 2023 21:44 #268457 by tommylight

Royka, are you joking to doubt it could be an issue watching a video while the cnc is working? Who is doing this?!

Me, sometimes! :)

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

More
07 Apr 2023 14:13 - 07 Apr 2023 14:14 #268517 by Guglielmi
Ok, my side seems something doesn't work properly..
What I tried:

VirtualBox VM Ubuntu Desktop 22.04
1) git clone --depth=1 --branch=main github.com/armbian/build
2) paste files you shared into kernel and source respecting the path. Files replaced existing copies
3) sudo chmod 777 -R build
4) cd build
5) ./compile.sh
6) select "orangepi5" as board, debian with desktop, legacy, gnome.. finally it fails after a while.

I got the error:

Error 23 occurred in main shell (log attached)

I tried to build a default repo without overwrite files in config, and it arrives at the end correclty.

What I miss?
Attachments:
Last edit: 07 Apr 2023 14:14 by Guglielmi.

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

More
07 Apr 2023 15:21 #268520 by royka
I didn't make a full image yet, only the kernel. You could do the same btw, just install the latest image, then install the kernel debs you've created in ~/build/output/debs/

It didn't create the image at all or just that error?
If it's only that error you could cp the kernel to Image.

Not sure if the error is because it tries to make a symlink on a fat partition or it's because it tries to link to the "original" kernel name.

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

More
07 Apr 2023 15:47 - 07 Apr 2023 15:53 #268524 by royka
I see it also got some errors with downloading from ghcr.io, not sure if this caused the error at the end.
Perhaps the old branch will work better.
git clone --branch master https://github.com/armbian/build.git

The new main branch is still heavy in development.

If you only want to build the kernel you could with the old branch (master) use:
./compile.sh BUILD_ONLY=kernel KERNEL_CONFIGURE=yes BOARD=orangepi5 BRANCH=legacy
Last edit: 07 Apr 2023 15:53 by royka.

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

More
07 Apr 2023 18:59 #268537 by Guglielmi
Even worst..
drivers/net/wireless/Kconfig:55: can't open file "drivers/net/wireless/rtl8811cu/Kconfig"
make[1]: *** [scripts/kconfig/Makefile:29: menuconfig] Error 1
make: *** [Makefile:627: menuconfig] Error 2
[ error ] ERROR in function compile_kernel [ functions/cli/cli-entrypoint.sh:109 -> functions/main/build-tasks.sh:280 -> functions/main/build-tasks.sh:155 -> functions/compilation/kernel.sh:110 -> functions/logging/traps.sh:0 ]
[ error ] Error kernel menuconfig failed
[ o.k. ] Process terminated

I can't arrive to see the menu of the configuration..

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

More
07 Apr 2023 22:07 #268557 by royka
I always compiled it on the opi5 in Armbian, shall try to build a complete image too.
Did you add a patch or something? Extra drivers needed?

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

More
07 Apr 2023 22:20 #268559 by Guglielmi
I did not add anything..
Reading on Armbian web page I found to build the image by default first, then build again customizing the configuration..
Well, not sure it makes sense, but now I'm trying this way.
I finished to build a default image, then I applied your files and now I try to build again.

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

Time to create page: 0.477 seconds
Powered by Kunena Forum