Port-arm archive

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

Exynos 4412 build failed kernel=ODROID-U3



Hello,
It sounds like Exynos 4412 is bootable and has network support.
(based on comments: http://blog.netbsd.org/tnf/entry/working_arm_multiprocessor_support )

I've fetched the src 7.99.3 this morning. Build successfully the toolchain:
 ===> Summary of results:
  22    build.sh command:    ./build.sh -u -U -m evbarm tools
  23    build.sh started:    Tue Dec 23 11:08:56 UTC 2014
  24    NetBSD version:      7.99.3
  25    MACHINE:             evbarm
  26    MACHINE_ARCH:        earm
  27    Build platform:      NetBSD 6.1.5 amd64
  28    HOST_SH:             /bin/sh
  29    No $TOOLDIR/bin/nbmake, needs building.
  30    Bootstrapping nbmake
  31    MAKECONF file:       /etc/mk.conf (File not found)
  32    TOOLDIR path:        /usr/src/obj/tooldir.NetBSD-6.1.5-amd64
  33    DESTDIR path:        /usr/src/obj/destdir.evbarm
  34    RELEASEDIR path:     /usr/src/obj/releasedir
  35    Created /usr/src/obj/tooldir.NetBSD-6.1.5-amd64/bin/nbmake
36 Updated makewrapper: /usr/src/obj/tooldir.NetBSD-6.1.5-amd64/bin/nbmake-evbarm
  37    Tools built to /usr/src/obj/tooldir.NetBSD-6.1.5-amd64
  38    build.sh ended:      Tue Dec 23 11:15:59 UTC 2014
  39    ===> .

But then it's failing at:
$ ./build.sh -U -u -m evbarm kernel=ODROID-U
[..]
#   compile  ODROID-U/swapnetbsd.o
48 /usr/src/obj/tooldir.NetBSD-6.1.5-amd64/bin/arm--netbsdelf-eabi-gcc -mfloat-abi=soft -ffreestanding -fno-zero-initialized-in-bss -g -O2 -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=/usr/src/obj/destdir.evbarm 49 -DKERNEL_BASES_EQUAL -DKERNEL_BASE_VOFFSET=0 -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -D__HAVE_CPU_COUNTER -D__HAVE_FAST_SOFTINTS -DKERNEL_BASE_EXT=0x80000000 -D__NO_FIQ -DARM_GENERIC_TODR -D__HAVE_MM_MD_DIRECT_MAPPED_PHYS -DDIAGNOSTIC -DDEBUG -DMAXUSERS=32 -D_KERNEL - D_KERNEL_OPT -std=gnu99 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string 50 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string -c swapnetbsd.c
  51 #   compile  ODROID-U/odroid_start.o
52 /usr/src/obj/tooldir.NetBSD-6.1.5-amd64/bin/arm--netbsdelf-eabi-gcc -x assembler-with-cpp -D_LOCORE -Wa,--fatal-warnings --sysroot=/usr/src/obj/destdir.evbarm -DKERNEL_BASES_EQUAL -DKERNEL_BASE_VOFFSET=0 -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -D__HAVE_CPU_COUNTER - D__HAVE_FAST_SOFTINTS -DKERNEL_BASE_EXT=0x80000000 -D__NO_FIQ -DARM_GENERIC_TODR -D__HAVE_MM_MD_DIRECT_MAPPED_PHYS -DDIAGNOSTIC -DDEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -std=gnu99 53 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string -c /usr/src/sys/arch/evbarm/odroid/odroid_start.S
  54 /usr/src/sys/arch/evbarm/odroid/odroid_start.S: Assembler messages:
55 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:84: Error: selected processor does not support ARM mode `cpsid if,#0x00000013' 56 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:92: Error: selected processor does not support ARM mode `movw r4,#:lower16:uboot_args' 57 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:93: Error: selected processor does not support ARM mode `movt r4,#:upper16:uboot_args' 58 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:105: Error: selected processor does not support ARM mode `movw r4,#:lower16:bootargs' 59 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:106: Error: selected processor does not support ARM mode `movt r4,#:upper16:bootargs' 60 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:143: Error: selected processor does not support ARM mode `movw r4,#:lower16:uboot_enaddr' 61 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:144: Error: selected processor does not support ARM mode `movt r4,#:upper16:uboot_enaddr' 62 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:166: Error: selected processor does not support ARM mode `movw r4,#:lower16:exynos_soc_id' 63 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:167: Error: selected processor does not support ARM mode `movt r4,#:upper16:exynos_soc_id' 64 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:175: Error: selected processor does not support ARM mode `movw r4,#:lower16:exynos_pop_id' 65 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:176: Error: selected processor does not support ARM mode `movt r4,#:upper16:exynos_pop_id' 66 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:215: Error: selected processor does not support ARM mode `movw r0,#:lower16:(-2147483648-0+128*0x100000-16384)' 67 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:216: Error: selected processor does not support ARM mode `movt r0,#:upper16:(-2147483648-0+128*0x100000-16384)' 68 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:227: Error: selected processor does not support ARM mode `movw lr,#:lower16:1f' 69 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:228: Error: selected processor does not support ARM mode `movt lr,#:upper16:1f' 70 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:229: Error: selected processor does not support ARM mode `movw r0,#:lower16:(-2147483648-0+128*0x100000-16384)' 71 /usr/src/sys/arch/evbarm/odroid/odroid_start.S:230: Error: selected processor does not support ARM mode `movt r0,#:upper16:(-2147483648-0+128*0x100000-16384)' 72 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:100: Error: selected processor does not support ARM mode `ubfx n_sec,va,#0,#20' 73 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:165: Error: selected processor does not support ARM mode `movw r1,#(0x00000004|0x00001000)' 74 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:184: Error: selected processor does not support ARM mode `dsb' 75 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:229: Error: selected processor does not support ARM mode `movw r3,#:lower16:(0x00000001|0|0x00000004|0x00000400|0x00000800|0x00001000|0|0x00400000)' 76 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:231: Error: selected processor does not support ARM mode `movt r3,#:upper16:(0x00000001|0|0x00000004|0x00000400|0x00000800|0x00001000|0|0x00400000)' 77 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:240: Error: selected processor does not support ARM mode `pli 1f' 78 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:241: Error: selected processor does not support ARM mode `dsb' 79 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:332: Error: selected processor does not support ARM mode `cpsid if,#0x00000013' 80 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:381: Error: selected processor does not support ARM mode `dsb' 81 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:382: Error: selected processor does not support ARM mode `isb' 82 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:403: Error: selected processor does not support ARM mode `ubfx r1,r1,#30,#2' 83 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:414: Error: selected processor does not support ARM mode `isb' 84 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:432: Error: selected processor does not support ARM mode `dsb' 85 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:433: Error: selected processor does not support ARM mode `isb' 86 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:470: Error: selected processor does not support ARM mode `isb' 87 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:471: Error: selected processor does not support ARM mode `dsb' 88 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:481: Error: selected processor does not support ARM mode `isb' 89 /usr/src/sys/arch/arm/cortex/a9_mpsubr.S:514: Error: selected processor does not support ARM mode `wfi'
  90
  91 *** Failed target:  odroid_start.o
92 *** Failed command: echo '# ' "compile ODROID-U/odroid_start.o" && echo /usr/src/obj/tooldir.NetBSD-6.1.5-amd64/bin/arm--netbsdelf-eabi-gcc -x assembler-with-cpp -D_LOCORE -Wa,--fatal-warnings --sysroot=/usr/src/obj/destdir.evbarm -DKERNEL_BASES_EQUAL -DKERNEL_BASE_VOFFSET=0 -I. -I/usr/src/sys/../common/ include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -D__HAVE_CPU_COUNTER -D__HAVE_FAST_SOFTINTS -DKERNEL_BASE_EXT="0x80000000" -D__NO_FIQ -DARM_GENERIC_TODR 93 -D__HAVE_MM_MD_DIRECT_MAPPED_PHYS -DDIAGNOSTIC -DDEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string -c /usr/src/sys/arch/ evbarm/odroid/odroid_start.S && /usr/src/obj/tooldir.NetBSD-6.1.5-amd64/bin/arm--netbsdelf-eabi-gcc -x assembler-with-cpp -D_LOCORE -Wa,--fatal-warnings 94 --sysroot=/usr/src/obj/destdir.evbarm -DKERNEL_BASES_EQUAL -DKERNEL_BASE_VOFFSET=0 -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -D__HAVE_CPU_COUNTER -D__HAVE_FAST_SOFTINTS -DKERNEL_BASE_EXT="0x80000000" -D__NO_FIQ -DARM_GENERIC_TODR -D__HAVE_MM_MD_DIRECT_MAPPED_PHYS - DDIAGNOSTIC -DDEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string 95 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string -c /usr/src/sys/arch/evbarm/odroid/odroid_start.S
  96 *** Error code 1
  97
  98 Stop.
  99 nbmake: stopped in /usr/obj/sys/arch/evbarm/compile/ODROID-U
 100
101 ERROR: Failed to make all in "/usr/src/sys/arch/evbarm/compile/obj/ODROID-U"
 102 *** BUILD ABORTED ***


Anyone has an idea to make progress? Or a quick howto to build something bootable for the odroid in case I would be on the wrong path.
Thanks.




Home | Main Index | Thread Index | Old Index