备忘录

玩客云添加USB优先启动命令

setenv bootfromrecovery 0
setenv bootfromnand 0
setenv start_mmc_autoscript 'if fatload mmc 0 11000000 s805_autoscript; then autoscr 11000000; fi;'
setenv start_usb_autoscript "if fatload usb 0 11000000 s805_autoscript; then autoscr 11000000; fi; if fatload usb 1 11000000 s805_autoscript; then autoscr 11000000; fi;"
setenv start_autoscript 'if usb start; then run start_usb_autoscript; fi; if mmcinfo; then run start_mmc_autoscript; fi;'
setenv bootcmd 'run start_autoscript; run storeboot'
setenv firstboot 1
saveenv

如果为Armbian官方仓库编译的镜像则为以下内容

[admonition title="注意" color="blue"]#之后的一行内容仅为注释,并不需要在终端中运行![/admonition]

 setenv bootfromrecovery 0
 setenv bootfromnand 0

 # set a script called start_mmc_autoscript, which tries to load boot.scr from mmc 0 first, if failed, then from mmc 1
 setenv start_mmc_autoscript 'if fatload mmc 0 11000000 boot.scr; then autoscr 11000000; fi; if fatload mmc 1 11000000 boot.scr; then autoscr 11000000; fi;'

 # set a script called start_usb_autoscript, which tries to load boot.scr from usb 0 first, if failed, then from usb 1
 setenv start_usb_autoscript "if fatload usb 0 11000000 boot.scr; then autoscr 11000000; fi; if fatload usb 1 11000000 boot.scr; then autoscr 11000000; fi;"
 
 # set a script called start_autoscript, which checks if any usb device is connected. If so, call start_usb_autoscript; otherwise, call start_mmc_autoscript
 setenv start_autoscript 'if usb start; then run start_usb_autoscript; fi; if mmcinfo 1; then run start_mmc_autoscript; fi;'

 setenv bootcmd 'run start_autoscript; run storeboot'
 setenv firstboot 1

 saveenv

X96 Max+在linux下安装GPU驱动(转载由[S905X3] GPU Acceleration with bifrost is really possible in wayland? - General Chat - Armbian Community Forums

[admonition title="注意" color="blue"]#之后的一行内容仅为注释,并不需要在终端中运行![/admonition]

#install ubuntu desktop

sudo apt update
sudo apt install ubuntu-desktop

# add mesa master ppa (https://launchpad.net/~oibaf/+archive/u ... cs-drivers)

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt upgrade

#Then set panfrost drive in enviroment

sudo sh -c "echo 'PAN_MESA_DEBUG=bifrost' >> /etc/environment"

#reboot

sudo reboot

#after boot set in the GDM wayland and panfrost should be working

群晖用户重置密码

sudo synouser --setpw username password

群晖wp-config.php添加代码(在第86行)

define('FS_METHOD', 'direct');

Ubuntu 20.04 Official Repository List (sources.list)

deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner

Windows XP x64 Edition key

B2RBK-7KPT9-4JP6X-QQFWM-PJD6G