Skip to contentSkip to conversation

What distro for ixp425

DISCUSSION Nguyen Kien 2 participants 3 messages Nov 13, 2006 – Nov 15, 2006

lore
Share & tools
lore
#0 lore raw

My group is developing a smart router with Intel IXP425 XScale and I use openembedded to building a small linux system for our product. In openembedded distro conf directory, there are many distros, which distro is best for me?

I built debianslug for my nslu2 ( intel ixp4xx ) device, run ok. Is it the best choice, if i built debianslug for my product.

Thanks for your ideas!

Hardware configuration CPU 533 MHz IXP425 - XScale architecture, ARM core RAM 128 to 256 MB SDRAM operating at 133 MHz Primary storage 128 Mbit Parallel flash Secondary storage 512 MB Optional NAND flash LAN interface 01 Ethernet 10/100 mbps WAN interface 04 Ethernet 10/100 mbps General purpose interface 01 USB USB v1.1 - may attaches additional storage Peripheral bus 01 PCI Mini PCI 33MHz Console interface 01 RS-232 115200 8N1 Display 5x7 led + various leds 5x7 3 color led panel Peripheral 01 Microcontroller 8 bit AVR Miscellaneous ICE JTAG, 8bit DIP switch, Battery backed RTC
http://ftd.routeskeeper.com

Nguyen Duy Kien
System Engineer Department
FPT Communications center, FPT Telecom

Email: [email protected]
Tel: 04.760.1060 (ext: 4252)
Mobile: 84-989 255 660
48 Van Bao (2B Van Phuc Diplomatic Compound),
Kim Ma Str., Badinh District, Hanoi, Vietnam
Tel: 04.760.1060
Fax: 04.822.3111
Http:// www.fpt.net

---------------------------------
Hãy ghé qua trang chủ Yahoo! Việt Nam!
From [email protected] Mon Nov 13 17:18:35 2006
Received: from [212.60.202.195] (helo=mail.kernelconcepts.de)

	by linuxtogo.org with esmtp (Exim 4.63)
	(envelope-from <[email protected]>) id 1GjeW3-0008TB-Qn
	for [email protected];
	Mon, 13 Nov 2006 17:18:35 +0100
Received: from [212.60.202.194] (helo=[192.168.2.28])
	by mail.kernelconcepts.de with esmtpsa
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Gjezm-00070U-HU
	for [email protected];
	Mon, 13 Nov 2006 17:49:18 +0100

Message-ID: <[email protected]>
Date: Mon, 13 Nov 2006 17:16:35 +0100
From: Nils Faerber <[email protected]>
Organization: kernel concepts
User-Agent: Thunderbird 1.5.0.7 (X11/20060922)
MIME-Version: 1.0
To: [email protected]
References: <[email protected]>

	<[email protected]>

In-Reply-To: <[email protected]>
X-Enigmail-Version: 0.94.0.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [oe] ARM EABI SDK build
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: [email protected]
List-Id: Using the OpenEmbedded metadata to build Distributions
<openembedded-devel.lists.openembedded.org>
List-Unsubscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lists.linuxtogo.org/pipermail/openembedded-devel>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>,
<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Mon, 13 Nov 2006 16:18:35 -0000

Quoted 1 line · Florian Boor

Hi,

Hi!

Quoted 23 lines
Quoted 7 lines · Nils Faerber

The first problem I stepped over is that gcc4-build-sdk.inc still has the line

SRC_URI += 'file://602-sdk-libstdc++-includes.patch;patch=1'

or in fact without the 602- prefix. But this patch is already included in the gcc_4.1.1.bb. So I commented that out.

this seems to be fixed now, i get a different message:

NOTE: Applying patch '300-libstdc++-pic.patch'
ERROR: Error in executing:
/home/fuchs/Projekte/oe/dev/packages/gcc/gcc-cross-sdk_4.1.1.bb
ERROR: Exception:__builtin__.CmdError Message:Command Error: exit status: 1 Output:
Patch headers differ:

(quoted diff) +0 -0
@@ -1,4 +1,2 @@
 # DP: Build and install libstdc++_pic.a library.
 

Sounds like a broken patch to me.
I use bitbake 1.6.2 and the up to date stuff from org.openembedded.dev (9c4dc2162967f7102e29135dc8da502dd80d01ac).

Quoted 1 line

The full error message is attached...

I'll try the update now too.

I forgot to report: "file_4.16.bb" and "file-native-4.16.bb" need to be updated since the server does not carry 4.16 anmore - only 4.17 and 4.18.

Quoted 3 lines

Greetings

Florian

Cheers
nils faerber

Signature · 4 lines
kernel concepts GbR      Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          Mob: +49-176-21024535
--
#1 lore raw
Quoted 3 lines · Nguyen Kien

My group is developing a smart router with Intel IXP425 XScale and I use openembedded to building a small linux system for our product. In openembedded distro conf directory, there are many distros, which distro is best for me?

I built debianslug for my nslu2 ( intel ixp4xx ) device, run ok. Is it the best choice, if i built debianslug for my product.

So far, the debianslug distro isn't the best choice for the ixp4xx, since debianslug runs LE, and has ~30% lower network performance than OpenSlug, which is BE.

Quoted 1 line

Thanks for your ideas!

It'd be nice if any patches needed to run on your board made it into the nslu2-linux kernel repo (or even better, mainstream).

Quoted 2 lines

Hardware configuration CPU 533 MHz IXP425 - XScale architecture, ARM core RAM 128 to 256 MB SDRAM operating at 133 MHz
Primary storage 128 Mbit Parallel flash Secondary storage 512 MB

Optional NAND flash LAN interface 01 Ethernet 10/100 mbps

Quoted 4 lines

WAN interface 04 Ethernet 10/100 mbps General purpose interface 01 USB USB v1.1 - may attaches additional storage
Peripheral bus 01 PCI Mini PCI 33MHz Console interface 01 RS-232 115200 8N1
Display 5x7 led + various leds 5x7 3 color led panel Peripheral 01 Microcontroller 8 bit AVR Miscellaneous ICE JTAG, 8bit DIP switch, Battery backed RTC
http://ftd.routeskeeper.com

Please use a mail client that wraps. The hardware configuration ends up as one incredibly long line which is annoying to read.

Øyvind Repvik
SlugOS package manager

#2 lore raw

I will test openslug. Thanks for your reply.

Quoted 4 lines · Øyvind Repvik <[email protected]> đã viết: Nguyen Kien wrote:

My group is developing a smart router with Intel IXP425 XScale and I use openembedded to building a small linux system for our product. In openembedded distro conf directory, there are many distros, which distro is best for me?

I built debianslug for my nslu2 ( intel ixp4xx ) device, run ok. Is it the best choice, if i built debianslug for my product.

So far, the debianslug distro isn't the best choice for the ixp4xx, since debianslug runs LE, and has ~30% lower network performance than OpenSlug, which is BE.

Quoted 1 line

Thanks for your ideas!

It'd be nice if any patches needed to run on your board made it into the nslu2-linux kernel repo (or even better, mainstream).

Quoted 2 lines

Hardware configuration CPU 533 MHz IXP425 - XScale architecture, ARM core RAM 128 to 256 MB SDRAM operating at 133 MHz
Primary storage 128 Mbit Parallel flash Secondary storage 512 MB

Optional NAND flash LAN interface 01 Ethernet 10/100 mbps

Quoted 1 line

WAN interface 04 Ethernet 10/100 mbps General purpose interface

01 USB USB v1.1 - may attaches additional storage

Quoted 2 lines

Peripheral bus 01 PCI Mini PCI 33MHz Console interface 01 RS-232 115200 8N1
Display 5x7 led + various leds 5x7 3 color led panel Peripheral

01 Microcontroller 8 bit AVR Miscellaneous ICE JTAG, 8bit DIP
switch, Battery backed RTC

Quoted 1 line

http://ftd.routeskeeper.com

Please use a mail client that wraps. The hardware configuration ends up as one incredibly long line which is annoying to read.

Øyvind Repvik
SlugOS package manager

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Nguyen Duy Kien
System Engineer Department
FPT Communications center, FPT Telecom

Email: [email protected]
Tel: 04.760.1060 (ext: 4252)
Mobile: 84-989 255 660
48 Van Bao (2B Van Phuc Diplomatic Compound),
Kim Ma Str., Badinh District, Hanoi, Vietnam
Tel: 04.760.1060
Fax: 04.822.3111
Http:// www.fpt.net

---------------------------------
Hãy ghé qua trang chủ Yahoo! Việt Nam!
From [email protected] Thu Nov 16 08:26:37 2006
Received: from [202.173.155.195] (helo=birgitte.twibble.org)

	by linuxtogo.org with esmtp (Exim 4.63)
	(envelope-from <[email protected]>) id 1Gkbdt-0000m4-1B
	for [email protected];
	Thu, 16 Nov 2006 08:26:37 +0100
Received: from localhost (localhost.localdomain [127.0.0.1])
	by birgitte.twibble.org (Postfix) with ESMTP id 2A3ABD25F6;
	Thu, 16 Nov 2006 18:24:21 +1100 (EST)
Received: from birgitte.twibble.org ([127.0.0.1])
	by localhost (birgitte [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 24515-06; Thu, 16 Nov 2006 18:24:18 +1100 (EST)
Received: from nynaeve.twibble.org (nynaeve.twibble.org [202.173.155.194])
	by birgitte.twibble.org (Postfix) with ESMTP id 3D181C9880;
	Thu, 16 Nov 2006 18:24:18 +1100 (EST)
Received: by nynaeve.twibble.org (Postfix, from userid 500)
	id 0619E9D0B0B; Thu, 16 Nov 2006 18:24:17 +1100 (EST)

Date: Thu, 16 Nov 2006 18:24:17 +1100
From: Jamie Lenehan <[email protected]>
To: Martin Dietze <[email protected]>
Message-ID: <[email protected]>
Mail-Followup-To: Jamie Lenehan <[email protected]>,
Martin Dietze <[email protected]>, [email protected]
References: <[email protected]>

	<[email protected]>
	<[email protected]>

Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.4.2.1i
X-Virus-Scanned: by amavisd at twibble.org
Cc: [email protected]
Subject: Re: [oe] [oe-commits] org.oe.dev libintl-perl: added do_compile()
function needed for crosscompilation
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: [email protected]
List-Id: Using the OpenEmbedded metadata to build Distributions
<openembedded-devel.lists.openembedded.org>
List-Unsubscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: <http://lists.linuxtogo.org/pipermail/openembedded-devel>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>,
<mailto:[email protected]?subject=subscribe>
X-List-Received-Date: Thu, 16 Nov 2006 07:26:37 -0000

On Fri, Nov 03, 2006 at 11:21:20AM +0100, Martin Dietze wrote:
[...]

Quoted 2 lines

you find the temp directory with the run.* and log.* files
I just created with the original .bb file appended to this

Thanks Martin, that helped. Can you give this patch a try and confirm if libintl-perl builds with it. If this works it'll be a better option since it'll make sure all of the cpan modules in OE would build without change.

#

# old_revision [84fe2f0fca6db99a5c79789a1835d65a2d7f5d4b]
# 
# patch "classes/cpan.bbclass"
#  from [c7d1304c1f4475785c59af38cfea6d8cccffcab1]
#    to [b6652b5fa4a60013e16b4dd0c43f377d0ecb7e27]
# 
# patch "packages/perl/libintl-perl_1.16.bb"
#  from [f584deff8934890a2b1f4e35372d9d3a058718a1]
#    to [405b87d4cc959e645964974b117509fbd12031c2]
# 
============================================================
--- classes/cpan.bbclass	c7d1304c1f4475785c59af38cfea6d8cccffcab1
+++ classes/cpan.bbclass	b6652b5fa4a60013e16b4dd0c43f377d0ecb7e27
@@ -8,7 +8,7 @@ cpan_do_configure () {
 RDEPENDS += "perl"

cpan_do_configure () {
- perl Makefile.PL ${EXTRA_CPANFLAGS}
+ perl Makefile.PL ${EXTRA_CPANFLAGS} CC='${CC}' LD='${CC}'
if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
. ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh

                 sed -i -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:" \

@@ -20,13 +20,10 @@ cpan_do_configure () {
fi
}

+EXTRA_OEMAKE_append = "CCFLAGS='${CFLAGS}' CC='${CC}' LD='${CC}'" +
cpan_do_compile () {
- # You must use gcc to link on sh
- OPTIONS=""
- if test ${TARGET_ARCH} = "sh3" -o ${TARGET_ARCH} = "sh4"; then
- OPTIONS="LD=${TARGET_ARCH}-${TARGET_OS}-gcc"
- fi
- oe_runmake PASTHRU_INC="${CFLAGS}" CCFLAGS="${CFLAGS}" $OPTIONS
+ oe_runmake PASTHRU_INC="${CFLAGS}"
}

cpan_do_install () {
============================================================

perl/libintl-perl_1.16.bb +1 -4
@@ -1,15 +1,12 @@ RDEPENDS = "perl-module-vars perl-module
 SECTION = "libs"
 LICENSE = "Artistic|GPL"
 RDEPENDS = "perl-module-vars perl-module-locale perl-module-io-handle \
             perl-module-symbol perl-module-selectsaver perl-module-io \
             perl-module-integer perl-module-exporter-heavy"
+PR = "r1"
 
 SRC_URI = "http://www.cpan.org/authors/id/G/GU/GUIDO/libintl-perl-${PV}.tar.gz"
 
 S = "${WORKDIR}/libintl-perl-${PV}"
 
 inherit cpan
-
-do_compile() {
-	make CC="${CC}" LD="${LD}"
-}
Signature · 1 line
 Jamie Lenehan <[email protected]>