ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.23k stars 2k forks source link

玩客云系统更新提示缺少ophub-release文件 #2326

Closed PeterHu3230 closed 6 months ago

PeterHu3230 commented 6 months ago

今天在尝试对玩客云进行更新时发现执行armbian-sync命令以后报错,提示没有ophub-release文件,网络搜索后没有找到有用信息,来请教这个问题应该如何解决,感谢!

ophub commented 6 months ago

内容的创建出处 https://github.com/ophub/amlogic-s9xxx-armbian/blob/6c49c28f7396e932460e851c0eccd75b4c3f015d/rebuild#L1077-L1107

cat /etc/ophub-release

PLATFORM='amlogic'
VERSION_CODEID='debian'
VERSION_CODENAME='bookworm'
MODEL_ID='408'
MODEL_NAME='Ali-CT2000'
SOC='s922x'
FDTFILE='meson-g12b-ali-ct2000.dtb'
FAMILY='meson-g12b'
BOARD='s922x-ct2000'
KERNEL_REPO='ophub/kernel'
KERNEL_TAGS='stable'
KERNEL_VERSION='6.6.30'
KERNEL_BACKUP='yes'
BOOT_CONF='uEnv.conf'
ROOTFS_TYPE='ext4'
DISK_TYPE='emmc'
AMPART_STATUS='no'
MLUBOOT_STATUS='no'
MAINLINE_UBOOT='/usr/lib/u-boot/'
BOOTLOADER_IMG='/usr/lib/u-boot/'
UBOOT_OVERLOAD='u-boot-s905x2-s922.bin'
BUILD_REPOSITORY='github.com/armbian/build'
REBUILD_REPOSITORY='github.com/ophub/amlogic-s9xxx-armbian'
CONTRIBUTORS='unifreq'
BUILDER_NAME='ophub'
PACKAGED_DATE='2024-03-07'

这个文件里的内容多半是为了查看的,方便反馈问题的时候一个文件反应全部信息,省的一个一个的问固件的配置。 有几个是有用的选项,用于内核更新和软件安装,你可以根据你的设备,手动添加这个文件: model参考文件:https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-files/common-files/etc/model_database.conf

# 软件有用的内容
PLATFORM='amlogic'
VERSION_CODEID='debian'
VERSION_CODENAME='bookworm'
KERNEL_REPO='ophub/kernel'
KERNEL_TAGS='stable'
KERNEL_VERSION='6.6.30'
UBOOT_OVERLOAD='u-boot-s905x2-s922.bin'
PeterHu3230 commented 6 months ago

感谢指导,问题已经解决。