Closed yu13740000 closed 1 year ago
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了。
这个Armbian镜像文件里也添加了这个u-boot,所以如果你之前已经刷过他的armbian或者openwrt系统,就可以直接从USB启动这个镜像(略过1-5步,直接看6)。如果之前没刷过,目前盒子里还是原版系统,你先把这个Armbian刷入U盘,等原来的系统启动后,把写有这个Armbian的U盘插入usb接口,就会自动挂在到/mnt/sda2
,输入命令查看下U盘的挂载路径:
lsblk
根据实际挂载路径修改下面的命令,进入u-boot目录
cd /mnt/sda2/usr/lib/u-boot
ls
会看到 u-boot-sunxi-with-spl.bin
文件,手动写入u-boot到当前盒子,替换了u-boot,以后就支持U盘启动了:
先删除分区和bootloader:
dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=16
再写入bootloader:
dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk1 bs=1024 seek=8
完成以后,支持usb启动的uboot已经刷入。输入命令重启:
reboot
使用安装命令把armbian写入emmc:
armbian-install
把下面命令截图给我看看
lsblk
df -hT
blkid
测试了一下,两个固件都不能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:~#
你说的是不是你在电脑上双击打开/boot里面的文件,你都删了,换f大的armbian的/boot里面的文件?
我昨天也发现他的armbian和op不同,在他仓库里最新的打包op的配置里面少了一些文件,我问他原因还没回信息。我一会改一下用56版armbian的/boot文件,你再试一试。
这个设备,你以前是怎么写入emmc呢?使用的root下的脚本?还是从U盘中dd写入?
U盘写完,点脑打开U盘,看到的文件,全删了,然后把f大U盘看到的全复制过来,能启动,但是启动的时候会出现两个ip会来回跳动一下。 一 微加云接在路由下,准备一个能正常启动的armbian u盘,启动进入armbian,在主路由下找到微加云网址, 用MobaXterm_CHS把镜像上传到armbian的/opt目录 二 清空emmc
微加云接在路由下 一 准备一个能正常启动的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大退隐江湖,好几年不更新,他说电脑里的东西没了。
另外请编译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:~:#
一会我换一下/boot里面的文件重新生成一下。我刚才又学习了一下f大的op打包脚本和更新固件的脚本,他现在做的可能只针对你上面的方法使用,从armbian里面dd写入op至emmc,不再支持从U盘启动op了,我一会添加上原来56版支持U盘启动的cmd
链接: https://pan.baidu.com/s/1Scz6Y85ToFSGBDB2pOYYfw?pwd=kuz9 提取码: kuz9
这个是c大的经典固件,就是很老,但是boot很好,你看看有没有用。
https://github.com/unifreq/openwrt_packit/tree/master/files/vplus
f大持续更新过3个u-boot,咱们先测试最新版u-boot
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步操作,发下你的执行日志。
我看网上一些帖子都是几年前的,说这个设备没有救砖系统和救砖工具?现在是什么情况了?
新固件可以启动了,刷的6.1.13,我先U盘上折腾看看U盘上升级dietpi,暂时不写emmc。 微加云有一套救砖方案,有私密QQ群,当时第一批人买了后组建了群,由C大F大领头历经很久,出了破解方案,固件和方案没有网上公开,抵制奸商涨价,群里的都会救砖,只是微加云救砖比较麻烦,需要焊接OTG和adb线。
U盘默认空间只有2.5G,先用armbian-tf命令,把U盘中的剩余可用空间启用了。不然的话在U盘中安装更多软件会因为空间不足而导致失败。
测试更新内核和写入emmc操作时贴一下日志,我确认一下操作执行情况。
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#
rm: cannot remove '/etc/apt/sources.list.d/*': No such file or directory 两个版本的armbian都会提示这个错误
这个目录下默认没文件。这是一些软件源自己安装源时存放的路径。
我记得哪一个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> │
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
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:~#
你是要看这个日记吗?
如何安装dietpi 我这网络不行老是下载不了
好的梯子才行,然后电脑ping 9.9.9.9正常,一般就可以
刚解决网络问题,现在走条中
成功,把zerotier.list这个第三方源地址换成了Debian官方的,然后脚本运行错误,自动换了,再也不提示出错了。直至升级完成dietpi
什么都没改,直接解决网络问题就已经安装成功。
@yu13740000 有没有DIETPI相关的教程,我是看“数码视讯Q5刷Armbian+写进EMMC+安装DietPi+squeezelite”( http://www2.erji.net/forum.php?mod=viewthread&tid=2283866&extra=&page=2 )这篇文章安装的
在USB上先测试下更新内核的脚本是否工作正常: armbian-update -k 6.1.12
再测试写入emmc功能(用安装脚本,不是dd): armbian-install
这2步的日志详情也发一下
@Yxini 你有数码视讯Q5盒子?这个设备使用的dtb和u-boot是哪个?
cat /boot/uEnv.txt
ls -l /boot/u-boot*
我用的是魔百和的CM311-1A
@ophub 这会儿微加云U盘上的armbian已经升级成了dietpi了,正在测试dietpi,稍后测试。
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...
6.1.13更新到6.1.12哈哈
更新完美,再测试下写入emmc: armbian-install
固件里自带了,在 ls /usr/sbin/armbian-install
看看。
这个固件和之前f大习惯在/root下有个安装文件不同,这个是放在 /usr/sbin 里了,所以任意位置都可以直接敲命令: armbian-install
群友测试完毕,可以正常写进emmc,插armbianU盘,也能从U盘启动,大佬辛苦了,感谢! 看看群里其他人再验证一下。
这台微加云升级过2g内存,64g闪存。
这是U盘启动的
大佬再看看f大的openwrt微加云固件,最近的几个新固件,led是会变色的,看看能不能移植到armbian
感谢测试反馈,感谢f大开发的u-boot等资源,rgb在f大的仓库里有开源脚本,perl我不会改,你问问你们群友们谁会调试perl移植一个。
https://github.com/unifreq/openwrt_packit/tree/master/files/rgb
刚刚f大指导,armbian下rgb灯成功。大佬下一个编译可以加进去。
一、https://github.com/unifreq/openwrt_packit/tree/master/files/rgb/usr/bin/ 下的rgb文件放到 /usr/bin/ 下,权限0755
二、etc/rc.local添加(exit 0前添加)
rgb --RedName=RED --GreenName=GREEN --BlueName=BLUE &
这句命令,你从etc/rc.local里删除,添加到 /etc/custom_service/start_service.sh 里面,重启试一试,作用是一样的。我添加到这个文件统一管理自定义启动脚本服务。这个灯点亮了是什么样子呢?常亮的还是呼吸灯呢?来个照片欣赏一下。
# For vplus led
rgb --RedName=RED --GreenName=GREEN --BlueName=BLUE 2>/dev/null
#!/bin/bash
#========================================================================================
#
# This file is licensed under the terms of the GNU General Public
# License version 2. This program is licensed "as is" without any
# warranty of any kind, whether express or implied.
#
# This file is a part of the Rebuild Armbian
# https://github.com/ophub/amlogic-s9xxx-armbian
#
# Function: Customize the startup script, adding content as needed.
# Dependent script: /etc/rc.local
# File path: /etc/custom_service/start_service.sh
#
#========================================================================================
# Set the release check file
ophub_release_file="/etc/ophub-release"
[[ -f "${ophub_release_file}" ]] && FDT_FILE="$(cat ${ophub_release_file} | grep -oE 'meson.*dtb')" || FDT_FILE=""
# Add custom enabled alias extension load module.
# For Tencent Aurora 3Pro (s905x3-b) box [ /etc/modprobe.d/blacklist.conf : blacklist btmtksdio ]
[[ "${FDT_FILE}" == "meson-sm1-skyworth-lb2004-a4091.dtb" ]] && modprobe btmtksdio 2>/dev/null
# Restart ssh service
[[ -d "/var/run/sshd" ]] || mkdir -p -m0755 /var/run/sshd 2>/dev/null
[[ -f "/etc/init.d/ssh" ]] && sleep 5 && /etc/init.d/ssh restart 2>/dev/null
# Add custom log
echo "[$(date +"%Y.%m.%d.%H%M")] Hello World..." >/tmp/ophub_start_service.log
# For vplus led
rgb --RedName=RED --GreenName=GREEN --BlueName=BLUE & 2>/dev/null
armbian升级dietpi后etc/rc.local文件没有了,按你的方法添加到 /etc/custom_service/start_service.sh 里面,好像没工作, /usr/bin/ 下的rgb文件还在。 (这个灯的效果是变色,因为设定的时间比较简单,只是几种颜色来回变色,没有像鼠标那样的无缝呼吸灯效果,要么大佬你优化一下能无缝过度颜色:))
你在终端里直接执行这个命令看看能点亮不:
rgb --RedName=RED --GreenName=GREEN --BlueName=BLUE
root@DietPi:~# rgb --RedName=RED --GreenName=GREEN --BlueName=BLUE
Can't locate threads.pm in @INC (you may need to install the threads module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/aarch64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl-base /usr/lib/aarch64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/bin/rgb line 4.
BEGIN failed--compilation aborted at /usr/bin/rgb line 4.
root@DietPi:~#
升级dietpi被他把Debian精简很多东西了,dietpi强调的是精简流畅
在自定义启动服务的日志里也可以看到各种自定义服务的启动情况。
https://github.com/ophub/amlogic-s9xxx-armbian/commit/98509577dd39c7b68789677a55fbe0303449ec59 rgb 服务我添加好了,vplus会自动启用,启动成功后日志里会多一条led启动的情况反馈:
The LED of Vplus is enabled successfully.
好的,大佬给力。按理说章鱼星球也可以变色。
https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bullseye_02.26.0413
我打包了个添加了rgb的vplus,你可以usb刷个armbian测试下。正常的话应该在usb的armbian系统启动成功时自动点亮led。
测试了rgb可以!
好的👌完美。
f大在章鱼星球的dtb里已经添加了led支持了,可以用:https://github.com/ophub/amlogic-s9xxx-armbian/issues/584
章鱼星球还有一只山寨版的,f大也支持了: https://github.com/ophub/amlogic-s9xxx-armbian/issues/253
Amlogic 里也有一批 led 屏幕显示支持,f大在频道里分享了,但没添加到他的op里面,我搬运了一份: https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/documents/led_screen_display_control.md
大佬,找遍全网,微加云armbian除了f大的就没有了,f大的所有armbian升级dietpi时出错,提示没有可用的软件包linux-imge-current-arm-64,有的还会提示空间不够,不知道哪里的问题。n1用你的armbian升级dietpi正常。希望大佬给微加云也编译一个armbian吧!