Firefly开源社区

打印 上一主题 下一主题

[Linux] RK3568+openwrt+docker 编译系统出错

39

积分

0

威望

0

贡献

技术小白

积分
39

RK3568+openwrt+docker 编译系统出错

发表于 2023-3-8 16:53:39      浏览:5255 | 回复:7        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: https://github.com/FireflyTeam/lede
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容:
  • Log日志: log.txt
问题描述及复现步骤:
https://github.com/FireflyTeam/lede 这个版本可以安装docker吗?有编译好的镜像没有?
不更换源安装dockerd 无此包,下载dockerd ipk 安装缺少依赖库,怎么解决?
更换源后在安装dockerd的时候出现内核版本?
root@OpenWrt:/mnt/mmcblk0p5# opkg install dockerd_20.10.22-1_aarch64_generic.ipk
Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libgcc1 and libgcc1) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Installing dockerd (20.10.22-1) to root...
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-crypto-hash
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-crypto-crc32c
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-lib-crc32c
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-crc32c found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-crypto-acompress
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-lib-lzo
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-lib-zlib-inflate
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-lib-zlib-deflate
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-lib-raid6
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-raid6 found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-lib-xor
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-xor found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-lib-zstd
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-zstd found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-fs-btrfs
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-fs-btrfs found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-reject
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-ipt
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-log
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-log found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-ipt-core
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nfnetlink
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-reject6
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-conntrack
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-conntrack6
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-nat
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-log6
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-log6 found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nft-core
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-core found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nft-compat
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-compat found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-ipt-extra
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-ipt6
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-ip6tables
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-nat6
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-nat6 found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-ipt-conntrack
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-ipt-nat
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-ipt-nat6
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-nat6 found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-br-netfilter
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-br-netfilter found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-ipt-physdev
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-physdev found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-ipvs
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-ipvs found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-veth
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-veth found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nft-fib
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-fib found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nf-flow
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nft-nat
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-nat found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b) for kmod-nft-offload
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-nft-offload found, but incompatible with the architectures configured
* satisfy_dependencies_for: Cannot satisfy the following dependencies for dockerd:
*         kernel (= 5.15.98-1-755b8b2aaadec7e2c22d05356b77bb8b)
* opkg_install_cmd: Cannot install package dockerd.

log.txt

324 Bytes, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

2122

积分

20

威望

24

贡献

中级创客

Rank: 4

积分
2122
发表于 2023-3-8 17:11:49        只看该作者  沙发
本帖最后由 Liuth 于 2023-3-8 17:17 编辑

https://wiki.t-firefly.com/zh_CN ... tml#openwrt-shou-ce
这里面有编译好的固件的下载地址
能不能装docker好像没有验证过,你可以试试
回复

使用道具 举报

39

积分

0

威望

0

贡献

技术小白

积分
39
发表于 2023-3-9 10:26:22        只看该作者  板凳
dockerd 还是安装不上
root@OpenWrt:/mnt/mmcblk0p5# opkg install dockerd_20.10.22-1_aarch64_generic.ipk
Unknown package 'dockerd'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kmod-nft-core for nftables-json
* pkg_hash_fetch_best_installation_candidate: Packages for nftables-json found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kmod-nft-core for firewall4
* pkg_hash_check_unresolved: cannot find dependency kmod-nft-fib for firewall4
* pkg_hash_check_unresolved: cannot find dependency kmod-nft-offload for firewall4
* pkg_hash_check_unresolved: cannot find dependency kmod-nft-nat for firewall4
* pkg_hash_check_unresolved: cannot find dependency libiptext0 for firewall
* pkg_hash_check_unresolved: cannot find dependency libiptext6-0 for firewall
* pkg_hash_check_unresolved: cannot find dependency ip6tables for dockerd
* pkg_hash_check_unresolved: cannot find dependency kmod-ipt-nat6 for dockerd
* pkg_hash_check_unresolved: cannot find dependency kmod-ipt-physdev for dockerd
* pkg_hash_check_unresolved: cannot find dependency kmod-nf-ipvs for dockerd
* pkg_hash_check_unresolved: cannot find dependency kmod-veth for dockerd
* pkg_hash_fetch_best_installation_candidate: Packages for dockerd found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package dockerd.
回复

使用道具 举报

39

积分

0

威望

0

贡献

技术小白

积分
39
发表于 2023-3-9 10:30:11        只看该作者  地板
Liuth 发表于 2023-3-8 17:11
https://wiki.t-firefly.com/zh_CN ... tml#openwrt-shou-ce
这里面有编译好的固件的下载地址
能不能装do ...

dockerd 还是不能安装,你看看这些依赖怎么解决啊?

root@OpenWrt:/mnt/mmcblk0p5# opkg install dockerd_20.10.22-1_aarch64_generic.ipk
Unknown package 'dockerd'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kmod-nft-core for nftables-json
* pkg_hash_fetch_best_installation_candidate: Packages for nftables-json found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency kmod-nft-core for firewall4
* pkg_hash_check_unresolved: cannot find dependency kmod-nft-fib for firewall4
* pkg_hash_check_unresolved: cannot find dependency kmod-nft-offload for firewall4
* pkg_hash_check_unresolved: cannot find dependency kmod-nft-nat for firewall4
* pkg_hash_check_unresolved: cannot find dependency libiptext0 for firewall
* pkg_hash_check_unresolved: cannot find dependency libiptext6-0 for firewall
* pkg_hash_check_unresolved: cannot find dependency ip6tables for dockerd
* pkg_hash_check_unresolved: cannot find dependency kmod-ipt-nat6 for dockerd
* pkg_hash_check_unresolved: cannot find dependency kmod-ipt-physdev for dockerd
* pkg_hash_check_unresolved: cannot find dependency kmod-nf-ipvs for dockerd
* pkg_hash_check_unresolved: cannot find dependency kmod-veth for dockerd
* pkg_hash_fetch_best_installation_candidate: Packages for dockerd found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package dockerd.


回复

使用道具 举报

39

积分

0

威望

0

贡献

技术小白

积分
39
发表于 2023-3-15 09:59:41        只看该作者  5#
在系统编译配置时选中docker,dockerd 编译即可,需要外网环境,不然很难通过。
回复

使用道具 举报

696

积分

0

威望

0

贡献

技术大神

Rank: 3Rank: 3

积分
696
发表于 2023-3-15 11:32:57        只看该作者  6#
依赖内核的包,只能编译安装进去,内核版本不同
回复

使用道具 举报

45

积分

0

威望

0

贡献

技术小白

积分
45
发表于 2023-7-3 09:24:22        只看该作者  7#
docker-compose没有一次能编过,没用外网
回复

使用道具 举报

14

积分

0

威望

0

贡献

技术小白

积分
14
发表于 2023-11-7 10:39:24        只看该作者  8#
openwrt 的波特率可以修改吗,我尝试修改rk3568-station-p2.dts文件波特率无效
chosen: chosen {
                stdout-path = "serial2:115200n8";
        };
回复

使用道具 举报

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

本版积分规则

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