编译uboot问题 - AM437x - 嵌入式开发者社区 - 51ele.net
设为首页收藏本站

嵌入式开发者社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 5605|回复: 7
打印 上一主题 下一主题

[已解决] 编译uboot问题

[复制链接]

3

主题

5

帖子

1073

积分

金牌会员

Rank: 6Rank: 6

积分
1073
跳转到指定楼层
楼主
发表于 2018-8-23 11:37:32 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式


这个是为啥,gcc已经有了


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖
回复

使用道具 举报

3

主题

5

帖子

1073

积分

金牌会员

Rank: 6Rank: 6

积分
1073
沙发
 楼主| 发表于 2018-8-24 17:27:33 | 显示全部楼层
梁淑怡-Tronlong 发表于 2018-8-24 10:22
您好,您的交叉编译环境如果已经安装好了,但是还是出现 "arm-linux-gnueabihf-gcc:not found"这一提示,有 ...

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ "$PS1" ]; then
  if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
    # The file bash.bashrc already sets the default PS1.
    # PS1='\h:\w\$ '
    if [ -f /etc/bash.bashrc ]; then
      . /etc/bash.bashrc
    fi
  else
    if [ "`id -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi

# The default umask is now handled by pam_umask.
# See pam_umask(8) and /etc/login.defs.

if [ -d /etc/profile.d ]; then
  for i in /etc/profile.d/*.sh; do
    if [ -r $i ]; then
      . $i
    fi
  done
  unset i
fi

export PATH=$PATH:/media/tl437x/ti-processor-sdk-linux-am437x-evm-01.00.00.03/linux-devkit/sysroots/i686-arago-linux/usr/bin






这是我的profile
回复 支持 反对

使用道具 举报

3

主题

5

帖子

1073

积分

金牌会员

Rank: 6Rank: 6

积分
1073
板凳
 楼主| 发表于 2018-8-29 10:34:06 | 显示全部楼层
我找到问题所在了,解压文件之后更改文件的权限chmod -R 777 /U-boot,
不要处于root用户下编译
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|嵌入式开发者社区 ( 粤ICP备15055271号

GMT+8, 2024-5-4 08:15 , Processed in 0.035638 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2015 Comsenz Inc.

快速回复 返回顶部 返回列表