Odroidn2 tweaks (#1498)

* prefix uboot boot_scripts with /boot/ path

* load codec modules on desktop build
This commit is contained in:
lanefu 2019-08-03 14:06:31 -04:00 committed by GitHub
parent e517d588a9
commit 09f7c70010
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View file

@ -3,7 +3,11 @@ BOARD_NAME="Odroid N2"
BOARDFAMILY="odroidn2"
BOOTCONFIG="odroidn2_config"
#
MODULES=""
MODULES="media_clock firmware"
if [[ $BUILD_DESKTOP == 'yes' ]]; then
MODULES+=" decoder_common stream_input amvdec_avs amvdec_h264 amvdec_h264_4k2k amvdec_mh264 amvdec_h264mvc amvdec_h265 amvdec_mjpeg amvdec_mmjpeg amvdec_mpeg12 amvdec_mpeg4 amvdec_mmpeg4 amvdec_real amvdec_vc1 amvdec_vp9"
fi
MODULES_NEXT=""
#
KERNEL_TARGET="default,dev"

View file

@ -0,0 +1,13 @@
diff --git a/include/configs/odroid-g12-common.h b/include/configs/odroid-g12-common.h
index 1539e68..3828642 100644
--- a/include/configs/odroid-g12-common.h
+++ b/include/configs/odroid-g12-common.h
@@ -96,7 +96,7 @@
#define ENV_BOOT_ORDER_DEFAULT "boot_order=mmc rawimage usb pxe spi\0"
-#define ENV_BOOTSCRIPTS_DEFAULT "boot_scripts=boot.ini boot.scr\0"
+#define ENV_BOOTSCRIPTS_DEFAULT "boot_scripts=boot.ini boot.scr /boot/boot.ini /boot/boot.scr\0"
#define ENV_BOOT_ATTEMPT_DEFAULT \
"boot_attempt=" \