diff --git a/hwpack/omap4-panda-a4.conf b/hwpack/omap4-panda-a4.conf new file mode 100644 index 0000000..de0404a --- /dev/null +++ b/hwpack/omap4-panda-a4.conf @@ -0,0 +1,50 @@ +#!/bin/bash +#Reference: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree;f=arch/arm/boot/dts;hb=refs/tags/v3.7 +# --dtb omap4-panda-a4 (PandaBoard A4-A+:supported) + +#Bootloader: +conf_board="PANDABOARD" +conf_bl_http="http://rcn-ee.net/deb/tools/latest" +conf_bl_listfile="bootloader-ng" + +#Bootloader Partition: +bootloader_location="fatfs_boot" +boot_partition_size="100" +spl_name="MLO" +boot_name="u-boot.img" + +#Bootloader: u-boot settings +boot_image="bootz" +boot_script="uEnv.txt" +boot_fstype="fat" +uboot_SCRIPT_ENTRY="uenvcmd" +uboot_CMD_LOAD="load" + +#Kernel: +#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap +kernel_subarch="omap" +kernel_repo="STABLE" + +usbnet_mem="32768" + +#Kernel: Bootloader Settings: +conf_zreladdr="0x80008000" +conf_loadaddr="0x80300000" +conf_fdtaddr="0x815f0000" +conf_initrdaddr="0x81600000" +conf_fdtfile="omap4-panda-a4.dtb" +need_ti_connectivity_firmware=1 + +SYSTEM="video" +#SYSTEM="serial" + +SERIAL="ttyO2" +SERIAL_CONSOLE="${SERIAL},115200n8" + +#Has Old DSS2 omapfb framebuffer driver: +VIDEO_CONSOLE="console=tty0" +HAS_OMAPFB_DSS2=1 +VIDEO_DRV="omapfb.mode=dvi" +VIDEO_OMAP_RAM="12MB" +VIDEO_OMAPFB_MODE="dvi" +VIDEO_TIMING="1280x720MR-16@60"1 diff --git a/hwpack/omap4-panda-es.conf b/hwpack/omap4-panda-es.conf new file mode 100644 index 0000000..1e6a242 --- /dev/null +++ b/hwpack/omap4-panda-es.conf @@ -0,0 +1,50 @@ +#!/bin/bash +#Reference: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree;f=arch/arm/boot/dts;hb=refs/tags/v3.7 +# --dtb omap4-panda-es (PandaBoard ES:supported) + +#Bootloader: +conf_board="PANDABOARD" +conf_bl_http="http://rcn-ee.net/deb/tools/latest" +conf_bl_listfile="bootloader-ng" + +#Bootloader Partition: +bootloader_location="fatfs_boot" +boot_partition_size="100" +spl_name="MLO" +boot_name="u-boot.img" + +#Bootloader: u-boot settings +boot_image="bootz" +boot_script="uEnv.txt" +boot_fstype="fat" +uboot_SCRIPT_ENTRY="uenvcmd" +uboot_CMD_LOAD="load" + +#Kernel: +#http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap +kernel_subarch="omap" +kernel_repo="STABLE" + +usbnet_mem="32768" + +#Kernel: Bootloader Settings: +conf_zreladdr="0x80008000" +conf_loadaddr="0x80300000" +conf_fdtaddr="0x815f0000" +conf_initrdaddr="0x81600000" +conf_fdtfile="omap4-panda-es.dtb" +need_ti_connectivity_firmware=1 + +SYSTEM="video" +#SYSTEM="serial" + +SERIAL="ttyO2" +SERIAL_CONSOLE="${SERIAL},115200n8" + +#Has Old DSS2 omapfb framebuffer driver: +VIDEO_CONSOLE="console=tty0" +HAS_OMAPFB_DSS2=1 +VIDEO_DRV="omapfb.mode=dvi" +VIDEO_OMAP_RAM="12MB" +VIDEO_OMAPFB_MODE="dvi" +VIDEO_TIMING="1280x720MR-16@60"1 diff --git a/hwpack/omap4-panda.conf b/hwpack/omap4-panda.conf index 27abde1..48e821e 100644 --- a/hwpack/omap4-panda.conf +++ b/hwpack/omap4-panda.conf @@ -1,6 +1,6 @@ #!/bin/bash #Reference: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree;f=arch/arm/boot/dts;hb=refs/tags/v3.7 -# --dtb omap4-panda (PandaBoard:supported) +# --dtb omap4-panda (PandaBoard EA1-A3:supported) #Bootloader: conf_board="PANDABOARD" @@ -32,7 +32,7 @@ conf_zreladdr="0x80008000" conf_loadaddr="0x80300000" conf_fdtaddr="0x815f0000" conf_initrdaddr="0x81600000" -conf_fdtfile= +conf_fdtfile="omap4-panda.dtb" need_ti_connectivity_firmware=1 SYSTEM="video" diff --git a/mk_mmc.sh b/mk_mmc.sh index fca067d..1498cbd 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -489,7 +489,7 @@ function boot_uenv_txt_template { expansion_args=setenv expansion buddy=\${buddy} buddy2=\${buddy2} __EOF__ ;; - crane|igepv2|mx53loco|panda_es|panda_dtb|panda_es_dtb|mx51evk|mx6qsabrelite) + crane|igepv2|mx53loco|mx51evk|mx6qsabrelite) cat >> ${TEMPDIR}/bootscripts/normal.cmd <<-__EOF__ optargs=VIDEO_CONSOLE expansion_args=setenv expansion @@ -777,7 +777,7 @@ function dl_device_firmware { mkdir -p ${TEMPDIR}/firmware/ DL_WGET="wget --directory-prefix=${TEMPDIR}/firmware/" case "${SYSTEM}" in - beagle_xm|panda_dtb|panda_es|panda_es_dtb) + beagle_xm) dl_linux_firmware echo "-----------------------------" echo "Adding Firmware for onboard WiFi/Bluetooth module" @@ -1474,8 +1474,6 @@ uboot_dtb_error () { bone-serial - bone-video - igepv2 - - panda - - panda_es - ----------------------------- __EOF__ @@ -1670,57 +1668,14 @@ function check_uboot_type { convert_uboot_to_dtb_board ;; panda_dtb) - uboot_SCRIPT_ENTRY="loaduimage" - uboot_CMD_LOAD="fatload" - SYSTEM="panda_dtb" - conf_board="PANDABOARD" - is_omap - VIDEO_OMAP_RAM="16MB" - KMS_VIDEOB="video=HDMI-A-1" - usbnet_mem="32768" - - conf_fdtfile="omap4-panda.dtb" - EXPERIMENTAL_KERNEL=1 - need_dtbs=1 + echo "Note: [--dtb omap4-panda-v3.9-dt] now replaces [--uboot panda_dtb]" + source "${DIR}"/hwpack/omap4-panda-v3.9-dt.conf + convert_uboot_to_dtb_board ;; panda_es) - uboot_SCRIPT_ENTRY="loaduimage" - uboot_CMD_LOAD="fatload" - SYSTEM="panda_es" - conf_board="PANDABOARD_ES" - is_omap - #conf_fdtfile="omap4-panda.dtb" - VIDEO_OMAP_RAM="16MB" - KMS_VIDEOB="video=HDMI-A-1" - usbnet_mem="32768" - ;; - panda_es_dtb) - uboot_SCRIPT_ENTRY="loaduimage" - uboot_CMD_LOAD="fatload" - SYSTEM="panda_es_dtb" - conf_board="PANDABOARD_ES" - is_omap - VIDEO_OMAP_RAM="16MB" - KMS_VIDEOB="video=HDMI-A-1" - usbnet_mem="32768" - - conf_fdtfile="omap4-pandaES.dtb" - need_dtbs=1 - ;; - panda_es_kms) - uboot_SCRIPT_ENTRY="loaduimage" - uboot_CMD_LOAD="fatload" - SYSTEM="panda_es" - conf_board="PANDABOARD_ES" - is_omap - #conf_fdtfile="omap4-panda.dtb" - - USE_KMS=1 - unset HAS_OMAPFB_DSS2 - KMS_VIDEOB="video=HDMI-A-1" - usbnet_mem="32768" - - kernel_repo="TESTING" + echo "Note: [--dtb omap4-panda-es] now replaces [--uboot panda_es]" + source "${DIR}"/hwpack/omap4-panda-es.conf + convert_uboot_to_dtb_board ;; crane) uboot_SCRIPT_ENTRY="loaduimage" @@ -1844,8 +1799,6 @@ function usage { bone-serial - bone-video - igepv2 - - panda - - panda_es - Optional: --distro