RK3568+openwrt+docker 编译系统出错

固件类型:自行编译的固件
SDK包名称:https://github.com/FireflyTeam/lede
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.

tchip_askquestions
log.txt (324 Bytes)

本帖最后由 Liuth 于 2023-3-8 17:17 编辑

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

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.

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.

在系统编译配置时选中docker,dockerd 编译即可,需要外网环境,不然很难通过。

依赖内核的包,只能编译安装进去,内核版本不同

docker-compose没有一次能编过,没用外网

openwrt 的波特率可以修改吗,我尝试修改rk3568-station-p2.dts文件波特率无效
chosen: chosen {
stdout-path = “serial2:115200n8”;
};