Hello Guys,
Two things . First and more important : Peter can you please add Lamobo_R1 to the new uboot-tools . We finally have the R1 patches in the uboot git courtesy of Jelle de Jong . Second : I had a shot at compiling the above mentioned src rpm and had a crash and burn on the compilation . When compiling the bits for A20-OLinuXino_MICRO board at this spot :
make -f /home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/scripts/Makefile.build obj=drivers/power make -f /home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/scripts/Makefile.build obj=drivers/pwm rm -f drivers/pwm/built-in.o; ar rcs drivers/pwm/built-in.o make -f /home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/scripts/Makefile.build obj=drivers/rtc gcc -Wp,-MD,common/.cmd_itest.o.d -nostdinc -isystem /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.9.2/include -Iinclude -I/home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/include -I/home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/arch/arm/include -include /home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/include/linux/kconfig.h -I/home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/common -Icommon -D__KERNEL__ -D__UBOOT__ -DCONFIG_SYS_TEXT_BASE=0x4a000000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(cmd_itest)" -D"KBUILD_MODNAME=KBUILD_STR(cmd_itest)" -c -o common/cmd_itest.o /home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/common/cmd_itest.c gcc -Wp,-MD,drivers/power/.axp209.o.d -nostdinc -isystem /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.9.2/include -Iinclude -I/home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/include -I/home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/arch/arm/include -include /home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/include/linux/kconfig.h -I/home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/drivers/power -Idrivers/power -D__KERNEL__ -D__UBOOT__ -DCONFIG_SYS_TEXT_BASE=0x4a000000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(axp209)" -D"KBUILD_MODNAME=KBUILD_STR(axp209)" -c -o drivers/power/axp209.o /home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/drivers/power/axp209.c fixdep: error opening config file: gcc -Wp,-MD,drivers/rtc/.date.o.d -nostdinc -isystem /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.9.2/include -Iinclude -I/home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/include -I/home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/arch/arm/include -include /home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/include/linux/kconfig.h -I/home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/drivers/rtc -Idrivers/rtc -D__KERNEL__ -D__UBOOT__ -DCONFIG_SYS_TEXT_BASE=0x4a000000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(date)" -D"KBUILD_MODNAME=KBUILD_STR(date)" -c -o drivers/rtc/date.o /home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/drivers/rtc/date.c ELF: No such file or directory /home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/scripts/Makefile.build:277: recipe for target 'drivers/power/axp209.o' failed make[2]: *** [drivers/power/axp209.o] Error 2 /home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/Makefile:1211: recipe for target 'drivers/power' failed make[1]: *** [drivers/power] Error 2
followed by:
make[1]: Leaving directory '/home/user/rpmbuild/BUILD/u-boot-2016.01-rc2/builds/A20-OLinuXino_MICRO' Makefile:150: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.2WDt4M (%build)
The only way to get passed this for me was to remove the board out of the board list .
Best Regards
Milorad