From b07cdf8e011e6ea09c92be4f456e90f1e4c5d06e Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 16 Apr 2013 08:40:03 -0500 Subject: [PATCH] bone: serial and video options Signed-off-by: Robert Nelson --- README | 3 ++- mk_mmc.sh | 33 ++++++++++++++++++++++++++++++--- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/README b/README index bcbf155..d5b9245 100644 --- a/README +++ b/README @@ -16,7 +16,8 @@ Required Options: beagle_bx - beagle_cx - beagle_xm - - bone - + bone-serial - + bone-video - igepv2 - panda - panda_es - diff --git a/mk_mmc.sh b/mk_mmc.sh index a5ad688..adf0e9b 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1555,7 +1555,7 @@ function check_uboot_type { source "${DIR}"/hwpack/omap3-beagle-xm.conf convert_uboot_to_dtb_board ;; - bone) + bone-serial|bone) need_am335x_firmware="1" uboot_SCRIPT_ENTRY="uenvcmd" uboot_CMD_LOAD="load" @@ -1581,6 +1581,31 @@ function check_uboot_type { #initrdaddr = 0x80200000 + 10(mb) * 10 0000 = 0x80C0 0000 (10MB) conf_initrdaddr="0x81000000" ;; + bone-video) + need_am335x_firmware="1" + uboot_SCRIPT_ENTRY="uenvcmd" + uboot_CMD_LOAD="load" + SYSTEM="bone" + conf_board="BEAGLEBONE_A" + is_omap + SERIAL="ttyO0" + SERIAL_CONSOLE="${SERIAL},115200n8" + + kernel_subarch="omap-psp" + + unset HAS_OMAPFB_DSS2 + unset KMS_VIDEOA + + #just to disable the omapfb stuff.. + USE_KMS=1 + conf_zreladdr="0x80008000" + conf_loadaddr="0x80200000" + conf_fdtaddr="0x815f0000" + #u-boot:rdaddr="0x81000000" + #initrdaddr = 0x80200000 + 10(mb) * 10 0000 = 0x80C0 0000 (10MB) + conf_initrdaddr="0x81000000" + ;; + bone_dt|bone_dtb) echo "Note: [--dtb am335x-bone-serial] now replaces [--uboot bone_dtb]" source "${DIR}"/hwpack/am335x-bone-serial.conf @@ -1688,7 +1713,8 @@ function check_uboot_type { beagle_bx - beagle_cx - beagle_xm - - bone - + bone-serial - + bone-video - igepv2 - panda - panda_es - @@ -1803,7 +1829,8 @@ function usage { beagle_bx - beagle_cx - beagle_xm - - bone - + bone-serial - + bone-video - igepv2 - panda - panda_es -