humanus Posted Wednesday at 11:11 PM Posted Wednesday at 11:11 PM (edited) Of course, you can build an A7S image now as well. There's no display output yet. Edited Wednesday at 11:14 PM by humanus Add detail 0 Quote
qq20739111 Posted Thursday at 07:42 PM Posted Thursday at 07:42 PM (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 Thursday at 07:46 PM by qq20739111 0 Quote
xuyitao Posted Friday at 08:07 AM Posted Friday at 08:07 AM 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 Friday at 01:23 PM Posted Friday at 01:23 PM @xuyitao Did your build pass? Can the NPU handle Ollama? 0 Quote
alexc Posted Friday at 11:09 PM Posted Friday at 11:09 PM 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 yesterday at 12:34 AM Posted yesterday at 12:34 AM @qq20739111 The compilation was successful, but ollama was unable to call NPU 0 Quote
alexc Posted 1 hour ago Posted 1 hour ago @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. 0 Quote
Dalibor Pospíšil Posted 25 minutes ago Posted 25 minutes ago (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 24 minutes ago by Dalibor Pospíšil 0 Quote
alexc Posted 17 minutes ago Posted 17 minutes ago (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 10 minutes ago by alexc 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.