diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2013-05-06 09:37:08 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@digia.com> | 2013-05-06 12:02:57 +0300 |
commit | 9321692c403c80470b4aca1635e5d365596984d6 (patch) | |
tree | 73118299a9f1ba2910ac790aa0d706f9bdb17ea9 /conf | |
parent | b7c41277d5ad24fa1f5efe368c54e2d486a85a86 (diff) | |
download | meta-boot2qt-9321692c403c80470b4aca1635e5d365596984d6.tar.gz |
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 <kalle.viironen@digia.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/distro/b2qt.conf | 3 | ||||
-rw-r--r-- | conf/distro/include/image_type.conf | 14 |
2 files changed, 16 insertions, 1 deletions
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 += " \ | |||
12 | LinuxMint-14 \n \ | 12 | LinuxMint-14 \n \ |
13 | " | 13 | " |
14 | 14 | ||
15 | IMAGE_FSTYPES = "tar.gz" | 15 | include conf/distro/include/image_type.conf |
16 | 16 | ||
17 | SYSVINIT_ENABLED_GETTYS = "" | 17 | SYSVINIT_ENABLED_GETTYS = "" |
18 | 18 | ||
19 | DISTRO_FEATURES ?= "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc ${DISTRO_FEATURES_LIBC}" | 19 | DISTRO_FEATURES ?= "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc ${DISTRO_FEATURES_LIBC}" |
20 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio" | ||
20 | 21 | ||
21 | COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse" | 22 | COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse" |
22 | COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse" | 23 | 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 @@ | |||
1 | IMAGE_FSTYPES = "tar.gz ext3 sdcard" | ||
2 | IMAGE_CLASSES += "image_types_sdcard" | ||
3 | |||
4 | IMAGE_ROOTFS_EXTRA_SPACE = "300000" | ||
5 | SDCARD_ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" | ||
6 | |||
7 | BOOT_SCRIPTS_mx6 = "6x_bootscript-${MACHINE}:6x_bootscript" | ||
8 | |||
9 | BOOT_SCRIPTS_beagleboard = "\ | ||
10 | u-boot-${MACHINE}.img:u-boot.img \ | ||
11 | MLO-${MACHINE}:MLO \ | ||
12 | " | ||
13 | SDCARD_GENERATION_COMMAND_beagleboard = "generate_imx_sdcard" | ||
14 | UBOOT_SUFFIX_beagleboard = "img" | ||