diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2010-04-20 19:30:33 +0200 |
---|---|---|
committer | Andrea Adami <andrea.adami@gmail.com> | 2010-04-21 00:03:42 +0200 |
commit | de4a5bc6f2468bbb65d362eddb372226463d66e3 (patch) | |
tree | 986cd55f75e86c405a17d633a0306c51a0afeb60 /conf/machine/include | |
parent | 15188a35e2f9887cf458898f6852874ad739028d (diff) |
zaurus-2.6.inc: reorder common Zaurus settings.
* reabsorb zaurus-kernel.inc
Diffstat (limited to 'conf/machine/include')
-rw-r--r-- | conf/machine/include/zaurus-2.6.inc | 67 | ||||
-rw-r--r-- | conf/machine/include/zaurus-kernel.inc | 15 |
2 files changed, 51 insertions, 31 deletions
diff --git a/conf/machine/include/zaurus-2.6.inc b/conf/machine/include/zaurus-2.6.inc index d8bd5b00dc..1b5599b55c 100644 --- a/conf/machine/include/zaurus-2.6.inc +++ b/conf/machine/include/zaurus-2.6.inc @@ -1,25 +1,29 @@ +######################## # Zaurus common settings -# Additionally, clamshell specific stuff in zaurus-clamshell.inc +######################## + +IMAGE_FSTYPES += "jffs2 tar.gz" +EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=${ERASEBLOCKSIZE} --pad --faketime -n" + +EXTRA_IMAGEDEPENDS += "zaurus-installer" -TARGET_ARCH = "arm" + +###### +# nand +###### ERASEBLOCKSIZE = "0x4000" ERASEBLOCKSIZE_akita = "0x20000" -# Warning! SL-C3000 seems to be "0x4000" (16m NAND) -# C3100 and C3200 have same 128MB NAND device as akita +# Warning! SL-C3000 has "0x4000" (16MiB NAND) +# C3100 and C3200 have same 128MiB NAND device as akita ERASEBLOCKSIZE_spitz = "0x20000" -EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=${ERASEBLOCKSIZE} --pad --faketime -n" -EXTRA_IMAGEDEPENDS += "zaurus-installer" - -SERIAL_CONSOLE = "115200 ttyS0" -SERIAL_CONSOLE_collie = "115200 ttySA0" +######### +# xserver (FIXME: xserver-xorg is in testing on spitz) +######### -# FIXME: xserver-xorg is in testing on spitz - -# deprecated defaults PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" XSERVER = "xserver-kdrive-fbdev" @@ -40,9 +44,36 @@ PREFERRED_PROVIDER_virtual/xserver_spitz = "xserver-xorg" XSERVER_spitz = "xserver-xorg xf86-input-keyboard xf86-input-mouse xf86-input-evdev" PREFERRED_PROVIDER_virtual/libgl_spitz = "mesa-dri" -PCMCIA_MANAGER ?= "pcmciautils" -IMAGE_FSTYPES += "jffs2 tar.gz" +######## +# kernel +######## + +MACHINE_KERNEL_VERSION = "2.6" + +PREFERRED_PROVIDER_virtual/kernel = "linux-rp" + +# Starting with 2.6.32 linux-rp is deprecated for some models +#PREFERRED_PROVIDER_virtual/kernel = "linux" +PREFERRED_PROVIDER_virtual/kernel_collie = "linux" +PREFERRED_PROVIDER_virtual/kernel_tosa = "linux" + +# Default bootloader expects "zImage", use "uImage" for u-boot +# Note: kexecboot can boot both kind of images +ZAURUS_KERNEL_IMAGETYPE ?= "zImage" +KERNEL_IMAGETYPE = "${ZAURUS_KERNEL_IMAGETYPE}" + + +################ +# machine tuning +################ + +TARGET_ARCH = "arm" + +SERIAL_CONSOLE = "115200 ttyS0" +SERIAL_CONSOLE_collie = "115200 ttySA0" + +PCMCIA_MANAGER ?= "pcmciautils" MACHINE_FEATURES = "kernel26 apm alsa pcmcia irda usbgadget keyboard touchscreen screen vfat ext2" MACHINE_FEATURES_append_akita = " usbhost " @@ -52,7 +83,6 @@ MACHINE_FEATURES_append_tosa = " usbhost wifi " MACHINE_EXTRA_RDEPENDS = "zaurusd mtd-utils nandlogical" MACHINE_EXTRA_RDEPENDS_collie = "zaurusd" -# Here we just need snd modules # Fixme ? pcmcia and pxa2xx-cs are now compiled in kernel # Fixme ? module-snd for collie MACHINE_EXTRA_RRECOMMENDS_collie = "" @@ -65,5 +95,10 @@ MACHINE_EXTRA_RRECOMMENDS_poodle = "kernel-module-snd-soc-poodle kernel-module-p # Fixme ? module-snd for tosa MACHINE_EXTRA_RRECOMMENDS_tosa = "apm-tosa-suspendfix" -require conf/machine/include/zaurus-kernel.inc + +################################## +# build kexecboot kernel while +# making sure rootfs is compatible +################################## + require conf/machine/include/initramfs-kexecboot.inc diff --git a/conf/machine/include/zaurus-kernel.inc b/conf/machine/include/zaurus-kernel.inc deleted file mode 100644 index bbbb38315c..0000000000 --- a/conf/machine/include/zaurus-kernel.inc +++ /dev/null @@ -1,15 +0,0 @@ -# Zaurus common kernel settings - -MACHINE_KERNEL_VERSION = "2.6" - -PREFERRED_PROVIDER_virtual/kernel = "linux-rp" - -# Starting with 2.6.32 linux-rp is deprecated for some models -#PREFERRED_PROVIDER_virtual/kernel = "linux" -PREFERRED_PROVIDER_virtual/kernel_collie = "linux" -PREFERRED_PROVIDER_virtual/kernel_tosa = "linux" - -# Default bootloader expects "zImage", use "uImage" for u-boot -# Note: kexecboot can boot both kind of images -ZAURUS_KERNEL_IMAGETYPE ?= "zImage" -KERNEL_IMAGETYPE = "${ZAURUS_KERNEL_IMAGETYPE}" |