U-boot移植 error: #error Processor type not defined for this platform

g418813811 2017-05-06 02:57:35
make myp1020rdb_config之后出现了下面的问题, 一直解决不了 ,求各为帮助
Generating include/autoconf.mk
In file included from /home/gch/u-boot-2013.10/include/asm/config.h:11,
from /home/gch/u-boot-2013.10/include/config.h:10,
from include/common.h:21:
/home/gch/u-boot-2013.10/include/asm/config_mpc85xx.h:684:2: error: #error Processor type not defined for this platform
/home/gch/u-boot-2013.10/include/asm/config_mpc85xx.h:688:2: error: #error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform."
Generating include/autoconf.mk.dep
In file included from /home/gch/u-boot-2013.10/include/asm/config.h:11,
from /home/gch/u-boot-2013.10/include/config.h:10,
from include/common.h:21:
/home/gch/u-boot-2013.10/include/asm/config_mpc85xx.h:684:2: error: #error Processor type not defined for this platform
/home/gch/u-boot-2013.10/include/asm/config_mpc85xx.h:688:2: error: #error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform."
Configuring for myp1020rdb board...



这是我board.cfg修改的
Active powerpc mpc85xx - freescale myp1020rdb MYP1020RDB myp1020rdb:MYP1020RDB -
Active powerpc mpc85xx - freescale myp1020rdb MYP1020RDB_36BIT myp1020rdb:MYP1020RDB,32BIT -
Active powerpc mpc85xx - freescale myp1020rdb MYP1020RDB_36BIT_NAND myp1020rdb:MYP1020RDB,32BIT,NAND -
Active powerpc mpc85xx - freescale myp1020rdb MYP1020RDB_36BIT_SDCARD myp1020rdb:MYP1020RDB,32BIT,SDCARD -
Active powerpc mpc85xx - freescale myp1020rdb MYP1020RDB_36BIT_SPIFLASH myp1020rdb:MYP1020RDB,32BIT,SPIFLASH -
Active powerpc mpc85xx - freescale myp1020rdb MYP1020RDB_NAND myp1020rdb:MYP1020RDB,NAND -
Active powerpc mpc85xx - freescale myp1020rdb MYP1020RDB_SDCARD myp1020rdb:MYP1020RDB,SDCARD -
Active powerpc mpc85xx - freescale myp1020rdb MYP1020RDB_SPIFLASH myp1020rdb:MYP1020RDB,SPIFLASH
...全文
536 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
jklinux 2017-05-06
  • 打赏
  • 举报
回复
make xxx_config 这步应有指定架构 , SOC, 方案等的。 xxx_config应是"方案名字_config"。 楼主可以查看下 boards.cfg的前面几十行,有说明的. 我估计有可有是名字搞错了, 有可能应是" make MYP1020RDB_config". 不管是哪个名字,在 uboot源码目录下的include/configs/目录里都应有一个一样名字的头文件的。
uid123 2017-05-06
  • 打赏
  • 举报
回复
没有选定CPU的类型啊,是不是选的CPU的类型不对应啊,编译内核的时候是不是就可以选择CPU类型啊。?

1,319

社区成员

发帖
与我相关
我的任务
社区描述
主要是开发驱动技术
社区管理员
  • 驱动程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧