From dadf0252aa1e44a1504f8474979766b16fe04591 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 21 Mar 2012 15:32:53 -0500 Subject: [PATCH] board: add mx53evk target, only initial boot tested Signed-off-by: Robert Nelson --- mk_mmc.sh | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index c58f9f4..e0d1cf5 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -598,7 +598,7 @@ function boot_uenv_txt_template { __EOF__ ;; - igepv2|crane|panda|panda_es|mx53loco) + igepv2|crane|panda|panda_es|mx51evk|mx53loco) cat >> ${TEMPDIR}/bootscripts/netinstall.cmd <<-__EOF__ deviceargs=setenv device_args loaduimage=run xyz_mmcboot; run deviceargs; run mmcargs; bootm \${address_uimage} \${address_uinitrd} @@ -1447,16 +1447,13 @@ function is_omap { unset KMS_VIDEOB } -function is_imx53 { - IS_IMX=1 - UIMAGE_ADDR="0x70800000" - UINITRD_ADDR="0x72100000" - SERIAL_CONSOLE="${SERIAL},115200" - ZRELADD="0x70008000" - SUBARCH="imx" - VIDEO_CONSOLE="console=tty0" - VIDEO_FB="mxcdi1fb" - VIDEO_TIMING="RGB24,1280x720M@60" +function is_imx { + IS_IMX=1 + SERIAL_CONSOLE="${SERIAL},115200" + SUBARCH="imx" + VIDEO_CONSOLE="console=tty0" + VIDEO_FB="mxcdi1fb" + VIDEO_TIMING="RGB24,1280x720M@60" } function check_uboot_type { @@ -1574,6 +1571,19 @@ function check_uboot_type { SERIAL="ttyO2" is_omap + BETA_KERNEL=1 + SERIAL_MODE=1 + ;; + mx51evk) + SYSTEM="mx51evk" + DO_UBOOT=1 + DD_UBOOT=1 + BOOTLOADER="MX51EVK" + SERIAL="ttymxc0" + is_imx + ZRELADD="0x90008000" + UIMAGE_ADDR="0x90800000" + UINITRD_ADDR="0x92100000" BETA_KERNEL=1 SERIAL_MODE=1 ;; @@ -1583,7 +1593,10 @@ function check_uboot_type { DD_UBOOT=1 BOOTLOADER="MX53LOCO" SERIAL="ttymxc0" - is_imx53 + is_imx + ZRELADD="0x70008000" + UIMAGE_ADDR="0x70800000" + UINITRD_ADDR="0x72100000" ;; *) IN_VALID_UBOOT=1