2 #@NAME: Nokia 900 internet tablet
3 #@DESCRIPTION: Machine configuration for the Nokia 900
7 require conf/machine/include/tune-cortexa8.inc
9 require conf/machine/include/initramfs-kexecboot.inc
11 PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
12 XSERVER = "xserver-xorg \
18 MACHINE_EXTRA_RRECOMMENDS = "\
20 kernel-module-g-nokia \
21 kernel-module-tsl2563 \
22 kernel-module-smc91x \
23 kernel-module-leds-lp5523 \
24 kernel-module-adp1653 \
25 kernel-module-ad5820 \
26 kernel-module-et8ek8 \
27 kernel-module-fmtx-si4713 \
28 kernel-module-leds-twl4030-vibra \
29 kernel-module-lis302dl \
30 kernel-module-nokia-av \
31 kernel-module-omap-ssi \
32 kernel-module-omap-wdt \
33 kernel-module-phonet \
34 kernel-module-radio-bcm2048 \
35 kernel-module-rtc-twl4030 \
36 kernel-module-smia-sensor \
37 kernel-module-ssi-mcsaab-imp \
38 kernel-module-tsc2005 \
39 kernel-module-twl4030-wdt \
40 kernel-module-wl12xx \
41 kernel-module-cmt-speech \
42 kernel-module-gpio-keys \
43 kernel-module-hci-h4p \
44 kernel-module-hsi-char \
45 kernel-module-isp1704-charger \
46 kernel-module-lis3lv02d-i2c \
47 kernel-module-mailbox-mach \
48 kernel-module-rtc-twl \
49 kernel-module-twl4030-pwrbutton \
50 kernel-module-wl1251-spi \
52 kernel-module-af-packet \
53 kernel-module-snd-soc-rx51 \
54 kernel-module-snd-soc-tlv320aic3x \
55 kernel-module-snd-soc-omap \
56 kernel-module-musb-hdrc \
57 kernel-module-twl4030-usb \
58 kernel-module-bq27x00-battery \
59 kernel-module-cmt-speech \
60 kernel-module-hsi-char \
63 GUI_MACHINE_CLASS = "bigscreen"
64 MACHINE_DISPLAY_WIDTH_PIXELS = "800"
65 MACHINE_DISPLAY_HEIGHT_PIXELS = "480"
67 KERNEL_IMAGETYPE = "uImage"
68 KERNEL_IMAGETYPE_pn-linux-kexecboot = "zImage"
70 UBOOT_ENTRYPOINT = "0x80008000"
71 UBOOT_LOADADDRESS = "0x80008000"
72 EXTRA_IMAGEDEPENDS += "u-boot"
74 ROOT_FLASH_SIZE = "100"
75 EXTRA_IMAGECMD_jffs2_nokia900 = "--pad --little-endian --eraseblock=0x20000 -n"
77 # Add "rootfstype=ubifs ubi.mtd=5,2048 root=ubi0:nokia900-rootfs"
78 # to the kernel cmdline to boot an ubifs image flashed on /dev/mtd5
79 # Here are the arguments with the corresponding dmesg messages :
80 # -m: UBI: smallest flash I/O unit: 2048
81 # -e: UBI: logical eraseblock size: 126976 bytes
82 # -c: UBI: number of good PEBs: 2009
83 # -p: UBI: physical eraseblock size: 131072 bytes (128 KiB)
84 # -x: best compression ratio
85 # -s and -O : set to the smallest flash I/O unit to bypass the subpages
86 # See http://www.linux-mtd.infradead.org/faq/ubi.html#L_vid_offset_mismatch for more details
87 # else you have some errors like theses in dmesg with ubiattach:
88 # onenand_write_ops_nolock: verify failed -74
89 # UBI error: ubi_io_write: error -74 while writing 512 bytes to PEB 961:512, written 512 bytes
90 # UBI warning: ubi_eba_write_leb: failed to write VID header to LEB 2147479551:0, PEB 961
91 # UBI warning: ubi_ro_mode: switch to read-only mode
92 MKUBIFS_ARGS = "-m 2048 -e 126976 -c 2009 -x zlib"
93 UBINIZE_ARGS = "-m 2048 -p 131072 -s 2048 -O 2048"
95 IMAGE_FSTYPES ?= "jffs2 tar.gz"
97 PREFERRED_PROVIDER_virtual/kernel = "linux-nokia900-meego"
99 #use this if you are using the nokia initfs
100 ROOTFS_POSTPROCESS_COMMAND += " remove_init_link; "
102 MACHINE_FEATURES = "kernel26 apm alsa bluetooth usbgadget vfat keyboard"
104 module_autoload_rtc-twl = "rtc-twl"
105 module_autoload_g-nokia = "g-nokia"
106 module_autoload_musb-hdrc = "musb-hdrc"
107 module_autoload_twl4030-usb = "twl4030-usb"
108 module_autoload_omap-ssi = "omap-ssi"
109 module_autoload_isp1704-charger = "isp1704-charger"
110 module_autoload_bq27x00-battery = "bq27x00-battery"
111 module_autoload_af-packet = "af-packet"
112 module_autoload_snd-soc-rx51 = "snd-soc-rx51"
113 module_autoload_snd-soc-tlv320aic3x = "snd-soc-tlv320aic3x"
114 module_autoload_wl1251-spi = "wl1251-spi"
115 module_autoload_snd-soc-omap = "snd-soc-omap"
116 module_autoload_cmt-speech = "cmt-speech"
117 module_autoload_hsi-char = "hsi-char"
118 # Copied from include/omap3.inc (as we do not use linux-omap recipes):
120 # Increase this everytime you change something in the kernel
121 MACHINE_KERNEL_PR = "r65"