Working image!
This commit is contained in:
parent
05c92a9540
commit
cf5f9205fa
@ -2,16 +2,16 @@ diff --git arch/arm64/boot/dts/freescale/Makefile arch/arm64/boot/dts/freescale/
|
|||||||
index da7ede2f5744..2a0a0f56b9a8 100644
|
index da7ede2f5744..2a0a0f56b9a8 100644
|
||||||
--- linux-imx/arch/arm64/boot/dts/freescale/Makefile
|
--- linux-imx/arch/arm64/boot/dts/freescale/Makefile
|
||||||
+++ linux-imx/arch/arm64/boot/dts/freescale/Makefile
|
+++ linux-imx/arch/arm64/boot/dts/freescale/Makefile
|
||||||
@@ -118,7 +118,8 @@
|
@@ -116,7 +116,8 @@ dtb-$(CONFIG_ARCH_FSL_IMX8MQ) += fsl-imx8mq-ddr3l-arm2.dtb \
|
||||||
fsl-imx8mq-evk-inmate.dtb \
|
fsl-imx8mq-evk-inmate.dtb \
|
||||||
fsl-imx8mq-evk-dp.dtb \
|
fsl-imx8mq-evk-dp.dtb \
|
||||||
fsl-imx8mq-evk-edp.dtb
|
fsl-imx8mq-evk-edp.dtb
|
||||||
-dtb-$(CONFIG_ARCH_FSL_IMX8MM) += fsl-imx8mm-evk.dtb \
|
-dtb-$(CONFIG_ARCH_FSL_IMX8MM) += fsl-imx8mm-evk.dtb \
|
||||||
+dtb-$(CONFIG_ARCH_FSL_IMX8MM) += fsl-imx8mm-tgr.dtb \
|
+dtb-$(CONFIG_ARCH_FSL_IMX8MM) += fsl-imx8mm-tgr.dtb \
|
||||||
+ fsl-imx8mm-evk.dtb \
|
+ fsl-imx8mm-evk.dtb \
|
||||||
fsl-imx8mm-evk-drm.dtb \
|
|
||||||
fsl-imx8mm-evk-ak4497.dtb \
|
fsl-imx8mm-evk-ak4497.dtb \
|
||||||
fsl-imx8mm-evk-m4.dtb \
|
fsl-imx8mm-evk-m4.dtb \
|
||||||
|
fsl-imx8mm-evk-ak5558.dtb \
|
||||||
diff --git arch/arm64/boot/dts/freescale/fsl-imx8mm-tgr.dts arch/arm64/boot/dts/freescale/fsl-imx8mm-tgr.dts
|
diff --git arch/arm64/boot/dts/freescale/fsl-imx8mm-tgr.dts arch/arm64/boot/dts/freescale/fsl-imx8mm-tgr.dts
|
||||||
new file mode 100755
|
new file mode 100755
|
||||||
index 000000000000..411de1c8c620
|
index 000000000000..411de1c8c620
|
||||||
|
@ -21,14 +21,11 @@ diff --git drivers/mfd/Makefile drivers/mfd/Makefile
|
|||||||
index c6755df735ba..962dcc88d99c 100644
|
index c6755df735ba..962dcc88d99c 100644
|
||||||
--- linux-imx/drivers/mfd/Makefile
|
--- linux-imx/drivers/mfd/Makefile
|
||||||
+++ linux-imx/drivers/mfd/Makefile
|
+++ linux-imx/drivers/mfd/Makefile
|
||||||
@@ -241,6 +241,7 @@
|
@@ -232,3 +232,4 @@ obj-$(CONFIG_MFD_STM32_LPTIMER) += stm32-lptimer.o
|
||||||
obj-$(CONFIG_MFD_STM32_LPTIMER) += stm32-lptimer.o
|
|
||||||
obj-$(CONFIG_MFD_STM32_TIMERS) += stm32-timers.o
|
obj-$(CONFIG_MFD_STM32_TIMERS) += stm32-timers.o
|
||||||
obj-$(CONFIG_MFD_MXS_LRADC) += mxs-lradc.o
|
obj-$(CONFIG_MFD_MXS_LRADC) += mxs-lradc.o
|
||||||
|
obj-$(CONFIG_MFD_BD71837) += bd71837.o
|
||||||
+obj-$(CONFIG_MFD_PCA9450) += pca9450.o
|
+obj-$(CONFIG_MFD_PCA9450) += pca9450.o
|
||||||
obj-$(CONFIG_MFD_SC27XX_PMIC) += sprd-sc27xx-spi.o
|
|
||||||
obj-$(CONFIG_RAVE_SP_CORE) += rave-sp.o
|
|
||||||
obj-$(CONFIG_MFD_ROHM_BD718XX) += rohm-bd718x7.o
|
|
||||||
diff --git drivers/mfd/pca9450.c drivers/mfd/pca9450.c
|
diff --git drivers/mfd/pca9450.c drivers/mfd/pca9450.c
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 000000000000..85ce6e3eef68
|
index 000000000000..85ce6e3eef68
|
||||||
@ -359,14 +356,14 @@ diff --git drivers/regulator/Makefile drivers/regulator/Makefile
|
|||||||
index 1bddbefbc8e7..0072ad5666f8 100644
|
index 1bddbefbc8e7..0072ad5666f8 100644
|
||||||
--- linux-imx/drivers/regulator/Makefile
|
--- linux-imx/drivers/regulator/Makefile
|
||||||
+++ linux-imx/drivers/regulator/Makefile
|
+++ linux-imx/drivers/regulator/Makefile
|
||||||
@@ -131,6 +131,7 @@
|
@@ -126,6 +126,7 @@ obj-$(CONFIG_REGULATOR_WM8350) += wm8350-regulator.o
|
||||||
obj-$(CONFIG_REGULATOR_WM8350) += wm8350-regulator.o
|
|
||||||
obj-$(CONFIG_REGULATOR_WM8400) += wm8400-regulator.o
|
obj-$(CONFIG_REGULATOR_WM8400) += wm8400-regulator.o
|
||||||
obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o
|
obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o
|
||||||
|
obj-$(CONFIG_REGULATOR_BD71837) += bd71837-regulator.o
|
||||||
+obj-$(CONFIG_REGULATOR_PCA9450) += pca9450-regulator.o
|
+obj-$(CONFIG_REGULATOR_PCA9450) += pca9450-regulator.o
|
||||||
|
|
||||||
obj-$(CONFIG_MFD_SC27XX_PMIC) += sprd-sc27xx-spi.o
|
|
||||||
|
ccflags-$(CONFIG_REGULATOR_DEBUG) += -DDEBUG
|
||||||
diff --git drivers/regulator/pca9450-regulator.c drivers/regulator/pca9450-regulator.c
|
diff --git drivers/regulator/pca9450-regulator.c drivers/regulator/pca9450-regulator.c
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 000000000000..6b9ce8f34e0e
|
index 000000000000..6b9ce8f34e0e
|
||||||
|
10359
buildroot/board/tiesse/tgr/uboot-patches/0000-Add-imx8mm-tgr-support.patch
Normal file → Executable file
10359
buildroot/board/tiesse/tgr/uboot-patches/0000-Add-imx8mm-tgr-support.patch
Normal file → Executable file
File diff suppressed because it is too large
Load Diff
@ -1,11 +0,0 @@
|
|||||||
--- u-boot-imx/arch/arm/mach-imx/spl_sd.cfg
|
|
||||||
+++ u-boot-imx/arch/arm/mach-imx/spl_sd.cfg 2020-09-09 14:32:31.752361831 +0200
|
|
||||||
@@ -4,7 +4,7 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define __ASSEMBLY__
|
|
||||||
-#include <config.h>
|
|
||||||
+#include "../include/asm/config.h"
|
|
||||||
|
|
||||||
IMAGE_VERSION 2
|
|
||||||
BOOT_FROM sd
|
|
@ -1,12 +0,0 @@
|
|||||||
Index: u-boot-imx/arch/arm/dts/Makefile
|
|
||||||
===================================================================
|
|
||||||
--- u-boot-imx.orig/arch/arm/dts/Makefile
|
|
||||||
+++ u-boot-imx/arch/arm/dts/Makefile
|
|
||||||
@@ -630,6 +630,7 @@
|
|
||||||
fsl-imx8mq-ddr3l-arm2.dtb \
|
|
||||||
fsl-imx8mq-ddr4-arm2.dtb \
|
|
||||||
fsl-imx8mm-evk.dtb \
|
|
||||||
+ fsl-imx8mm-tgr.dtb \
|
|
||||||
fsl-imx8mm-ddr3l-val.dtb \
|
|
||||||
fsl-imx8mm-ddr4-evk.dtb \
|
|
||||||
fsl-imx8mm-ddr4-val.dtb \
|
|
@ -1,15 +1,15 @@
|
|||||||
BR2_aarch64=y
|
BR2_aarch64=y
|
||||||
BR2_ARM_FPU_VFPV3=y
|
BR2_ARM_FPU_VFPV3=y
|
||||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
|
||||||
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1"
|
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1"
|
||||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh"
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/freescale/common/imx/post-image.sh"
|
||||||
BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/fsl-imx8mm-evk.dtb"
|
BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/fsl-imx8mm-evk.dtb"
|
||||||
BR2_LINUX_KERNEL=y
|
BR2_LINUX_KERNEL=y
|
||||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/linux-imx"
|
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/linux-imx"
|
||||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_4.19.35_1.1.0"
|
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="imx_4.14.98_2.0.0_ga"
|
||||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-imx8mm-tgr.dtb"
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-imx8mm-tgr"
|
||||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||||
BR2_LINUX_KERNEL_PATCH="board/tiesse/tgr/kernel-patches/"
|
BR2_LINUX_KERNEL_PATCH="board/tiesse/tgr/kernel-patches/"
|
||||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||||
@ -30,7 +30,7 @@ BR2_TARGET_UBOOT=y
|
|||||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||||
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
||||||
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/uboot-imx"
|
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/uboot-imx"
|
||||||
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_4.19.35_1.1.0"
|
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="imx_v2018.03_4.14.98_2.0.0_ga"
|
||||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mm_tgr"
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mm_tgr"
|
||||||
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
||||||
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
|
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
|
||||||
@ -46,7 +46,6 @@ BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y
|
|||||||
|
|
||||||
BR2_GLOBAL_PATCH_DIR="board/tiesse/tgr/packages-patches/"
|
BR2_GLOBAL_PATCH_DIR="board/tiesse/tgr/packages-patches/"
|
||||||
BR2_RELRO_FULL=y
|
BR2_RELRO_FULL=y
|
||||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
|
|
||||||
BR2_TARGET_GENERIC_HOSTNAME="cros"
|
BR2_TARGET_GENERIC_HOSTNAME="cros"
|
||||||
BR2_TARGET_GENERIC_ISSUE="1337 Linux"
|
BR2_TARGET_GENERIC_ISSUE="1337 Linux"
|
||||||
BR2_TARGET_ENABLE_ROOT_LOGIN=y
|
BR2_TARGET_ENABLE_ROOT_LOGIN=y
|
||||||
|
Loading…
Reference in New Issue
Block a user