Patchwork [4/4] ronetix-pm9g45: update board support

login
register
mail settings
Submitter Eric BENARD
Date July 5, 2011, 4:38 p.m.
Message ID <1309883899-658-4-git-send-email-eric@eukrea.com>
Download mbox | patch
Permalink /patch/7003/
State New, archived
Headers show

Comments

Eric BENARD - July 5, 2011, 4:38 p.m.
OE can now compile all the binaries to boot this board :
at91bootstrap, u-boot, linux and rootfs in jffs2 and ubifs formats

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 conf/machine/ronetix-pm9g45.conf |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

Patch

diff --git a/conf/machine/ronetix-pm9g45.conf b/conf/machine/ronetix-pm9g45.conf
index 766fe91..90378b3 100644
--- a/conf/machine/ronetix-pm9g45.conf
+++ b/conf/machine/ronetix-pm9g45.conf
@@ -5,18 +5,19 @@ 
 include conf/machine/include/at91-2.6.30.inc
 include conf/machine/include/at91-lcd.inc
 
-#PREFERRED_VERSION_linux = "2.6.30"
-
-# Has linux config file in OpenEmbedded
-#
-LINUX26_DEFCONFIG = "at91sam9g45ek_defconfig"
+PREFERRED_PROVIDER_at91bootstrap = "at91bootstrap_2.13"
+PREFERRED_VERSION_at91bootstrap = "2.13"
+PREFERRED_PROVIDER_u-boot = "u-boot"
+PREFERRED_VERSION_u-boot = "2010.09"
 
 # Supported u-boot machines
-UBOOT_MACHINE = "at91sam9m10g45ek_dataflash_cs0_config"
-#UBOOT_MACHINE = "icnova_arm9sodimm_config"
+UBOOT_MACHINE = "pm9g45_bb9g45_config"
 UBOOT_ENTRYPOINT = "0x70008000"
-
-AT91BOOTSTRAP_BOARD = "at91sam9g45df at91sam9g45ek at91sam9g45nf"
+AT91BOOTSTRAP_BOARD = "pm9g45"
 
 MACHINE_FEATURES += "usbhost"
 
+IMAGE_FSTYPES += "jffs2 ubi"
+EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 2048"
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"