Re: [Zaurus-devel] Poodle and collie status

2010-03-06 Thread Hans Henry von Tresckow
On Wed, Feb 17, 2010 at 10:32 AM, Stanislav Brabec  wrote:

> Hans Henry von Tresckow wrote:
>
> > I'd like to keep only one 2.6x kernel and concentrate on
> > 2.6.3x for the future.
>
> If you do it in the OE, please keep patches that were never ported to
> 2.6.26-RP. I am aware of these two:
> - Support for 320x240 video mode
> - Working USB UDC support
>
> --
> Stanislav Brabec
> http://www.penguin.cz/~utx/zaurus 
>
I got linux-rp_2.6.26 to build using this patch, but it hangs after
uncompressing. I will try to take another stab at it tomorrow.





> ___
> Zaurus-devel mailing list
> Zaurus-devel@lists.linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel
>



-- 
Henry von Tresckow (hvontres)
From 8b3be64bda40af63804c17c12feeeac5888675f3 Mon Sep 17 00:00:00 2001
From: Henry von Tresckow 
Date: Sat, 6 Mar 2010 16:39:03 -0800
Subject: [PATCH] linux-rp: make 2.6.26 complie for poodle

compiles but hangs at: "Uncompressing Linux. done, booting the kernel."

Signed-off-by: Henry von Tresckow 
---
 recipes/linux/linux-rp-2.6.26/defconfig-poodle |6 +-
 recipes/linux/linux-rp-2.6.26/poodle_pm-r7.patch   |  481 
 .../linux-rp-2.6.26/poodle_serial_vcc-r1.patch |   30 ++
 recipes/linux/linux-rp-2.6.26/poodle_ts.patch  |   22 +
 recipes/linux/linux-rp-2.6.26/pxafb.patch  |   13 +
 recipes/linux/linux-rp_2.6.26.bb   |   13 +-
 6 files changed, 554 insertions(+), 11 deletions(-)
 create mode 100644 recipes/linux/linux-rp-2.6.26/poodle_pm-r7.patch
 create mode 100644 recipes/linux/linux-rp-2.6.26/poodle_serial_vcc-r1.patch
 create mode 100644 recipes/linux/linux-rp-2.6.26/poodle_ts.patch
 create mode 100644 recipes/linux/linux-rp-2.6.26/pxafb.patch

diff --git a/recipes/linux/linux-rp-2.6.26/defconfig-poodle b/recipes/linux/linux-rp-2.6.26/defconfig-poodle
index 9d5e340..274789f 100644
--- a/recipes/linux/linux-rp-2.6.26/defconfig-poodle
+++ b/recipes/linux/linux-rp-2.6.26/defconfig-poodle
@@ -767,11 +767,7 @@ CONFIG_MII=m
 # CONFIG_WLAN_PRE80211 is not set
 CONFIG_WLAN_80211=y
 # CONFIG_PCMCIA_RAYCS is not set
-CONFIG_LIBERTAS=m
-# CONFIG_LIBERTAS_USB is not set
-CONFIG_LIBERTAS_CS=m
-# CONFIG_LIBERTAS_SDIO is not set
-# CONFIG_LIBERTAS_DEBUG is not set
+# CONFIG_LIBERTAS is not set
 CONFIG_HERMES=m
 CONFIG_PCMCIA_HERMES=m
 CONFIG_PCMCIA_SPECTRUM=m
diff --git a/recipes/linux/linux-rp-2.6.26/poodle_pm-r7.patch b/recipes/linux/linux-rp-2.6.26/poodle_pm-r7.patch
new file mode 100644
index 000..6ad62b1
--- /dev/null
+++ b/recipes/linux/linux-rp-2.6.26/poodle_pm-r7.patch
@@ -0,0 +1,481 @@
+ arch/arm/common/locomo.c  |6 
+ arch/arm/common/sharpsl_pm.c  |9 
+ arch/arm/mach-pxa/Kconfig |1 
+ arch/arm/mach-pxa/Makefile|2 
+ arch/arm/mach-pxa/poodle_pm.c |  355 ++
+ include/asm-arm/hardware/locomo.h |5 
+ 6 files changed, 377 insertions(+), 1 deletion(-)
+
+Index: linux-2.6.26/arch/arm/common/sharpsl_pm.c
+===
+--- linux-2.6.26.orig/arch/arm/common/sharpsl_pm.c	2008-08-05 22:15:07.0 -0700
 linux-2.6.26/arch/arm/common/sharpsl_pm.c	2008-08-05 22:15:11.0 -0700
+@@ -458,6 +458,10 @@
+ {
+ 	int temp, i, buff[5];
+ 
++	/* Some devices don't support this */
++	if (!sharpsl_pm.machinfo->charge_acin_high)
++		return 0;
++
+ 	for (i=0; i<5; i++) {
+ 		buff[i] = sharpsl_pm.machinfo->read_devdata(SHARPSL_ACIN_VOLT);
+ 		mdelay(SHARPSL_CHECK_BATTERY_WAIT_TIME_ACIN);
+@@ -598,6 +602,9 @@
+ 
+ 	dev_dbg(sharpsl_pm.dev, "sharpsl_fatal_check entered\n");
+ 
++	if (machine_is_poodle())
++		return 0;
++
+ 	/* Check AC-Adapter */
+ 	acin = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN);
+ 
+@@ -664,6 +671,7 @@
+ 		dev_dbg(sharpsl_pm.dev, "Offline Charger: Step 1\n");
+ 
+ 		/* AC Check */
++		if (!machine_is_poodle())
+ 		if ((sharpsl_ac_check() < 0) || (sharpsl_check_battery_temp() < 0))
+ 			return sharpsl_off_charge_error();
+ 
+@@ -686,6 +694,7 @@
+ 
+ 		dev_dbg(sharpsl_pm.dev, "Offline Charger: Step 2\n");
+ 
++		if (!machine_is_poodle())
+ 		if ((sharpsl_check_battery_temp() < 0) || (sharpsl_check_battery_voltage() < 0))
+ 			return sharpsl_off_charge_error();
+ 
+Index: linux-2.6.26/arch/arm/mach-pxa/Kconfig
+===
+--- linux-2.6.26.orig/arch/arm/mach-pxa/Kconfig	2008-08-05 22:15:05.0 -0700
 linux-2.6.26/arch/arm/mach-pxa/Kconfig	2008-08-05 22:16:25.0 -0700
+@@ -210,6 +210,7 @@
+ 	bool "Enable Sharp SL-5600 (Poodle) Support"
+ 	depends on PXA_SHARPSL_25x
+ 	select SHARP_LOCOMO
++	select SHARPSL_PM
+ 	select PXA_SSP
+ 
+ config MACH_CORGI
+Index: linux-2.6.26/arch/arm/mach-pxa/Makefile
+===
+--- linux-2.6.26.orig/arch/arm/mach-pxa

Re: [Zaurus-devel] Poodle and collie status

2010-02-17 Thread Stanislav Brabec
Hans Henry von Tresckow wrote:

> I'd like to keep only one 2.6x kernel and concentrate on
> 2.6.3x for the future.

If you do it in the OE, please keep patches that were never ported to
2.6.26-RP. I am aware of these two:
- Support for 320x240 video mode
- Working USB UDC support

-- 
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus


___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] Poodle and collie status

2010-02-17 Thread Hans Henry von Tresckow
On Tue, Feb 16, 2010 at 4:39 AM, Andrea Adami wrote:

> Hi,
>
> I'd like to delete some old kexecboot-kernels and merge the recipes in
> recipes/linux.
>
> For zaurus models, the least common denominator appears to be 2.6.24,
> but it lacks collie.
> I'm pretty sure collie wasn't yet in shape for 2.6.24, but now
> standard collie kernel is 2.6.31
>
> Otherwise 2.6.26 supports all models but poodle.
> Can anybody confirm poodle boots 2.6.26 (linux-rp or linux-kexecboot)?
>
> I'd like to keep only one 2.6x kernel and concentrate on 2.6.3x for the
> future.
>
> Regards
>
> Andrea
>
> ___
> Zaurus-devel mailing list
> Zaurus-devel@lists.linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel
>

I'll try to get 2.6.26 built this weekend. I think I might have tried
linux-rp_2.6.26 in the past, but I a not sure anymore.

-- 
Henry von Tresckow (hvontres)
Jonathan Swift
- "May you live every day of your life."
___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


[Zaurus-devel] Poodle and collie status

2010-02-16 Thread Andrea Adami
Hi,

I'd like to delete some old kexecboot-kernels and merge the recipes in
recipes/linux.

For zaurus models, the least common denominator appears to be 2.6.24,
but it lacks collie.
I'm pretty sure collie wasn't yet in shape for 2.6.24, but now
standard collie kernel is 2.6.31

Otherwise 2.6.26 supports all models but poodle.
Can anybody confirm poodle boots 2.6.26 (linux-rp or linux-kexecboot)?

I'd like to keep only one 2.6x kernel and concentrate on 2.6.3x for the future.

Regards

Andrea

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel