Skip to contentSkip to conversation

1/3 Added at91sam9g20ek machine

PATCH NAK Marco Cavallini 3 participants 3 messages Apr 2, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 1/3 Added at91sam9g20ek machine

From 40e45e43ad83fb8492b0af35554c35f047832478 Mon Sep 17 00:00:00 2001
From: Marco Cavallini <[email protected]>
Date: Thu, 2 Apr 2009 14:49:07 +0200
Subject: [PATCH] Added at91sam9g20ek machine

---
 conf/machine/at91sam9g20ek.conf |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 conf/machine/at91sam9g20ek.conf
conf/machine/at91sam9g20ek.conf new file +30 -0
new file mode 100644
index 0000000..1fd165c
@@ -0,0 +1,30 @@
+#@TYPE: Machine
+#@Name: Atmel AT91SAM9G20EK Development Platform
+#@DESCRIPTION: Machine configuration for the at91sam9g20ek development board with a at91sam9g20 processor
+
+TARGET_ARCH = "arm"
+#PACKAGE_EXTRA_ARCHS = "armv4t armv5te"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFERRED_VERSION_linux = "2.6.28"
+PREFERRED_PROVIDER_xserver = "xserver-kdrive"
+
+KERNEL_IMAGETYPE = "uImage"
+PREFERRED_VERSION_u-boot = "2009.01"
+UBOOT_MACHINE = "at92sam9g20ek_config"
+
+PREFERRED_VERSION_at91bootstrap = "2.10"
+
+#don't try to access tty1
+USE_VT = "0"
+
+MACHINE_FEATURES = "kernel26 alsa ext2 usbhost usbgadget"
+#EXTRA_IMAGEDEPENDS += "u-boot"
+#EXTRA_IMAGEDEPENDS += "at91bootstrap"
+
+# used by sysvinit_2
+SERIAL_CONSOLE = "115200 ttyS0"
+IMAGE_FSTYPES ?= "jffs2"
+EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
+
+require conf/machine/include/tune-arm926ejs.inc
Signature · 1 line
1.5.6.5
#1 lore raw
Quoted 4 lines · Marco Cavallini

From 40e45e43ad83fb8492b0af35554c35f047832478 Mon Sep 17 00:00:00 2001
From: Marco Cavallini<[email protected]>
Date: Thu, 2 Apr 2009 14:49:07 +0200
Subject: [PATCH] Added at91sam9g20ek machine

NACK:

1) violates commit policy
2) isn't in .dev yet
3) contains things like #PACKAGE_EXTRA_ARCHS = "armv4t armv5te"
3a) if you comment out at91bootstrap from depends, no need to set a preferred version either

regards,

Koen

#2 lore raw
In reply to Marco Cavallini

This is new machine so should be first added into .dev tree. And this looks like copy of Ulf Samuelsson work done in ulf/linux branch so please give credit where it is needed.

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz