nokia900: initial version of machine config for Nokia N900 tablet/phone
authorRobert Schuster <r.schuster@tarent.de>
Wed, 20 Jan 2010 11:29:46 +0000 (12:29 +0100)
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Wed, 20 Jan 2010 11:29:46 +0000 (12:29 +0100)
Written by Robert, tweaked a bit by me.

Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
conf/machine/nokia900.conf [new file with mode: 0644]

diff --git a/conf/machine/nokia900.conf b/conf/machine/nokia900.conf
new file mode 100644 (file)
index 0000000..4880ea4
--- /dev/null
@@ -0,0 +1,30 @@
+#@TYPE: Machine
+#@NAME: Nokia 900 internet tablet
+#@DESCRIPTION: Machine configuration for the Nokia 900
+TARGET_ARCH = "arm"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+XSERVER = "xserver-xorg \
+           xf86-input-evdev \
+           xf86-video-fbdev \
+           xf86-video-omapfb "
+
+GUI_MACHINE_CLASS = "bigscreen"
+MACHINE_DISPLAY_WIDTH_PIXELS = "800"
+MACHINE_DISPLAY_HEIGHT_PIXELS = "480"
+
+require conf/machine/include/omap3.inc
+
+ROOT_FLASH_SIZE = "100"
+EXTRA_IMAGECMD_jffs2_nokia900 = "--pad --little-endian --eraseblock=0x20000 -n"
+
+IMAGE_FSTYPES ?= "jffs2"
+
+SERIAL_CONSOLE = "115200 ttyS0"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+
+#use this if you are using the nokia initfs
+ROOTFS_POSTPROCESS_COMMAND += " remove_init_link; "
+
+MACHINE_FEATURES = "kernel26 apm alsa bluetooth usbgadget vfat"