Closed elockman closed 1 year ago
I like that this driver appears to still be active, and that it says it supports MESH.
I would like to build this for the atmel sama5d2-xplained board. More info here.
root@sama5d2-xplained:/# uname -a Linux sama5d2-xplained 5.15.68-linux4microchip-2022.10 #1 Wed Nov 9 12:48:42 UTC 2022 armv7l armv7l armv7l GNU/Linux
I am running into the following error: fatal error: asm/bitsperlong.h: No such file or directory
I have an asm-generic folder, but not an asm folder.
root@sama5d2-xplained:/usr/test/rtl8188eus# make clean #make -C /lib/modules/5.15.68-linux4microchip-2022.10/build M=/usr/test/rtl8188eus clean cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko cd core ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~ rm -fr .tmp_versions root@sama5d2-xplained:/usr/test/rtl8188eus# make make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- -C /lib/modules/5.15.68-linux4microchip-2022.10/build M=/usr/test/rtl8188eus modules make[1]: Entering directory '/lib/modules/5.15.68-linux4microchip-2022.10/build' CC [M] /usr/test/rtl8188eus/core/rtw_cmd.o In file included from ./include/asm-generic/int-ll64.h:11, from ./arch/arm/include/uapi/asm/types.h:5, from ./include/uapi/linux/types.h:5, from ./include/linux/types.h:6, from /usr/test/rtl8188eus/include/basic_types.h:75, from /usr/test/rtl8188eus/include/drv_types.h:25, from /usr/test/rtl8188eus/core/rtw_cmd.c:17: ./include/uapi/asm-generic/int-ll64.h:12:10: fatal error: asm/bitsperlong.h: No such file or directory 12 | #include <asm/bitsperlong.h> | ^~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:289: /usr/test/rtl8188eus/core/rtw_cmd.o] Error 1 make[1]: *** [Makefile:1898: /usr/test/rtl8188eus] Error 2 make[1]: Leaving directory '/lib/modules/5.15.68-linux4microchip-2022.10/build' make: *** [Makefile:2065: modules] Error 2 root@sama5d2-xplained:/usr/test/rtl8188eus# ls $KSRC | grep asm asm-generic root@sama5d2-xplained:/usr/test/rtl8188eus#
As shown above, ARCH=arm and CROSS_COMPILE=arm-poky-linux-gnueabi- also, $KSRC is set
root@sama5d2-xplained:/usr/test/rtl8188eus# echo $KSRC /usr/src/kernel/include
I tried to copy the folder over, but get new errors:
root@sama5d2-xplained:/usr/test/rtl8188eus# cp -r $KSRC/asm-generic/ $KSRC/asm/ root@sama5d2-xplained:/usr/test/rtl8188eus# ls $KSRC/asm Kbuild export.h memory_model.h serial.h asm-offsets.h extable.h mm_hooks.h set_memory.h asm-prototypes.h fb.h mmiowb.h shmparam.h atomic.h fixmap.h mmiowb_types.h signal.h atomic64.h flat.h mmu.h simd.h audit_change_attr.h ftrace.h mmu_context.h softirq_stack.h audit_dir_write.h futex.h module.h spinlock.h audit_read.h getorder.h module.lds.h statfs.h audit_signal.h gpio.h mshyperv.h string.h audit_write.h hardirq.h msi.h switch_to.h barrier.h hugetlb.h nommu_context.h syscall.h bitops hw_irq.h numa.h syscalls.h bitops.h hyperv-tlfs.h page.h termios-base.h bitsperlong.h ide_iops.h param.h termios.h bug.h int-ll64.h parport.h timex.h bugs.h io.h pci.h tlb.h cache.h ioctl.h pci_iomap.h tlbflush.h cacheflush.h iomap.h percpu.h topology.h checksum.h irq.h pgalloc.h trace_clock.h cmpxchg-local.h irq_regs.h pgtable-nop4d.h uaccess.h cmpxchg.h irq_work.h pgtable-nopmd.h unaligned.h compat.h irqflags.h pgtable-nopud.h user.h current.h kdebug.h pgtable_uffd.h vdso delay.h kmap_size.h preempt.h vermagic.h device.h kprobes.h qrwlock.h vga.h div64.h kvm_para.h qrwlock_types.h vmlinux.lds.h dma-mapping.h kvm_types.h qspinlock.h vtime.h dma.h linkage.h qspinlock_types.h word-at-a-time.h early_ioremap.h local.h resource.h xor.h emergency-restart.h local64.h rwonce.h error-injection.h logic_io.h seccomp.h exec.h mcs_spinlock.h sections.h root@sama5d2-xplained:/usr/test/rtl8188eus# make make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- -C /lib/modules/5.15.68-linux4microchip-2022.10/build M=/usr/test/rtl8188eus modules make[1]: Entering directory '/lib/modules/5.15.68-linux4microchip-2022.10/build' CC [M] /usr/test/rtl8188eus/core/rtw_cmd.o In file included from ./include/linux/errno.h:5, from ./include/linux/string.h:8, from ./include/linux/bitmap.h:10, from ./include/linux/cpumask.h:12, from ./include/linux/mm_types_task.h:14, from ./include/linux/mm_types.h:5, from ./include/linux/buildid.h:5, from ./include/linux/module.h:14, from /usr/test/rtl8188eus/include/basic_types.h:76, from /usr/test/rtl8188eus/include/drv_types.h:25, from /usr/test/rtl8188eus/core/rtw_cmd.c:17: ./include/uapi/linux/errno.h:1:10: fatal error: asm/errno.h: No such file or directory 1 | #include <asm/errno.h> | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:289: /usr/test/rtl8188eus/core/rtw_cmd.o] Error 1 make[1]: *** [Makefile:1898: /usr/test/rtl8188eus] Error 2 make[1]: Leaving directory '/lib/modules/5.15.68-linux4microchip-2022.10/build' make: *** [Makefile:2065: modules] Error 2 root@sama5d2-xplained:/usr/test/rtl8188eus#
Do you have any special instructions to install on 5.15.X Linux arm7? Thanks in advance.
This was placed in the wrong repo. It was meant for rtl8188eus.
I like that this driver appears to still be active, and that it says it supports MESH.
I would like to build this for the atmel sama5d2-xplained board. More info here.
I am running into the following error: fatal error: asm/bitsperlong.h: No such file or directory
I have an asm-generic folder, but not an asm folder.
As shown above, ARCH=arm and CROSS_COMPILE=arm-poky-linux-gnueabi- also, $KSRC is set
I tried to copy the folder over, but get new errors:
Do you have any special instructions to install on 5.15.X Linux arm7? Thanks in advance.