#@TYPE: Machine
#@NAME: Nokia 770 internet tablet
#@DESCRIPTION: Machine configuration for the Nokia 770, an omap 1710 based tablet
TARGET_ARCH = "arm"
PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te"

PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive-xomap"
PREFERRED_PROVIDER_virtual/bootloader = ""

XSERVER = "xserver-kdrive-xomap"

# 800x480 is big enough for me
GUI_MACHINE_CLASS = "bigscreen"

require conf/machine/include/tune-arm926ejs.inc

#size of the root partition (yes, it is 123 MB)
ROOT_FLASH_SIZE = "123"
EXTRA_IMAGECMD_jffs2_nokia770 = "--pad --little-endian --eraseblock=0x20000 -n"

IMAGE_FSTYPES ?= "jffs2"

# serial console port on devboard rev. B3
SERIAL_CONSOLE = "115200 ttyS0"

PREFERRED_PROVIDER_virtual/kernel = "linux-nokia800"

#use this if you are using the nokia initfs
ROOTFS_POSTPROCESS_COMMAND += " remove_init_link; "

MACHINE_FEATURES = "kernel26 apm alsa bluetooth usbgadget usbhost screen vfat"
MACHINE_EXTRA_RDEPENDS = "usbinit"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "nokia770-init"

KERNEL_IMAGE_MAXSIZE = "2097152"
