[oe-commits] org.oe.dev linux-rp: misc fixes to make 2.6.24 compile for poodle - close #3715

hvontres commit openembedded-commits at lists.openembedded.org
Mon Jan 28 08:06:29 UTC 2008


linux-rp: misc fixes to make 2.6.24 compile for poodle - close #3715

Author: hvontres at gmail.com
Branch: org.openembedded.dev
Revision: 36133f7d8e7f5d20b7036c64abff8ec2452f0282
ViewMTN: http://monotone.openembedded.org/revision/info/36133f7d8e7f5d20b7036c64abff8ec2452f0282
Files:
1
packages/linux/linux-rp-2.6.24/poodle_ts.patch
packages/linux/linux-rp-2.6.24/pxafb.patch
packages/linux/linux-rp-2.6.24/defconfig-poodle
packages/linux/linux-rp_2.6.24.bb
Diffs:

#
# mt diff -r0b435292ad4bcac5c77643e4c7106c40b13d44e2 -r36133f7d8e7f5d20b7036c64abff8ec2452f0282
#
# 
# 
# add_file "packages/linux/linux-rp-2.6.24/poodle_ts.patch"
#  content [fea8e687817c208722ca4c0feacec75ceef38f44]
# 
# add_file "packages/linux/linux-rp-2.6.24/pxafb.patch"
#  content [d67eb27feca26ea83424f3eebfe5fd89f5e3b75f]
# 
# patch "packages/linux/linux-rp-2.6.24/defconfig-poodle"
#  from [095cf78cd92874d24c0dbe2a9e6f6e6c95c6c902]
#    to [19043385a06385c41f9d8be31ee1b42171e5d4e5]
# 
# patch "packages/linux/linux-rp_2.6.24.bb"
#  from [26786b548ae1b68bc05de430837610e681a529e8]
#    to [e8b8caca563d7b9223ac2feb23b463dac5a36045]
# 
============================================================
--- packages/linux/linux-rp-2.6.24/poodle_ts.patch	fea8e687817c208722ca4c0feacec75ceef38f44
+++ packages/linux/linux-rp-2.6.24/poodle_ts.patch	fea8e687817c208722ca4c0feacec75ceef38f44
@@ -0,0 +1,22 @@
+Index: linux-2.6.23/arch/arm/mach-pxa/poodle.c
+===================================================================
+--- linux-2.6.23.orig/arch/arm/mach-pxa/poodle.c	2008-01-25 12:10:10.000000000 -0800
++++ linux-2.6.23/arch/arm/mach-pxa/poodle.c	2008-01-25 12:11:58.000000000 -0800
+@@ -166,7 +166,7 @@
+ 	},
+ };
+ 
+-static unsigned long poodle_get_hsync_len(void)
++static unsigned long poodle_get_hsync_invperiod(void)
+ {
+ 	return 0;
+ }
+@@ -176,7 +176,7 @@
+ }
+ 
+ static struct corgits_machinfo  poodle_ts_machinfo = {
+-	.get_hsync_len   = poodle_get_hsync_len,
++	.get_hsync_invperiod   = poodle_get_hsync_invperiod,
+ 	.put_hsync       = poodle_null_hsync,
+ 	.wait_hsync      = poodle_null_hsync,
+ };
============================================================
--- packages/linux/linux-rp-2.6.24/pxafb.patch	d67eb27feca26ea83424f3eebfe5fd89f5e3b75f
+++ packages/linux/linux-rp-2.6.24/pxafb.patch	d67eb27feca26ea83424f3eebfe5fd89f5e3b75f
@@ -0,0 +1,26 @@
+Index: linux-2.6.23/drivers/video/pxafb.c
+===================================================================
+--- linux-2.6.23.orig/drivers/video/pxafb.c	2008-01-25 16:25:21.000000000 -0800
++++ linux-2.6.23/drivers/video/pxafb.c	2008-01-25 16:32:14.000000000 -0800
+@@ -1194,7 +1194,7 @@
+ 		if ((clkinfo->old == 13000))
+ 			break;
+ 
+-		pcd = get_pcd(fbi->fb.var.pixclock);
++		pcd = get_pcd(fbi,fbi->fb.var.pixclock);
+ 		lccr3 = fbi->reg_lccr3;
+ 		set_hsync_time(fbi, pcd);
+ 		fbi->reg_lccr3 = (fbi->reg_lccr3 & ~0xff) | LCCR3_PixClkDiv(pcd);
+Index: linux-2.6.23/drivers/video/pxafb.c
+===================================================================
+--- linux-2.6.23.orig/drivers/video/pxafb.c	2008-01-25 16:25:21.000000000 -0800
++++ linux-2.6.23/drivers/video/pxafb.c	2008-01-25 16:32:14.000000000 -0800
+@@ -1194,7 +1194,7 @@
+ 		if ((clkinfo->old == 13000))
+ 			break;
+ 
+-		pcd = get_pcd(fbi->fb.var.pixclock);
++		pcd = get_pcd(fbi,fbi->fb.var.pixclock);
+ 		lccr3 = fbi->reg_lccr3;
+ 		set_hsync_time(fbi, pcd);
+ 		fbi->reg_lccr3 = (fbi->reg_lccr3 & ~0xff) | LCCR3_PixClkDiv(pcd);
============================================================
--- packages/linux/linux-rp-2.6.24/defconfig-poodle	095cf78cd92874d24c0dbe2a9e6f6e6c95c6c902
+++ packages/linux/linux-rp-2.6.24/defconfig-poodle	19043385a06385c41f9d8be31ee1b42171e5d4e5
@@ -1,7 +1,7 @@
-#
+
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.24-rc8
-# Sun Jan 20 22:47:47 2008
+# Fri Jan 25 22:13:14 2008
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -152,12 +152,12 @@ CONFIG_PXA_SHARPSL=y
 # CONFIG_ARCH_PXA_IDP is not set
 CONFIG_PXA_SHARPSL=y
 # CONFIG_MACH_TRIZEPS4 is not set
+# CONFIG_MACH_HX2750 is not set
 # CONFIG_MACH_EM_X270 is not set
 # CONFIG_MACH_ZYLONITE is not set
 # CONFIG_MACH_ARMCORE is not set
 CONFIG_PXA_SHARPSL_25x=y
 # CONFIG_PXA_SHARPSL_27x is not set
-# CONFIG_MACH_HX2750 is not set
 # CONFIG_MACH_HTCUNIVERSAL is not set
 CONFIG_MACH_POODLE=y
 # CONFIG_MACH_CORGI is not set
@@ -206,16 +206,16 @@ CONFIG_SHARP_SCOOP=y
 #
 # CONFIG_PCI_SYSCALL is not set
 # CONFIG_ARCH_SUPPORTS_MSI is not set
-CONFIG_PCCARD=y
+CONFIG_PCCARD=m
 # CONFIG_PCMCIA_DEBUG is not set
-CONFIG_PCMCIA=y
+CONFIG_PCMCIA=m
 CONFIG_PCMCIA_LOAD_CIS=y
 CONFIG_PCMCIA_IOCTL=y
 
 #
 # PC-card bridges
 #
-CONFIG_PCMCIA_PXA2XX=y
+CONFIG_PCMCIA_PXA2XX=m
 
 #
 # Kernel Features
@@ -652,17 +652,17 @@ CONFIG_MISC_DEVICES=y
 # CONFIG_ATA_OVER_ETH is not set
 CONFIG_MISC_DEVICES=y
 # CONFIG_EEPROM_93CX6 is not set
-CONFIG_IDE=y
+CONFIG_IDE=m
 CONFIG_IDE_MAX_HWIFS=4
-CONFIG_BLK_DEV_IDE=y
+CONFIG_BLK_DEV_IDE=m
 
 #
 # Please see Documentation/ide.txt for help/info on IDE drives
 #
 # CONFIG_BLK_DEV_IDE_SATA is not set
-CONFIG_BLK_DEV_IDEDISK=y
+CONFIG_BLK_DEV_IDEDISK=m
 # CONFIG_IDEDISK_MULTI_MODE is not set
-CONFIG_BLK_DEV_IDECS=y
+CONFIG_BLK_DEV_IDECS=m
 # CONFIG_BLK_DEV_IDECD is not set
 # CONFIG_BLK_DEV_IDETAPE is not set
 # CONFIG_BLK_DEV_IDEFLOPPY is not set
@@ -673,7 +673,7 @@ CONFIG_IDE_PROC_FS=y
 #
 # IDE chipset support/bugfixes
 #
-CONFIG_IDE_GENERIC=y
+CONFIG_IDE_GENERIC=m
 # CONFIG_BLK_DEV_PLATFORM is not set
 # CONFIG_IDE_ARM is not set
 # CONFIG_BLK_DEV_IDEDMA is not set
@@ -1063,7 +1063,7 @@ CONFIG_FB_PXA_LCD_QVGA=y
 CONFIG_FB_PXA=y
 CONFIG_FB_PXA_LCD_QVGA=y
 # CONFIG_FB_PXA_LCD_VGA is not set
-CONFIG_FB_PXA_OVERLAY=y
+# CONFIG_FB_PXA_OVERLAY is not set
 # CONFIG_FB_PXA_PARAMETERS is not set
 # CONFIG_FB_MBX is not set
 # CONFIG_FB_W100 is not set
@@ -1098,11 +1098,7 @@ CONFIG_FONT_MINI_4x6=y
 # CONFIG_FONT_SUN8x16 is not set
 # CONFIG_FONT_SUN12x22 is not set
 # CONFIG_FONT_10x18 is not set
-CONFIG_LOGO=y
-# CONFIG_LOGO_LINUX_MONO is not set
-# CONFIG_LOGO_LINUX_VGA16 is not set
-# CONFIG_LOGO_LINUX_CLUT224 is not set
-CONFIG_LOGO_OHAND_CLUT224=y
+# CONFIG_LOGO is not set
 
 #
 # Sound
@@ -1133,7 +1129,7 @@ CONFIG_SND_VERBOSE_PROCFS=y
 #
 # Generic devices
 #
-# CONFIG_SND_AC97_CODEC is not set
+CONFIG_SND_AC97_CODEC=m
 # CONFIG_SND_DUMMY is not set
 # CONFIG_SND_VIRMIDI is not set
 # CONFIG_SND_MTPAV is not set
@@ -1175,7 +1171,7 @@ CONFIG_SND_SOC_WM8731=m
 # Open Sound System
 #
 # CONFIG_SOUND_PRIME is not set
-# CONFIG_AC97_BUS is not set
+CONFIG_AC97_BUS=m
 CONFIG_HID_SUPPORT=y
 CONFIG_HID=m
 # CONFIG_HID_DEBUG is not set
============================================================
--- packages/linux/linux-rp_2.6.24.bb	26786b548ae1b68bc05de430837610e681a529e8
+++ packages/linux/linux-rp_2.6.24.bb	e8b8caca563d7b9223ac2feb23b463dac5a36045
@@ -1,6 +1,6 @@ require linux-rp.inc
 require linux-rp.inc
 
-PR = "r0"
+PR = "r1"
 
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_collie = "1"
@@ -102,6 +102,8 @@ SRC_URI_append_poodle = "\
 
 SRC_URI_append_poodle = "\
            ${RPSRC}/poodle_serial_vcc-r0.patch;patch=1 \
+           file://poodle_ts.patch;patch=1 \
+           file://pxafb.patch;patch=1 \
 "
 
 SRC_URI_append_tosa = "\






More information about the Openembedded-commits mailing list