milkv-duo / duo-buildroot-sdk

Milk-V Duo Official buildroot SDK
411 stars 174 forks source link

milkv duo usbip issue #122

Open lobovAuto opened 4 months ago

lobovAuto commented 4 months ago

Have a nice day! I ran into a problem when trying to add usbip to an assembly in the kernel. Fist error:

/home/work/linux_5.10/drivers/usb/dwc2/hcd_intr.c:4 error: error expected } before else

There is a solution for this point on https://community.milkv.io/t/compile-error-after-update-kernel-config/1701 But after this I ran into next problem:

/home/work/linux_5.10/drivers/staging/android/ion/ion.c:741:27: error: ‘buffer’ undeclared (first use in this function)
/home/work/linux_5.10/drivers/staging/android/ion/ion_heap.c:25:66: error: ‘struct ion_buffer’ has no member named ‘paddr’;
and etc.

A thread on the forum - https://community.milkv.io/t/adding-a-module-to-an-assembly/2425/2

Please help me. Regards.