aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2014-05-18 01:02:30 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2014-05-19 22:00:47 +0100
commit2108294ccc441fa7d2d2f40a1e56b38cad638013 (patch)
tree8d0d78b56f3abcedb134e54ffea3c9b8493968ad /conf
parent7684f550d4a9f238b5fff595e8432f8f716240a1 (diff)
downloadmeta-handheld-2108294ccc441fa7d2d2f40a1e56b38cad638013.tar.gz
meta-handheld-2108294ccc441fa7d2d2f40a1e56b38cad638013.tar.bz2
meta-handheld-2108294ccc441fa7d2d2f40a1e56b38cad638013.zip
gcw0: initial commit of machine config
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/gcw0.conf44
1 files changed, 44 insertions, 0 deletions
diff --git a/conf/machine/gcw0.conf b/conf/machine/gcw0.conf
new file mode 100644
index 0000000..801f634
--- /dev/null
+++ b/conf/machine/gcw0.conf
@@ -0,0 +1,44 @@
+#@TYPE: Machine
+#@NAME: GCW Zero
+#@DESCRIPTION: Machine configuration for the Game Consoles Worldwide (GCW) Zero
+
+DEFAULTTUNE = "mips32r2el"
+require conf/machine/include/tune-mips32r2.inc
+
+# Factory default are RO images: add following line to your target image
+# IMAGE_FEATURES += "read-only-rootfs"
+IMAGE_FSTYPES ?= "tar.gz squashfs squashfs-xz"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-gcw0"
+
+KERNEL_IMAGETYPE = "vmlinuz.bin"
+KERNEL_OUTPUT = "${KERNEL_IMAGETYPE}"
+
+MACHINE_GUI_CLASS = "smallscreen"
+MACHINE_DISPLAY_WIDTH_PIXELS = "320"
+MACHINE_DISPLAY_HEIGHT_PIXELS = "240"
+MACHINE_FEATURES = "apm alsa usbhost usbgadget wifi screen qvga vfat ext2"
+
+# Install kernel and symlink in /boot
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = " kernel-base kernel-image"
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
+
+# Install /boot/boot.cfg in target images and formfactor (psplash checks rotatio
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS_append = " kexecboot-cfg formfactor"
+
+SERIAL_CONSOLE = "57600 ttyS2"
+
+CMDLINE = "console=ttyS2,57600n8 console=tty0 rfkill.default_state=0"
+
+# dmesg 3.12
+# Kernel command line: mem=0x0100M mem=0x0100M@0x30000000 fbcon=bind:0 hwvariant=v20_mddr_512mb panic=5 console=ttyS2,57600 console=tty0 boot=/dev/mmcblk0p1 loop0=/boot/rootfs.squashfs root=/dev/loop0 rfkill.default_state=0
+
+# mininit as init
+#CMDLINE = "panic=5 console=ttyS2,57600 console=tty0 boot=/dev/mmcblk0p1 loop0=/boot/rootfs.squashfs root=/dev/loop0 rfkill.default_state=0"
+
+#https://github.com/pcercuei/mininit
+#This simple program permits to use a romfs/squashfs image as the root filesystem of a linux system.
+#You will need to specify three parameters on the kernel command line:
+#- 'boot=X' where X is a comma-separated list of the possible locations for the filesystem on which is stored the image;
+#- 'loop0=X' where X is the path to the image (e.g. /boot/rootfs.bin);
+#- 'root=/dev/loop0' which defines the loopback mount as being the root file system.