View Single Post
Old 08-24-2017, 09:37 PM   #14
alberio
Junior Member
alberio began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2016
Device: kindle 7
Quote:
Originally Posted by knc1 View Post
If they "did not work", then you can be certain that you did something wrong in how you tried to use them.
ig@raspberrypi:~/Downloads/uboot_2009.08-5.4.0_2061450050$ make imx60_wario_confi
Configuring for imx60_wario board... TYPE=prod make -j4
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
for dir in tools examples/standalone examples/api ; do make -C $dir _depend ; done
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/tools'
make[1]: Nothing to be done for '_depend'.
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/tools'
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/examples/standalone'
make[1]: Nothing to be done for '_depend'.
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/examples/standalone'
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/examples/api'
make[1]: Nothing to be done for '_depend'.
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/examples/api'
make -C tools all
make -C examples/standalone all
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/tools'
make -C examples/api all
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/examples/standalone'
make -C cpu/arm_cortexa8 start.o
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/examples/api'
gcc -g -Wall -idirafter /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -idirafter /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include2 -idirafter /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -I /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/libfdt -I /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/tools -DTEXT_BASE=0x00980000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o mkimage.o /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/tools/mkimage.c
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o hello_world.o hello_world.c -c
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/cpu/arm_cortexa8'
In file included from /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/tools/mkimage.c:26:0:
/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include/image.h:524:12: warning: inline function ‘fit_parse_subimage’ declared but never defined inline int fit_parse_subimage (const char *spec, ulong addr_curr, ^~~~~~~~~~~~~~~~~~
/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include/image.h:522:12: warning: inline function ‘fit_parse_conf’ declared but never defined inline int fit_parse_conf (const char *spec, ulong addr_curr, ^~~~~~~~~~~~~~
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/examples/api'
make -C /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/board//imx60_wario/ u-boot.lds
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o stubs.o stubs.c -c
gcc -D__ASSEMBLY__ -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -o start.o start.S -c
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/board/imx60_wario'
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/cpu/arm_cortexa8'
gcc -g -Wall -idirafter /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -idirafter /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include2 -idirafter /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -I /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/libfdt -I /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/tools -DTEXT_BASE=0x00980000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o image.o /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/common/image.c
ar crv libstubs.a stubs.o
r - stubs.o
ld -g -Ttext 0xc100000 \ -o hello_world -e hello_world hello_world.o libstubs.a \ -L/usr/lib/gcc/arm-linux-gnueabihf/6 -lgcc
make[1]: Nothing to be done for 'u-boot.lds'.
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/board/imx60_wario'
In file included from /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/common/image.c:78:0:
/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include/image.h:524:12: warning: inline function ‘fit_parse_subimage’ declared but never defined inline int fit_parse_subimage (const char *spec, ulong addr_curr, ^~~~~~~~~~~~~~~~~~
/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include/image.h:522:12: warning: inline function ‘fit_parse_conf’ declared but never defined inline int fit_parse_conf (const char *spec, ulong addr_curr, ^~~~~~~~~~~~~~
objcopy -O srec hello_world hello_world.srec 2>/dev/null
objcopy -O binary hello_world hello_world.bin 2>/dev/null
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/examples/standalone'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -idirafter /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include2 -idirafter /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -I /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/libfdt -I /home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/tools -DTEXT_BASE=0x00980000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -o mkimage mkimage.o crc32.o image.o md5.o sha1.o fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_wip.o os_support.o
strip mkimage
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/tools'
make -C lib_generic/
make -C lib_generic/lzma/
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/lib_generic'
make -C lib_generic/lzo/
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/lib_generic/lzma'
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o crc32.o crc32.c -c
make -C cpu/arm_cortexa8/
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/lib_generic/lzo'
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/cpu/arm_cortexa8'
ar crv liblzma.a
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o display_options.o display_options.c -c
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/lib_generic/lzma'
make -C cpu/arm_cortexa8/mx6/
ar crv liblzo.a
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o cpu.o cpu.c -c
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/lib_generic/lzo'
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o lmb.o lmb.c -c
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/cpu/arm_cortexa8/mx6'
make -C lib_arm/
ar crv libarm_cortexa8.a cpu.o
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/lib_arm'
r - cpu.o
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/cpu/arm_cortexa8'
make -C fs/cramfs/
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o interrupts.o interrupts.c -c
make[1]: Entering directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/fs/cramfs'
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o sha1.o sha1.c -c
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o generic.o generic.c -c
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o board.o board.c -c
sha1.c:389:19: warning: ‘_sha1_src’ defined but not used [-Wunused-const-variable=] static const char _sha1_src[] = "_sha1_src"; ^~~~~~~~~
ar crv libcramfs.a
board.c:151:6: error: ‘coloured_LED_init’ aliased to external symbol ‘__coloured_LED_init’ void coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init"))); ^~~~~~~~~~~~~~~~~
board.c:167:6: error: ‘blue_LED_off’ aliased to external symbol ‘__blue_LED_off’ void blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off"))); ^~~~~~~~~~~~
board.c:165:6: error: ‘blue_LED_on’ aliased to external symbol ‘__blue_LED_on’ void blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on"))); ^~~~~~~~~~~
board.c:163:6: error: ‘yellow_LED_off’ aliased to external symbol ‘__yellow_LED_off’ void yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off"))); ^~~~~~~~~~~~~~
board.c:161:6: error: ‘yellow_LED_on’ aliased to external symbol ‘__yellow_LED_on’ void yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on"))); ^~~~~~~~~~~~~
board.c:159:6: error: ‘green_LED_off’ aliased to external symbol ‘__green_LED_off’ void green_LED_off(void)__attribute__((weak, alias("__green_LED_off"))); ^~~~~~~~~~~~~
board.c:157:6: error: ‘green_LED_on’ aliased to external symbol ‘__green_LED_on’ void green_LED_on(void) __attribute__((weak, alias("__green_LED_on"))); ^~~~~~~~~~~~
board.c:155:6: error: ‘red_LED_off’ aliased to external symbol ‘__red_LED_off’ void red_LED_off(void) __attribute__((weak, alias("__red_LED_off"))); ^~~~~~~~~~~
board.c:153:6: error: ‘red_LED_on’ aliased to external symbol ‘__red_LED_on’ void red_LED_on (void) __attribute__((weak, alias("__red_LED_on"))); ^~~~~~~~~~
/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/config.mk:218: recipe for target 'board.o' failed
make[1]: *** [board.o] Error 1
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/lib_arm'
Makefile:351: recipe for target 'lib_arm/libarm.a' failed
make: *** [lib_arm/libarm.a] Error 2
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o iomux-v3.o iomux-v3.c -c
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/fs/cramfs'
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o strmhz.o strmhz.c -c
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o timer.o timer.c -c
gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x00980000 -I/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/6/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector -o vsprintf.o vsprintf.c -c
ar crv libmx6.a interrupts.o generic.o iomux-v3.o timer.o
r - interrupts.o
r - generic.o
r - iomux-v3.o
r - timer.o
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/cpu/arm_cortexa8/mx6'
ar crv libgeneric.a crc16.o crc32.o ctype.o display_options.o div64.o lmb.o ldiv.o sha1.o string.o strmhz.o vsprintf.o
r - crc16.o
r - crc32.o
r - ctype.o
r - display_options.o
r - div64.o
r - lmb.o
r - ldiv.o
r - sha1.o
r - string.o
r - strmhz.o
r - vsprintf.o
make[1]: Leaving directory '/home/pi/Downloads/uboot_2009.08-5.4.0_2061450050/lib_generic'
pi@raspberrypi:~/Downloads/uboot_2009.08-5.4.0_2061450050$
alberio is offline   Reply With Quote