mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-27 17:21:34 +00:00
Odroidn2 tweaks (#1498)
* prefix uboot boot_scripts with /boot/ path * load codec modules on desktop build
This commit is contained in:
parent
e517d588a9
commit
09f7c70010
2 changed files with 18 additions and 1 deletions
|
@ -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"
|
||||
|
|
13
patch/u-boot/u-boot-odroidn2/fix-boot-scripts-path.patch
Normal file
13
patch/u-boot/u-boot-odroidn2/fix-boot-scripts-path.patch
Normal 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=" \
|
Loading…
Add table
Reference in a new issue