mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] host-xl-tools: version bump 1.0.1 -> 1.1.0
@ 2012-02-10 18:09 Stephan Linz
  2012-02-10 18:09 ` [ptxdist] [PATCH 2/2] microblaze: support little endian configuration Stephan Linz
  2012-02-14 21:32 ` [ptxdist] [PATCH 1/2] host-xl-tools: version bump 1.0.1 -> 1.1.0 Michael Olbrich
  0 siblings, 2 replies; 3+ messages in thread
From: Stephan Linz @ 2012-02-10 18:09 UTC (permalink / raw)
  To: ptxdist; +Cc: m.olbrich

Signed-off-by: Stephan Linz <linz@li-pro.net>
---
 rules/host-xl-tools.make |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/host-xl-tools.make b/rules/host-xl-tools.make
index bda3f75..3cf652b 100644
--- a/rules/host-xl-tools.make
+++ b/rules/host-xl-tools.make
@@ -1,6 +1,6 @@
 # -*-makefile-*-
 #
-# Copyright (C) 2011 by Stephan Linz <linz@li-pro.net>
+# Copyright (C) 2011-2012 by Stephan Linz <linz@li-pro.net>
 #
 # See CREDITS for details about who has contributed to this project.
 #
@@ -16,8 +16,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_XL_TOOLS) += host-xl-tools
 #
 # Paths and names
 #
-HOST_XL_TOOLS_VERSION	:= 1.0.1
-HOST_XL_TOOLS_MD5	:= eee7b6ed778a0b8d309234795d61e9db
+HOST_XL_TOOLS_VERSION	:= 1.1.0
+HOST_XL_TOOLS_MD5	:= a6c7f0bfcac2dd272ed7fd6ca4134b97
 HOST_XL_TOOLS		:= xl-tools-$(HOST_XL_TOOLS_VERSION)
 HOST_XL_TOOLS_SUFFIX	:= tar.bz2
 HOST_XL_TOOLS_URL	:= http://www.li-pro.de/_media/xilinx_mb/xl-tools/$(HOST_XL_TOOLS).$(HOST_XL_TOOLS_SUFFIX)
-- 
1.7.0.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ptxdist] [PATCH 2/2] microblaze: support little endian configuration
  2012-02-10 18:09 [ptxdist] [PATCH 1/2] host-xl-tools: version bump 1.0.1 -> 1.1.0 Stephan Linz
@ 2012-02-10 18:09 ` Stephan Linz
  2012-02-14 21:32 ` [ptxdist] [PATCH 1/2] host-xl-tools: version bump 1.0.1 -> 1.1.0 Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Stephan Linz @ 2012-02-10 18:09 UTC (permalink / raw)
  To: ptxdist; +Cc: m.olbrich

Since MicroBlaze in general supports big and little endian,
both is possible. The default is big endian.

Signed-off-by: Stephan Linz <linz@li-pro.net>
---
 platforms/architecture.in        |    4 +++-
 scripts/lib/ptxd_make_00-init.sh |   14 +++++++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/platforms/architecture.in b/platforms/architecture.in
index e725ca3..ed36e8a 100644
--- a/platforms/architecture.in
+++ b/platforms/architecture.in
@@ -83,6 +83,7 @@ choice
 	config ARCH_MICROBLAZE
 		bool "microblaze "
 		select HAS_MMU
+		select ARCH_SUPPORTS_ENDIAN_LITTLE
 		select ARCH_SUPPORTS_ENDIAN_BIG
 		help
 		  This is support for the Xilinx MicroBlaze architecture (with MMU).
@@ -192,7 +193,8 @@ config ARCH_SUPPORTS_ENDIAN_LITTLE
 
 choice
 	prompt "endianess       "
-	default ENDIAN_LITTLE
+	default ENDIAN_LITTLE if !ARCH_MICROBLAZE
+	default ENDIAN_BIG if ARCH_MICROBLAZE
 
 	config ENDIAN_BIG
 		bool "big        "
diff --git a/scripts/lib/ptxd_make_00-init.sh b/scripts/lib/ptxd_make_00-init.sh
index 526dbae..da72d29 100644
--- a/scripts/lib/ptxd_make_00-init.sh
+++ b/scripts/lib/ptxd_make_00-init.sh
@@ -35,7 +35,19 @@ ptxd_init_arch() {
 	    ;;
 
 	microblaze)
-	    ipkg_arch=mb
+	    local target="$(ptxd_get_ptxconf PTXCONF_GNU_TARGET)"
+
+	    case "${target}" in
+		microblaze-*gnu)
+		    ipkg_arch=mbeb
+		    ;;
+		microblazeel-*gnu)
+		    ipkg_arch=mbel
+		    ;;
+		*)
+		    ipkg_arch=mb
+		    ;;
+	    esac
 	    ;;
     esac
 
-- 
1.7.0.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH 1/2] host-xl-tools: version bump 1.0.1 -> 1.1.0
  2012-02-10 18:09 [ptxdist] [PATCH 1/2] host-xl-tools: version bump 1.0.1 -> 1.1.0 Stephan Linz
  2012-02-10 18:09 ` [ptxdist] [PATCH 2/2] microblaze: support little endian configuration Stephan Linz
@ 2012-02-14 21:32 ` Michael Olbrich
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2012-02-14 21:32 UTC (permalink / raw)
  To: ptxdist

On Fri, Feb 10, 2012 at 07:09:44PM +0100, Stephan Linz wrote:
> Signed-off-by: Stephan Linz <linz@li-pro.net>

I've applied both patches.

Michael

> ---
>  rules/host-xl-tools.make |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/rules/host-xl-tools.make b/rules/host-xl-tools.make
> index bda3f75..3cf652b 100644
> --- a/rules/host-xl-tools.make
> +++ b/rules/host-xl-tools.make
> @@ -1,6 +1,6 @@
>  # -*-makefile-*-
>  #
> -# Copyright (C) 2011 by Stephan Linz <linz@li-pro.net>
> +# Copyright (C) 2011-2012 by Stephan Linz <linz@li-pro.net>
>  #
>  # See CREDITS for details about who has contributed to this project.
>  #
> @@ -16,8 +16,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_XL_TOOLS) += host-xl-tools
>  #
>  # Paths and names
>  #
> -HOST_XL_TOOLS_VERSION	:= 1.0.1
> -HOST_XL_TOOLS_MD5	:= eee7b6ed778a0b8d309234795d61e9db
> +HOST_XL_TOOLS_VERSION	:= 1.1.0
> +HOST_XL_TOOLS_MD5	:= a6c7f0bfcac2dd272ed7fd6ca4134b97
>  HOST_XL_TOOLS		:= xl-tools-$(HOST_XL_TOOLS_VERSION)
>  HOST_XL_TOOLS_SUFFIX	:= tar.bz2
>  HOST_XL_TOOLS_URL	:= http://www.li-pro.de/_media/xilinx_mb/xl-tools/$(HOST_XL_TOOLS).$(HOST_XL_TOOLS_SUFFIX)
> -- 
> 1.7.0.4
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-14 21:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-10 18:09 [ptxdist] [PATCH 1/2] host-xl-tools: version bump 1.0.1 -> 1.1.0 Stephan Linz
2012-02-10 18:09 ` [ptxdist] [PATCH 2/2] microblaze: support little endian configuration Stephan Linz
2012-02-14 21:32 ` [ptxdist] [PATCH 1/2] host-xl-tools: version bump 1.0.1 -> 1.1.0 Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox