Firefly开源社区

标题: aio-rk3399j编译问题 [打印本页]

作者: fxy880512    时间: 2020-9-24 15:10
标题: aio-rk3399j编译问题
第一个问题:更新./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")


安装这个命令出错




作者: 895816513    时间: 2020-9-27 14:59
看来linux基础有待提高:
1.需要学学git版本管理,这里你需要设置git用户

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

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

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




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1