summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMickaël CHAZAUX <mchazaux@adeneo-embedded.com>2010-05-07 04:32:04 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2010-09-02 23:19:52 +0200
commit66bff3a9a8628689f63e6760f3cfff48304b281d (patch)
tree0dcfc44b5e5190b15197fdb1d61ecaf319404656 /conf
parenta4046c81e443fab95535fdd81c170316f36fd932 (diff)
Add i.MX51 based "Babbage" board support
This is based on the patches released by Freescale as part of LTIB. Signed-off-by: Mickaël Chazaux <mchazaux@adeneo-embedded.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/babbage.conf42
-rw-r--r--conf/machine/include/imx51.inc11
2 files changed, 53 insertions, 0 deletions
diff --git a/conf/machine/babbage.conf b/conf/machine/babbage.conf
new file mode 100644
index 0000000000..5409e720e8
--- /dev/null
+++ b/conf/machine/babbage.conf
@@ -0,0 +1,42 @@
+#@TYPE: Machine
+#@NAME: Freescale i.MX51 Babbage
+#@DESCRIPTION: Machine configuration for the Babbage board
+#@URL: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX515
+TARGET_ARCH = "arm"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+XSERVER = "xserver-xorg \
+ xf86-input-evdev \
+ xf86-input-mouse \
+ xf86-input-keyboard"
+
+# Only has DVI connector for external screen
+GUI_MACHINE_CLASS = "bigscreen"
+
+require conf/machine/include/imx51.inc
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFFERED_PROVIDER_virtual/bootloader = "u-boot"
+
+UBOOT_MACHINE = "mx51_bbg_config"
+
+IMAGE_FSTYPES += "tar.bz2 ubi"
+EXTRA_IMAGECMD_jffs2 = "-lnp "
+
+SERIAL_CONSOLE = "115200 ttymxc0"
+
+MACHINE_FEATURES = "kernel26 screen apm usbhost vfat alsa"
+
+# The board expects the bootloader to be at offset 0x400 of SD-CARd in the bottom slot.
+# The generated u-boot.bin is zero-padded from offset 0x000 to offset 0x400.
+#
+# You may flash it using a command like :
+# # dd if=/u-boot.bin of=/dev/sdX
+#
+# Alternatively, if you want to keep your partition table intact, you can use
+# something like :
+# # dd if=/u-boot.bin of=/dev/sdX bs=512 seek=2 skip=2
+#
+# Note that both of these commands will destroy any filesystem present on the
+# sectors u-boot will be written. Please Consider creating your partition
+# table accordingly.
diff --git a/conf/machine/include/imx51.inc b/conf/machine/include/imx51.inc
new file mode 100644
index 0000000000..543e09feba
--- /dev/null
+++ b/conf/machine/include/imx51.inc
@@ -0,0 +1,11 @@
+require conf/machine/include/tune-cortexa8.inc
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+# Increase this everytime you change something in the kernel
+
+KERNEL_IMAGETYPE = "uImage"
+
+UBOOT_ENTRYPOINT = "0x90008000"
+UBOOT_LOADADDRESS = "0x90008000"
+
+EXTRA_IMAGEDEPENDS += "u-boot"
+