From 9321692c403c80470b4aca1635e5d365596984d6 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Mon, 6 May 2013 09:37:08 +0300 Subject: Add support for sdcard images Create also sdcard images that can be easily dd'ed to memory card. Image type created for imx6 works also in beagleboard when first partition is marked as bootable. Change-Id: I45323de442187c67867be31f80f1cdef43a12a9e Reviewed-by: Kalle Viironen --- conf/distro/b2qt.conf | 3 ++- conf/distro/include/image_type.conf | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 conf/distro/include/image_type.conf (limited to 'conf/distro') diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf index 0f94be0..1b11877 100644 --- a/conf/distro/b2qt.conf +++ b/conf/distro/b2qt.conf @@ -12,11 +12,12 @@ SANITY_TESTED_DISTROS += " \ LinuxMint-14 \n \ " -IMAGE_FSTYPES = "tar.gz" +include conf/distro/include/image_type.conf SYSVINIT_ENABLED_GETTYS = "" DISTRO_FEATURES ?= "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc ${DISTRO_FEATURES_LIBC}" +DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio" COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse" COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse" diff --git a/conf/distro/include/image_type.conf b/conf/distro/include/image_type.conf new file mode 100644 index 0000000..596551b --- /dev/null +++ b/conf/distro/include/image_type.conf @@ -0,0 +1,14 @@ +IMAGE_FSTYPES = "tar.gz ext3 sdcard" +IMAGE_CLASSES += "image_types_sdcard" + +IMAGE_ROOTFS_EXTRA_SPACE = "300000" +SDCARD_ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" + +BOOT_SCRIPTS_mx6 = "6x_bootscript-${MACHINE}:6x_bootscript" + +BOOT_SCRIPTS_beagleboard = "\ + u-boot-${MACHINE}.img:u-boot.img \ + MLO-${MACHINE}:MLO \ + " +SDCARD_GENERATION_COMMAND_beagleboard = "generate_imx_sdcard" +UBOOT_SUFFIX_beagleboard = "img" -- cgit v1.2.3-54-g00ecf