Error uno:
arm-hisiv500-linux-gcc: error: unrecognized command line option ‘-m64’
arm-hisiv500-linux-gcc: error: unrecognized command line option ‘-mno-red-zone’
arm-hisiv500-linux-gcc: error: unrecognized command line option ‘-mcmodel=kernel’
arm-hisiv500-linux-gcc: error: unrecognized command line option ‘-mno-sse’
.
.
Solución:
export ARCH=arm
Se puede agregar en la línea nombrada y Makefile
Error dos:
macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
Solución:
agregue el Makefile correspondiente
EXTRA_CFLAGS +=-Wno-date-time
Error tres:
mt7601_v1.12/os/linux/../../common/p2p_cfg.c:8888:8: error: unused variable ‘IsAPConfigured’ [-Werror=unused-variable]
os / linux / config.mk eliminar -Werror
Error 4: Error al
cargar el módulo del kernel mt7601
Error in Alloc Bulk buffer for TxNullContext!
ERROR!!! Failed to allocate memory - TxRxRing
<-- RTMPAllocAdapterBlock, Status=3
La solución es
causada por espacio dma insuficiente, agregue coherent_pool = 2M a los parámetros de inicio
setenv bootargs 'console=ttyAMA0,115200 root=/dev/ram0 rw rootfstype=ext2 initrd=0x82500000,50M **coherent_pool=2M** rootwait mem=356M init=/linuxrc mtdparts=hinand:1M(boot),4M(kernel),80M(ramdisk),110M(app_filesystem),