From: Leon Woestenberg <leon.woestenberg@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Leon Woestenberg <leon@sidebranch.com>,
Walter Goossens <walter.goossens@axon.tv>
Subject: [PATCH] nios2.conf: New architecture nios2.
Date: Sun, 6 Dec 2009 23:44:37 +0100 [thread overview]
Message-ID: <1260139496-21442-2-git-send-email-leon@sidebranch.com> (raw)
In-Reply-To: <1260139496-21442-1-git-send-email-leon@sidebranch.com>
From: Walter Goossens <walter.goossens@axon.tv>
These adds nios2 to the machine configuration includes.
Tested-by: Leon Woestenberg <leon@sidebranch.com>
Tested-by: Walter Goossens <walter.goossens@axon.tv>
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
---
conf/machine/include/nios2.inc | 42 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
create mode 100644 conf/machine/include/nios2.inc
diff --git a/conf/machine/include/nios2.inc b/conf/machine/include/nios2.inc
new file mode 100644
index 0000000..f5263a6
--- /dev/null
+++ b/conf/machine/include/nios2.inc
@@ -0,0 +1,42 @@
+#@TYPE: Machine configuration
+#@NAME: nios2
+#@DESCRIPTION: generic machine configuration for nios2 (non-mmu) platforms
+
+# Set default for common nios2-based machines
+MACHINE_FEATURES ?= "kernel26 usbhost pci"
+SHARED_LIBRARIES = "no"
+
+TARGET_LDFLAGS_append = " -Wl,-elf2flt"
+
+# Select an appropriate default kernel
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-nios2"
+PREFERRED_VERSION_linux-nios2 ?= "2.6.28"
+
+# Select the nios2-specific toolchain parts
+PREFERRED_VERSION_binutils = "nios2-2.15"
+PREFERRED_VERSION_binutils-cross = "nios2-2.15"
+PREFERRED_VERSION_linux-libc-headers = "nios2-2.6.28"
+PREFERRED_VERSION_elf2flt-cross = "nios2-git"
+PREFERRED_VERSION_gcc-cross = "nios2-3.4.6"
+PREFERRED_VERSION_gcc-cross-initial = "nios2-3.4.6"
+PREFERRED_VERSION_gcc-cross-intermediate = "nios2-3.4.6"
+PREFERRED_VERSION_uclibc = "nios2-0.9.29"
+PREFERRED_VERSION_uclibc-initial = "nios2-0.9.27"
+
+# Set default for 16MB machines - can be overridden for more or less flash.
+ROOT_FLASH_SIZE ?= "12"
+
+# Allow for rootfs loaded direct from internal hard disk
+IMAGE_FSTYPES ?= "jffs2 tar.gz"
+
+# Set default
+EXTRA_IMAGECMD_jffs2 = "--pad --eraseblock=0x20000 -n"
+
+#-------------------------------------------------------------------------------
+# Board defaults
+#-------------------------------------------------------------------------------
+# These values are board specific but they seem to be common to a large number
+# of boards so are reasonable defaults.
+SERIAL_CONSOLE = "115200 ttyS0"
+KERNEL_CONSOLE = "ttyS0,115200n8"
+USE_VT = "0"
--
1.6.0.4
next prev parent reply other threads:[~2009-12-06 22:46 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-06 22:44 [PATCH] {insane, kernel-arch, site-info}.bbclass: New architecture nios2 Leon Woestenberg
2009-12-06 22:44 ` Leon Woestenberg [this message]
2009-12-06 22:44 ` [PATCH] cyclone3_starter.conf: New machine/board for " Leon Woestenberg
2009-12-06 22:44 ` [PATCH] site/nios2-linux-uclibc: Configure site file for MMU-less nios2 Leon Woestenberg
2009-12-06 22:44 ` [PATCH] binutils-cross.inc: Stage libiberty.h for elf2flt linker wrapper Leon Woestenberg
2009-12-06 22:44 ` [PATCH] binutils{,-cross}_nios2-2.15.bb: binutils for nios2 Leon Woestenberg
2009-12-06 22:44 ` [PATCH] elf2flt-cross_nios2-git.bb: elf2flt-cross " Leon Woestenberg
2009-12-06 22:44 ` [PATCH] gcc-configure-common.inc: Introduce SHARED_LIBRARIES Leon Woestenberg
2009-12-06 22:44 ` [PATCH] gcc{, -cross}{, -intermediate}_nios2-3.4.6.bb: GCC for nios2 Leon Woestenberg
2009-12-06 22:44 ` [PATCH] uclibc{, -cross}{, -initial}_nios2-0.9.2{7, 9}.bb: nios2 fork Leon Woestenberg
2009-12-06 22:44 ` [PATCH] angstrom-uclibc.inc: Exempt nios2 from GNU hash style Leon Woestenberg
2009-12-06 22:44 ` [PATCH] angstrom-2008.1.conf: Use ?= on PREFERRED_VERSION_linux-libc-headers Leon Woestenberg
2009-12-06 22:44 ` [PATCH] sane-srcrevs.inc: Add PREFERRED_VERSION_linux-libc-headers for nios2 Leon Woestenberg
2009-12-06 22:44 ` [PATCH] angstrom-uclibc.inc: Exempt nios2 architecture from GNU hash style Leon Woestenberg
2009-12-06 22:44 ` [PATCH] linux-libc-headers_nios2-2.6.28: nios2 fork Leon Woestenberg
2009-12-06 22:44 ` [PATCH] uclibc-initial-nios2-0.9.29: For nios2, go to 0.9.29 Leon Woestenberg
2009-12-06 22:44 ` [PATCH] linux-libc-headers_nios2-2.6.28.bb: Missed the .bb file earlier Leon Woestenberg
2009-12-06 22:44 ` [PATCH] linux-nios2-2.6.28: Linux kernel for nios2 machines Leon Woestenberg
2009-12-06 22:44 ` [PATCH] gnu-config-20050701: Add nios2 system support Leon Woestenberg
2009-12-06 22:44 ` [PATCH] angstrom-2008.1.conf: Conditionally set linux-libc-header version Leon Woestenberg
2009-12-06 22:44 ` [PATCH] angstrom-2008.1.conf: Hard-code the nios2 version for linux-libc-headers Leon Woestenberg
2009-12-07 8:26 ` [PATCH] linux-nios2-2.6.28: Linux kernel for nios2 machines Marcin Juszkiewicz
2009-12-07 10:43 ` [PATCH] linux-libc-headers_nios2-2.6.28: nios2 fork Koen Kooi
2009-12-07 10:42 ` [PATCH] sane-srcrevs.inc: Add PREFERRED_VERSION_linux-libc-headers for nios2 Koen Kooi
2009-12-11 21:32 ` Leon Woestenberg
2009-12-07 10:41 ` [PATCH] angstrom-2008.1.conf: Use ?= on PREFERRED_VERSION_linux-libc-headers Koen Kooi
2009-12-11 22:58 ` Leon Woestenberg
2009-12-07 10:39 ` [PATCH] uclibc{, -cross}{, -initial}_nios2-0.9.2{7, 9}.bb: nios2 fork Koen Kooi
2009-12-07 15:29 ` Leon Woestenberg
2009-12-07 15:32 ` Leon Woestenberg
2009-12-07 10:38 ` [PATCH] gcc{, -cross}{, -intermediate}_nios2-3.4.6.bb: GCC for nios2 Koen Kooi
2009-12-11 21:44 ` Leon Woestenberg
2009-12-07 10:39 ` [PATCH] binutils{, -cross}_nios2-2.15.bb: binutils " Koen Kooi
2009-12-11 21:44 ` Leon Woestenberg
2009-12-07 8:21 ` [PATCH] cyclone3_starter.conf: New machine/board for architecture nios2 Marcin Juszkiewicz
2009-12-07 10:26 ` Leon Woestenberg
2009-12-07 10:36 ` [PATCH] nios2.conf: New " Koen Kooi
2009-12-11 23:16 ` Leon Woestenberg
2010-01-24 3:54 ` [PATCH] {insane, kernel-arch, site-info}.bbclass: " Holger Hans Peter Freyther
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1260139496-21442-2-git-send-email-leon@sidebranch.com \
--to=leon.woestenberg@gmail.com \
--cc=leon@sidebranch.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=walter.goossens@axon.tv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox