Open ghp3000 opened 11 months ago
无修改编译正常.
./board/amlogic/configs/m8b_onecloud.h末尾新增定义:
编译报错: common/libcommon.o:在函数‘abortboot’中: /home/a/u-boot-onecloud/common/main.c:119:对‘get_ticks’未定义的引用 /home/a/u-boot-onecloud/common/main.c:119:对‘get_tbclk’未定义的引用 /home/a/u-boot-onecloud/common/main.c:209:对‘get_ticks’未定义的引用 arm-none-eabi-ld: BFD (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) 2.24.0.20140311 Linaro 2014.03 assertion fail /cbuild/slaves/oorts/crosstool-ng/builds/arm-none-eabi-linux/.build/src/binutils-linaro-2.24.0-2014.03/bfd/elf32-arm.c:7696 arm-none-eabi-ld: BFD (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) 2.24.0.20140311 Linaro 2014.03 assertion fail /cbuild/slaves/oorts/crosstool-ng/builds/arm-none-eabi-linux/.build/src/binutils-linaro-2.24.0-2014.03/bfd/elf32-arm.c:7696 arm-none-eabi-ld: error: required section '.rel.plt' not found in the linker script arm-none-eabi-ld: final link failed: Invalid operation make: *** [Makefile:666:/home/a/u-boot-onecloud/build/u-boot] 错误 1
这可能就得改代码了。这个版本的uboot很多不按原版的编程接口接口写。
无修改编译正常.
./board/amlogic/configs/m8b_onecloud.h末尾新增定义:
define CONFIG_AUTOBOOT_KEYED 1
define CONFIG_AUTOBOOT_PROMPT "Press ESC to abort autoboot in %d seconds" , CONFIG_BOOTDELAY
define CONFIG_AUTOBOOT_DELAY_STR "123456" //密码
define CONFIG_AUTOBOOT_STOP_STR "\x1b" //esc键
编译报错: common/libcommon.o:在函数‘abortboot’中: /home/a/u-boot-onecloud/common/main.c:119:对‘get_ticks’未定义的引用 /home/a/u-boot-onecloud/common/main.c:119:对‘get_tbclk’未定义的引用 /home/a/u-boot-onecloud/common/main.c:209:对‘get_ticks’未定义的引用 arm-none-eabi-ld: BFD (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) 2.24.0.20140311 Linaro 2014.03 assertion fail /cbuild/slaves/oorts/crosstool-ng/builds/arm-none-eabi-linux/.build/src/binutils-linaro-2.24.0-2014.03/bfd/elf32-arm.c:7696 arm-none-eabi-ld: BFD (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) 2.24.0.20140311 Linaro 2014.03 assertion fail /cbuild/slaves/oorts/crosstool-ng/builds/arm-none-eabi-linux/.build/src/binutils-linaro-2.24.0-2014.03/bfd/elf32-arm.c:7696 arm-none-eabi-ld: error: required section '.rel.plt' not found in the linker script arm-none-eabi-ld: final link failed: Invalid operation make: *** [Makefile:666:/home/a/u-boot-onecloud/build/u-boot] 错误 1