humanus Posted April 22 Posted April 22 (edited) Of course, you can build an A7S image now as well. There's no display output yet. Edited April 22 by humanus Add detail 0 Quote
qq20739111 Posted April 23 Posted April 23 (edited) Thanks, I compiled one myself too, and it works fine. I actually thought Nick A said A7S support was only added in 6.18. I also built a desktop version for A7S, but the GUI doesn't seem to start or work properly. Edited April 23 by qq20739111 0 Quote
xuyitao Posted April 24 Posted April 24 https://github.com/alexcaoys/allwinner-bspThere are numerous issues with the NPU driver code in the repository, with almost all header files incorrectly set to "<>", resulting in compile time dependencies that cannot be found. I initially wanted to try modifying the makefile, but I found that the header file settings were very confusing, including mixing<>and "", incorrect header file paths, and a series of other problems. In the end, I gave up modifying the makefile and instead relied entirely on relative paths to locate header files, almost all of which needed to be modified. However, it is reassuring that the repository has no other issues except for the header file error of the NPU code. Of course, it may be necessary to add a ** sunxi-autogen. h ** file to the include directory The following is the NPU section that I have modified, completely by replacing and modifying the directory ../ npu.7z 0 Quote
qq20739111 Posted April 24 Posted April 24 @xuyitao Did your build pass? Can the NPU handle Ollama? 0 Quote
alexc Posted April 24 Posted April 24 Hi @xuyitao, My repository is focused on moving toward a usable mainline kernel. As of this week, there are no longer any dependencies on BSP NPU drivers. I plan to remove those, along with the BSP GPU drivers, to avoid any potential confusion. Could you take a look at the mainline etnaviv driver? Hopefully it meets your needs. 0 Quote
xuyitao Posted April 25 Posted April 25 @qq20739111 The compilation was successful, but ollama was unable to call NPU 0 Quote
alexc Posted April 26 Posted April 26 @eli I think I’ve got KVM enabled, but as they discussed previously, it's not a Linux kernel issue, there's some specific u-boot firmware needed. Since I don't think the open source firmware is ready yet, I guess KVM likely is not feasible on A733 for now. 1 Quote
Dalibor Pospíšil Posted April 26 Posted April 26 (edited) @alexc What about SATA support? The a7a board has m.2 pcie where the PentaHAT can be attached (I tested it with a custom sunxi kernel). Edited April 26 by Dalibor Pospíšil 0 Quote
alexc Posted April 26 Posted April 26 (edited) @Dalibor Pospíšil I haven't tested if the pcie works, maybe others did? But it's a bsp driver so it should. If that works, and if the SATA device has a driver in Linux 6.18, simply enable it in menuconfig and you should be good to go. EDIT: Right, I don't have A7A so I didn't really touch the dts for A7A, there might be a little works needed for it to boot. Edited April 26 by alexc 0 Quote
operator Posted April 27 Posted April 27 (edited) @210518-nick-a, please tell me about AIPU / Zhouyi driver RemoteProc enabled RPMsg support, are those existing in your kernel or should we add them ? Edited April 27 by operator 0 Quote
humanus Posted April 27 Posted April 27 I could not get PCIE to work properly on BSP 6.6 on the A7S, but maybe it was my mistake.For SATA over M.2 to work (in case on m.2 SATA drives), the device need to support this electrically, which I'm not sure if A7x boards do. Sent from my SM-S931B using Tapatalk 0 Quote
Nick A Posted Friday at 10:42 AM Author Posted Friday at 10:42 AM (edited) vkmark works on the Sway desktop. The mainline GPU driver still needs some work. I added A7A and A7S support; however, the A7S still needs to be tested. https://github.com/NickAlilovic/build/tree/Radxa-mainline-WIP I am using Debian Trixie with the XFCE desktop environment. A popup message should appear for the Sway installation. Please note that I haven't tested this configuration on other settings. Edited Friday at 11:22 AM by Nick A 0 Quote
Nick A Posted 16 hours ago Author Posted 16 hours ago Support for DP Alt Mode is now functional for the A7S running kernel 6.6. https://github.com/NickAlilovic/build/releases/tag/Radxa-cubie-A7S-v0.6.4 0 Quote
Maberikku Posted 2 hours ago Posted 2 hours ago I made some patches so that the unified driver / TIM-VX for the NPU works on the A7Z. I am also building a MLIR pipeline that emit TIM-VX code, so hopefully we can get more flexibility running ML models on the SBC soon. https://github.com/MaverickLong/Radxa-A733-NPU-Unified-Driver-Support-Package 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.