aboutsummaryrefslogtreecommitdiff
path: root/conf/machine/ben-nanonote.conf
blob: e92992d1a58f3c1c600cb24ce62b9a81dae1d89d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#@TYPE: Machine
#@NAME: Ben Nanonote
#@DESCRIPTION: Machine configuration for the Qi-Hardware's Ben Nanonote

TARGET_ARCH = "mipsel"
require conf/machine/include/tune-mips32.inc

PREFERRED_PROVIDER_virtual/kernel = "linux-jlime-ben-nanonote"

# With 2.6.37 there is not yet uImage target (pending patches)
#KERNEL_IMAGETYPE = "uImage"
KERNEL_IMAGETYPE = "vmlinux.bin"

IMAGE_FSTYPES ?= "jffs2"

# do ubiattach /dev/ubi_ctrl -m 2
# From dmesg:
# UBI: physical eraseblock size:   524288 bytes (512 KiB)
# UBI: logical eraseblock size:    516096 bytes
# UBI: smallest flash I/O unit:    4096
# UBI: VID header offset:          4096 (aligned 4096)
# UBI: data offset:                8192
MKUBIFS_ARGS = "-m 4096 -e 516096 -c 4095"
UBINIZE_ARGS = "-m 4096 -p 512KiB"

EXTRA_IMAGECMD_ubi = "; echo vol_alignment=1 >> ubinize.cfg"

PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
PREFERRED_VERSION_xserver-kdrive = "1.3.0.0"

XSERVER = "xserver-kdrive-fbdev"

#ScreenInfo
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_DISPLAY_WIDTH_PIXELS = "320"
MACHINE_DISPLAY_HEIGHT_PIXELS = "240"
LOGO_SIZE = "qvga"

##################################
# build kexecboot kernel while
# making sure rootfs is compatible
##################################

# require conf/machine/include/initramfs-kexecboot.inc