[U-Boot] U-boot for Banana Pi

TooMeeK Admin maps at toomeek.waw.pl
Sat Aug 23 02:25:19 CEST 2014


W dniu 2014-08-21 22:31, Ian Campbell pisze:
> Support for BananaPi is currently available in the u-boot-arm.git 
> tree. Ian. 

Thank You.
I've downloaded u-boot-arm.git tree yesterday.

Started config menu as for usual kernel:
root at freebsd:/usr/src/u-boot-arm # gmake -j4 ARCH=arm 
CROSS_COMPILE=arm-eabi- HOSTCC=cc USE_PRIVATE_LIBGCC=yes menuconfig

Then selected:
- ARM architecture
- Target select: support sun7i
Not selected:
- SPL (due compilation errors, see below)

Compilation:
root at freebsd:/usr/src/u-boot-arm # gmake -j4 ARCH=arm 
CROSS_COMPILE=arm-eabi- HOSTCC=cc USE_PRIVATE_LIBGCC=yes

ERRORS:
1. with SPL enabled:
   HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file "spl/.config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
gmake[2]: *** [silentoldconfig] Error 1
'gmake -f /usr/src/u-boot-arm/scripts/Makefile.build obj=scripts/kconfig 
silentoldconfig SRCARCH=.. KCONFIG_OBJDIR=spl 
KCONFIG_CONFIG=spl/.config' Failed
gmake[1]: *** [silentoldconfig] Error 1
gmake: *** No rule to make target `include/config/auto.conf', needed by 
`include/config/uboot.release'.  Stop.


2. without SPL:
scripts/kconfig/conf --silentoldconfig Kconfig
   CHK     include/config.h
   GEN     include/autoconf.mk
   GEN     include/autoconf.mk.dep
   CHK     include/config/uboot.release
   CHK     include/generated/timestamp_autogenerated.h
   UPD     include/generated/timestamp_autogenerated.h
   CHK     include/generated/version_autogenerated.h
   CC      lib/asm-offsets.s
   CC      arch/arm/lib/asm-offsets.s
   GEN     include/generated/generic-asm-offsets.h
   GEN     include/generated/asm-offsets.h
   LDS     u-boot.lds
   HOSTCC  tools/dumpimage.o
   HOSTCC  tools/image-host.o
   HOSTCC  tools/mkenvimage.o
   HOSTCC  tools/mkimage.o
   HOSTLD  tools/mkenvimage
   HOSTLD  tools/dumpimage
   HOSTLD  tools/mkimage
scripts/Makefile.build:55: /usr/src/u-boot-arm/board/amd/sunxi/Makefile: 
No such file or directory
gmake[1]: *** No rule to make target 
`/usr/src/u-boot-arm/board/amd/sunxi/Makefile'.  Stop.
gmake: *** [board/amd/sunxi] Error 2
gmake: *** Waiting for unfinished jobs....
   CC      arch/arm/cpu/armv7/cache_v7.o
   CC      arch/arm/cpu/armv7/cpu.o
   CC      arch/arm/cpu/armv7/sunxi/timer.o
   AS      arch/arm/lib/crt0.o
   CC      arch/arm/cpu/armv7/syslib.o
   CC      arch/arm/lib/bootm-fdt.o
   CC      arch/arm/cpu/armv7/sunxi/board.o
   AS      arch/arm/cpu/armv7/lowlevel_init.o
   AS      arch/arm/cpu/armv7/nonsec_virt.o
   CC      arch/arm/lib/bootm.o
   CC      arch/arm/cpu/armv7/virt-v7.o
   CC      arch/arm/cpu/armv7/virt-dt.o
   CC      arch/arm/cpu/armv7/sunxi/clock.o
   AS      arch/arm/cpu/armv7/psci.o
   CC      arch/arm/cpu/armv7/sunxi/pinmux.o
   AS      arch/arm/cpu/armv7/start.o
   LD      arch/arm/cpu/armv7/built-in.o
   CC      arch/arm/lib/interrupts.o
   CC      arch/arm/cpu/armv7/sunxi/clock_sun4i.o
   CC      arch/arm/cpu/armv7/sunxi/cpu_info.o
   AS      arch/arm/cpu/armv7/sunxi/psci.o
   CC      arch/arm/lib/reset.o
   LD      arch/arm/cpu/armv7/sunxi/built-in.o
   CC      arch/arm/lib/cache.o
   CC      arch/arm/lib/cache-cp15.o
   CC      arch/arm/lib/eabi_compat.o
   LD      arch/arm/lib/built-in.o

Maybe not this way??

Cheers,
TooMeeK


More information about the U-Boot mailing list