Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬,能否编译微加云的? #1100

Closed
yu13740000 opened this issue Feb 23, 2023 · 110 comments
Closed

大佬,能否编译微加云的? #1100

yu13740000 opened this issue Feb 23, 2023 · 110 comments
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported

Comments

@yu13740000
Copy link

大佬,找遍全网,微加云armbian除了f大的就没有了,f大的所有armbian升级dietpi时出错,提示没有可用的软件包linux-imge-current-arm-64,有的还会提示空间不够,不知道哪里的问题。n1用你的armbian升级dietpi正常。希望大佬给微加云也编译一个armbian吧!

@ophub
Copy link
Owner

ophub commented Feb 24, 2023

vplus Armbian(beta) 下载地址(找文件名称里带 allwinner_vplus 字样的文件):
https://github.com/ophub/amlogic-s9xxx-armbian/releases

我学习了下f大在他OpenWrt仓库里的打包方法,复制了他仓库里的u-boot等资源进行rebuild,但是我没这个设备,无法测试。

我在网上查看了一些关于vplus的刷机方法的介绍,这个设备原生系统不支持U盘启动,但是刷过f大的Armbian或者OpenWrt的盒子,已经自动替换了u-boot,支持USB启动Armbian和OpenWrt了。

  1. 这个Armbian镜像文件里也添加了这个u-boot,所以如果你之前已经刷过他的armbian或者openwrt系统,就可以直接从USB启动这个镜像(略过1-5步,直接看6)。如果之前没刷过,目前盒子里还是原版系统,你先把这个Armbian刷入U盘,等原来的系统启动后,把写有这个Armbian的U盘插入usb接口,就会自动挂在到/mnt/sda2,输入命令查看下U盘的挂载路径:
    lsblk

  2. 根据实际挂载路径修改下面的命令,进入u-boot目录

cd /mnt/sda2/usr/lib/u-boot
ls
  1. 会看到 u-boot-sunxi-with-spl.bin 文件,手动写入u-boot到当前盒子,替换了u-boot,以后就支持U盘启动了:
    先删除分区和bootloader:
    dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=16

  2. 再写入bootloader:
    dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk1 bs=1024 seek=8

  3. 完成以后,支持usb启动的uboot已经刷入。输入命令重启:
    reboot

  4. 使用安装命令把armbian写入emmc:
    armbian-install

  5. 把下面命令截图给我看看

lsblk
df -hT
blkid

@ophub ophub added the documentation Improvements or additions to documentation label Feb 24, 2023
@yu13740000
Copy link
Author

yu13740000 commented Feb 25, 2023

测试了一下,两个固件都不能u盘启动,我猜想你可能是拿的f大微加云的openwrt里面的u-boot,然后我把你U盘下的文件全删了,复制了f大armbian56+里面的文件,启动了。另外微加云原始原件不是安卓,是op。

login as: root
root@192.168.30.241's password:
__     __     _
\ \   / / __ | |_   _ ___
 \ \ / / '_ \| | | | / __|
  \ V /| |_) | | |_| \__ \
   \_/ | .__/|_|\__,_|___/
       |_|
Welcome to Armbian 23.02.0-trunk Jammy with Linux 5.10.26-flippy-56+

System load:   13%              Up time:       3 min
Memory usage:  11% of 980M      IP:            192.168.30.241
CPU temp:      37°C             Usage of /:    69% of 2.4G
storage/:      36% of 252M
RX today:      10.6 KiB

Last login: Sat Feb 25 09:45:32 2023 from 192.168.30.234
root@armbian:~# lsblk
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda            8:0    1 57.3G  0 disk
├─sda1         8:1    1  255M  0 part /boot
└─sda2         8:2    1  2.5G  0 part /var/log.hdd
                                      /
mmcblk0      179:0    0  7.3G  0 disk
├─mmcblk0p1  179:1    0  160M  0 part
├─mmcblk0p2  179:2    0  720M  0 part
├─mmcblk0p3  179:3    0  720M  0 part
└─mmcblk0p4  179:4    0  5.7G  0 part
mmcblk0boot0 179:32   0    4M  1 disk
mmcblk0boot1 179:64   0    4M  1 disk
root@armbian:~# df -hT
Filesystem     Type   Size  Used Avail Use% Mounted on
tmpfs          tmpfs   99M  5.6M   93M   6% /run
/dev/sda2      ext4   2.4G  1.7G  767M  69% /
tmpfs          tmpfs  491M     0  491M   0% /dev/shm
tmpfs          tmpfs  5.0M     0  5.0M   0% /run/lock
tmpfs          tmpfs  491M  4.0K  491M   1% /tmp
/dev/sda1      vfat   252M   91M  161M  36% /boot
armbian-ramlog tmpfs   50M  1.1M   49M   3% /var/log
tmpfs          tmpfs   99M     0   99M   0% /run/user/0
root@armbian:~# blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL_FATBOOT="EMMC_BOOT" LABEL="EMMC_BOOT" UUID="E5FC-B93D" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="dd8ee066-01"
/dev/mmcblk0p2: LABEL="EMMC_ROOTFS1" UUID="c999cc06-5a0c-40d5-abb1-a40e8742b767" UUID_SUB="1d835446-cfb6-4c9a-8a10-d5f00a82ef69" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="dd8ee066-02"
/dev/mmcblk0p3: LABEL="EMMC_ROOTFS2" UUID="203ef8db-a5dc-4a5f-a5f7-48b47176a038" UUID_SUB="ce2ee3c2-d391-4c44-8373-d4400a424d74" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="dd8ee066-03"
/dev/mmcblk0p4: LABEL="EMMC_SHARED" UUID="c2a7e29c-2be5-4ec9-8a80-f0249f1e1c55" UUID_SUB="d5f191bb-4c26-46fa-90a7-c7ed09563f2f" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="dd8ee066-04"
/dev/sda2: LABEL="ROOTFS" UUID="3a9fa81b-6d47-4432-8049-89fcb12d609a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="9e657864-02"
/dev/sda1: LABEL_FATBOOT="BOOT" LABEL="BOOT" UUID="AED9-D0A9" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="9e657864-01"
root@armbian:~#

@ophub
Copy link
Owner

ophub commented Feb 25, 2023

你说的是不是你在电脑上双击打开/boot里面的文件,你都删了,换f大的armbian的/boot里面的文件?

我昨天也发现他的armbian和op不同,在他仓库里最新的打包op的配置里面少了一些文件,我问他原因还没回信息。我一会改一下用56版armbian的/boot文件,你再试一试。

这个设备,你以前是怎么写入emmc呢?使用的root下的脚本?还是从U盘中dd写入?

@yu13740000
Copy link
Author

U盘写完,点脑打开U盘,看到的文件,全删了,然后把f大U盘看到的全复制过来,能启动,但是启动的时候会出现两个ip会来回跳动一下。
一 微加云接在路由下,准备一个能正常启动的armbian u盘,启动进入armbian,在主路由下找到微加云网址,
用MobaXterm_CHS把镜像上传到armbian的/opt目录
二 清空emmc

  1. dd if=/dev/zero of=/dev/mmcblk0 bs=1M skip=16 && sync
  2. dd if=/dev/zero of=/dev/mmcblk0 bs=512 count=1 && sync
    三 刷入
    cd /opt
    dd if=openwrt_h6_vplus_R23.01.01_k6.1.2-flippy-80+.img of=/dev/mmcblk0 bs=1M
    sync
    halt
    关机后拔掉u盘,重新开机即可启动op系统
    ===========================================================================================
    微加云接在路由下
    一 准备一个能正常启动的armbian u盘,启动进入armbian,把镜像上传到armbian的/opt目录
    二 清空emmc
    mkfs.ext4 /dev/mmcblk0
    全格,不能断电
    三 刷入
    cd /opt
    dd if=openwrt_h6_vplus_R22.4.1_k5.4.188-flippy-71+o.img of=/dev/mmcblk0 bs=1M
    sync
    halt
    关机后拔掉u盘,重新开机即可启动op系统

==========================================================================================正常我们写入op用第二种清空,armbian还么写过,f大的新的可能有脚本,但是我们都一直格式化后dd进去。这么做的原因是最起初有个c大最先完成的op固件的uboot和现在的f大的uboot可能不一样,不格式化,刷第二人的会有点小问题,大部分是刷f大的启动困难,从F大的刷成c大的就没问题,c大的u-boot更强,但是c大退隐江湖,好几年不更新,他说电脑里的东西没了。

@yu13740000
Copy link
Author

yu13740000 commented Feb 25, 2023

另外请编译Debian的,我需要debian,好多平台只认Debian。

login as: root
root@192.168.30.118's password:
__     __     _
\ \   / / __ | |_   _ ___
 \ \ / / '_ \| | | | / __|
  \ V /| |_) | | |_| \__ \
   \_/ | .__/|_|\__,_|___/
       |_|
Welcome to Armbian 23.02.0-trunk Jammy with Linux 5.10.26-flippy-56+

System load:   25%              Up time:       3 min
Memory usage:  11% of 980M      IP:            192.168.30.118
CPU temp:      36°C             Usage of /:    70% of 2.4G
storage/:      36% of 252M
RX today:

[ General system configuration (beta): armbian-config ]

Last login: Sat Feb 25 10:17:23 2023 from 192.168.30.234
armbian:~:# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy
armbian:~:#

@ophub
Copy link
Owner

ophub commented Feb 25, 2023

一会我换一下/boot里面的文件重新生成一下。我刚才又学习了一下f大的op打包脚本和更新固件的脚本,他现在做的可能只针对你上面的方法使用,从armbian里面dd写入op至emmc,不再支持从U盘启动op了,我一会添加上原来56版支持U盘启动的cmd

@yu13740000
Copy link
Author

链接: https://pan.baidu.com/s/1Scz6Y85ToFSGBDB2pOYYfw?pwd=kuz9 提取码: kuz9

这个是c大的经典固件,就是很老,但是boot很好,你看看有没有用。

@ophub
Copy link
Owner

ophub commented Feb 25, 2023

https://github.com/unifreq/openwrt_packit/tree/master/files/vplus

f大持续更新过3个u-boot,咱们先测试最新版u-boot

@ophub
Copy link
Owner

ophub commented Feb 25, 2023

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bullseye_02.24.2231

先测试刷入U盘,能不能从U盘启动
启动后先测试下更新内核的脚本是否工作正常: armbian-update -k 6.1.12
再测试写入emmc功能(用安装脚本,不是dd): armbian-install

更新内核和写入emmc的这2步操作,发下你的执行日志。

mv -f ${DIR_INSTALL}/boot-emmc.scr ${DIR_INSTALL}/boot.scr
mv -f ${DIR_INSTALL}/boot-emmc.cmd ${DIR_INSTALL}/boot.cmd

我看网上一些帖子都是几年前的,说这个设备没有救砖系统和救砖工具?现在是什么情况了?

@yu13740000
Copy link
Author

新固件可以启动了,刷的6.1.13,我先U盘上折腾看看U盘上升级dietpi,暂时不写emmc。
微加云有一套救砖方案,有私密QQ群,当时第一批人买了后组建了群,由C大F大领头历经很久,出了破解方案,固件和方案没有网上公开,抵制奸商涨价,群里的都会救砖,只是微加云救砖比较麻烦,需要焊接OTG和adb线。

@ophub
Copy link
Owner

ophub commented Feb 25, 2023

U盘默认空间只有2.5G,先用armbian-tf命令,把U盘中的剩余可用空间启用了。不然的话在U盘中安装更多软件会因为空间不足而导致失败。

测试更新内核和写入emmc操作时贴一下日志,我确认一下操作执行情况。

@yu13740000
Copy link
Author

yu13740000 commented Feb 25, 2023

root@armbian:~# nano /home/dietpi-installer.sh
root@armbian:~# chmod +x /home/dietpi-installer.sh
root@armbian:~# cd /home
root@armbian:/home# ./dietpi-installer.sh
mount: /tmp: mount point not mounted or bad option.
removed '/etc/apt/apt.conf.d/71-armbian-no-recommends'
removed '/etc/apt/apt.conf.d/02-armbian-compress-indexes'
removed '/etc/apt/apt.conf.d/02-armbian-periodic'
removed '/etc/apt/apt.conf.d/02-armbian-postupdate'
removed '/etc/apt/apt.conf.d/81-armbian-no-languages'
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://security.debian.org bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:5 http://security.debian.org bullseye-security/main arm64 Packages [224 kB]
Get:6 http://security.debian.org bullseye-security/main armhf Packages [224 kB]
Get:7 http://deb.debian.org/debian bullseye/main armhf Packages [7945 kB]
Get:8 http://deb.debian.org/debian bullseye/main arm64 Packages [8072 kB]
Get:9 http://deb.debian.org/debian bullseye/main armhf Contents (deb) [9306 kB]
Get:10 http://deb.debian.org/debian bullseye/main all Contents (deb) [31.1 MB]
Get:11 http://deb.debian.org/debian bullseye/main arm64 Contents (deb) [9832 kB]
Get:12 http://deb.debian.org/debian bullseye/contrib arm64 Packages [41.0 kB]
Get:13 http://deb.debian.org/debian bullseye/contrib armhf Packages [40.2 kB]
Get:14 http://deb.debian.org/debian bullseye/contrib armhf Contents (deb) [29.2 kB]
Get:15 http://deb.debian.org/debian bullseye/contrib arm64 Contents (deb) [29.6 kB]
Get:16 http://deb.debian.org/debian bullseye/contrib all Contents (deb) [57.3 kB]
Get:17 http://deb.debian.org/debian bullseye/non-free armhf Packages [56.3 kB]
Get:18 http://deb.debian.org/debian bullseye/non-free arm64 Packages [73.0 kB]
Get:19 http://deb.debian.org/debian bullseye/non-free armhf Contents (deb) [13.5 kB]
Get:20 http://deb.debian.org/debian bullseye/non-free arm64 Contents (deb) [37.4 kB]
Get:21 http://deb.debian.org/debian bullseye/non-free all Contents (deb) [888 kB]
Get:22 http://deb.debian.org/debian bullseye-updates/main armhf Packages [12.0 kB]
Get:23 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [12.0 kB]
Get:24 http://deb.debian.org/debian bullseye-updates/main all Contents (deb) [25.0 kB]
Get:25 http://deb.debian.org/debian bullseye-updates/main arm64 Contents (deb) [42.8 kB]
Get:26 http://deb.debian.org/debian bullseye-updates/main armhf Contents (deb) [45.0 kB]
Get:27 http://deb.debian.org/debian bullseye-backports/main armhf Packages [393 kB]
Get:28 http://deb.debian.org/debian bullseye-backports/main arm64 Packages [397 kB]
Get:29 http://deb.debian.org/debian bullseye-backports/main all Contents (deb) [5137 kB]
Get:30 http://deb.debian.org/debian bullseye-backports/main arm64 Contents (deb) [1630 kB]
Get:31 http://deb.debian.org/debian bullseye-backports/main armhf Contents (deb) [1832 kB]
Get:32 http://deb.debian.org/debian bullseye-backports/contrib armhf Packages [4388 B]
Get:33 http://deb.debian.org/debian bullseye-backports/contrib arm64 Packages [4896 B]
Get:34 http://deb.debian.org/debian bullseye-backports/contrib arm64 Contents (deb) [16.4 kB]
Get:35 http://deb.debian.org/debian bullseye-backports/contrib all Contents (deb) [20.1 kB]
Get:36 http://deb.debian.org/debian bullseye-backports/contrib armhf Contents (deb) [16.3 kB]
Get:37 http://deb.debian.org/debian bullseye-backports/non-free armhf Packages [9060 B]
Get:38 http://deb.debian.org/debian bullseye-backports/non-free arm64 Packages [9868 B]
Get:39 http://deb.debian.org/debian bullseye-backports/non-free arm64 Contents (deb) [5710 B]
Get:40 http://deb.debian.org/debian bullseye-backports/non-free armhf Contents (deb) [3663 B]
Get:41 http://deb.debian.org/debian bullseye-backports/non-free all Contents (deb) [57.9 kB]
Fetched 77.9 MB in 20s (3885 kB/s)
Reading package lists... Done
[ INFO ] Selected Git branch: MichaIng/master
[ INFO ] DietPi-PREP | Detected distribution version: Bullseye (ID: 6)
[ INFO ] DietPi-PREP | Detected target CPU architecture: aarch64 (ID: 3)

 DietPi-PREP
─────────────────────────────────────────────────────
 Step: [0] Detecting existing DietPi system

[ INFO ] DietPi-PREP | No DietPi system found, skipping old instance uninstall...

 DietPi-PREP
─────────────────────────────────────────────────────
 Step: [1] Target system inputs

[ INFO ] DietPi-PREP | Entered image creator: yu13740000
[ INFO ] DietPi-PREP | Entered pre-image info: Debian
[ INFO ] DietPi-PREP | Selected hardware model ID: 27
[ INFO ] DietPi-PREP | Marking WiFi as NOT required
[ INFO ] DietPi-PREP | Selected Debian version: bullseye (ID: 6)

 DietPi-PREP
─────────────────────────────────────────────────────
 Step: [2] Downloading and installing DietPi source code

[  OK  ] DietPi-PREP | Downloading source code
[  OK  ] DietPi-PREP | Unpacking source code
[  OK  ] DietPi-PREP | Removing unused files
[  OK  ] DietPi-PREP | Hardening source code mode
[ INFO ] DietPi-PREP | Moving kernel and boot configuration to /boot
[  OK  ] DietPi-PREP | mv DietPi-master/dietpi.txt /boot/
[  OK  ] DietPi-PREP | mv DietPi-master/README.md /boot/dietpi-README.md
[  OK  ] DietPi-PREP | mv DietPi-master/LICENSE /boot/dietpi-LICENSE.txt
[  OK  ] DietPi-PREP | Copy DietPi scripts to /boot/dietpi
[  OK  ] DietPi-PREP | Copy DietPi system files in place
[  OK  ] DietPi-PREP | Clean download location
[ INFO ] DietPi-PREP | Storing DietPi version info:
[  OK  ] DietPi-PREP | Desired setting in /boot/dietpi.txt was already set: DEV_GITBRANCH=master
[  OK  ] DietPi-PREP | Desired setting in /boot/dietpi.txt was already set: DEV_GITOWNER=MichaIng
[ INFO ] DietPi-PREP | Applying DietPi live patches to fix known bugs in this version
[  OK  ] DietPi-PREP | Added setting G_LIVE_PATCH_STATUS[0]='not applicable' to end of file /boot/dietpi/.version
[ INFO ] DietPi-PREP | Applying live patch 1
[  OK  ] DietPi-PREP | Added setting G_LIVE_PATCH_STATUS[1]='applied' to end of file /boot/dietpi/.version
[ INFO ] DietPi-PREP | Applying live patch 2
[  OK  ] DietPi-PREP | Added setting G_LIVE_PATCH_STATUS[2]='applied' to end of file /boot/dietpi/.version
[  OK  ] DietPi-PREP | cp /boot/dietpi/.version /var/lib/dietpi/.dietpi_image_version
[  OK  ] DietPi-PREP | systemctl daemon-reload

 DietPi-PREP
─────────────────────────────────────────────────────
 Step: [3] APT configuration

[ INFO ] DietPi-PREP | Setting APT sources.list: bullseye 6
[  OK  ] DietPi-PREP | /boot/dietpi/func/dietpi-set_software apt-mirror default
[  OK  ] DietPi-PREP | mkdir -p /run/dietpi /var/tmp/dietpi/logs
[ INFO ] DietPi-PREP | APT update, please wait...
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye-updates InRelease
Get:3 https://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
Get:5 https://deb.debian.org/debian-security bullseye-security/main arm64 Packages [224 kB]
Get:6 https://deb.debian.org/debian-security bullseye-security/main armhf Packages [224 kB]
Fetched 497 kB in 2s (217 kB/s)
Reading package lists...
[  OK  ] DietPi-PREP | APT update
[ INFO ] DietPi-PREP | Marking all packages as auto-installed first, to allow effective autoremove afterwards
[  OK  ] DietPi-PREP | apt-mark auto adduser alsa-utils apt apt-file apt-utils aptitude aptitude-common armbian-bsp-cli-odroidn2 armbian-config armbian-firmware armbian-plymouth-theme armbian-zsh autoconf automake autotools-dev avahi-autoipd base-files base-passwd bash bash-completion bc bind9-dnsutils bind9-host bind9-libs binutils binutils-aarch64-linux-gnu binutils-common bison bridge-utils bsdextrautils bsdutils btrfs-progs build-essential bzip2 ca-certificates chrony command-not-found console-setup console-setup-linux coreutils cpio cpp cpp-10 cpufrequtils cracklib-runtime crda cron curl dash dbus dbus-user-session dctrl-tools debconf debconf-utils debian-archive-keyring debianutils device-tree-compiler dialog diffutils dirmngr distro-info-data dkms dmsetup dnsutils dosfstools dpkg dpkg-dev e2fsprogs ethtool evtest expect f2fs-tools f3 fake-hwclock fbset fdisk figlet file findutils flex fontconfig fontconfig-config fonts-cantarell fonts-dejavu-core fping fuse g++ g++-10 gcc gcc-10 gcc-10-base gcc-9-base gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 git git-man gnupg gnupg-l10n gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv gpiod grep groff-base gzip haveged hdparm hostapd hostname hping3 html2text htop i2c-tools ifenslave ifupdown init init-system-helpers initramfs-tools initramfs-tools-core iotop iozone3 iperf3 iproute2 iptables iputils-arping iputils-ping isc-dhcp-client iso-codes iw jq kbd keyboard-configuration keyutils klibc-utils kmod less libacl1 libapparmor1 libapt-pkg-perl libapt-pkg6.0 libargon2-1 libasan6 libasound2 libasound2-data libassuan0 libatomic1 libatopology2 libattr1 libaudit-common libaudit1 libbinutils libblkid1 libbluetooth3 libboost-iostreams1.74.0 libbpf0 libbrotli1 libbsd0 libbz2-1.0 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcaca0 libcairo2 libcap-ng0 libcap2 libcap2-bin libcbor0 libcc1-0 libcom-err2 libcpufreq0 libcrack2 libcrypt-dev libcrypt1 libcryptsetup12 libctf-nobfd0 libctf0 libcurl3-gnutls libcurl4 libcwidget4 libdaemon0 libdatrie1 libdb5.3 libdbus-1-3 libdebconfclient0 libdevmapper1.02.1 libdigest-sha-perl libdns-export1110 libdpkg-perl libdrm-common libdrm2 libedit2 libelf1 liberror-perl libestr0 libevent-2.1-7 libexpat1 libexporter-tiny-perl libext2fs2 libfastjson4 libfdisk1 libfdt1 libffi7 libfftw3-single3 libfido2-1 libfile-fnmatch-perl libfontconfig1 libfreetype6 libfribidi0 libfstrm0 libfuse2 libgcc-10-dev libgcc-s1 libgcrypt20 libgdbm-compat4 libgdbm6 libgirepository-1.0-1 libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgpiod2 libgpm2 libgraphite2-3 libgssapi-krb5-2 libharfbuzz0b libhavege2 libhogweed6 libi2c0 libicu67 libidn2-0 libiniparser1 libip4tc2 libip6tc2 libiperf0 libisc-export1105 libisl23 libitm1 libiw30 libjansson4 libjq1 libjson-c5 libk5crypto3 libkeyutils1 libklibc libkmod2 libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2 liblist-moreutils-perl liblist-moreutils-xs-perl liblmdb0 liblocale-gettext-perl liblognorm5 liblsan0 liblz4-1 liblzma5 liblzo2-2 libmagic-mgc libmagic1 libmaxminddb0 libmd0 libmm-glib0 libmnl0 libmount1 libmpc3 libmpdec3 libmpfr6 libncurses6 libncursesw6 libndp0 libnetfilter-conntrack3 libnetplan0 libnettle8 libnewt0.52 libnfnetlink0 libnfsidmap2 libnftnl11 libnghttp2-14 libnl-3-200 libnl-3-dev libnl-genl-3-200 libnl-genl-3-dev libnl-route-3-200 libnm0 libnpth0 libnsl-dev libnsl2 libnss-myhostname libntfs-3g883 libonig5 libp11-kit0 libpackagekit-glib2-18 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libparted2 libpcap0.8 libpci3 libpcre2-8-0 libpcre3 libpcsclite1 libperl5.32 libpipeline1 libpixman-1-0 libpkcs11-helper1 libplymouth5 libpng16-16 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpopt0 libproc-processtable-perl libprocps8 libprotobuf-c1 libpsl5 libpython3-stdlib libpython3.9-minimal libpython3.9-stdlib libqrencode4 libreadline8 libregexp-assemble-perl librtmp1 libsamplerate0 libsasl2-2 libsasl2-modules-db libsctp1 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsensors-config libsensors5 libsepol1 libsigc++-2.0-0v5 libsigsegv2 libslang2 libsmartcols1 libsqlite3-0 libss2 libssh2-1 libssl-dev libssl1.1 libstdc++-10-dev libstdc++6 libsysfs2 libsystemd0 libtasn1-6 libtcl8.6 libteamdctl0 libthai-data libthai0 libtinfo6 libtirpc-common libtirpc-dev libtirpc3 libtsan0 libubsan1 libuchardet0 libudev1 libunistring2 libusb-1.0-0 libutempter0 libuuid1 libuv1 libwrap0 libwrap0-dev libx11-6 libx11-data libxapian30 libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxml2 libxrender1 libxtables12 libxxhash0 libyaml-0-2 libzstd1 linux-base linux-libc-dev locales login logrotate logsave lsb-base lsb-release lsof m4 make man-db mawk mc mc-data media-types mmc-utils mount mtd-utils nano ncurses-base ncurses-bin ncurses-term net-tools netbase netcat-openbsd netplan.io network-manager network-manager-openvpn networkd-dispatcher nfs-common nocache ntfs-3g openssh-client openssh-server openssh-sftp-server openssl openvpn parted passwd patch pci.ids pciutils perl perl-base perl-modules-5.32 pinentry-curses plymouth plymouth-label plymouth-themes policykit-1 procps psmisc pv python-apt-common python3 python3-apt python3-dbus python3-distro-info python3-distutils python3-gi python3-lib2to3 python3-minimal python3-netifaces python3-pycurl python3-software-properties python3-yaml python3.9 python3.9-minimal qrencode readline-common resolvconf rfkill rpcbind rsync rsyslog runit-helper screen sed sensible-utils smartmontools software-properties-common stress sudo sunxi-tools sysfsutils sysstat systemd systemd-sysv sysvinit-utils tar tcl-expect tcl8.6 tmux toilet toilet-fonts tzdata u-boot-tools ucf udev unattended-upgrades unicode-data unzip usbutils util-linux vim vim-common vim-runtime vlan vnstat wget whiptail wireguard-tools wireless-regdb wireless-tools wpasupplicant xkb-data xxd xz-utils zip zlib1g zsh zsh-common
[  OK  ] DietPi-PREP | mkdir -p /etc/kernel/postinst.d /etc/kernel/postrm.d /etc/initramfs/post-update.d
[  OK  ] DietPi-PREP | chmod +x /etc/initramfs/post-update.d/99-dietpi-uboot
[  OK  ] DietPi-PREP | chmod +x /etc/kernel/postinst.d/dietpi-initramfs_cleanup
[  OK  ] DietPi-PREP | ln -sf /etc/kernel/postinst.d/dietpi-initramfs_cleanup /etc/kernel/postrm.d/dietpi-initramfs_cleanup
[  OK  ] DietPi-PREP | rmdir --ignore-fail-on-non-empty /etc/kernel/preinst.d
[  OK  ] DietPi-PREP | eval curl -sSfL 'https://apt.armbian.com/armbian.key' | gpg --dearmor -o /etc/apt/trusted.gpg.d/dietpi-armbian.gpg --yes
[  OK  ] DietPi-PREP | rm /etc/apt/trusted.gpg
[FAILED] DietPi-PREP | rm /etc/apt/sources.list.d/*
[FAILED] DietPi-PREP | rm /etc/apt/sources.list.d/*
[FAILED] DietPi-PREP | rm /etc/apt/sources.list.d/*

---------------------------------------------------------------------
- DietPi has encountered an error                                   -
- Please create a ticket: https://github.com/MichaIng/DietPi/issues -
- Copy and paste only the BLUE lines below into the ticket          -
---------------------------------------------------------------------
#### Details:
- Date           | Sat Feb 25 12:52:57 CST 2023
- DietPi version | v8.14.2 (MichaIng/master)
- Image creator  |
- Pre-image      |
- Hardware       |  (ID=27)
- Kernel version | `Linux armbian 5.15.95-flippy-82+o #212 SMP PREEMPT Thu Feb 23 21:20:57 CST 2023 aarch64 GNU/Linux`
- Distro         | bullseye (ID=6,RASPBIAN=0)
- Command        | `rm /etc/apt/sources.list.d/*`
- Exit code      | 1
- Software title | DietPi-PREP
#### Steps to reproduce:
<!-- Explain how to reproduce the issue -->
1. ...
2. ...
#### Expected behaviour:
<!-- What SHOULD happen? -->
- ...
#### Actual behaviour:
<!-- What IS happening? -->
- ...
#### Extra details:
<!-- Please post any extra details that might help solve the issue -->
- ...
#### Additional logs:

rm: cannot remove '/etc/apt/sources.list.d/*': No such file or directory

---------------------------------------------------------------------
[FAILED] DietPi-PREP | Unable to continue, DietPi-PREP will now terminate.

root@armbian:/home#

@yu13740000
Copy link
Author

rm: cannot remove '/etc/apt/sources.list.d/*': No such file or directory
两个版本的armbian都会提示这个错误

@ophub
Copy link
Owner

ophub commented Feb 25, 2023

这个目录下默认没文件。这是一些软件源自己安装源时存放的路径。

@yu13740000
Copy link
Author

yu13740000 commented Feb 25, 2023

我记得哪一个armbian好像有,我如法添加了armbian.list(内容deb https://apt.armbian.com/ bullseye main)和zerotier.list(内容deb http://download.zerotier.com/debian/bullseye bullseye main)但是提示啥秘钥不对,前些天折腾n1的升级dietpi好像这两文件没报错。


┌─────────────────────────────────────────────────┤ DietPi-PREP ├──────────────────────────────────────────────────┐
│ APT update                                                                                                       │
│  - Command: apt-get -y -eany update                                                                              │
│  - Exit code: 100                                                                                                │
│  - DietPi version: v8.14.2 (MichaIng/master) | HW_MODEL: 27 | HW_ARCH: 3 | DISTRO: 6                             │
│  - Error log:                                                                                                    │
│ Get:1 http://download.zerotier.com/debian/bullseye bullseye InRelease [36.9 kB]                                  │
│ Hit:2 https://deb.debian.org/debian bullseye InRelease                                                           │
│ Hit:3 https://deb.debian.org/debian bullseye-updates InRelease                                                   │
│ Hit:4 https://deb.debian.org/debian-security bullseye-security InRelease                                         │
│ Hit:5 https://deb.debian.org/debian bullseye-backports InRelease                                                 │
│ Get:6 https://sg-mirror.bret.dk/armbian/apt bullseye InRelease [53.3 kB]                                         │
│ Err:1 http://download.zerotier.com/debian/bullseye bullseye InRelease                                            │
│   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY               │
│ 1657198823E52A61                                                                                                 │
│ Reading package lists...                                                                                         │
│ W: GPG error: http://download.zerotier.com/debian/bullseye bullseye InRelease: The following signatures couldn't │
│ be verified because the public key is not available: NO_PUBKEY 1657198823E52A61                                  │
│ E: The repository 'http://download.zerotier.com/debian/bullseye bullseye InRelease' is not signed.               │
│                                                                                                                  │
│                       Retry          : Re-run the last command that failed                                       │
│                       DietPi-Config  : Edit network, APT/NTP mirror settings etc                                 │
│                       Open subshell  : Open a subshell to investigate or solve the issue                         │
│                       Send report    : Uploads bugreport containing system info to DietPi                        │
│                                      ●─ Devs only ──────────────────────────────────────●                        │
│                       Change command : Adjust and rerun the command                                              │
│                                                                                                                  │
│                                                                                                                  │
│                                 <Ok>                                     <Exit>                                  │
│                                                                                                                  │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

@yu13740000
Copy link
Author

yu13740000 commented Feb 25, 2023

root@armbian:~#  lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
root@armbian:~# apt update
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://security.debian.org bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:5 http://deb.debian.org/debian bullseye/main armhf Packages [10.8 MB]
Get:6 http://deb.debian.org/debian bullseye/main arm64 Packages [10.9 MB]
Get:7 http://deb.debian.org/debian bullseye/main all Contents (deb) [31.1 MB]
Get:8 http://deb.debian.org/debian bullseye/main armhf Contents (deb) [9,306 kB]
Get:9 http://deb.debian.org/debian bullseye/main arm64 Contents (deb) [9,832 kB]
Get:10 http://deb.debian.org/debian bullseye/contrib arm64 Packages [49.0 kB]
Get:11 http://deb.debian.org/debian bullseye/contrib armhf Packages [47.8 kB]
Get:12 http://deb.debian.org/debian bullseye/contrib arm64 Contents (deb) [29.6 kB]
Get:13 http://deb.debian.org/debian bullseye/contrib all Contents (deb) [57.3 kB]
Get:14 http://deb.debian.org/debian bullseye/contrib armhf Contents (deb) [29.2 kB]
Get:15 http://deb.debian.org/debian bullseye/non-free arm64 Packages [88.2 kB]
Get:16 http://deb.debian.org/debian bullseye/non-free armhf Packages [67.3 kB]
Get:17 http://deb.debian.org/debian bullseye/non-free armhf Contents (deb) [13.5 kB]
Get:18 http://deb.debian.org/debian bullseye/non-free all Contents (deb) [888 kB]
Get:19 http://deb.debian.org/debian bullseye/non-free arm64 Contents (deb) [37.4 kB]
Reading package lists... Done
E: Release file for http://security.debian.org/dists/bullseye-security/InRelease is not valid yet (invalid for another 2d 12h 17min 59s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/bullseye-updates/InRelease is not valid yet (invalid for another 2d 14h 57min 8s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/bullseye-backports/InRelease is not valid yet (invalid for another 2d 14h 57min 7s). Updates for this repository will not be applied.
root@armbian:~# sudo date 022514542023.30
Sat 25 Feb 2023 02:54:30 PM CST
root@armbian:~# apt update
Get:1 http://security.debian.org bullseye-security InRelease [48.4 kB]
Hit:2 http://deb.debian.org/debian bullseye InRelease
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:5 http://security.debian.org bullseye-security/main arm64 Packages [284 kB]
Get:6 http://security.debian.org bullseye-security/main armhf Packages [284 kB]
Get:7 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [12.0 kB]
Get:8 http://deb.debian.org/debian bullseye-updates/main armhf Packages [12.0 kB]
Get:9 http://deb.debian.org/debian bullseye-updates/main arm64 Contents (deb) [42.8 kB]
Get:10 http://deb.debian.org/debian bullseye-updates/main all Contents (deb) [25.0 kB]
Get:11 http://deb.debian.org/debian bullseye-updates/main armhf Contents (deb) [45.0 kB]
Get:12 http://deb.debian.org/debian bullseye-backports/main armhf Packages [393 kB]
Get:13 http://deb.debian.org/debian bullseye-backports/main arm64 Packages [397 kB]
Get:14 http://deb.debian.org/debian bullseye-backports/main armhf Contents (deb) [1,832 kB]
Get:15 http://deb.debian.org/debian bullseye-backports/main all Contents (deb) [5,137 kB]
Get:16 http://deb.debian.org/debian bullseye-backports/main arm64 Contents (deb) [1,630 kB]
Get:17 http://deb.debian.org/debian bullseye-backports/contrib arm64 Packages [4,896 B]
Get:18 http://deb.debian.org/debian bullseye-backports/contrib armhf Packages [4,388 B]
Get:19 http://deb.debian.org/debian bullseye-backports/contrib armhf Contents (deb) [16.3 kB]
Get:20 http://deb.debian.org/debian bullseye-backports/contrib all Contents (deb) [20.1 kB]
Get:21 http://deb.debian.org/debian bullseye-backports/contrib arm64 Contents (deb) [16.4 kB]
Get:22 http://deb.debian.org/debian bullseye-backports/non-free arm64 Packages [9,868 B]
Get:23 http://deb.debian.org/debian bullseye-backports/non-free armhf Packages [9,060 B]
Get:24 http://deb.debian.org/debian bullseye-backports/non-free arm64 Contents (deb) [5,710 B]
Get:25 http://deb.debian.org/debian bullseye-backports/non-free all Contents (deb) [57.9 kB]
Get:26 http://deb.debian.org/debian bullseye-backports/non-free armhf Contents (deb) [3,663 B]
Fetched 10.2 MB in 5s (2,217 kB/s)
Reading package lists... Done
Building dependency tree... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@armbian:~# apt list --upgradable
Listing... Done
git-man/stable-security,stable-security 1:2.30.2-1+deb11u2 all [upgradable from: 1:2.30.2-1+deb11u1]
git/stable-security 1:2.30.2-1+deb11u2 arm64 [upgradable from: 1:2.30.2-1+deb11u1]
libgnutls30/stable-security 3.7.1-5+deb11u3 arm64 [upgradable from: 3.7.1-5+deb11u2]
root@armbian:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
  git git-man libgnutls30
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,513 kB of archives.
After this operation, 16.4 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org bullseye-security/main arm64 libgnutls30 arm64 3.7.1-5+deb11u3 [1,262 kB]
Get:2 http://security.debian.org bullseye-security/main arm64 git-man all 1:2.30.2-1+deb11u2 [1,828 kB]
Get:3 http://security.debian.org bullseye-security/main arm64 git arm64 1:2.30.2-1+deb11u2 [5,423 kB]
Fetched 8,513 kB in 3s (2,833 kB/s)
(Reading database ... 37432 files and directories currently installed.)
Preparing to unpack .../libgnutls30_3.7.1-5+deb11u3_arm64.deb ...
Unpacking libgnutls30:arm64 (3.7.1-5+deb11u3) over (3.7.1-5+deb11u2) ...
Setting up libgnutls30:arm64 (3.7.1-5+deb11u3) ...
(Reading database ... 37432 files and directories currently installed.)
Preparing to unpack .../git-man_1%3a2.30.2-1+deb11u2_all.deb ...
Unpacking git-man (1:2.30.2-1+deb11u2) over (1:2.30.2-1+deb11u1) ...
Preparing to unpack .../git_1%3a2.30.2-1+deb11u2_arm64.deb ...
Unpacking git (1:2.30.2-1+deb11u2) over (1:2.30.2-1+deb11u1) ...
Setting up git-man (1:2.30.2-1+deb11u2) ...
Setting up git (1:2.30.2-1+deb11u2) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...
root@armbian:~#
你是要看这个日记吗?

@Yxini
Copy link

Yxini commented Feb 25, 2023

如何安装dietpi 我这网络不行老是下载不了

@yu13740000
Copy link
Author

好的梯子才行,然后电脑ping 9.9.9.9正常,一般就可以

@Yxini
Copy link

Yxini commented Feb 25, 2023

刚解决网络问题,现在走条中
图片

@yu13740000
Copy link
Author

image

@yu13740000
Copy link
Author

成功,把zerotier.list这个第三方源地址换成了Debian官方的,然后脚本运行错误,自动换了,再也不提示出错了。直至升级完成dietpi

@Yxini
Copy link

Yxini commented Feb 25, 2023

什么都没改,直接解决网络问题就已经安装成功。

@Yxini
Copy link

Yxini commented Feb 25, 2023

@yu13740000
有没有DIETPI相关的教程,我是看“数码视讯Q5刷Armbian+写进EMMC+安装DietPi+squeezelite”( http://www2.erji.net/forum.php?mod=viewthread&tid=2283866&extra=&page=2 )这篇文章安装的

@yu13740000
Copy link
Author

@ophub
Copy link
Owner

ophub commented Feb 25, 2023

在USB上先测试下更新内核的脚本是否工作正常: armbian-update -k 6.1.12
再测试写入emmc功能(用安装脚本,不是dd): armbian-install
这2步的日志详情也发一下

@ophub
Copy link
Owner

ophub commented Feb 25, 2023

@Yxini 你有数码视讯Q5盒子?这个设备使用的dtb和u-boot是哪个?

cat /boot/uEnv.txt
ls -l /boot/u-boot*

@Yxini
Copy link

Yxini commented Feb 25, 2023

我用的是魔百和的CM311-1A

@yu13740000
Copy link
Author

@ophub 这会儿微加云U盘上的armbian已经升级成了dietpi了,正在测试dietpi,稍后测试。

@yu13740000
Copy link
Author

yu13740000 commented Feb 25, 2023

Welcome to ARMBIAN!

Documentation: https://docs.armbian.com | Community: https://forum.armbian.com

IP address: 192.168.30.197

Create root password: **********
Repeat root password: **********

Choose default system command shell:

1) bash
2) zsh

Shell: BASH

Creating a new user account. Press <Ctrl-C> to abort

Please provide a username (eg. your first name): ^C
Disabling user account creation procedure

root@armbian:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
root@armbian:~# armbian-update -k 6.1.12
[ STEPS ] Welcome to the kernel update tool.
[ STEPS ] Start checking dependencies...
[ INFO ] Start installing the necessary dependencies.
Get:1 http://security.debian.org bullseye-security InRelease [48.4 kB]
Get:2 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:5 http://deb.debian.org/debian bullseye/main armhf Packages [10.8 MB]
Get:6 http://deb.debian.org/debian bullseye/main arm64 Packages [10.9 MB]
Get:7 http://deb.debian.org/debian bullseye/main arm64 Contents (deb) [9,832 kB]
Get:8 http://deb.debian.org/debian bullseye/main all Contents (deb) [31.1 MB]
Get:9 http://deb.debian.org/debian bullseye/main armhf Contents (deb) [9,306 kB]
Get:10 http://deb.debian.org/debian bullseye/contrib arm64 Packages [49.0 kB]
Get:11 http://deb.debian.org/debian bullseye/contrib armhf Packages [47.8 kB]
Get:12 http://deb.debian.org/debian bullseye/contrib armhf Contents (deb) [29.2 kB]
Get:13 http://deb.debian.org/debian bullseye/contrib all Contents (deb) [57.3 kB]
Get:14 http://deb.debian.org/debian bullseye/contrib arm64 Contents (deb) [29.6 kB]
Get:15 http://deb.debian.org/debian bullseye/non-free armhf Packages [67.3 kB]
Get:16 http://deb.debian.org/debian bullseye/non-free arm64 Packages [88.2 kB]
Get:17 http://deb.debian.org/debian bullseye/non-free all Contents (deb) [888 kB]
Get:18 http://deb.debian.org/debian bullseye/non-free armhf Contents (deb) [13.5 kB]
Get:19 http://deb.debian.org/debian bullseye/non-free arm64 Contents (deb) [37.4 kB]
Reading package lists... Done
E: Release file for http://security.debian.org/dists/bullseye-security/InRelease is not valid yet (invalid for another 2d 12h 13min 21s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/bullseye-updates/InRelease is not valid yet (invalid for another 2d 20h 50min 47s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/bullseye-backports/InRelease is not valid yet (invalid for another 2d 20h 50min 47s). Updates for this repository will not be applied.
Reading package lists... Done
Building dependency tree... Done
coreutils is already the newest version (8.32-4).
tar is already the newest version (1.34+dfsg-1).
bsdextrautils is already the newest version (2.36.1-8+deb11u1).
The following additional packages will be installed:
  libapr1 libaprutil1 libserf-1-1 libsvn1 libutf8proc2
Suggested packages:
  db5.3-util libapache2-mod-svn subversion-tools
The following NEW packages will be installed:
  libapr1 libaprutil1 libserf-1-1 libsvn1 libutf8proc2 subversion
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,593 kB of archives.
After this operation, 10.3 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main arm64 libapr1 arm64 1.7.0-6+deb11u1 [98.8 kB]
Get:2 http://deb.debian.org/debian bullseye/main arm64 libaprutil1 arm64 1.6.1-5 [89.6 kB]
Get:3 http://deb.debian.org/debian bullseye/main arm64 libserf-1-1 arm64 1.3.9-10 [52.6 kB]
Get:4 http://deb.debian.org/debian bullseye/main arm64 libutf8proc2 arm64 2.5.0-1 [54.2 kB]
Get:5 http://deb.debian.org/debian bullseye/main arm64 libsvn1 arm64 1.14.1-3+deb11u1 [1,320 kB]
Get:6 http://deb.debian.org/debian bullseye/main arm64 subversion arm64 1.14.1-3+deb11u1 [978 kB]
Fetched 2,593 kB in 1s (2,261 kB/s)
Selecting previously unselected package libapr1:arm64.
(Reading database ... 37432 files and directories currently installed.)
Preparing to unpack .../0-libapr1_1.7.0-6+deb11u1_arm64.deb ...
Unpacking libapr1:arm64 (1.7.0-6+deb11u1) ...
Selecting previously unselected package libaprutil1:arm64.
Preparing to unpack .../1-libaprutil1_1.6.1-5_arm64.deb ...
Unpacking libaprutil1:arm64 (1.6.1-5) ...
Selecting previously unselected package libserf-1-1:arm64.
Preparing to unpack .../2-libserf-1-1_1.3.9-10_arm64.deb ...
Unpacking libserf-1-1:arm64 (1.3.9-10) ...
Selecting previously unselected package libutf8proc2:arm64.
Preparing to unpack .../3-libutf8proc2_2.5.0-1_arm64.deb ...
Unpacking libutf8proc2:arm64 (2.5.0-1) ...
Selecting previously unselected package libsvn1:arm64.
Preparing to unpack .../4-libsvn1_1.14.1-3+deb11u1_arm64.deb ...
Unpacking libsvn1:arm64 (1.14.1-3+deb11u1) ...
Selecting previously unselected package subversion.
Preparing to unpack .../5-subversion_1.14.1-3+deb11u1_arm64.deb ...
Unpacking subversion (1.14.1-3+deb11u1) ...
Setting up libutf8proc2:arm64 (2.5.0-1) ...
Setting up libapr1:arm64 (1.7.0-6+deb11u1) ...
Setting up libaprutil1:arm64 (1.6.1-5) ...
Setting up libserf-1-1:arm64 (1.3.9-10) ...
Setting up libsvn1:arm64 (1.14.1-3+deb11u1) ...
Setting up subversion (1.14.1-3+deb11u1) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...
Processing triggers for man-db (2.9.4-2) ...

[ STEPS ] Start initializing the environment...
[ INFO ] Armbian PLATFORM: [ allwinner ]
[ INFO ] Kernel branch: [ stable ]
[ INFO ] Kernel download directory: [ stable ]
[ INFO ] Kernel name: [ 6.1.12 ]

[ STEPS ] Start downloading kernel...
[ INFO ] Start downloading the kernel from [ https://github.com/ophub/kernel/tree/main/pub/stable/6.1.12 ]
[ INFO ] Download the kernel files to the temporary directory: [ /tmp/tmp.svotIGfBPE ]
A    /tmp/tmp.svotIGfBPE
A    /tmp/tmp.svotIGfBPE/boot-6.1.12-flippy-82+.tar.gz
A    /tmp/tmp.svotIGfBPE/dtb-allwinner-6.1.12-flippy-82+.tar.gz
A    /tmp/tmp.svotIGfBPE/dtb-amlogic-6.1.12-flippy-82+.tar.gz
A    /tmp/tmp.svotIGfBPE/dtb-rockchip-6.1.12-flippy-82+.tar.gz
A    /tmp/tmp.svotIGfBPE/header-6.1.12-flippy-82+.tar.gz
A    /tmp/tmp.svotIGfBPE/modules-6.1.12-flippy-82+.tar.gz
A    /tmp/tmp.svotIGfBPE/sha256sums
Exported revision 775.

[ STEPS ] Start checking the kernel...
[ INFO ] Kernel name: [ 6.1.12-flippy-82+ ]
[ INFO ] Enable sha256sum checking...
[ INFO ] (1/4) [ boot-6.1.12-flippy-82+.tar.gz ] file sha256sum check same.
[ INFO ] (2/4) [ dtb-allwinner-6.1.12-flippy-82+.tar.gz ] file sha256sum check same.
[ INFO ] (3/4) [ header-6.1.12-flippy-82+.tar.gz ] file sha256sum check same.
[ INFO ] (4/4) [ modules-6.1.12-flippy-82+.tar.gz ] file sha256sum check same.

[ STEPS ] Start backing up the current kernel...
[ INFO ] (1/4) The [ boot-6.1.13-flippy-82+.tar.gz ] backup successful.
[ INFO ] (2/4) The [ dtb-allwinner-6.1.13-flippy-82+.tar.gz ] backup successful.
[ INFO ] (3/4) The [ header-6.1.13-flippy-82+.tar.gz ] backup successful.
[ INFO ] (4/4) The [ modules-6.1.13-flippy-82+.tar.gz ] backup successful.
[ INFO ] The [ sha256sums ] file has been generated.
[ INFO ] The current kernel backup path: [ /ddbr/backup/6.1.13 ]. It can be deleted if it is not needed.

[ STEPS ] Start unpacking the kernel...
[ INFO ] (1/4) Unpacking [ boot-6.1.12-flippy-82+.tar.gz ] done.
[ INFO ] (2/4) Unpacking [ dtb-allwinner-6.1.12-flippy-82+.tar.gz ] done.
[ INFO ] (3/4) Unpacking [ header-6.1.12-flippy-82+.tar.gz ] done.
[ INFO ] (4/4) Unpacking [ modules-6.1.12-flippy-82+.tar.gz ] done.

[ SUCCESS ] Successfully updated, automatic restarting...


@yu13740000
Copy link
Author

ubuntu不支持,麻烦章鱼也编译一个Debian的

@yu13740000
Copy link
Author

image
微加的还是不行

@ophub
Copy link
Owner

ophub commented Feb 28, 2023

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bullseye_02.28.0839

我修复了一下,你下载这个链接里的USB试试

@ophub
Copy link
Owner

ophub commented Mar 1, 2023

https://github.com/ophub/amlogic-s9xxx-armbian/releases
你下载最新的试试

@yu13740000
Copy link
Author

不能用
image

@yu13740000
Copy link
Author

912的有没有编译Debian的?

@ophub
Copy link
Owner

ophub commented Mar 1, 2023

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bullseye_03.01.0815

换了fat32格式,再试试这个

s912的也有,在releases里

@yu13740000
Copy link
Author

yu13740000 commented Mar 1, 2023

启动不了,灯也不亮。

另外s912我的要的是Debian的,Ubuntu没法用,网上armbian好像大部分都是Debian的,f大的也是Debian,你为啥偏爱Ubuntu?

@yu13740000
Copy link
Author

image

@ophub
Copy link
Owner

ophub commented Mar 1, 2023

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bullseye_03.01.0150

找bullseye就是debian,jammy是ubuntu,两个都是同时构建,我都爱

@yu13740000
Copy link
Author

看了第一个最新的,没往下面看,原来的分开的,明白了,大佬辛苦了!

@yu13740000
Copy link
Author

image
大佬s922x的启动不了,还是用的f大的56+全部换了boot能启动

@ophub
Copy link
Owner

ophub commented Mar 2, 2023

这是什么盒子,我的gtk-pro(s922x)可以用

@yu13740000
Copy link
Author

阿里云会议盒子,用56+boot可以启动

@ophub
Copy link
Owner

ophub commented Mar 2, 2023

链接: https://pan.baidu.com/s/1Scz6Y85ToFSGBDB2pOYYfw?pwd=kuz9 提取码: kuz9

这个是c大的经典固件,就是很老,但是boot很好,你看看有没有用。

这个再分享一下

@ophub
Copy link
Owner

ophub commented Mar 3, 2023

Snip20230303_1

Snip20230303_3

Snip20230303_4

Snip20230303_6

还是之前的uEnv.txt方案,使用的f大的相关启动文件。
安装命令:armbian-install
更新内核命令:armbian-update

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_jammy_03.02.2228

@ophub
Copy link
Owner

ophub commented Mar 3, 2023

Snip20230303_8

Snip20230303_10

Snip20230303_11

Snip20230303_12

Snip20230303_13

采用armbianEnv.txt的方案也测试了没问题。使用了f大的u-boot
安装命令:armbian-install
更新内核命令:armbian-update

@ophub
Copy link
Owner

ophub commented Mar 3, 2023

我更换了新的boot.cmd也可以,之前使用的是老版本的。

  • 使用旧版boot.cmd时需要用extlinux/extlinux.conf才可以启动,armbianEnv.txt删除了也能启动。

  • 使用新版boot.cmd时,只使用armbianEnv.txt也能启动,不需要extlinux/extlinux.conf。或者只使用extlinux/extlinux.conf,不使用armbianEnv.txt也能启动。两个都存在也可以启动。

我是用armbian-install写入的,对于allwinner目前的固件,用dd应该也一样,没区别。

Snip20230303_14

Snip20230303_15

Snip20230303_16

Snip20230303_8

Snip20230303_13

@yu13740000
Copy link
Author

好的,大佬辛苦了,有空测试一下新的微加固件。

链接: https://pan.baidu.com/s/1lZWS2zZlDsv8JuxaS57rlw?pwd=gn5r 提取码: gn5r 复制这段内容后打开百度网盘手机App,操作更方便哦
这个固件的启动非常好,f大的经常启动不了,暗红灯,要重新拔插电,有时reboot也能卡住,不能启动,但是f大说dtb优化了usb3.0的网卡,你看看有没有价值。

@yu13740000
Copy link
Author

yu13740000 commented Mar 6, 2023

哦,微加云这个老的c15固件,还能捅屁股恢复op初始状态,像恢复出厂功能一样,比如设置错了网口,进不去,就捅一下恢复了。

@ophub
Copy link
Owner

ophub commented Mar 15, 2023

Snip20230315_6

Snip20230315_7

Snip20230315_8

@qianbinbin
Copy link

@Yxini 你有数码视讯Q5盒子?这个设备使用的dtb和u-boot是哪个?

cat /boot/uEnv.txt
ls -l /boot/u-boot*

大佬,有 q5 的镜像吗?

我有一个 q5,TF 卡安装了老版 armbian(应该是 balbes150 的老版镜像,新版好像有驱动问题,基本不可用)。

经常遇到一个概率性的问题,重启以后无法从 TF 卡启动了,会自动进入 Android 系统(胡来固件),此后只要在 Android 里选择从 U 盘启动,都会自动进入 recovery,牙签大法也不行。

摸索无数次后发现,只有在 Android 系统里恢复出厂设置,然后立即从 U 盘启动才行。

这个是真的折腾人,而且我都是当服务器用的,身边没显示器就一点办法都没有。

所以我希望找一个稳定运行的 armbian,能刷入 emmc 更好。待会我把那两条命令的输出发到这。

@qianbinbin
Copy link

# cat /boot/uEnv.txt 
LINUX=/zImage
INITRD=/uInitrd

# rk-3399
#FDT=/dtb/rockchip/rk3399-rock-pi-4.dtb
#FDT=/dtb/rockchip/rk3399-nanopc-t4.dtb
#APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

# rk-3328
#FDT=/dtb/rockchip/rk3328-box-trn9.dtb
#FDT=/dtb/rockchip/rk3328-box.dtb
#APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

# aw h6
#FDT=/dtb/allwinner/sun50i-h6-tanix-tx6.dtb
#APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
#APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mem=2048M video=HDMI-A-1:e

# aml s9xxx
#FDT=/dtb/amlogic/meson-g12a-x96-max-no-cvbs.dtb
#FDT=/dtb/amlogic/meson-g12b-ugoos-am6-no-cvbs.dtb
#FDT=/dtb/amlogic/meson-g12b-odroid-n2.dtb
#APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

FDT=/dtb/amlogic/meson-gxbb-p201.dtb
APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
# ls -l /boot/u-boot*
-rwxr-xr-x 1 root root 709768 Apr  8  2020 /boot/u-boot.sd
-rwxr-xr-x 1 root root 709768 Apr  8  2020 /boot/u-boot.usb

@yu13740000
Copy link
Author

Snip20230315_6

Snip20230315_7

Snip20230315_8

这5.15内核是不是老的?

@ophub
Copy link
Owner

ophub commented Mar 18, 2023

https://www.kernel.org/
老不老看户口本

@yu13740000
Copy link
Author

yu13740000 commented Mar 20, 2023

image
ct2000等几分钟出错进不去啊,你那边测试看看

@yu13740000
Copy link
Author

ct2000使用922x的正常

Repository owner deleted a comment from yu13740000 Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported
Projects
None yet
Development

No branches or pull requests

4 participants