Firefly开源社区

打印 上一主题 下一主题

[Linux] 配置环境时提示sudo: upgrade_tool: command not found

55

积分

0

威望

0

贡献

技术小白

积分
55
发表于 2019-3-13 18:42:43      楼主
1. https://forum.ubuntu.org.cn/viewtopic.php?t=462532
Execute the following command:
  ldd upgrade_tool
  cd /usr/local/bin/
  ls
  ldd upgrade_tool
  readelf -l upgrade_tool | grep ld-linux
  locate ld-linux.so.2
  ldd upgrade_tool
  locate ld-linux
  apt-get install libstdc++6:i386
  updatedb
  locate ld-linux.so.2
  ldd upgrade_tool

2. https://askubuntu.com/questions/ ... n-permission-denied
Execute the following command:
  chmod +x /usr/local/bin/upgrade_tool

3. The following is workable.
sudo upgrade_tool ul rk3308_loader_v1.24.108.bin && \
sudo upgrade_tool di -p parameter.txt && \
sudo upgrade_tool di -uboot uboot.img && \
sudo upgrade_tool di -trust trust.img && \
sudo upgrade_tool di -boot zboot.img && \
sudo upgrade_tool di -rootfs ubuntu1604.img && \
sudo upgrade_tool rd
回复

使用道具 举报

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

本版积分规则

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