Coder Social home page Coder Social logo

openwrt_packit's Introduction

这是 Flippy 的 Openwrt 打包源码,主要用于制作基于arm64 soc的一系列电视盒及开发板可用的openwrt固件,例如:Phicomm N1(amlogic s905d)、贝壳云(rockchip rk3328)、我家云(rockchip rk3328)、微加云(allwinner H6)、Amlogic S905x3、Amlogic s912、Amlogic S922x、FastRhino R66S/R68S(RK3568)、Radxa E25(RK3568)、Hlink H28K(RK3528)、Hlink H66K/H68K/H69K(RK3568)、Hlink H88K(RK3588),Radxa rock5b(RK3588)、ZCube1-Max(RK3399)、JRadxa CM3-RPI-CM4-IO(RK3566)、JP-TVbox(RK3566)等,除了原生固件以外,也支持 ARM64 Docker openwrt、ARM64 QEMU KVM openwrt等多种形式的固件,基本可满足所有arm64机型的需求了。

一、制作材料:

  1. Flippy预编译好的 Arm64 内核 (在 https://t.me/openwrt_flippyhttps://pan.baidu.com/s/1tY_-l-Se2qGJ0eKl7FZBuQ 提取码:846l)
  2. 自己编译的 openwrt rootfs tar.gz 包: openwrt-armvirt-64-default-rootfs.tar.gz , openwrt的源码仓库首选 (https://github.com/coolsnowwolf/lede) ,当然也可以采用其它第三方源,例如 (https://github.com/Lienol/openwrt) , 也可以采用 openwrt 官方源: (https://github.com/openwrt/openwrt)。

二、环境准备

  1. 需要一台 linux 主机, 可以是 x86或arm64架构,可以是物理机或虚拟机(但不支持win10自带的linux环境),需要具备root权限, 并且具备以下基本命令(只列出命令名,不列出命令所在的包名,因不同linux发行版的软件包名、软件包安装命令各有不同,请自己查询): losetup、lsblk(版本>=2.33)、blkid、uuidgen、fdisk、parted、mkfs.vfat、mkfs.ext4、mkfs.btrfs (列表不一定完整,打包过程中若发生错误,请自行检查输出结果并添加缺失的命令)

  2. 需要把 Flippy预编译好的 Arm64 内核上传至 /opt/kernel目录(目录需要自己创建)

  3. cd /opt
    git clone https://github.com/unifreq/openwrt_packit

  4. 把编译好的 openwrt-armvirt-64-default-rootfs.tar.gz 上传至 /opt/openwrt_packit目录中

  5. cd /opt/openwrt_packit

    ./mk_xxx.sh # xxx指代你想要生成的固件类别,例如: ./mk_s905d_n1.sh 表示生成 Phicomm N1所用的固件

    生成好的固件是 .img 格式, 存放在 /opt/openwrt_packit/output 目录中,下载刷机即可

    提示:工作临时目录是 /opt/openwrt_packit/tmp, 为了提升IO性能,减少硬盘损耗,可以采用tmpfs文件系统挂载到该目录,最多会占用 1GB 内存, 挂载方法如下:

    # 开机自动挂载
    echo "none /opt/openwrt_packit/tmp  tmpfs   defaults   0  0" >> /etc/fstab
    mount /opt/openwrt_packit/tmp
    

    或者

    # 手动挂载
    mount -t tmpfs  none /opt/openwrt_packit/tmp
    

    相关的在线升级脚本在 files/目录下

    相关的 openwrt 示例配置文件在 files/openwrt_config_demo/目录下

  6. openwrt rootfs 编译注意事项:

    Target System  ->  QEMU ARM Virtual Machine 
    Subtarget ->  QEMU ARMv8 Virtual Machine (cortex-a53)
    Target Profile  ->  Default
    Target Images  ->   tar.gz
    *** 必选软件包(基础依赖包,仅保证打出的包可以写入EMMC,可以在EMMC上在线升级,不包含具体的应用): 
    Languages -> Perl               
                 ->  perl-http-date
                 ->  perlbase-file
                 ->  perlbase-getopt
                 ->  perlbase-time
                 ->  perlbase-unicode                              
                 ->  perlbase-utf8        
    Utilities -> Disc -> blkid、fdisk、lsblk、parted            
              -> Filesystem -> attr、btrfs-progs(Build with zstd support)、chattr、dosfstools、
                               e2fsprogs、f2fs-tools、f2fsck、lsattr、mkf2fs、xfs-fsck、xfs-mkfs
              -> Compression -> bsdtar 或 p7zip(非官方源)、pigz
              -> Shells  ->  bash         
              -> gawk、getopt、losetup、tar、uuidgen
              -> acpid (可选, 用于 kvm 虚拟机固件)
    
     * (可选)Wifi基础包:
     *     打出的包可支持博通SDIO无线模块,Firmware不用选,
     *     因为打包源码中已经包含了来自Armbian的firmware,
     *     会自动覆盖openwrt rootfs中已有的firmware
     Kernel modules  ->   Wireless Drivers -> kmod-brcmfmac(SDIO) 
                                           -> kmod-brcmutil
                                           -> kmod-cfg80211
                                           -> kmod-mac80211
     Network  ->  WirelessAPD -> hostapd-common
                              -> wpa-cli
                              -> wpad-basic
              ->  iw
              
     * 光影猫(Photonicat) 依赖包:
         *  (必选, required,如果不选的话开机一分钟内会自动关机,与硬件内置的看门狗有关)
         Utilities -> pcat-manager
    
         * 可选,optional, 如果不选的话,官方个性化主页无效
         Languages -> Python -> Python3-flask
                                Python3-flask-httpauth
                                Python3-flask-login
                                Python3-flask-seasurf
                                Python3-flask-session
                                Python3-flask-socketio
                                Python3-passlib
                                Python3-pyserial
                                Python3-sqlite3
                                Python3-xml
                                Python3-requests
    
     * DM路由监视器依赖包: https://hiwbb.com/2021/10/openwrt-netdata-show-temperature/
         *  (必选, required)
         Applications -> luci-app-netdata
    
         * 二选一:建议首先python方式
         Languages -> Python -> Python3-logging
                                Python3-ctypes
                                Python3-yaml
         Utilities -> lm-sensors
    
         * 或者(OR)   
         Utilities -> coreutils -> coreutils-timeout
    

    除上述必选项以外的软件包可以按需自主选择。

  7. OpenWrt 在 KVM 虚拟机中的使用说明:

对于性能过剩的盒子,可以先安装 Armbian 系统,再安装 KVM 虚拟机实现多系统使用。其中 OpenWrt 系统的编译可以使用本仓库的 mk_qemu-aarch64_img.sh 脚本进行制作,其安装与使用说明详见 qemu-aarch64-readme.md 文档,更多系统如 Debian、Ubuntu、OpenSUSE、ArchLinux、Centos、Gentoo、KyLin、UOS 等可在相关网站查阅安装与使用说明。

三、其它相关信息请参见我在恩山论坛的贴子:

https://www.right.com.cn/forum/thread-981406-1-1.html

https://www.right.com.cn/forum/thread-4055451-1-1.html

https://www.right.com.cn/forum/thread-4076037-1-1.html

四、TG群友打包的固件地址

暴躁老哥: https://github.com/breakings/OpenWrt

有一妙计: https://github.com/HoldOnBro/Actions-OpenWrt/

诸葛先生: https://github.com/hibuddies/openwrt/

那坨: https://github.com/Netflixxp/N1HK1dabao

五、Github Actions 打包使用方法 actions 源码来自 https://github.com/ophub (smith1998),主脚本为 openwrt_flippy.sh

.github/workflows/*.yml 云编译脚本中引入此 Actions 即可使用。详细使用说明:README.ACTION.md

- name: Package Armvirt as OpenWrt
  uses: unifreq/openwrt_packit@master
  env:
    OPENWRT_ARMVIRT: openwrt/bin/targets/*/*/*.tar.gz
    PACKAGE_SOC: s905d_s905x3_beikeyun
    KERNEL_VERSION_NAME: 5.13.2_5.4.132

六、采用 luci-app-amlogic 在线升级

luci-app-amlogic 源码来自 https://github.com/ophub/luci-app-amlogic (smith1998), 可以集成到openwrt固件中,并与本打包源码紧密结合,可实现在线升级内核和在线升级完整固件。

openwrt_packit's People

Contributors

binge8 avatar codesnas avatar hex-ci avatar kiddin9 avatar livelier avatar ophub avatar puteulanus avatar saxon-sun avatar tsingui avatar unifreq avatar zhezhic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrt_packit's Issues

how to disable fuction:coremark.sh sysinfo.sh

rm -f /.snapshots/etc-000/coremark.sh
coremark.sh: Read-only file system

df /.snapshots/etc-000/coremark.sh
can't find mount point

日志里一堆
can't open '/sys/class/thermal/thermal_zone0/temp': No such file or directory
daemon.err uhttpd[2612]: awk: cmd. line:1: Unexpected end of string
daemon.err uhttpd[2612]: cat: can'topen'/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq':
另外个人不需要天天跑分,看频率。希望加一个开关选项

整个打包只能在action里进行吗

我准备加打包,目前编译好的 rootfs 有了,但是打包想在本地尝试,但是看了下脚本里面貌似缺变量的声明和读取,我在容器里执行根的openwrt_flippy.sh报错下面的,看样子只能action 上打包吗

openwrt_flippy.sh: line 300: $GITHUB_ENV: ambiguous redirect

请问大佬知道这个是因为什么嘛?

执行脚本的时候,提示这个信息:
patching file usr/lib/lua/luci/view/admin_status/index.htm
Reversed (or previously applied) patch detected! Assume -R? [n] -f
Apply anyway? [n] y
Hunk #1 FAILED at 17.
Hunk #2 succeeded at 44 (offset 1 line).
Hunk #3 FAILED at 62.
Hunk #4 succeeded at 690 with fuzz 2 (offset 5 lines).
Hunk #5 FAILED at 752.
3 out of 5 hunks FAILED -- saving rejects to file usr/lib/lua/luci/view/admin_status/index.htm.rej
patching file etc/init.d/turboacc
patching file usr/lib/lua/luci/model/cbi/turboacc.lua
[+] Building 14.2s (5/5) FINISHED

本人环境,是做的玩客云的,没有完全按照大佬写的配置来,之前好好的,我改过主页的index.htm,但是也回退了,重新编译以后,还是提示这个。现在不知道哪里出的问题,烦请大佬帮忙看看。

关于打包后AdGuardHome

我在编译之前就把 AdGuardHome 放在 files/下了,然后安装到emcc后开机没发现有adh的文件

hk1 的 usb 3.0 插着网卡启动导致网卡无法使用

hk1 box 刷 68+o、70+o、71+ 都遇到了这个问题,其他版本没来得及测了

只要 USB 3.0 的口子插着 USB 有线网卡启动,有相当高的几率启动之后网卡无法使用,情况主要分两类:

  1. lsusb 命令卡死,能看到 USB 网卡的句柄,echo > unbind 卡死,重拔插网卡无效
    日志:
Tue Apr 19 14:40:24 2022 kern.info kernel: [   24.648887] usb 2-1: new SuperSpeed USB device number 9 using xhci-hcd
Tue Apr 19 14:40:24 2022 kern.info kernel: [   24.666526] usb 2-1: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
Tue Apr 19 14:40:24 2022 kern.info kernel: [   24.671005] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
Tue Apr 19 14:40:24 2022 kern.info kernel: [   24.678119] usb 2-1: Product: USB 10/100/1000 LAN
Tue Apr 19 14:40:24 2022 kern.info kernel: [   24.682663] usb 2-1: Manufacturer: Realtek
Tue Apr 19 14:40:24 2022 kern.info kernel: [   24.686756] usb 2-1: SerialNumber: 000001
Tue Apr 19 14:40:24 2022 kern.info kernel: [   24.891685] usb 2-1: reset SuperSpeed USB device number 9 using xhci-hcd
Tue Apr 19 14:40:24 2022 kern.info kernel: [   24.952499] r8152 2-1:1.0: load rtl8153a-4 v2 02/07/20 successfully
Tue Apr 19 14:40:24 2022 kern.info kernel: [   24.983336] r8152 2-1:1.0 eth1: v1.12.12
Tue Apr 19 14:40:24 2022 cron.err crond[7153]: crond (busybox 1.35.0) started, log level 5
Tue Apr 19 14:40:25 2022 daemon.notice netifd: Interface 'WAN' is enabled
Tue Apr 19 14:40:25 2022 kern.warn kernel: [   25.907956] r8152 2-1:1.0 eth1: intr_urb submit failed: -19
  1. 反复 reset 直到失败,重拔插网卡后可以识别并使用
    日志:
Tue Apr 19 14:42:55 2022 kern.info kernel: [   55.982386] usb 2-1: reset SuperSpeed USB device number 13 using xhci-hcd
Tue Apr 19 14:42:56 2022 kern.info kernel: [   56.789064] usb 2-1: reset SuperSpeed USB device number 13 using xhci-hcd
Tue Apr 19 14:42:56 2022 kern.err kernel: [   56.808147] usb 2-1: device descriptor read/8, error -71
Tue Apr 19 14:42:56 2022 kern.info kernel: [   56.915544] usb 2-1: reset SuperSpeed USB device number 13 using xhci-hcd
Tue Apr 19 14:42:57 2022 user.notice nlbwmon: Reloading nlbwmon due to ifup of loopback (lo)
Tue Apr 19 14:42:57 2022 kern.info kernel: [   57.355579] usb 2-1: USB disconnect, device number 13
Tue Apr 19 14:42:57 2022 kern.warn kernel: [   57.545609] usb 2-1: Device not responding to setup address.
Tue Apr 19 14:42:57 2022 kern.warn kernel: [   57.755565] usb 2-1: Device not responding to setup address.
Tue Apr 19 14:42:57 2022 kern.err kernel: [   57.962210] usb 2-1: device not accepting address 14, error -71
Tue Apr 19 14:42:58 2022 kern.warn kernel: [   58.152279] usb 2-1: Device not responding to setup address.
Tue Apr 19 14:42:58 2022 kern.warn kernel: [   58.358948] usb 2-1: Device not responding to setup address.
Tue Apr 19 14:42:58 2022 kern.err kernel: [   58.568939] usb 2-1: device not accepting address 15, error -71
Tue Apr 19 14:42:58 2022 kern.info kernel: [   58.570949] usb usb2-port1: attempt power cycle
Tue Apr 19 14:42:59 2022 kern.warn kernel: [   59.958894] usb 2-1: Device not responding to setup address.
Tue Apr 19 14:43:00 2022 kern.warn kernel: [   60.165563] usb 2-1: Device not responding to setup address.
Tue Apr 19 14:43:00 2022 kern.err kernel: [   60.372178] usb 2-1: device not accepting address 16, error -71
Tue Apr 19 14:43:00 2022 kern.warn kernel: [   60.772293] usb 2-1: Device not responding to setup address.
Tue Apr 19 14:43:00 2022 kern.warn kernel: [   60.982259] usb 2-1: Device not responding to setup address.
Tue Apr 19 14:43:01 2022 kern.err kernel: [   61.188864] usb 2-1: device not accepting address 17, error -71
Tue Apr 19 14:43:01 2022 kern.err kernel: [   61.190765] usb usb2-port1: unable to enumerate USB device

目前只能在每次重启的时候先拔下 USB 网卡,重启之后再插回去。
插在 USB 2.0 口子上重启了两三次试了下,好像 2.0 的口没有这个问题。

请问这个是已知问题吗,有什么解决办法吗(换网卡,换某一版本的系统,延时启动的 usb hub?)

meson-sm1-skyworth-lb2004-a4091内核启动失败

该机器分别尝试了k5.4.220、k5.15.78和k6.0.8三个内核打包OP镜像启动均失败,
其中,k5.4.220、k5.15.78启动均卡厂商LOGO,
k6.0.8启动有部分启动信息,但是执行至加载内核时闪黑屏后不再显示“本地连接”状态显示未识别的网络状态!
附上k6.0.8内核OP镜像启动信息!
20221117_003249

大佬 编译打包后刷机总是提示失败

P10823-174620
P10823-174513
大佬 n1按照说明里把必选的都选上后用u盘刷或者用在线升级一直都是提示这些错误
我试了您网盘里的n1直刷包没问题 说明一定是我的问题 但是试来试去就是搞不定 大佬您帮我看看我的问题出在哪里啊

N1打包后无法显示CPU架构和CPU状态,openwrt rootfs 编译注意事项里的已全部选上,貌似还少了某个组件

openwrt rootfs 编译注意事项里提示的已全部选上。N1打包后无法显示CPU架构和CPU状态

以下是SSH登录信息
PLATFORM: amlogic SOC: s905d BOARD: n1

Can't locate XSLoader.pm in @inc (you may need to install the XSLoader module) (@inc contains: /usr/lib/perl5/5.28) at /usr/lib/perl5/5.28/Time/HiRes.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.28/Time/HiRes.pm line 7.
Compilation failed in require at /usr/bin/cpustat line 4.
BEGIN failed--compilation aborted at /usr/bin/cpustat line 4.
Can't locate XSLoader.pm in @inc (you may need to install the XSLoader module) (@inc contains: /usr/lib/perl5/5.28) at /usr/lib/perl5/5.28/Time/HiRes.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.28/Time/HiRes.pm line 7.
Compilation failed in require at /usr/bin/cpustat line 4.
BEGIN failed--compilation aborted at /usr/bin/cpustat line 4.
Can't locate XSLoader.pm in @inc (you may need to install the XSLoader module) (@inc contains: /usr/lib/perl5/5.28) at /usr/lib/perl5/5.28/Time/HiRes.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.28/Time/HiRes.pm line 7.
Compilation failed in require at /usr/bin/cpustat line 4.
BEGIN failed--compilation aborted at /usr/bin/cpustat line 4.
设备信息: Phicomm N1
CPU 型号:
运行时间:
环境温度: 47.0 °C Can't locate XSLoader.pm in @inc (you may need to install the XSLoader module) (@inc contains: /usr/lib/perl5/5.28) at /usr/lib/perl5/5.28/Time/HiRes.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.28/Time/HiRes.pm line 7.
Compilation failed in require at /usr/bin/cpustat line 4.
BEGIN failed--compilation aborted at /usr/bin/cpustat line 4.
当前频率:
内存已用: 9% of 1809MB IP 地址: 192.168.1.1
启动存储: 17% of 511.0M 系统存储: 20% of 960.0M

打包固件挂载出错

debian10 依赖全部安装。

提示:挂载 /dev/loop0p2 --> /opt/openwrt_packit/tmp/tmp.yToEbYXcWO/tgt_root ... mount: /opt/openwrt_packit/tmp/tmp.yToEbYXcWO/tgt_root: wrong fs type, bad option, bad superblock on /dev/loop0p2, missing codepage or helper program, or other error.
失败!

there are troubles with my openwrt of KVM

1.can not use the : init 6

init 6
[ 285.500875] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 285.509311] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 285.519788] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 289.737337] mount_root: mounting /dev/root
[ 289.824292] BTRFS info (device vda2): using free space tree
[ 289.826631] mount_root: loading kmods from internal overlay
[ 290.107316] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 290.116314] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 290.134722] block: attempting to load /etc/config/fstab
[ 290.138443] block: extroot: unable to determine root device
[ 290.142098] urandom-seed: Seeding with /etc/urandom.seed
Scanning for Btrfs filesystems
[ 290.258213] procd: Failed to add object: Invalid argument

then,i waited for a long time.Nothing happened.
The system gets stuck here.
reboot works well,init 6 works worse

2.there is someting in the log all the time

daemon.err uhttpd: cat: can't open '/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq': No such file or directory
daemon.err uhttpd: expr: syntax error
daemon.err uhttpd: cat: can't open '/sys/class/thermal/thermal_zone0/temp': No such file or directory
daemon.err uhttpd: awk: cmd. line:1: Unexpected end of string

i saw these messeages almost 1000 times.

i try : rm /usr/bin/cpustat.....

代码重复?

为什么qemu-aarch64.env里有两个irq?另外,我是门外汉.....

20201212 add

BAL_CONFIG="${WORK_HOME}/files/qemu-aarch64/balance_irq"

20220801 add

BALANCE_IRQ_HOME="${WORK_HOME}/files/qemu-aarch64/balance-irq"

建议打包脚本更改文件名

打包脚本建议更改文件名例如:mk_s905d_n1.sh更名为mk_n1_s905d.sh,这样把型号放前面方便用tab键快速定位补齐文件名

非常感谢大佬给我们小白使用的docker image

一直用的您的docker镜像,版本20.5.20, 非常稳定。s905l的u。
前几天看到有个20.10.20版本,试用了一下,(后面更新的21+的没兴趣了),有些新功能,也蛮稳定。不过新版本似乎对在armbian里面设置的cpu节能方式有影响。又退回到老版本不准备更新了。
不管怎样还是要谢谢大佬的无私奉献。

gtking pro自动重启后获取不到ip

gtking pro当主路由,已经设置lan 强制使用此网络上的 DHCP,局域网设备通过无线AP访问主路由。
内核版本:5.17.9-flippy-73+

通过内置定时重启功能 设置了定时重启。
定时自动重启后 下级AP中局域网设备获取不到IP,无法访问路由器。
断电重启后 局域网可以获取到IP。

How to flash the new u-boot version to a microsd card?

ophub@ has pointed me here. Sorry if so. It's originally from this link

I have compiled files of new u-boot for the device as Amlogic s905x3 (make x96max-plus_defconfig) and
from
https://github.com/unifreq/amlogic-boot-fip
https://github.com/unifreq/u-boot

-rw-r--r-- 1 1000 1000 1588080 Aug 21 16:31 u-boot.bin
-rw-r--r-- 1 1000 1000 1588592 Aug 21 16:31 u-boot.bin.sd.bin
-rw-r--r-- 1 1000 1000   65536 Aug 21 16:31 u-boot.bin.usb.bl2
-rw-r--r-- 1 1000 1000 1522544 Aug 21 16:31 u-boot.bin.usb.tpl

and cannot flash u-boot.bin.sd.bin to the microsd card. Tried so

    $ DEV=/dev/your_sd_device
    $ dd if=u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=512 skip=1 seek=1
    $ dd if=u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=1 count=444

Still the same old version of u-boot. I certainly do something wrong. Where does the bootloader sit actually?

WSL2打包报错,以前的打包源码没问题

挂载 /dev/loop2p1 --> /home/yy/arm-box/tmp/tmp.CI5qr4GteC/tgt_boot ... 成功
挂载 /dev/loop2p2 --> /home/yy/arm-box/tmp/tmp.CI5qr4GteC/tgt_root ... 成功
创建 /etc 子卷 ...
Create subvolume '/home/yy/arm-box/tmp/tmp.CI5qr4GteC/tgt_root/etc'
释放 Openwrt rootfs 压缩包 ... 完成
裁减 Rootfs 中用不到的文件 ... 完成
重新链接 kmod 程序 ... 完成
释放 Armbian firmware 压缩包 ... 完成
复制 Added firmware 文件 ... 完成
优化 firmware ... 完成
释放 Kernel modules 压缩包 ... 完成
复制硬件机型数据库 ...
'/home/yy/arm-box/files/amlogic_model_database.txt' -> '/home/yy/arm-box/tmp/tmp.CI5qr4GteC/tgt_root/etc/model_database.txt'
完成
释放 Kernel zImage、uInitrd 及 dtbs 压缩包 ... cp: cannot create regular file './aml_autoscript.cmd:Zone.Identifier': Invalid argument
cp: cannot create regular file './boot.cmd:Zone.Identifier': Invalid argument
cp: cannot create regular file './boot-emmc.cmd:Zone.Identifier': Invalid argument
cp: cannot create regular file './boot-emmc.scr:Zone.Identifier': Invalid argument
cp: cannot create regular file './boot.scr:Zone.Identifier': Invalid argument
cp: cannot create regular file './emmc_autoscript.cmd:Zone.Identifier': Invalid argument
cp: cannot create regular file './s905_autoscript.cmd:Zone.Identifier': Invalid argument

失败!

请求添加创维小湃盒子p3 pro支持

感谢F大为电视盒子持续发力,并公开其开发成果!

因腾讯极光盒子3Pro ( Skyworth LB2004 A4091)与 创维小湃盒子p3 pro( Skyworth LB2004 A4092),两者硬件配置(处理器,蓝牙,网卡,内存,闪存芯片均一样,无线可能也是一样)几乎是一样,该极光盒子也是创维代工,可能仅仅UI或流媒体接入服务商方式不同而已,故还是有很多共同之处。

今天重写一次闪存可以正常启动内核(5.19.6-flippy-76+),(5.15.65-flippy-76+不能正常启动),有线正常,蓝牙,内存,处理器(型号为Skyworth LB2004 A4091)均正常,但无线不工作(WIFI蓝牙芯片是Realtek瑞昱RTL8822CS)。

另附创维小湃盒子p3 pro拆解图供参考,https://www.mydigit.cn/forum.php?mod=viewthread&tid=242628

如能百忙之中抽空适配下,可提供测试并结果反馈测试结果,感谢!

20220912补充

另外有个问题最新5.19.8-flippy-76+内核(5.19.x其他版本也存在)拔出网线重插网线或禁用本地网卡再启用出现无法连接上机器。

内核启动时诊断日志,希望有帮助:
root@OpenWrt:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd050]
[ 0.000000] Linux version 5.19.8-flippy-76+ (root@univm25) (Ubuntu clang vers ion 14.0.0-1ubuntu1, Ubuntu LLD 14.0.0) #46 SMP PREEMPT Fri Sep 9 16:41:17 CST 2 022
[ 0.000000] Machine model: SKYWORTH LB2004-A4091
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000bc800000, s ize 896 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id share d-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x00000000f4806fff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000004ffffff]
[ 0.000000] node 0: [mem 0x0000000005000000-0x00000000072fffff]
[ 0.000000] node 0: [mem 0x0000000007300000-0x00000000f4806fff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000f4806fff]
[ 0.000000] On node 0, zone DMA: 14329 pages in unavailable ranges
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 19 pages/cpu s38376 r8192 d31256 u77824
[ 0.000000] pcpu-alloc: s38376 r8192 d31256 u77824 alloc=194096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Virtualization Host Extensions
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] alternatives: patching kernel code
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 985830
[ 0.000000] Kernel command line: root=UUID=c09eabe1-de91-4218-a27b-884b552489 6c rootfstype=btrfs rootflags=compress=zstd:6 console=ttyAML0,115200n8 console=t ty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 mac=a6:de:87:a5:78:88
[ 0.000000] Unknown kernel command line parameters "cgroup_enable=memory cgro up_memory=1 mac=a6:de:87:a5:78:88", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes , linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 2946184K/4005916K available (15808K kernel code, 2726K rw data, 6336K rodata, 2112K init, 863K bss, 142228K reserved, 917504K cma-reserved )
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 jif fies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 43980 46511097ns
[ 0.000294] Console: colour dummy device 80x25
[ 0.000696] printk: console [tty0] enabled
[ 0.000756] Calibrating delay loop (skipped), value calculated using timer fr equency.. 48.00 BogoMIPS (lpj=80000)
[ 0.000782] pid_max: default: 32768 minimum: 301
[ 0.000985] LSM: Security Framework initializing
[ 0.001100] SELinux: Initializing.
[ 0.001374] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, line ar)
[ 0.001404] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.003300] cblist_init_generic: Setting adjustable number of callback queues .
[ 0.003332] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.003435] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.003637] rcu: Hierarchical SRCU implementation.
[ 0.003652] rcu: Max phase no-delay instances is 1000.
[ 0.004942] EFI services will not be available.
[ 0.005371] smp: Bringing up secondary CPUs ...
[ 0.006271] Detected VIPT I-cache on CPU1
[ 0.006331] CPU1: Booted secondary processor 0x0000000100 [0x411fd050]
[ 0.007339] Detected VIPT I-cache on CPU2
[ 0.007379] CPU2: Booted secondary processor 0x0000000200 [0x411fd050]
[ 0.008297] Detected VIPT I-cache on CPU3
[ 0.008333] CPU3: Booted secondary processor 0x0000000300 [0x411fd050]
[ 0.008406] smp: Brought up 1 node, 4 CPUs
[ 0.008472] SMP: Total of 4 processors activated.
[ 0.008484] CPU features: detected: 32-bit EL0 Support
[ 0.008494] CPU features: detected: 32-bit EL1 Support
[ 0.008507] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[ 0.008522] CPU features: detected: Common not Private translations
[ 0.008534] CPU features: detected: CRC32 instructions
[ 0.008545] CPU features: detected: RCpc load-acquire (LDAPR)
[ 0.008557] CPU features: detected: Privileged Access Never
[ 0.008568] CPU features: detected: RAS Extension Support
[ 0.009627] CPU: All CPU(s) started at EL2
[ 0.019422] devtmpfs: initialized
[ 0.034196] Registered cp15_barrier emulation handler
[ 0.034231] Registered setend emulation handler
[ 0.034384] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 6370867519511994 ns
[ 0.034416] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.050769] prandom: seed boundary self test passed
[ 0.051921] prandom: 100 self tests passed
[ 0.051974] pinctrl core: initialized pinctrl subsystem
[ 0.052636] DMI not present or invalid.
[ 0.053061] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.054470] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.054895] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic all ocations
[ 0.055188] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic a llocations
[ 0.055269] audit: initializing netlink subsys (disabled)
[ 0.055478] audit: type=2000 audit(0.046:1): state=initialized audit_enabled= 0 res=1
[ 0.056814] thermal_sys: Registered thermal governor 'step_wise'
[ 0.057476] cpuidle: using governor ladder
[ 0.057661] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.057796] ASID allocator initialised with 65536 entries
[ 0.057814] HugeTLB: can optimize 4095 vmemmap pages for hugepages-1048576kB
[ 0.057829] HugeTLB: can optimize 127 vmemmap pages for hugepages-32768kB
[ 0.057843] HugeTLB: can optimize 7 vmemmap pages for hugepages-2048kB
[ 0.057855] HugeTLB: can optimize 0 vmemmap pages for hugepages-64kB
[ 0.058021] Serial: AMBA PL011 UART driver
[ 0.079283] platform ff900000.vpu: Fixing up cyclic dependency with ff600000. hdmi-tx
[ 0.085985] platform cvbs-connector: Fixing up cyclic dependency with ff90000 0.vpu
[ 0.086277] platform hdmi-connector: Fixing up cyclic dependency with ff60000 0.hdmi-tx
[ 0.099353] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.099387] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.099401] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.099415] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.100432] cryptd: max_cpu_qlen set to 1000
[ 0.155703] raid6: neonx8 gen() 2191 MB/s
[ 0.212488] raid6: neonx4 gen() 2190 MB/s
[ 0.269271] raid6: neonx2 gen() 1970 MB/s
[ 0.326046] raid6: neonx1 gen() 1703 MB/s
[ 0.382815] raid6: int64x8 gen() 1566 MB/s
[ 0.439598] raid6: int64x4 gen() 1600 MB/s
[ 0.496370] raid6: int64x2 gen() 1364 MB/s
[ 0.553139] raid6: int64x1 gen() 1077 MB/s
[ 0.553153] raid6: using algorithm neonx8 gen() 2191 MB/s
[ 0.609896] raid6: .... xor() 1645 MB/s, rmw enabled
[ 0.609911] raid6: using neon recovery algorithm
[ 0.610053] fbcon: Taking over console
[ 0.610095] ACPI: Interpreter disabled.
[ 0.612204] iommu: Default domain type: Translated
[ 0.612229] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.612686] SCSI subsystem initialized
[ 0.612919] libata version 3.00 loaded.
[ 0.613165] usbcore: registered new interface driver usbfs
[ 0.613218] usbcore: registered new interface driver hub
[ 0.613296] usbcore: registered new device driver usb
[ 0.613790] mc: Linux media interface: v0.10
[ 0.613826] videodev: Linux video capture interface: v2.00
[ 0.614117] EDAC MC: Ver: 3.0.0
[ 0.615195] Advanced Linux Sound Architecture Driver Initialized.
[ 0.615991] vgaarb: loaded
[ 0.616427] clocksource: Switched to clocksource arch_sys_counter
[ 0.616772] VFS: Disk quotas dquot_6.6.0
[ 0.616848] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.616982] FS-Cache: Loaded
[ 0.617190] pnp: PnP ACPI: disabled
[ 0.625869] NET: Registered PF_INET protocol family
[ 0.626136] IP idents hash table entries: 65536 (order: 7, 524288 bytes, line ar)
[ 0.628858] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 3276 8 bytes, linear)
[ 0.628915] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.629003] TCP established hash table entries: 32768 (order: 6, 262144 bytes , linear)
[ 0.629254] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linea r)
[ 0.629609] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.629882] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, line ar)
[ 0.629994] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.630067] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.630285] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.630323] NET: Registered PF_XDP protocol family
[ 0.630345] PCI: CLS 0 bytes, default 64
[ 0.630871] Trying to unpack rootfs image as initramfs...
[ 0.640593] kvm [1]: IPA Size Limit: 40 bits
[ 0.640818] kvm [1]: vgic interrupt IRQ9
[ 0.640969] kvm [1]: VHE mode initialized successfully
[ 0.643061] Initialise system trusted keyrings
[ 0.643403] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 0.650405] zbud: loaded
[ 0.652391] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.652990] fuse: init (API version 7.36)
[ 0.653600] SGI XFS with ACLs, security attributes, quota, no debug enabled
[ 0.692775] NET: Registered PF_ALG protocol family
[ 0.692858] xor: measuring software checksum speed
[ 0.696150] 8regs : 3030 MB/sec
[ 0.699182] 32regs : 3291 MB/sec
[ 0.703716] arm64_neon : 2201 MB/sec
[ 0.703744] xor: using function: 32regs (3291 MB/sec)
[ 0.703765] Key type asymmetric registered
[ 0.703779] Asymmetric key parser 'x509' registered
[ 0.703904] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 45)
[ 0.704127] io scheduler mq-deadline registered
[ 0.704143] io scheduler kyber registered
[ 0.704215] io scheduler bfq registered
[ 0.746898] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized
[ 0.777999] soc soc0: Amlogic Meson SM1 (Unknown) Revision 2b:b (2:2) Detecte d
[ 0.782015] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[ 0.784529] Serial: AMBA driver
[ 0.785094] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 14, base_baud = 1500000) is a meson_uart
[ 1.093950] Freeing initrd memory: 7880K
[ 1.101466] printk: console [ttyAML0] enabled
[ 1.843339] brd: module loaded
[ 1.847765] loop: module loaded
[ 1.855817] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.856754] ehci-pci: EHCI PCI platform driver
[ 1.861196] ehci-platform: EHCI generic platform driver
[ 1.866851] usbcore: registered new interface driver cdc_wdm
[ 1.871958] usbcore: registered new interface driver usb-storage
[ 1.878397] mousedev: PS/2 mouse device common for all mice
[ 1.884508] SPI driver rmi4_spi has no spi_device_id for syna,rmi4-spi
[ 1.890590] meson-vrtc ff8000a8.rtc: registered as rtc0
[ 1.895050] meson-vrtc ff8000a8.rtc: setting system clock to 1970-01-01T00:00 :01 UTC (1)
[ 1.903501] i2c_dev: i2c /dev entries driver
[ 1.909439] debugfs: Directory 'ff800280.cec' with parent 'regmap' already pr esent!
[ 1.915313] Registered IR keymap rc-cec
[ 1.918778] rc rc0: meson_g12a_ao_cec as /devices/platform/soc/ff800000.bus/f f800280.cec/rc/rc0
[ 1.927432] input: meson_g12a_ao_cec as /devices/platform/soc/ff800000.bus/ff 800280.cec/rc/rc0/input0
[ 1.945058] sdhci: Secure Digital Host Controller Interface driver
[ 1.945604] sdhci: Copyright(c) Pierre Ossman
[ 1.949933] Synopsys Designware Multimedia Card Interface Driver
[ 1.956728] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.956938] meson-gx-mmc ffe03000.sd: allocated mmc-pwrseq
[ 1.957004] meson-gx-mmc ffe05000.sd: Got CD GPIO
[ 1.963731] meson-sm: secure-monitor enabled
[ 1.977078] hid: raw HID events driver (C) Jiri Kosina
[ 1.980993] usbcore: registered new interface driver usbhid
[ 1.986410] usbhid: USB HID core driver
[ 1.995116] Initializing XFRM netlink socket
[ 1.995548] NET: Registered PF_INET6 protocol family
[ 2.007268] meson-gx-mmc ffe03000.sd: card claims to support voltages below d efined range
[ 2.026043] Segment Routing with IPv6
[ 2.026082] RPL Segment Routing with IPv6
[ 2.028172] In-situ OAM (IOAM) with IPv6
[ 2.032129] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.040367] bpfilter: Loaded bpfilter_umh pid 93
[ 2.042479] NET: Registered PF_PACKET protocol family
[ 2.047490] NET: Registered PF_KEY protocol family
[ 2.052305] 8021q: 802.1Q VLAN Support v1.8
[ 2.056708] registered taskstats version 1
[ 2.060434] Loading compiled-in X.509 certificates
[ 2.070409] zswap: loaded using pool zstd/zbud
[ 2.071078] Key type ._fscrypt registered
[ 2.073506] Key type .fscrypt registered
[ 2.077411] Key type fscrypt-provisioning registered
[ 2.082839] mmc0: new ultra high speed SDR50 SDIO card at address 0001
[ 2.083399] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[ 2.291653] alg: No test for 842 (842-scomp)
[ 2.291814] alg: No test for 842 (842-generic)
[ 3.291977] meson-drm ff900000.vpu: Queued 2 outputs on vpu
[ 3.317125] meson-dw-hdmi ff600000.hdmi-tx: Detected HDMI TX controller v2.01 a with HDCP (meson_dw_hdmi_phy)
[ 3.321724] meson-dw-hdmi ff600000.hdmi-tx: registered DesignWare HDMI I2C bu s driver
[ 3.329823] meson-drm ff900000.vpu: bound ff600000.hdmi-tx (ops meson_dw_hdmi _ops)
[ 3.337187] [drm] Initialized meson 1.0.0 20161109 for ff900000.vpu on minor 0
[ 3.922216] Console: switching to colour frame buffer device 480x135
[ 3.993531] meson-drm ff900000.vpu: [drm] fb0: mesondrmfb frame buffer device
[ 4.004112] meson8b-dwmac ff3f0000.ethernet: IRQ eth_wake_irq not found
[ 4.007182] meson8b-dwmac ff3f0000.ethernet: IRQ eth_lpi not found
[ 4.013453] meson8b-dwmac ff3f0000.ethernet: PTP uses main clock
[ 4.020992] meson8b-dwmac ff3f0000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[ 4.026317] meson8b-dwmac ff3f0000.ethernet: DWMAC1000
[ 4.031524] meson8b-dwmac ff3f0000.ethernet: DMA HW capability register suppo rted
[ 4.038894] meson8b-dwmac ff3f0000.ethernet: RX Checksum Offload Engine suppo rted
[ 4.046301] meson8b-dwmac ff3f0000.ethernet: COE Type 2
[ 4.051476] meson8b-dwmac ff3f0000.ethernet: TX Checksum insertion supported
[ 4.058466] meson8b-dwmac ff3f0000.ethernet: Wake-Up On Lan supported
[ 4.064854] meson8b-dwmac ff3f0000.ethernet: Normal descriptors
[ 4.070709] meson8b-dwmac ff3f0000.ethernet: Ring mode enabled
[ 4.076495] meson8b-dwmac ff3f0000.ethernet: Enable RX Mitigation via HW Watc hdog Timer
[ 4.086913] dwc3-meson-g12a ffe09000.usb: USB2 ports: 2
[ 4.089600] dwc3-meson-g12a ffe09000.usb: USB3 ports: 1
[ 4.097995] dwc2 ff400000.usb: supply vusb_d not found, using dummy regulator
[ 4.101937] dwc2 ff400000.usb: supply vusb_a not found, using dummy regulator
[ 4.109772] dwc2 ff400000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[ 4.117284] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 4.121515] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus nu mber 1
[ 4.129105] xhci-hcd xhci-hcd.3.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x0000002000010010
[ 4.138279] xhci-hcd xhci-hcd.3.auto: irq 23, io mem 0xff500000
[ 4.144293] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 4.149668] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus nu mber 2
[ 4.157146] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
[ 4.163741] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bc dDevice= 5.19
[ 4.171796] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= 1
[ 4.178957] usb usb1: Product: xHCI Host Controller
[ 4.183783] usb usb1: Manufacturer: Linux 5.19.8-flippy-76+ xhci-hcd
[ 4.190087] usb usb1: SerialNumber: xhci-hcd.3.auto
[ 4.195259] hub 1-0:1.0: USB hub found
[ 4.198644] hub 1-0:1.0: 2 ports detected
[ 4.202933] usb usb2: We don't know the algorithms for LPM for this host, dis abling LPM.
[ 4.210702] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bc dDevice= 5.19
[ 4.218804] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber= 1
[ 4.226038] usb usb2: Product: xHCI Host Controller
[ 4.230791] usb usb2: Manufacturer: Linux 5.19.8-flippy-76+ xhci-hcd
[ 4.237085] usb usb2: SerialNumber: xhci-hcd.3.auto
[ 4.242243] hub 2-0:1.0: USB hub found
[ 4.245647] hub 2-0:1.0: 1 port detected
[ 4.251794] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq
[ 4.449780] usb 1-2: new high-speed USB device number 2 using xhci-hcd
[ 4.476794] ALSA device list:
[ 4.476870] No soundcards found.
[ 4.478171] Freeing unused kernel memory: 2112K
[ 4.509871] Run /init as init process
[ 4.509936] with arguments:
[ 4.509942] /init
[ 4.509947] with environment:
[ 4.509951] HOME=/
[ 4.509955] TERM=linux
[ 4.509959] cgroup_enable=memory
[ 4.509964] cgroup_memory=1
[ 4.509967] mac=a6:de:87:a5:78:88
[ 4.561766] mmc2: new HS200 MMC card at address 0001
[ 4.562645] mmcblk2: mmc2:0001 BJTD4R 29.1 GiB
[ 4.567996] mmcblk2boot0: mmc2:0001 BJTD4R 4.00 MiB
[ 4.572143] mmcblk2boot1: mmc2:0001 BJTD4R 4.00 MiB
[ 4.577649] mmcblk2rpmb: mmc2:0001 BJTD4R 4.00 MiB, chardev (240:0)
[ 4.590788] usb 1-2: New USB device found, idVendor=14cd, idProduct=1212, bcd Device= 1.00
[ 4.593471] usb 1-2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[ 4.600543] usb 1-2: Product: Mass Storage Device
[ 4.605192] usb 1-2: Manufacturer: Generic
[ 4.609272] usb 1-2: SerialNumber: 121220160204
[ 4.615770] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 4.622184] scsi host0: usb-storage 1-2:1.0
[ 5.640418] scsi 0:0:0:0: Direct-Access Mass Storage Device 1.00 PQ : 0 ANSI: 0 CCS
[ 5.644364] sd 0:0:0:0: [sda] 1978368 512-byte logical blocks: (1.01 GB/966 M iB)
[ 5.650893] sd 0:0:0:0: [sda] Write Protect is off
[ 5.655736] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 5.655930] sd 0:0:0:0: [sda] No Caching mode page found
[ 5.660671] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.670195] sda: sda1 sda2
[ 5.670801] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 6.064210] BTRFS: device label ROOTFS devid 1 transid 18 /dev/sda2 scanned b y mount (324)
[ 6.069184] BTRFS info (device sda2): use zstd compression, level 6
[ 6.074044] BTRFS info (device sda2): using free space tree
[ 6.078665] BTRFS info (device sda2): has skinny extents
[ 6.084681] BTRFS info (device sda2): flagging fs with big metadata feature
[ 6.293232] init: Console is alive
[ 11.152325] kmodloader: loading kernel modules from /etc/modules-boot.d/

[ 11.177911] ehci-fsl: Freescale EHCI Host controller driver
[ 11.193350] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 11.200891] ohci-platform: OHCI generic platform driver
[ 11.209107] uhci_hcd: USB Universal Host Controller Interface driver
[ 11.226673] kmodloader: done loading kernel modules from /etc/modules-boot.d/ *
[ 11.237557] init: - preinit -
[ 11.663096] random: crng init done
[ 11.943154] meson8b-dwmac ff3f0000.ethernet eth0: PHY [mdio_mux-0.0:00] drive r [RTL8211F Gigabit Ethernet] (irq=25)
[ 11.952330] meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 13.493096] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
[ 13.495070] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
[ 13.502353] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rgmii l ink mode
[ 17.592846] mount_root: mounting /dev/root
[ 17.607252] BTRFS info (device sda2: state M): using free space tree
[ 17.608376] mount_root: loading kmods from internal overlay
[ 17.914186] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 17.922128] kmodloader: done loading kernel modules from //etc/modules-boot.d /*
[ 18.099581] block: attempting to load /etc/config/fstab
[ 18.101425] block: extroot: unable to determine root device
[ 18.106583] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 18.143624] BTRFS warning (device sda2): csum failed root 5 ino 539 off 19174 1952 csum 0x4f799821 expected csum 0x22cdf200 mirror 1
[ 18.150708] BTRFS error (device sda2): bdev /dev/sda2 errs: wr 0, rd 0, flush 0, corrupt 1, gen 0
[ 18.511526] procd: - early -
[ 19.060954] procd: - ubus -
[ 19.118384] procd: - init -
[ 19.987895] urngd: v1.0.2 started.
[ 20.498039] kmodloader: loading kernel modules from /etc/modules.d/*
[ 20.508970] "cryptomgr_test" (740) uses obsolete ecb(arc4) skcipher
[ 20.545478] zram: Added device: zram0
[ 20.563493] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-d [email protected]
[ 20.595351] Key type dns_resolver registered
[ 20.617178] Key type cifs.spnego registered
[ 20.621087] Key type cifs.idmap registered
[ 20.664410] RPC: Registered named UNIX socket transport module.
[ 20.668584] RPC: Registered udp transport module.
[ 20.673309] RPC: Registered tcp transport module.
[ 20.677912] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 20.694995] ntfs3: Max link count 4000
[ 20.698880] ntfs3: Read-only LZX/Xpress compression included
[ 20.717797] tun: Universal TUN/TAP device driver, 1.6
[ 20.777457] Installing knfsd (copyright (C) 1996 [email protected]).
[ 20.794273] NFS: Registering the id_resolver key type
[ 20.798124] Key type id_resolver registered
[ 20.801837] Key type id_legacy registered
[ 21.007720] cryptodev: driver 1.12 loaded.
[ 21.018414] GACT probability on
[ 21.028371] Mirror/redirect action on
[ 21.080798] u32 classifier
[ 21.084563] Performance counters on
[ 21.088167] input device check on
[ 21.091717] Actions configured
[ 21.137548] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 21.163153] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 21.217032] panfrost ffe40000.gpu: clock rate = 24000000
[ 21.222215] panfrost ffe40000.gpu: mali-g31 id 0x7093 major 0x0 minor 0x0 sta tus 0x0
[ 21.228246] panfrost ffe40000.gpu: features: 00000000,000017f7, issues: 00000 000,00000400
[ 21.236719] panfrost ffe40000.gpu: Features: L2:0x07100206 Shader:0x00000000 Tiler:0x00000209 Mem:0x1 MMU:0x00002821 AS:0xff JS:0x7
[ 21.248093] panfrost ffe40000.gpu: shader_present=0x1 l2_present=0x1
[ 21.263732] [drm] Initialized panfrost 1.2.0 20180908 for ffe40000.gpu on min or 1
[ 21.271821] usbcore: registered new interface driver r8152
[ 21.277020] r8188eu: module is from the staging directory, the quality is unk nown, you have been warned.
[ 21.286976] usbcore: registered new interface driver r8188eu
[ 21.293725] usbcore: registered new interface driver rtl8150
[ 21.300999] usbcore: registered new interface driver ums-alauda
[ 21.305894] usbcore: registered new interface driver ums-cypress
[ 21.311923] usbcore: registered new interface driver ums-datafab
[ 21.317851] usbcore: registered new interface driver ums-freecom
[ 21.323844] usbcore: registered new interface driver ums-isd200
[ 21.329681] usbcore: registered new interface driver ums-jumpshot
[ 21.335694] usbcore: registered new interface driver ums-karma
[ 21.341573] usbcore: registered new interface driver ums-sddr09
[ 21.347419] usbcore: registered new interface driver ums-sddr55
[ 21.353346] usbcore: registered new interface driver ums-usbat
[ 21.359985] usbcore: registered new interface driver usblp
[ 21.367907] usbcore: registered new interface driver usbserial_generic
[ 21.372756] usbserial: USB Serial support registered for generic
[ 21.412469] xt_time: kernel timezone is -0000
[ 21.418768] usbcore: registered new interface driver asix
[ 21.423727] usbcore: registered new interface driver ax88179_178a
[ 21.437664] Bluetooth: Core ver 2.22
[ 21.441393] Bluetooth: Starting self testing
[ 21.453160] Bluetooth: ECDH test passed in 8014 usecs
[ 21.459516] Bluetooth: SMP test passed in 2637 usecs
[ 21.463060] Bluetooth: Finished self testing
[ 21.466651] NET: Registered PF_BLUETOOTH protocol family
[ 21.471838] Bluetooth: HCI device and connection manager initialized
[ 21.478151] Bluetooth: HCI socket layer initialized
[ 21.482968] Bluetooth: L2CAP socket layer initialized
[ 21.487986] Bluetooth: SCO socket layer initialized
[ 21.494256] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 21.498057] Bluetooth: BNEP filters: protocol multicast
[ 21.503251] Bluetooth: BNEP socket layer initialized
[ 21.509375] Bridge firewalling registered
[ 21.520360] usbcore: registered new interface driver btusb
[ 21.525527] usbcore: registered new interface driver cdc_ether
[ 21.531530] usbcore: registered new interface driver cdc_ncm
[ 21.544245] cfg80211: Loading compiled-in X.509 certificates for regulatory d atabase
[ 21.629926] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 21.636134] usbcore: registered new interface driver ch341
[ 21.640258] usbserial: USB Serial support registered for ch341-uart
[ 21.647984] usbcore: registered new interface driver cp210x
[ 21.653279] usbserial: USB Serial support registered for cp210x
[ 21.663292] usbcore: registered new interface driver ftdi_sio
[ 21.667160] usbserial: USB Serial support registered for FTDI USB Serial Devi ce
[ 21.677175] Bluetooth: HCI UART driver ver 2.3
[ 21.680914] Bluetooth: HCI UART protocol H4 registered
[ 21.684788] Bluetooth: HCI UART protocol BCSP registered
[ 21.690130] Bluetooth: HCI UART protocol LL registered
[ 21.695138] Bluetooth: HCI UART protocol ATH3K registered
[ 21.700545] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 21.706977] Bluetooth: HCI UART protocol Intel registered
[ 21.712301] Bluetooth: HCI UART protocol Broadcom registered
[ 21.717658] Driver 'hci_uart_qca' needs updating - please use bus_type method s
[ 21.724874] Bluetooth: HCI UART protocol QCA registered
[ 21.729991] Bluetooth: HCI UART protocol AG6XX registered
[ 21.735380] Bluetooth: HCI UART protocol Marvell registered
[ 21.742324] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 21.746737] Bluetooth: HIDP socket layer initialized
[ 21.774743] usbcore: registered new interface driver mt7601u
[ 21.783135] usbcore: registered new interface driver mt7663u
[ 21.795173] usbcore: registered new interface driver mt76x2u
[ 21.802088] usbcore: registered new interface driver pl2303
[ 21.805653] usbserial: USB Serial support registered for pl2303
[ 21.813396] PPP generic driver version 2.4.2
[ 21.818207] PPP MPPE Compression module registered
[ 21.822834] NET: Registered PF_PPPOX protocol family
[ 21.828302] Bluetooth: RFCOMM TTY layer initialized
[ 21.831841] Bluetooth: RFCOMM socket layer initialized
[ 21.836156] Bluetooth: RFCOMM ver 1.11
[ 21.841488] usbcore: registered new interface driver rndis_host
[ 21.857380] usbcore: registered new interface driver brcmfmac
[ 21.864257] usbcore: registered new interface driver mt76x0u
[ 21.870901] usbcore: registered new interface driver rt2500usb
[ 21.880026] usbcore: registered new interface driver rt2800usb
[ 21.886197] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 30.672650] zram0: detected capacity change from 0 to 3872768
[ 30.737500] Adding 1936380k swap on /dev/zram0. Priority:-2 extents:1 across :1936380k SSDscFS
[ 32.413133] meson8b-dwmac ff3f0000.ethernet eth0: PHY [mdio_mux-0.0:00] drive r [RTL8211F Gigabit Ethernet] (irq=25)
[ 32.424788] meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 33.969764] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
[ 33.975105] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
[ 33.981843] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rgmii l ink mode
[ 34.018568] br-lan: port 1(eth0) entered blocking state
[ 34.022011] br-lan: port 1(eth0) entered disabled state
[ 34.026985] device eth0 entered promiscuous mode
[ 45.745004] xt_FULLCONENAT: RFC3489 Full Cone NAT module
xt_FULLCONENAT: Copyright (C) 2018 Chion Tang [email protected]
[ 76.439965] irq 25: nobody cared (try booting with the "irqpoll" option)
[ 76.444390] CPU: 0 PID: 2953 Comm: irq/25-mdio_mux Tainted: G C 5.19.8-flippy-76+ #46
[ 76.453442] Hardware name: SKYWORTH LB2004-A4091 (DT)
[ 76.458446] Call trace:
[ 76.461654] dump_backtrace+0xdc/0x12c
[ 76.464828] dump_stack_lvl+0x74/0xb0
[ 76.468191] __report_bad_irq+0x54/0xe8
[ 76.471986] note_interrupt+0x1c0/0x20c
[ 76.475781] handle_irq_event+0x68/0x98
[ 76.479575] handle_fasteoi_irq+0x104/0x1e4
[ 76.483715] generic_handle_domain_irq+0x30/0x4c
[ 76.488287] gic_handle_irq+0x5c/0xec
[ 76.491909] call_on_irq_stack+0x2c/0x54
[ 76.495791] do_interrupt_handler+0x84/0xd8
[ 76.499930] el1_interrupt+0x48/0xe4
[ 76.503467] el1h_64_irq_handler+0x18/0x24
[ 76.507521] el1h_64_irq+0x74/0x78
[ 76.510884] irq_finalize_oneshot+0xd8/0xfc
[ 76.515024] irq_thread_fn+0x5c/0x74
[ 76.518561] irq_thread+0x234/0x2b4
[ 76.522011] kthread+0xe4/0x10c
[ 76.525116] ret_from_fork+0x10/0x20
[ 76.528653] handlers:
[ 76.531626] [<000000000eba7a34>] irq_default_primary_handler threaded [<00000 0000993bb54>] phy_interrupt
[ 76.540296] Disabling IRQ #25
[ 103.724156] meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - f low control off
[ 103.730281] br-lan: port 1(eth0) entered blocking state
[ 103.736518] br-lan: port 1(eth0) entered forwarding state
[ 103.742925] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

openwrt rootfs 编译注意事项里提示的已全部选上。perlbase-time perlbase-xlsoader已选,N1打包后无法显示CPU架构和CPU状态

openwrt rootfs 编译注意事项里提示的已全部选上。
perlbase-time
perlbase-xlsoader
已选上
以下是SSH登录信息

PLATFORM: amlogic SOC: s905d BOARD: n1

Can't locate File/Glob.pm in @inc (you may need to install the File::Glob module) (@inc contains: /usr/lib/perl5/5.28) at /usr/bin/cpustat line 32.
BEGIN failed--compilation aborted at /usr/bin/cpustat line 32.
Can't locate File/Glob.pm in @inc (you may need to install the File::Glob module) (@inc contains: /usr/lib/perl5/5.28) at /usr/bin/cpustat line 32.
BEGIN failed--compilation aborted at /usr/bin/cpustat line 32.
Can't locate File/Glob.pm in @inc (you may need to install the File::Glob module) (@inc contains: /usr/lib/perl5/5.28) at /usr/bin/cpustat line 32.
BEGIN failed--compilation aborted at /usr/bin/cpustat line 32.
设备信息: Phicomm N1
CPU 型号:
运行时间:
环境温度: 49.0 °C Can't locate File/Glob.pm in @inc (you may need to install the File::Glob module) (@inc contains: /usr/lib/perl5/5.28) at /usr/bin/cpustat line 32.
BEGIN failed--compilation aborted at /usr/bin/cpustat line 32.
当前频率:
内存已用: 9% of 1809MB IP 地址: 192.168.1.1
启动存储: 16% of 511.0M 系统存储: 23% of 960.0M

水平有限,.config里并没有搜索到Glob module.

取消无线

取消了这些还是有无线这个菜单,怎么取消掉?
Kernel modules -> Wireless Drivers -> kmod-brcmfmac(SDIO) -> kmod-brcmutil -> kmod-cfg80211 -> kmod-mac80211 Network -> WirelessAPD -> hostpad-common -> wpa-cli -> wpad-basic -> iw

如何使用旧版三合一的纯内核进行打包呢?

我尝试注释BOOT和DTSB两项,可是到后面还是提示缺少相关文件。请问如何修改脚本才能使用旧版的三合一内核进行打包呢?谢谢

========================= begin ./mk_s905d_n1.sh ===========================
The work directory is : [/home/wyap/opt/openwrt_packit/tmp]
The temporary directory is : [/home/wyap/opt/openwrt_packit/tmp/tmp.q7CnTFdcWc]
The target boot directory is : [/home/wyap/opt/openwrt_packit/tmp/tmp.q7CnTFdcWc/tgt_boot]
The target rootfs directory is : [/home/wyap/opt/openwrt_packit/tmp/tmp.q7CnTFdcWc/tgt_root]
The output directory is : [/home/wyap/opt/openwrt_packit/output/]

Use /home/wyap/opt/openwrt_packit/openwrt-armvirt-64-default-rootfs.tar.gz as openwrt rootfs!
check mkfs.btrfs ok
check mkfs.vfat ok
check gawk ok
check uuidgen ok
check losetup ok
check lsblk ok
check fdisk ok
check parted ok

创建空白的目标镜像文件, 大小是 900 MB  ... 
900+0 records in
900+0 records out
943718400 bytes (944 MB, 900 MiB) copied, 1.36577 s, 691 MB/s
空白镜像创建成功
设置分区循环设备 ... 成功: [/dev/loop2]

对磁盘设备 [/dev/loop2] 进行分区 ...
创建新的分区表 ... 成功
创建第 [1] 个分区, 分区大小: [160] MB, 分区类型: [fat32] ... 成功
创建第 [2] 个分区, 分区大小: 所有剩余空间, 分区类型: [btrfs] ... 成功
[/dev/loop2] 磁盘分区一览:
===================================================================
Disk /dev/loop2: 900 MiB, 943718400 bytes, 1843200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb4d44308

Device       Boot  Start     End Sectors  Size Id Type
/dev/loop2p1        8192  335871  327680  160M  c W95 FAT32 (LBA)
/dev/loop2p2      335872 1843199 1507328  736M 83 Linux
===================================================================

===================================================================
在 [/dev/loop2] 上创建文件系统 ... 
The boot label is BOOT
格式化 [/dev/loop2p1], 类型为 [fat32], 卷标为 [BOOT] ... 
mkfs.fat 4.1 (2017-01-24)
[/dev/loop2p1] 格式化成功
The rootfs uuid is 52a58532-1f0a-4821-b1db-233420b2f754
The rootfs label is ROOTFS
格式化 [/dev/loop2p2], 类型为 [btrfs], 卷标为 [ROOTFS] ... 
btrfs-progs v5.4.1 
See http://btrfs.wiki.kernel.org for more information.

Label:              ROOTFS
UUID:               52a58532-1f0a-4821-b1db-233420b2f754
Node size:          16384
Sector size:        4096
Filesystem size:    736.00MiB
Block group profiles:
  Data:             single            8.00MiB
  Metadata:         single            8.00MiB
  System:           single            4.00MiB
SSD detected:       no
Incompat features:  extref, skinny-metadata
Checksum:           crc32c
Number of devices:  1
Devices:
   ID        SIZE  PATH
    1   736.00MiB  /dev/loop2p2

[/dev/loop2p2] 格式化成功
[/dev/loop2] 文件系统已创建.
===================================================================

挂载 /dev/loop2p1 --> /home/wyap/opt/openwrt_packit/tmp/tmp.q7CnTFdcWc/tgt_boot ... 成功
挂载 /dev/loop2p2 --> /home/wyap/opt/openwrt_packit/tmp/tmp.q7CnTFdcWc/tgt_root ... 成功
创建 /etc 子卷 ...
Create subvolume '/home/wyap/opt/openwrt_packit/tmp/tmp.q7CnTFdcWc/tgt_root/etc'
释放 Openwrt rootfs 压缩包 ... 完成
裁减 Rootfs 中用不到的文件 ... 完成
重新链接 kmod 程序 ... 完成
释放 Armbian firmware 压缩包 ... 完成
复制 Added firmware 文件 ... 完成
优化 firmware ... 完成
释放 Kernel modules 压缩包 ... 完成
复制硬件机型数据库 ...
'/home/wyap/opt/openwrt_packit/files/amlogic_model_database.txt' -> '/home/wyap/opt/openwrt_packit/tmp/tmp.q7CnTFdcWc/tgt_root/etc/model_database.txt'
完成
释放 Kernel zImage、uInitrd 及 dtbs 压缩包 ... tar (child): : Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
失败!

2.4g 无线开启不了

按照教程编译固件,5g正常,选择2.4g无线,模式legacy 也指定信道了,就是开启失败,求大神指教

Building u-boot

First off, thank you for the awesome contributions to getting so many TV-boxes supported with OpenWRT.

I would like to compile even u-boot from source, would you mind sharing the patch you apply for building the mainline u-boot for x96 max+?

For creating the FIP version, any pointer to anything more specific for x96 max+ vs what can be found here would be very much appreciated:
https://u-boot.readthedocs.io/en/latest/board/amlogic/sei610.html

I assume you build them based on the official repo?:
https://github.com/u-boot/u-boot/

Thank you in advance!
-Markus

Add rk3318 Support

Hi, i just copied the rk3328 files and mk script and added idbloader.img and u-boot.itb from armbian, it works on my H96max rk3318 (black pcb)
but the sound isn't working yet, since i notice about sound in mk script and files, i assume you did make the sound work on rk3328, would you mind assist me to make the sound work ? either by RCA port or HDMI port, and when i open snd-rk3328 file it just contains some list, perhaps possible getting correct values from running armbian ?

RK3399 armbian ( ubuntu 22.04 ) 运行虚拟机报错

板子是Nanopc-t4,

故障log, 请指教一下,谢谢

Unable to complete install: 'internal error: process exited while connecting to monitor: 2022-09-15T00:42:23.951128Z qemu-system-aarch64: kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argument'

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createvm.py", line 2008, in _do_async_install
installer.start_install(guest, meter=meter)
File "/usr/share/virt-manager/virtinst/install/installer.py", line 695, in start_install
domain = self._create_guest(
File "/usr/share/virt-manager/virtinst/install/installer.py", line 637, in _create_guest
domain = self.conn.createXML(initial_xml or final_xml, 0)
File "/usr/lib/python3/dist-packages/libvirt.py", line 4400, in createXML
raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: internal error: process exited while connecting to monitor: 2022-09-15T00:42:23.951128Z qemu-system-aarch64: kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argument

cpustat报错

N1 armbian,基于mk_openwrt_dockerimg.sh编译的openwrt。cpustat会报错,然后写满日志,有什么workaround吗

Tue Oct 11 02:07:48 2022 daemon.err uhttpd[22898]: No such file or directory at /usr/bin/cpustat line 171.
Tue Oct 11 02:07:53 2022 daemon.err uhttpd[22898]: No such file or directory at /usr/bin/cpustat line 171.
Tue Oct 11 02:07:58 2022 daemon.err uhttpd[22898]: No such file or directory at /usr/bin/cpustat line 171.

运行cpustat -e,结果如下

No such file or directory at /usr/bin/cpustat line 171.
[
{
"name": "eth0",
"driver": "",
"temperature": "☰",
"operstate": 1,
"speed": "1Gb/s full duplex"
}
]

请教如何使用自己编译的内核

大哥,我是小白,目的是想在N1上使用sim7600 4G模块。

我fork了你的5.4仓库,然后费了老半天劲,加入了sim7600的驱动后,编译出来的最终结果是Image.gz文件
但是我看你预编译的内核是modulesdtbboot三个tar.gz
其他人的打包脚本,也都需要这些文件,比如 https://github.com/mingxiaoyu/flippy-packages/tree/main/5.4.134-flippy-62-o/kernel

请问我应该怎么弄才能编译出跟你一样的结果,希望大神能指点一下,万分感激!

更新后shadow会多一行sshd

之前修复的amule条目没有出现过升级增加的现象,反而因这个修复注意到更新后sshd会增加一条,今天特意编译打包更新了一此,发现缺失是增加了,如下所示,不知道是不是也是同样的bug:
sshd:x:18806:0:99999:7:::
sshd:x:18806:0:99999:7:::
sshd:x:18806:0:99999:7:::
sshd:x:18810:0:99999:7:::
sshd:x:18811:0:99999:7:::
sshd:x:18811:0:99999:7:::
sshd:x:18813:0:99999:7:::
sshd:x:18817:0:99999:7:::
sshd:x:18821:0:99999:7:::
sshd:x:18825:0:99999:7:::
sshd:x:18830:0:99999:7:::
sshd:x:18835:0:99999:7:::
sshd:x:18843:0:99999:7:::
sshd:x:18848:0:99999:7:::
sshd:x:18850:0:99999:7:::
sshd:x:18852:0:99999:7:::
sshd:x:18853:0:99999:7:::

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.