标签:
先解决上篇的错误 make一下
/home/share/uboot/u-boot-2012.10/include/config.h:10: fatal error: configs/x210v3.h: No such file or directory compilation terminated. make: *** [lib/asm-offsets.s] 错误 1
root@crazyrain:/home/share/uboot/u-boot-2012.10# cp include/configs/s5p_goni.h include/configs/x210v3.h
make: *** board/samsung/x210v3/: 没有那个文件或目录。 停止。 make: *** [board/samsung/x210v3/libx210v3.o] 错误 2
root@crazyrain:/home/share/uboot/u-boot-2012.10# cp -r board/samsung/goni board/samsung/x210v3
arm-linux-ld -r -o libx210v3.o lowlevel_init.o goni.o onenand.o
root@crazyrain:/home/share/uboot/u-boot-2012.10# vim board/samsung/x210v3/Makefile
COBJS-y := goni.o onenand.o 修改为 COBJS-y := x210v3.o onenand.o重新make
make[1]: 正在进入目录 `/home/share/uboot/u-boot-2012.10/board/samsung/x210v3' make[1]: *** 没有规则可以创建“libx210v3.o”需要的目标“.depend”。 停止。 make[1]:正在离开目录 `/home/share/uboot/u-boot-2012.10/board/samsung/x210v3' make: *** [board/samsung/x210v3/libx210v3.o] 错误 2
root@crazyrain:/home/share/uboot/u-boot-2012.10# mv board/samsung/x210v3/goni.c board/samsung/x210v3/x210v3.c
arch/arm/cpu/armv7/s5p-common/libs5p-common.o: In function `timer_init': /home/share/uboot/u-boot-2012.10/arch/arm/cpu/armv7/s5p-common/timer.c:45: undefined reference to `pwm_init'
make distclean make x210v3_config make
下一步就是修改代码 在板子上跑起来了
x210v3开发板u-boot-2012.10移植之四---完善开发板配置,建立x210v3_config配置
标签:
原文地址:http://blog.csdn.net/u010346967/article/details/46448543