add: wandboard-quad

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 84e38612dc
commit 97c7fefa50

@ -0,0 +1,65 @@
#!/bin/bash
#http://repo.or.cz/w/wandboard.git/shortlog/refs/heads/wandboard
# --dtb wandboard-dl (Freescale based i.MX6 Wandboard (Dual Core) WandBoard Tree:supported)
SYSTEM="video"
#Bootloader:
conf_board="WANDBOARD_QUAD"
conf_bl_http="http://rcn-ee.net/deb/tools/latest/"
conf_bl_listfile="bootloader-ng"
#Bootloader Partition:
bootloader_location="dd_uboot_boot"
boot_fstype="ext2"
dd_uboot_bs="512"
dd_uboot_seek="2"
boot_partition_size="96"
boot_startmb="1"
use_sfdisk=1
unset spl_name
boot_name="u-boot.imx"
#Bootloader: u-boot features:
#CONFIG_CMD_BOOTZ
#bootz & zImage
conf_uboot_CONFIG_CMD_BOOTZ=1
#CONFIG_SUPPORT_RAW_INITRD
#allows booting un-mkimage wrapped initrds
conf_uboot_CONFIG_SUPPORT_RAW_INITRD=1
#CONFIG_CMD_FS_GENERIC
#allows using "load" over "fatload"/"ext2load"
conf_uboot_CONFIG_CMD_FS_GENERIC=1
#uenvcmd avaiable?
conf_uboot_use_uenvcmd=1
#conf_uboot_no_uenvcmd="loaduimage"
#can the bootloader auto detect the device: (*.dtb)?
#uboot_fdt_auto_detection=1
#Kernel:
#http://rcn-ee.net/deb/wheezy-armhf/LATEST-imx
kernel_subarch="wand"
kernel_repo="STABLE"
usbnet_mem=
#Kernel: Bootloader Settings:
conf_zreladdr="0x10008000"
conf_loadaddr="0x12000000"
conf_fdtaddr="0x11000000"
#initrdaddr = loadaddr + 10(mb) * 10 0000 = 0x12A0 0000 (10MB)
conf_initrdaddr="0x12A00000"
#conf_fdtfile="imx6q-wandboard.dtb"
#need_dtbs=1
SERIAL="ttymxc0"
SERIAL_CONSOLE="${SERIAL},115200n8"
VIDEO_CONSOLE="console=tty0"
HAS_IMX_BLOB=1
conf_imx_video="video=mxcfb0:dev=hdmi,1280x720@60,if=RGB565"

@ -1198,7 +1198,13 @@ create_partitions () {
;;
dd_uboot_boot)
dd_uboot_boot
if [ "${use_sfdisk}" ] ; then
LC_ALL=C sfdisk --in-order --Linux --unit M "${MMC}" <<-__EOF__
${boot_startmb},${boot_partition_size},0x83,*
__EOF__
else
LC_ALL=C parted --script ${MMC} mkpart primary ${parted_format} ${boot_startmb} ${boot_partition_size}
fi
;;
dd_spl_uboot_boot)
dd_spl_uboot_boot

Loading…
Cancel
Save