接下来执行一下 ./mk -u 看看是不是直接就完事了。
但是直接报错:
wu@ubuntu:~/x4418-kitkat$ ./mk -u
CLEAN examples/standalone
CLEAN tools
CLEAN tools/lib tools/common
CLEAN u-boot.lds include/autoconf.mk include/autoconf.mk.dep
CLEAN u-boot u-boot.bin u-boot.map u-boot.srec System.map
CLEAN scripts/basic
CLEAN include/config include/generated
CLEAN include/config.h include/config.mk
Configuring for x4418 board...
GEN include/autoconf.mk.dep
GEN include/autoconf.mk
In file included from /home/wu/x4418-kitkat/u-boot-2014.07/arch/arm/include/asm/arch-s5p4418/platform.h:27:0,
from include/configs/x4418.h:33,
from include/config.h:10,
from /home/wu/x4418-kitkat/u-boot-2014.07/include/common.h:18:
/home/wu/x4418-kitkat/u-boot-2014.07/arch/arm/include/asm/arch-s5p4418/s5p4418.h:255:23: fatal error: nx_clkpwr.h: No such file or directory
compilation terminated.
In file included from /home/wu/x4418-kitkat/u-boot-2014.07/arch/arm/include/asm/arch-s5p4418/platform.h:27:0,
from include/configs/x4418.h:33,
from include/config.h:10,
from /home/wu/x4418-kitkat/u-boot-2014.07/include/common.h:18:
/home/wu/x4418-kitkat/u-boot-2014.07/arch/arm/include/asm/arch-s5p4418/s5p4418.h:255:23: fatal error: nx_clkpwr.h: No such file or directory
compilation terminated.
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
HOSTCC scripts/basic/fixdep
UPD include/config/uboot.release
CHK include/generated/version_autogenerated.h
UPD include/generated/version_autogenerated.h
CC lib/asm-offsets.s
CC arch/arm/lib/asm-offsets.s
In file included from /home/wu/x4418-kitkat/u-boot-2014.07/arch/arm/include/asm/arch-s5p4418/platform.h:27:0,
from include/configs/x4418.h:33,
from include/config.h:10,
from include/common.h:18,
from lib/asm-offsets.c:15:
/home/wu/x4418-kitkat/u-boot-2014.07/arch/arm/include/asm/arch-s5p4418/s5p4418.h:255:23: fatal error: nx_clkpwr.h: No such file or directory
compilation terminated.
In file included from /home/wu/x4418-kitkat/u-boot-2014.07/arch/arm/include/asm/arch-s5p4418/platform.h:27:0,
from include/configs/x4418.h:33,
from include/config.h:10,
from include/common.h:18,
from arch/arm/lib/asm-offsets.c:15:
/home/wu/x4418-kitkat/u-boot-2014.07/arch/arm/include/asm/arch-s5p4418/s5p4418.h:255:23: fatal error: nx_clkpwr.h: No such file or directory
compilation terminated.
make[1]: *** [lib/asm-offsets.s] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [arch/arm/lib/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
wu@ubuntu:~/x4418-kitkat$
发现在原来的uboot源码下~/x4418-kitkat/linux/bootloader/u-boot-2014.07/arch/arm/cpu/slsiap/s5p4418$
有个链接prototype对应到:~/x4418-kitkat/linux/prototype/s5p4418$路径