From 1bcaffb0feb5b3b6bd09048ff924043df2b76a2f Mon Sep 17 00:00:00 2001 From: "@exkc" Date: Wed, 29 Mar 2023 23:30:00 +0800 Subject: [PATCH] soc-amlogic-s905: enable booting to a USB drive (MR 3955) --- device/testing/soc-amlogic-s905/APKBUILD | 4 ++-- device/testing/soc-amlogic-s905/s905_autoscript.cmd | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/device/testing/soc-amlogic-s905/APKBUILD b/device/testing/soc-amlogic-s905/APKBUILD index a395ccda4..cc8321c88 100644 --- a/device/testing/soc-amlogic-s905/APKBUILD +++ b/device/testing/soc-amlogic-s905/APKBUILD @@ -3,7 +3,7 @@ pkgname=soc-amlogic-s905 pkgdesc="Common package for devices using the Amlogic S905 SoC" pkgver=1 -pkgrel=1 +pkgrel=2 url="https://postmarketos.org" license="MIT" arch="aarch64" @@ -41,6 +41,6 @@ x11() { } sha512sums=" -f91f61b101b6659d82b14d78f9146ab1e4cbaf515838c60aa21627226d30b394d1ad8327b86eff105e1dced6e562b774499fd2cd56104db596982e50b665ec8f s905_autoscript.cmd +dad8855a4a4f0c72e8556b88f27e7709d97c66808db0cc3ea57edc0f336d4f5b8ef9f6b9f07a0c676e74cf0e6f32b5c2b31b5a152f46ab4b1a01045e1f79072b s905_autoscript.cmd 72267e7bb0e3cd4a7c89d51c046c3a9c93d7ff9fe23a24357088fc94d45c6cc314cf12c8475421eadc507937ebc1ca9b1b9afdec0c78cf39977ebdd5f5eab24d xorg.conf " diff --git a/device/testing/soc-amlogic-s905/s905_autoscript.cmd b/device/testing/soc-amlogic-s905/s905_autoscript.cmd index 85ce791b5..3a340fbfc 100644 --- a/device/testing/soc-amlogic-s905/s905_autoscript.cmd +++ b/device/testing/soc-amlogic-s905/s905_autoscript.cmd @@ -1 +1,2 @@ if fatload mmc 0 0x1000000 u-boot.bin; then go 0x1000000; fi; +if fatload usb 0 0x1000000 u-boot.bin; then go 0x1000000; fi;