Firefly开源社区

打印 上一主题 下一主题

[Linux] aio-rk3399j编译问题

43

积分

0

威望

0

贡献

技术小白

积分
43

aio-rk3399j编译问题

发表于 2020-9-24 15:10:57      浏览:3882 | 回复:1        打印      只看该作者   [复制链接] 楼主
第一个问题:更新./bundle/update common-linux-bundle
git rebase FETCH_HEAD
报错了:
报错信息:fxy@ubuntu:~/work/firefly-sdk$ git rebase FETCH_HEAD
First, rewinding head to replay your work on top of it...

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'fxy@ubuntu.(none)')

第二个问题:

默认配置编译 Buildroot 固件,如果想编译其他固件(如 Ubuntu 固件)请执行一下操作:

#解压tar -xvf rk3399_ubuntu18.04_LXDE.img.tgz

我去相关的目录里面没有找到这个img文件,有人知道在哪里不?
地址是https://pan.baidu.com/s/1eJlQpoJlJaXqBQKo1gC92w#list/path=%2F

第三个问题:
sudo apt-get install gcc-4.8-multilib-arm-linux-gnueabihf
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package gcc-4.8-multilib-arm-linux-gnueabihf
E: Couldn't find any package by glob 'gcc-4.8-multilib-arm-linux-gnueabihf'
E: Couldn't find any package by regex 'gcc-4.8-multilib-arm-linux-gnueabihf'
更新了阿里源 163源 等也是找不到这个文件命令 用这个替代了

在其他网站看见用gcc-4.8-multilib-arm-linux-gnueabihf可以代替 不知道是否正确

第四个问题:第一次编译用build.sh全部编译报错
Rename the file? [N|y]Make update.img
start to make update.img...
dumpe2fs 1.44.1 (24-Mar-2018)
dumpe2fs: No such file or directory while trying to open /home/fxy/work/firefly-sdk/rockdev/rootfs.img
./mkupdate.sh: line 36: >>9: syntax error: operand expected (error token is ">>9")


安装这个命令出错



回复

使用道具 举报

899

积分

0

威望

6

贡献

技术大神

Rank: 8Rank: 8

积分
899
发表于 2020-9-27 14:59:11        只看该作者  沙发
看来linux基础有待提高:
1.需要学学git版本管理,这里你需要设置git用户

2.固件名称只是示例作用,你下几个较新日期的img就行了,旧的可能有问题所以删掉。

3.gcc-4.8-multilib-arm-linux-gnueabihf,这个可以忽略,因为sdk里面自带本地的编译器

4.firefly-sdk/rockdev/rootfs.img 软连接你编译出来的buildroot
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表