-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationessenceRecommended essence postsRecommended essence posts
Description
目前已测试此版主线支持的内核版本有 5.15.81
6.0.11
,仅测了支持情况,其他问题及其他内核版本未测试。
欢迎手里有 X3 并且是有BL锁的盒子,来测试,验证是否为个例支持。
方法1
-
第1步 更新 x3 安卓固件到 0.4.2 或 0.5.4 二选一。
注意BL无锁版,不要尝试,会锁掉BL,并且不能降级!
-
第2步 写入
eMMC
不使用Mainline u-boot
替换 u-boot
文件
/boot/u-boot.emmc
/boot/u-boot.ext
/boot/u-boot-ugoos-x3.bin
/usr/lib/u-boot/ugoos-x3-u-boot.bin.sd.bin
写入 eMMC
armbian-install -m no -a yes
( 写入完成后,已经可以正常使用 eMMC )
- 第3步 写入
Mainline u-boot
MYBOX_UBOOT="/usr/lib/u-boot/ugoos-x3-u-boot.bin.sd.bin"
DEV_EMMC="/dev/mmcblk2"
dd if=${MYBOX_UBOOT} of="${DEV_EMMC}" conv=fsync bs=1 count=444
dd if=${MYBOX_UBOOT} of="${DEV_EMMC}" conv=fsync bs=512 skip=1 seek=1
方法2
- 第1步 修改
/usr/sbin/armbian-install
在353-354行之间增加:
elif [[ "${FDTFILE}" == "meson-sm1-ugoos-x3.dtb" ]]; then
BLANK1="4"
BOOT="256"
BLANK2="0"
Lines 351 to 356 in 4d2ea69
BLANK1="108" # Tencent Aurora 3Pro: Must skip [ 108 MiB ] | |
BOOT="512" # A total of [ 768 MiB ] can be used in this block, gave up [ 768-512=256 MiB ] | |
BLANK2="562" # Can set the rootfs partition after [ 1182 MiB ] of the total disk, [ 1182-108-512=562 MiB ] | |
else | |
BLANK1="68" | |
BOOT="256" # S905x3: A total of [ 1120 MiB ] can be used in this block, and the remaining [ 864 MiB ] can be used. |
替换 u-boot
文件
/boot/u-boot.emmc
/boot/u-boot.ext
/boot/u-boot-ugoos-x3.bin
/usr/lib/u-boot/ugoos-x3-u-boot.bin.sd.bin
- 第2步 写入
eMMC
和Mainline u-boot
写入 eMMC
armbian-install -m yes -a no
附件
Mainline U-boot 下载链接
ugoos-x3-mainline-u-boot
Android Firmware BL有锁版
下载链接
ugoos-x3-android-firmware-0.4.2
ugoos-x3-android-firmware-0.5.4
BL无锁版x3未做测试,目前已知固件版本 0.3.9 ~ 0.5.4
都是BL有锁版。
BL无锁版x3恢复安卓,建议使用原有BL无锁的固件版本。
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationessenceRecommended essence postsRecommended essence posts