Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cortex-A9 boot problems with d-cache on Zynq



Nick Hudson wrote:
> ...
> Can I convince you guys to work on FDTizing the ZYNQ7000 stuff? :)

Please tell me what I need to do. I added

options         FDT
options         ARM_INTR_IMPL="<arch/arm/fdt/fdt_intr.h>"

but now the kernel doesn't compile.

-- 
Alex

#   compile  ZYBO/ioconf.o
/home/alnsn/netbsd-current/tooldir.earmv7/bin/armv7--netbsdelf-eabi-gcc -mfloat-abi=soft -ffreestanding -fno-zero-initialized-in-bss -fno-delete-null-pointer-checks -g -O2 -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -msoft-float -fno-strict-aliasing -fno-common -std=gnu99 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wno-sign-compare --sysroot=/home/alnsn/netbsd-current/destdir.earmv7 -mcpu=cortex-a9 -mfpu=neon -DKERNEL_BASE_VOFFSET=(0x80100000-0x00100000) -I. -I/home/alnsn/netbsd-current/clean/src/sys/external/bsd/libnv/dist -I/home/alnsn/netbsd-current/clean/src/sys/../common/lib/libx86emu -I/home/alnsn/netbsd-current/clean/src/sys/../common/lib/libc/misc -I/home/alnsn/netbsd-current/clean/src/sys/../common/include -I/home/alnsn/netbsd-current/clean/src/sys/arch -I/home/alnsn/netbsd-current/clean/src/sys -nostdinc -DCOMPAT_UTILS -DARM_GENERIC_TODR -DCORTEX_PMC_CCNT_HZ=666666666 -DMD_CPU_HATCH=a9tmr_init_cpu_clock -D__HAVE_CPU_COUNTER -D__HAVE_CPU_UAREA_ALLOC_IDLELWP -D__HAVE_FAST_SOFTINTS -D__HAVE_MM_MD_DIRECT_MAPPED_PHYS -DCOMPAT_44 -DDIAGNOSTIC -DZYNQ7010 -DCONSDEVNAME="zynquart" -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/home/alnsn/netbsd-current/clean/src/sys/lib/libkern/../../../common/lib/libc/quad -I/home/alnsn/netbsd-current/clean/src/sys/lib/libkern/../../../common/lib/libc/string -I/home/alnsn/netbsd-current/clean/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string -D_FORTIFY_SOURCE=2 -I/home/alnsn/netbsd-current/clean/src/sys/../../../include -I/home/alnsn/netbsd-current/clean/src/sys/external/bsd/libfdt/dist -I/home/alnsn/netbsd-current/clean/src/sys/external/bsd/libnv/dist -c ioconf.c -o ioconf.o
--- init_sysent.o ---
/home/alnsn/netbsd-current/tooldir.earmv7/bin/nbctfconvert -g -L VERSION -g init_sysent.o
--- ip6_forward.o ---
--- ioconf.o ---
ioconf.c:154:33: error: 'fdtcf_iattrdata' defined but not used [-Werror=unused-const-variable=]
 static const struct cfiattrdata fdtcf_iattrdata = {
                                 ^~~~~~~~~~~~~~~


Home | Main Index | Thread Index | Old Index