Skip to contentSkip to conversation

mtn disapprove

DISCUSSION QMan 3 participants 3 messages Jan 11, 2008 – Jan 12, 2008

lore
Share & tools
lore

QMan

author
#0 lore raw

While we're on the subject of the collie machine stuff, we need to make sure the tune-strongarm.inc that collie calls doesn't use the -mtune=xscale, as is the current case, and instead use -mtune=strongarm1100 (not collie) or -mtune=strongarm1110 (collie). Also, the collie installkit script should make "zImage" not "zImage.bin"

-John

Quoted 32 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Rolf Leggewie
Sent: Friday, January 11, 2008 8:54 AM
To: [email protected]
Subject: Re: [oe] mtn disapprove

Quoted 2 lines · Koen Kooi

It's the thing I had in mind, but never worked up the motivation of doing :)

OK, here it is: http://oz.leggewie.org/wip/machine-config.diff

* drop unused poodle-2.6.inc
* work contents of collie-2.6.inc into collie.conf
* require zaurus-2.6.inc for collie.conf
* deleted entries from collie.conf that seem superfluous
* made some changes to zaurus-2.6.inc to make sure it applies to all Zaurus models
* define SERIAL_CONSOLE in zaurus-2.6.inc as ?=

RP and hrw have given their OK. I have locally committed it as 49cb87ce3fb4d9857d853d9e54f38fa88e9ccc85. If there are no objections, I will eventually push it.

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

#1 lore raw

John, thank you for being so observative. I made the changes to tune-strongarm.inc as you suggested. zImage instead of zImage.bin has already been committed a couple of days ago. In fact it was the commit that originally started this thread IIRC. Thanks again.

I updated http://oz.leggewie.org/wip/machine-config.diff once more to reflect the latest status.

#2 lore raw
Quoted 7 lines · Rolf Leggewie

John, thank you for being so observative. I made the changes to tune-strongarm.inc as you suggested. zImage instead of zImage.bin has already been committed a couple of days ago. In fact it was the commit that originally started this thread IIRC. Thanks again.

I updated http://oz.leggewie.org/wip/machine-config.diff once more to reflect the latest status.

Looks good and is fine with me, some really minor comments inline below:

Quoted 3 lines
machine/collie.conf +0 -0
@@ -5,22 +5,18 @@ MACHINE_KERNEL_VERSION ?= "2.6"

[...]

machine/collie.conf

Quoted 5 lines

PREFERRED_PROVIDER_xserver = "xserver-kdrive"

machine/collie.conf +0 -3
-# This is needed for the ramdisk script to work
-MACHINE_EXTRA_RDEPENDS += "e2fsprogs-mke2fs"
-

What happened to this? It looks wrong, I just want to make sure the underlying problem was fixed...

machine/include/tune-strongarm.inc line 2

Quoted 6 lines
machine/include/tune-strongarm.inc +2 -1
@@ -1,2 +1,3 @@
-TARGET_CC_ARCH = "-march=armv4 -mtune=xscale"
+TARGET_CC_ARCH ?= "-march=armv4 -mtune=strongarm1100"
+TARGET_CC_ARCH_collie = "-march=armv4 -mtune=strongarm1110"

We should really have tune-strongarm1100.inc and
tune-strongarm1110.inc...

Quoted 3 lines
machine/include/zaurus-2.6.inc +0 -0
@@ -1,8 +1,9 @@

[...]

machine/include/zaurus-2.6.inc

Quoted 4 lines

TARGET_ARCH = "arm"

machine/include/zaurus-2.6.inc +2 -1
-PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te"
+PACKAGE_EXTRA_ARCHS ?= "armv4 armv4t armv5e armv5te"
+PACKAGE_EXTRA_ARCHS_collie = ""

No need for the ?= here...

machine/include/zaurus-2.6.inc EXTRA_IMAGECMD_jffs2 = "--little-endian · line 17

Quoted 12 lines
machine/include/zaurus-2.6.inc +1 -4
@@ -10,20 +11,14 @@ EXTRA_IMAGECMD_jffs2 = "--little-endian 
 ERASEBLOCKSIZE_akita = "0x20000"
 
 EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=${ERASEBLOCKSIZE} --pad --faketime -n" 
-
 IMAGE_CMD_jffs2 = "mkfs.jffs2 -x lzo --root=${IMAGE_ROOTFS} --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}"
-
 EXTRA_IMAGEDEPENDS += "zaurus-updater"
 
-# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
-include conf/machine/include/tune-xscale.inc
+SERIAL_CONSOLE ?= "115200 ttyS0"

or here...

Cheers,

Richard