uboot移植第一阶段relocate中的error总结0

本文档记录了在学习朱老师物联网课程中,将2013.10版UBoot移植到九鼎x210开发板时遇到的问题。主要问题是movi.c中函数未声明,通过分析源码发现宏定义缺失。解决方案是在s5p_goni.h中添加CONFIG_EVT1和CFG_ENV_SIZE的宏定义。
摘要由CSDN通过智能技术生成

一、背景
主要是在学习朱老师物联网课程uboot移植中碰到的问题的解决。
二、工具介绍
使用VMware虚拟机搭建Ubuntu14.04的Linux运行环境。将从uboot官方fip下载的2013.10的uboot移植到九鼎x210开发板。
三、问题及解决方案

  1. 问题描述:

    movi.c: In function 'movi_bl2_copy':
    movi.c:28: error: 'SDMMC_BLK_SIZE' undeclared (first use in this function)
    movi.c:28: error: (Each undeclared identifier is reported only once
    movi.c:28: error: for each function it appears in.)
    movi.c:28: error: 'CFG_ENV_SIZE' undeclared (first use in this function)
    movi.c:29: warning: passing argument 4 of 'copy_bl2' makes pointer from integer without a cast
    movi.c:29: note: expected 'u32 *' but argument is of type 'int'
    movi.c:33: warning: passing argument 4 of 'copy_bl2' makes pointer from integer without a cast
    movi.c:33: note: expected 'u32 *' but argument is of type 'int'
    make[1]: *** [movi.o] Error 1
    make[1]: Leaving directory `/root/porting_x210/uboot_2013_10/u-boot-
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值