mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Rockchip: bootloader: allow ROCKCHIP_LEGACY_BOOT to be passed from command line
Also document that option in README.md and drop the non-required U_BOOT_CONFIG form bootloader/install script
This commit is contained in:
parent
b0d02bc24a
commit
d07974f0cc
@ -29,12 +29,16 @@ This project is for Rockchip SoC devices
|
||||
* [ROC-RK3399-PC-PLUS](devices/RK3399)
|
||||
* [Rockchip Sapphire Board](devices/RK3399)
|
||||
|
||||
**My single-board computer is not listed, will it be added in the future?**<br />
|
||||
**My single-board computer is not listed, will it be added in the future?**<br>
|
||||
If your single-board computer uses a current generation SoC listed on http://opensource.rock-chips.com/wiki_Main_Page the odds are in your favor.
|
||||
|
||||
**My Android device is not listed, will it be added in the future?**<br />
|
||||
**My Android device is not listed, will it be added in the future?**<br>
|
||||
You may have luck if your device vendor is open source friendly, otherwise keep using Android for best support.
|
||||
|
||||
**My device does not boot and I don't understand why.**<br>
|
||||
If your device has Android or any sort of vendor u-boot preinstalled in EMMC or SPI, make sure to add `ROCKCHIP_LEGACY_BOOT=1` when building an image.
|
||||
This is done automatically for supported devices, which are known to come with Android preinstalled.
|
||||
|
||||
## Links
|
||||
|
||||
* http://opensource.rock-chips.com
|
||||
|
@ -1,4 +1,5 @@
|
||||
export ROCKCHIP_LEGACY_BOOT=$("${ROOT}"/"${SCRIPTS}"/uboot_helper "${PROJECT}" "${DEVICE}" "${UBOOT_SYSTEM}" rockchip_legacy_boot) || "${ROCKCHIP_LEGACY_BOOT:-}"
|
||||
|
||||
[ -z "${ROCKCHIP_LEGACY_BOOT}" ] && export ROCKCHIP_LEGACY_BOOT=$("${ROOT}/${SCRIPTS}/uboot_helper" "${PROJECT}" "${DEVICE}" "${UBOOT_SYSTEM}" rockchip_legacy_boot)
|
||||
|
||||
if [ "${ROCKCHIP_LEGACY_BOOT}" = "1" ]; then
|
||||
export UBOOT_TARGET="u-boot-dtb.bin"
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
PKG_RKBIN="$(get_build_dir rkbin)"
|
||||
PKG_SOC="${DEVICE/RK/rk}"
|
||||
UBOOT_CONFIG=$("${ROOT}"/"${SCRIPTS}"/uboot_helper "${PROJECT}" "${DEVICE}" "${UBOOT_SYSTEM}" config)
|
||||
|
||||
if [ "${ROCKCHIP_LEGACY_BOOT}" = "1" ]; then
|
||||
echo "install: building Rockchip legacy boot chain ..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user