Skip to contentSkip to conversation

RFC: Geode machines support changes

DISCUSSION Marcin Juszkiewicz 4 participants 5 messages Nov 17, 2009

lore
Share & tools
lore
#0 lore raw

Hi

Currently .dev tree supports AMD GeodeGX and GeodeLX based machines:

- "geodegx" - generic config
- "iei-nanogx-466" - IEI Nano GX-466

- "geodelx"        - generic config
- "alix"           - PC Engines Alix 1c/d mainboard
- "xo"             - OLPC XO v1

For "geodegx" we have linux-geodegx-2.4.24 kernel which was added with machine. Looks like no one use it and we got linux-2.6.31 update some time ago from Petr Štetiar (who works on "iei-nanogx-466" SBC). Update needs to be selected in machine config anyway and is not yet building.

For "geodelx" we use linux-geodelx-2.6.11 which also was added with machine. Other good device with this CPU is "alix" which is now set to linux-2.6.25 as I did not booted this board for quite long time. OLPC is 3rd device with this CPU which we support.

GeodeLX processor is i586 class. Has MMX, 3Dnow and few other flags from that family. We treat it as i486 anyway as someone noted that they are faster that way.

I would like to do few changes:

1. drop "geodelx" kernel and machine config.
2. rename "alix" to "geodelx" and use Alix defconfig
3. move all target related flags from machine configs to tune-geode.inc
- TARGET_ARCH
- glibc tune (GLIBC_ADDONS, GLIBC_EXTRA_OECONF)

Then we can consider changing TARGET_ARCH to i586 for Geode machines.

Opinions? suggestions?

Regards,

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

Hallo.

Quoted 2 lines · Marcin Juszkiewicz

- "xo" - OLPC XO v1

As I added this I skip in here.

Quoted 11 lines

I would like to do few changes:

1. drop "geodelx" kernel and machine config.
2. rename "alix" to "geodelx" and use Alix defconfig
3. move all target related flags from machine configs to tune-geode.inc
- TARGET_ARCH
- glibc tune (GLIBC_ADDONS, GLIBC_EXTRA_OECONF)

Then we can consider changing TARGET_ARCH to i586 for Geode machines.

Opinions? suggestions?

I have no problems with this. I haven't tested with my XO for quite some time and I don't think anyone else is doing it. From my side just go ahead and we can fix problems later if they occur.

regards
Stefan Schmidt

#2 lore raw
In reply to Marcin Juszkiewicz

Dnia wtorek, 17 listopada 2009 o 13:37:17 Marcin Juszkiewicz napisał(a):

Quoted 11 lines

GeodeLX processor is i586 class. Has MMX, 3Dnow and few other flags from
that family. We treat it as i486 anyway as someone noted that they are faster that way.

I would like to do few changes:

1. drop "geodelx" kernel and machine config.
2. rename "alix" to "geodelx" and use Alix defconfig
3. move all target related flags from machine configs to tune-geode.inc
- TARGET_ARCH
- glibc tune (GLIBC_ADDONS, GLIBC_EXTRA_OECONF)

4. move "geodegx" to linux-2.6.31 with copy of "iei-nanogx-466" defconfig

Quoted 1 line

Then we can consider changing TARGET_ARCH to i586 for Geode machines.

I found one problem with it. Currently we have some geode machines as i586 and some as i486 but packages are generated with "geode" arch each time. Same for tmp/cross/ dir etc. So we will need to decide for all devices at once.

Regards,

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

Hello,

Quoted 3 lines · Marcin Juszkiewicz

I found one problem with it. Currently we have some geode machines as i586 and some as i486 but packages are generated with "geode" arch each time. Same for tmp/cross/ dir etc. So we will need to decide for all devices at once.

I think the way to go is to test if gx is compatible with i586 and then check of performance lose with it. Then we see if:

- we can merge geodelx and geodegx?
- we need to have geodelx and geodegx with different base arch?

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br
#4 lore raw
In reply to Marcin Juszkiewicz

Marcin Juszkiewicz <[email protected]> [2009-11-17 13:37:17]:

Quoted 1 line

Hi

Hi,

Quoted 3 lines

3. move all target related flags from machine configs to tune-geode.inc
- TARGET_ARCH
- glibc tune (GLIBC_ADDONS, GLIBC_EXTRA_OECONF)

It's fine with me.

Quoted 1 line

Then we can consider changing TARGET_ARCH to i586 for Geode machines.

I don't have time(maybe this weekend) to do a benchmark of 486 vs 586 build, but 586 was fast enough for me on IEI NanoGX, so I wasn't looking for any optmizations.

-- ynezz