Armbian
硬件设备
hisense-hs530r
rk3399
4+16G
软件
系统:Armbian_23.08.0-trunk_Hisense-hs530r_jammy_edge_6.5.5_xfce_desktop.img**[GUI]**
驱动:DriverAssitant_v5.12 只支持win10及以下
刷机工具:海信可用Armbian_21.08.1_sm3399mb_focal_current_5.10.60
遇到的问题
谨慎更新
系统安装完成之后第一时间update + upgrade之后reboot发现无法进入系统,屏幕花屏,需要强制重新刷机
armbian系统不能随便更新 即apt-get update + upgrade
做的一些工作:初始化系统之后将现有的所有待更新包屏蔽自动更新,经过实测update+upgrade已经可以reboot二次进系统
# 装机完成之后查看可更新包
root@hisense-hs530r:~# apt list --upgradable
Listing... Done
armbian-config/jammy,jammy 23.8.3 all [upgradable from: 23.08.0-trunk]
armbian-firmware/jammy,jammy 23.8.3 all [upgradable from: 23.08.0-trunk]
armbian-jammy-desktop-xfce/jammy,jammy 23.8.1 all [upgradable from: 23.08.0-trunk]
armbian-plymouth-theme/jammy,jammy 23.8.3 all [upgradable from: 23.08.0-trunk]
armbian-zsh/jammy,jammy 23.8.3 all [upgradable from: 23.08.0-trunk]
base-files/jammy 23.8.3-jammy arm64 [upgradable from: 23.08.0-trunk-jammy]
fake-ubuntu-advantage-tools/jammy,jammy 23.8.3 all [upgradable from: 23.08.0-trunk]
linux-dtb-edge-rockchip64/jammy 23.8.1 arm64 [upgradable from: 23.08.0-trunk]
linux-image-edge-rockchip64/jammy 23.8.1 arm64 [upgradable from: 23.08.0-trunk]
linux-libc-dev/jammy 23.02.2 arm64 [upgradable from: 5.15.0-86.96]
# 禁止这些包的自动更新
sudo apt-mark hold armbian-config
sudo apt-mark hold armbian-firmware
sudo apt-mark hold armbian-jammy-desktop-xfce
sudo apt-mark hold armbian-plymouth-theme
sudo apt-mark hold armbian-zsh
sudo apt-mark hold base-files
sudo apt-mark hold fake-ubuntu-advantage-tools
sudo apt-mark hold linux-dtb-edge-rockchip64
sudo apt-mark hold linux-image-edge-rockchip64
sudo apt-mark hold linux-libc-dev
存储扩容
自带的存储大小为16G,想要通过插外置存储扩容root分区
在实际操作中发现并未使用lvm管理磁盘,即mmcblk0
未建pv,而pv的创建需要格式化磁盘,因此无法通过lvm 逻辑卷手段扩容root分区,目前没有找到办法直接扩容,磁盘挂载等内容参考Linux LVM相关
root@hisense-hs530r:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 1 116.7G 0 disk
mmcblk0 179:0 0 14.6G 0 disk
└─mmcblk0p1 179:1 0 14.4G 0 part /var/log.hdd
/
mmcblk0boot0 179:32 0 4M 1 disk
mmcblk0boot1 179:64 0 4M 1 disk
zram0 252:0 0 1.9G 0 disk [SWAP]
zram1 252:1 0 50M 0 disk /var/log
zram2 252:2 0 0B 0 disk
root@hisense-hs530r:~# pvdisplay
--- Physical volume ---
PV Name /dev/sda
VG Name myVG
PV Size <116.70 GiB / not usable 4.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 29874
Free PE 0
Allocated PE 29874
PV UUID PceY81-pM6c-SGma-mKGN-gdWY-5urX-7petar
root@hisense-hs530r:~# vgdisplay
--- Volume group ---
VG Name myVG
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <116.70 GiB
PE Size 4.00 MiB
Total PE 29874
Alloc PE / Size 29874 / <116.70 GiB
Free PE / Size 0 / 0
VG UUID dYVDgP-a9OF-vBmt-sE7V-egwC-f5rJ-LSaXVV
root@hisense-hs530r:~# lvdisplay
--- Logical volume ---
LV Path /dev/myVG/lvol0
LV Name lvol0
VG Name myVG
LV UUID MM3o5D-gNWh-M4NH-ik3J-tqH9-OrFw-KMSr0x
LV Write Access read/write
LV Creation host, time hisense-hs530r, 2024-05-12 02:49:59 +0800
LV Status NOT available
LV Size <116.70 GiB
Current LE 29874
Segments 1
Allocation inherit
Read ahead sectors auto
wifi信号差
没有天线,无线信号很差,建议自增天线或者使用有线
杂项
命令行颜色
root@hisense-hs530r:~# vi ~/.bashrc
====
# force_color_prompt=yes 去掉该行的注释
====
root@hisense-hs530r:~# source ~/.bashrc