Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Am 17.03.2011 17:20, schrieb Janorkar, Mayuresh: Raue, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Valkeinen, Tomi Sent: Thursday, March 17, 2011 4:41 PM To: Stephan Raue Cc: K, Mythri P; linux-omap@vger.kernel.org Subject: Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4 Hi, On Wed, 2011-03-16 at 18:49 -0500, Stephan Raue wrote: i tried this test tree with omap2plus_defconfig. it seems the kernel crashes and poweroff the board on loading this hdmi stuff, but dont print any crashlog. is there a way any backtraces will be printed? output from serial console: http://paste.pocoo.org/show/354850/ kernel config (omap2plus_defconfig, added squashfs support, added support to include initramfs in kernel, build omapfb stuff statically into the kernel): http://paste.pocoo.org/show/354853/ Is it possible for you to enable low-level debugging and pass omapfb.debug=1 omapdss.debug=1 in your bootargs? This would show the Framebuffer and DSSDBG prints. We would get an idea if kernel is getting stuck in DSS/OMAPFB. Let me know if you any help in enabling debug prints. Also one more suggestion/ question, are you seeing a hang if DSS is not enabled in kernel? -Thanks, Mayuresh i have done, there is not more output with enable low level debugging and passing this options... :-( disabling DSS lets boot the kernel and start initramfs (see: http://paste.pocoo.org/show/355262/) Have the HDMI on your setup worked in any (prebuilt) image? What I'm asking is if you are sure the HDMI HW works on your board? yes, prebuild ubuntu images based on TI's 2.6.35 kernel with hdmi support gives me output on my monitor. Powering off quietly sounds strange. Is your power supply sufficient? Well, I don't think that would explain the first crash you posted... i have seen the board dont poweroff, i have also added LED support so the LED's begins to flash after kernel start. but only for a very short time until the kernel crashes. so i was thinking it does a power off, but the chips on the board are not cold even after some minutes/hours, so the board is powered on. The powersupply is the recommended powersupply from digikey, so its ok. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Am 17.03.2011 21:16, schrieb Stephan Raue: Am 17.03.2011 17:20, schrieb Janorkar, Mayuresh: ... Is it possible for you to enable low-level debugging and pass omapfb.debug=1 omapdss.debug=1 in your bootargs? This would show the Framebuffer and DSSDBG prints. We would get an idea if kernel is getting stuck in DSS/OMAPFB. Let me know if you any help in enabling debug prints. Also one more suggestion/ question, are you seeing a hang if DSS is not enabled in kernel? -Thanks, Mayuresh i have done, there is not more output with enable low level debugging and passing this options... :-( disabling DSS lets boot the kernel and start initramfs (see: http://paste.pocoo.org/show/355262/) an update: compiled with DSS/HDMI support as modules, loading modules with: modprobe omapdss modprobe omapfb and doing a dmesg in the init script gives me: modprobe: can't load module omapdss (kernel/drivers/video/omap2/dss/omapdss.ko): invalid module format modprobe: can't load module cfbcopyarea (kernel/drivers/video/cfbcopyarea.ko): invalid module format see: http://paste.pocoo.org/show/355300/ line 254,255,514,515 why? the complete kernel with modules is rebuild from scratch thanks much Stephan -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Am 17.03.2011 22:13, schrieb Stephan Raue: Am 17.03.2011 21:16, schrieb Stephan Raue: an update: compiled with DSS/HDMI support as modules, loading modules with: modprobe omapdss modprobe omapfb and doing a dmesg in the init script gives me: modprobe: can't load module omapdss (kernel/drivers/video/omap2/dss/omapdss.ko): invalid module format modprobe: can't load module cfbcopyarea (kernel/drivers/video/cfbcopyarea.ko): invalid module format see: http://paste.pocoo.org/show/355300/ line 254,255,514,515 why? the complete kernel with modules is rebuild from scratch next update: disable: CONFIG_LOCALVERSION_AUTO CONFIG_MODULE_FORCE_LOAD CONFIG_MODULE_FORCE_UNLOAD CONFIG_MODVERSIONS CONFIG_MODULE_SRCVERSION_ALL gives: [3.934814] Bad mode in data abort handler detected [3.939941] Internal error: Oops - bad mode: 0 [#1] SMP [3.945404] last sysfs file: /sys/devices/virtual/graphics/fbcon/cursor_blink [3.952911] Modules linked in: omapdss(+) [3.957122] CPU: 0Not tainted (2.6.38 #1) [3.961791] PC is at 0x0018 [3.965179] LR is at omap_dsshw_probe+0x1d4/0x358 [omapdss] [3.971008] pc : [0018]lr : [bf000d14]psr: 6092 [3.971038] sp : ef149d08 ip : c0e2bcd8 fp : [3.983093] r10: 0028 r9 : c0ef4338 r8 : [3.988555] r7 : bf012904 r6 : r5 : ef947c40 r4 : [3.995422] r3 : f08fc000 r2 : 02102006 r1 : ef149cf0 r0 : [4.002288] Flags: nZCv IRQs off FIQs on Mode IRQ_32 ISA ARM Segment user [4.009857] Control: 10c53c7d Table: af3b404a DAC: 0015 [4.015899] Process modprobe (pid: 559, stack limit = 0xef1482f8) [4.022308] Stack: (0xef149d08 to 0xef14a000) [4.026885] 9d00: ef149cf0 02102006 f08fc000 ef947c40 [4.035461] 9d20: bf012904 c0ef4338 0028 c0e2bcd8 ef149d08 [4.044067] 9d40: bf000d14 0018 6092 bf013050 ef947c40 bf000d14 [4.052642] 9d60: ef954008 ef95403c bf012904 c067b8b4 c067b8a0 c067aacc ef954008 [4.061248] 9d80: ef95403c bf012904 c067abf0 bf012904 ef149da0 c067ab88 c0679d38 [4.069824] 9da0: ef84f658 ef949730 bf012904 bf012904 ef1e7a60 c09cac08 c067a3d0 [4.078430] 9dc0: bf00e65b 0468 bf012904 c09b4d90 c09b0b28 bf012848 [4.087005] 9de0: 0028 c067ae44 bf013034 c09b4d90 c09b0b28 bf012848 [4.095611] 9e00: 0028 bf00053c c09b4d90 efa72690 c0aa1380 c09b4d98 c09b4dcc bf012848 [4.104217] 9e20: bf012848 0028 c067b8b4 c067b8a0 c067aacc c09b4d98 [4.112792] 9e40: c09b4dcc bf012848 c067abf0 bf012848 ef149e60 c067ab88 c0679d38 [4.121398] 9e60: ef84f658 ef9491b0 bf012848 bf012848 ef1e7c60 c09cac08 c067a3d0 [4.129974] 9e80: bf00e09e 0468 bf012848 ef27f9a0 bf01d000 [4.138580] 9ea0: 0028 c067ae44 c067b8d8 ef27f9a0 bf01d000 [4.147155] 9ec0: 0028 bf01d064 bf012ed4 c0431694 0001 bf012ed4 bf012ed4 [4.155761] 9ee0: 0001 bf012ed4 ef27f9a0 bf012f1c 0001 0028 c04af9e4 [4.164337] 9f00: bf012ee0 000aa048 0003 c04ad17c c0ef4330 c07f45bc bf013018 000aa048 [4.172943] 9f20: f08d9000 000201b0 f08ec450 f08ec2dc f08f11a8 ef385800 00014740 [4.181518] 9f40: 000186a0 0023 0024 0019 000f [4.190124] 9f60: bf011a34 0016 0080 [4.198699] 9f80: 6010 400368e0 0080 c043b5c8 ef148000 [4.207305] 9fa0: 0003 c043b400 400368e0 4020e000 000201b0 000aa048 0003 [4.215881] 9fc0: 400368e0 0080 000aa048 0003 [4.224487] 9fe0: bee1a880 bee1a870 00036138 401ab0a0 6010 4020e000 [4.233093] [bf000d14] (omap_dsshw_probe+0x1d4/0x358 [omapdss]) from [f08fc000] (0xf08fc000) [4.242340] Code: e59ff410 eabb ea9a eafa (ea78) [4.248748] [ cut here ] [4.253601] WARNING: at arch/arm/mach-omap2/omap_l3_noc.c:98 l3_interrupt_handler+0xb8/0x134() [4.262664] L3 standard error: SOURCE:DSS at address 0x10 [4.268402] Modules linked in: omapdss(+) [4.272644] [c044239c] (unwind_backtrace+0x0/0xe4) from [c047457c] (warn_slowpath_common+0x4c/0x64) [4.282531] [c047457c] (warn_slowpath_common+0x4c/0x64) from [c0474614] (warn_slowpath_fmt+0x2c/0x3c) [4.292572] [c0474614] (warn_slowpath_fmt+0x2c/0x3c) from [c0455898] (l3_interrupt_handler+0xb8/0x134) [4.302734] [c0455898] (l3_interrupt_handler+0xb8/0x134) from [c04b46f8] (handle_IRQ_event+0x6c/0x15c) [4.312896] [c04b46f8] (handle_IRQ_event+0x6c/0x15c) from [c04b6344] (handle_level_irq+0xdc/0x160) [4.322692] [c04b6344] (handle_level_irq+0xdc
Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Am 16.03.2011 11:53, schrieb K, Mythri P: Hi Tomi, On Wed, Mar 16, 2011 at 12:21 PM, Tomi Valkeinentomi.valkei...@ti.com wrote: On Sun, 2011-03-13 at 11:20 -0500, Stephan Raue wrote: Am 13.03.2011 15:32, schrieb Stephan Raue: snip i have tried this omap2plus defconfig now too, with some little changes needed to boot my system (config: http://paste.pocoo.org/show/352917/). Now i get this error (see also: http://paste.pocoo.org/show/352915/) [3.255065] omapdss HDMI: fallback to VGA [3.271636] omapdss HDMI error: Failed to set PHY_PWR_STATUS [3.277587] omapdss HDMI error: failed to power on device [3.283325] omapdss error: failed to power on [3.287902] omapfb omapfb: Failed to enable display 'hdmi' [3.293853] Console: switching to colour dummy device 80x30 [3.304595] omapfb omapfb: failed to setup omapfb [3.309539] omapfb: probe of omapfb failed with error -5 using omap2plus defconfig with my little changes i need to boot my system i get the error above, also if i remove CONFIG_ARCH_OMAP2. but if i remove CONFIG_ARCH_OMAP3 too i get the error i reported originally (the kernel begins to boot, but crashes) (diff between omap2plus defconfig without CONFIG_ARCH_OMAP2 and omap2plus defconfig without CONFIG_ARCH_OMAP2, CONFIG_ARCH_OMAP3: http://paste.pocoo.org/show/352960/) I'm currently traveling for this week so I have quite limited ability to test this. Mythri still haven't been able to reproduce any of these errors, right? That's right i have not been able to reproduce the error. I have tried with 4 Panda Boards with atleast 4 - 5 Montiors connected ( Also without connecting any monitor). Anybody else there to test HDMI on Panda and/or Blaze? I pushed the latest DSS + HDMI patches to a test branch for easier testing (I'll push Panda DVI patches there also when I get the new version): git://gitorious.org/linux-omap-dss2/linux.git test Stephan, It would be great if you could try out with this tree with omap2plus_defconfig. Note : Please disable VENC , there is a known issue of kernel crash with VENC enabled. Thanks and regards, Mythri. Hi, i tried this test tree with omap2plus_defconfig. it seems the kernel crashes and poweroff the board on loading this hdmi stuff, but dont print any crashlog. is there a way any backtraces will be printed? output from serial console: http://paste.pocoo.org/show/354850/ kernel config (omap2plus_defconfig, added squashfs support, added support to include initramfs in kernel, build omapfb stuff statically into the kernel): http://paste.pocoo.org/show/354853/ i am using a own toolchain to crosscompile with gcc-4.5.2, binutils-2.21... Stephan -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] OMAP PM updates for 2.6.39
Hi, Am 11.03.2011 01:59, schrieb Kevin Hilman: Dave Martin (5): ARM: omap4: Provide do_wfi() for Thumb-2 ARM: omap4: Convert END() to ENDPROC() for correct linkage with CONFIG_THUMB2_KERNEL ARM: omap3: Remove hand-encoded SMC instructions ARM: omap3: Remove hand-encoded SMC instructions fails for me with: /home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/toolchain/bin/arm-openelec-linux-gnueabi-gcc -Wp,-MD,arch/arm/mach-omap2/.sleep34xx.o.d -nostdinc -isystem /home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/toolchain/lib/gcc/arm-openelec-linux-gnueabi/4.5.2/include -I/home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/linux-2.6.38-rc8/arch/arm/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-omap2/include -Iarch/arm/plat-omap/include -D__ASSEMBLY__ -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated -Wa,-mthumb -D__LINUX_ARM_ARCH__=7 -march=armv7-a -include asm/unified.h -msoft-float -gdwarf-2 -Wa,-march=armv7-a -c -o arch/arm/mach-omap2/sleep34xx.o arch/arm/mach-omap2/sleep34xx.S arch/arm/mach-omap2/sleep34xx.S: Assembler messages: arch/arm/mach-omap2/sleep34xx.S:149: Error: selected processor does not support ARM mode `smc #1' arch/arm/mach-omap2/sleep34xx.S:416: Error: selected processor does not support ARM mode `smc #1' arch/arm/mach-omap2/sleep34xx.S:427: Error: selected processor does not support ARM mode `smc #1' arch/arm/mach-omap2/sleep34xx.S:452: Error: selected processor does not support ARM mode `smc #0' arch/arm/mach-omap2/sleep34xx.S:458: Error: selected processor does not support ARM mode `smc #0' arch/arm/mach-omap2/sleep34xx.S:463: Error: selected processor does not support ARM mode `smc #0' make[2]: *** [arch/arm/mach-omap2/sleep34xx.o] Error 1 make[1]: *** [arch/arm/mach-omap2] Error 2 replacing in arch/arm/mach-omap2/Makefile: AFLAGS_sleep24xx.o :=-Wa,-march=armv6 AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a to: AFLAGS_sleep24xx.o :=-Wa,-march=armv6 AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec) helps compiling (see also: https://patchwork.kernel.org/patch/369681/) thanks Stephan -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL] OMAP PM updates for 2.6.39
Am 14.03.2011 20:38, schrieb Tony Lindgren: * Stephan Rauemailingli...@openelec.tv [110314 12:32]: Hi, Am 11.03.2011 01:59, schrieb Kevin Hilman: Dave Martin (5): ARM: omap4: Provide do_wfi() for Thumb-2 ARM: omap4: Convert END() to ENDPROC() for correct linkage with CONFIG_THUMB2_KERNEL ARM: omap3: Remove hand-encoded SMC instructions ARM: omap3: Remove hand-encoded SMC instructions fails for me with: /home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/toolchain/bin/arm-openelec-linux-gnueabi-gcc -Wp,-MD,arch/arm/mach-omap2/.sleep34xx.o.d -nostdinc -isystem /home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/toolchain/lib/gcc/arm-openelec-linux-gnueabi/4.5.2/include -I/home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/linux-2.6.38-rc8/arch/arm/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-omap2/include -Iarch/arm/plat-omap/include -D__ASSEMBLY__ -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated -Wa,-mthumb -D__LINUX_ARM_ARCH__=7 -march=armv7-a -include asm/unified.h -msoft-float -gdwarf-2 -Wa,-march=armv7-a -c -o arch/arm/mach-omap2/sleep34xx.o arch/arm/mach-omap2/sleep34xx.S arch/arm/mach-omap2/sleep34xx.S: Assembler messages: arch/arm/mach-omap2/sleep34xx.S:149: Error: selected processor does not support ARM mode `smc #1' arch/arm/mach-omap2/sleep34xx.S:416: Error: selected processor does not support ARM mode `smc #1' arch/arm/mach-omap2/sleep34xx.S:427: Error: selected processor does not support ARM mode `smc #1' arch/arm/mach-omap2/sleep34xx.S:452: Error: selected processor does not support ARM mode `smc #0' arch/arm/mach-omap2/sleep34xx.S:458: Error: selected processor does not support ARM mode `smc #0' arch/arm/mach-omap2/sleep34xx.S:463: Error: selected processor does not support ARM mode `smc #0' make[2]: *** [arch/arm/mach-omap2/sleep34xx.o] Error 1 make[1]: *** [arch/arm/mach-omap2] Error 2 replacing in arch/arm/mach-omap2/Makefile: AFLAGS_sleep24xx.o :=-Wa,-march=armv6 AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a to: AFLAGS_sleep24xx.o :=-Wa,-march=armv6 AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec) helps compiling (see also: https://patchwork.kernel.org/patch/369681/) Care to post a patch for this and mention your compiler version too? Tony patch attached. i am using http://gitorious.org/linux-omap-dss2/linux with gcc-4.5.2, binutils-2.21 thanks Stephan diff -Naur linux-2.6.38-rc8/arch/arm/mach-omap2/Makefile linux-2.6.38-rc8.patch/arch/arm/mach-omap2/Makefile --- linux-2.6.38-rc8/arch/arm/mach-omap2/Makefile 2011-03-14 20:38:21.039926899 +0100 +++ linux-2.6.38-rc8.patch/arch/arm/mach-omap2/Makefile 2011-03-14 20:39:01.679108209 +0100 @@ -68,7 +68,7 @@ obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3) += smartreflex-class3.o AFLAGS_sleep24xx.o :=-Wa,-march=armv6 -AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a +AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec) ifeq ($(CONFIG_PM_VERBOSE),y) CFLAGS_pm_bus.o+= -DDEBUG
Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Am 12.03.2011 07:51, schrieb K, Mythri P: Hi, On Sat, Mar 12, 2011 at 12:12 AM, Stephan Rauemailingli...@openelec.tv wrote: Am 11.03.2011 19:27, schrieb Tomi Valkeinen: On Fri, 2011-03-11 at 10:18 -0600, Stephan Raue wrote: Am 11.03.2011 14:22, schrieb Tomi Valkeinen: On Fri, 2011-03-11 at 02:43 -0600, Stephan Raue wrote: Am 11.03.2011 08:12, schrieb Tomi Valkeinen: On Thu, 2011-03-10 at 08:45 -0600, Stephan Raue wrote: Hi, if i try this patch series the boot stops after (seeing via serial console): Starting kernel ... Uncompressing Linux... done, booting the kernel. without this patch series i can see the boot to th OS. I am using this patches on top of http://gitorious.org/linux-omap-dss2/linux/commits/master Do i anything wrong or do i use a wrong git repo (the patches apply cleanly)? Her my kernel config: http://fpaste.org/9Esw/ Hmm, I cannot even compile the kernel with that config: CC arch/arm/mach-omap2/io.o In file included from arch/arm/mm/init.c:27:0: /home/tomba/work/linux/arch/arm/include/asm/tlb.h: In function 'tlb_flush_mmu': /home/tomba/work/linux/arch/arm/include/asm/tlb.h:104:3: error: implicit declaration of function 'release_pages' In file included from arch/arm/mm/init.c:27:0: /home/tomba/work/linux/arch/arm/include/asm/tlb.h: In function 'tlb_remove_page': /home/tomba/work/linux/arch/arm/include/asm/tlb.h:168:3: error: implicit declaration of function 'page_cache_release' make[1]: *** [arch/arm/mm/init.o] Error 1 make: *** [arch/arm/mm] Error 2 make: *** Waiting for unfinished jobs Tomi please enable swap support or try: http://ftp.arm.linux.org.uk/git/?p=linux-2.6-arm.git;a=commit;h=97594b0f35c0708cb9551c070b9693a52ec24ebf which is fixed in 2.6.38-rc8 Ok. So you didn't have just my master branch and the HDMI patch set? I see that the config you gave is for rc8, and mine is rc7, so I guess you also merged rc8 into your tree? Tomi yes, you are right, i have tested this with different kernel configs and both rc7 and rc8 with the same results. Ok. I need to dig out my panda and try to get it running. Blaze board seems to work fine, at least for me. Does the crash happen every time? Tomi omap2plus_defconfig yes, with all configs i tried. will try a make omap2plus_defconfig too and let you know. I have tried booting on Panda board and it works fine , I am using OMAP2PLUS defconfig. I have disabled VENC though( without that i see that kernel hangs , ie because reading VENC register in hwmod probe is resulting in a crash. i have tried this omap2plus defconfig now too, with some little changes needed to boot my system (config: http://paste.pocoo.org/show/352917/). Now i get this error (see also: http://paste.pocoo.org/show/352915/) [3.255065] omapdss HDMI: fallback to VGA [3.271636] omapdss HDMI error: Failed to set PHY_PWR_STATUS [3.277587] omapdss HDMI error: failed to power on device [3.283325] omapdss error: failed to power on [3.287902] omapfb omapfb: Failed to enable display 'hdmi' [3.293853] Console: switching to colour dummy device 80x30 [3.304595] omapfb omapfb: failed to setup omapfb [3.309539] omapfb: probe of omapfb failed with error -5 thanks Stephan -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Am 13.03.2011 15:32, schrieb Stephan Raue: Am 12.03.2011 07:51, schrieb K, Mythri P: Hi, On Sat, Mar 12, 2011 at 12:12 AM, Stephan Rauemailingli...@openelec.tv wrote: Am 11.03.2011 19:27, schrieb Tomi Valkeinen: On Fri, 2011-03-11 at 10:18 -0600, Stephan Raue wrote: Am 11.03.2011 14:22, schrieb Tomi Valkeinen: On Fri, 2011-03-11 at 02:43 -0600, Stephan Raue wrote: Am 11.03.2011 08:12, schrieb Tomi Valkeinen: On Thu, 2011-03-10 at 08:45 -0600, Stephan Raue wrote: Hi, if i try this patch series the boot stops after (seeing via serial console): Starting kernel ... Uncompressing Linux... done, booting the kernel. without this patch series i can see the boot to th OS. I am using this patches on top of http://gitorious.org/linux-omap-dss2/linux/commits/master Do i anything wrong or do i use a wrong git repo (the patches apply cleanly)? Her my kernel config: http://fpaste.org/9Esw/ Hmm, I cannot even compile the kernel with that config: CC arch/arm/mach-omap2/io.o In file included from arch/arm/mm/init.c:27:0: /home/tomba/work/linux/arch/arm/include/asm/tlb.h: In function 'tlb_flush_mmu': /home/tomba/work/linux/arch/arm/include/asm/tlb.h:104:3: error: implicit declaration of function 'release_pages' In file included from arch/arm/mm/init.c:27:0: /home/tomba/work/linux/arch/arm/include/asm/tlb.h: In function 'tlb_remove_page': /home/tomba/work/linux/arch/arm/include/asm/tlb.h:168:3: error: implicit declaration of function 'page_cache_release' make[1]: *** [arch/arm/mm/init.o] Error 1 make: *** [arch/arm/mm] Error 2 make: *** Waiting for unfinished jobs Tomi please enable swap support or try: http://ftp.arm.linux.org.uk/git/?p=linux-2.6-arm.git;a=commit;h=97594b0f35c0708cb9551c070b9693a52ec24ebf which is fixed in 2.6.38-rc8 Ok. So you didn't have just my master branch and the HDMI patch set? I see that the config you gave is for rc8, and mine is rc7, so I guess you also merged rc8 into your tree? Tomi yes, you are right, i have tested this with different kernel configs and both rc7 and rc8 with the same results. Ok. I need to dig out my panda and try to get it running. Blaze board seems to work fine, at least for me. Does the crash happen every time? Tomi omap2plus_defconfig yes, with all configs i tried. will try a make omap2plus_defconfig too and let you know. I have tried booting on Panda board and it works fine , I am using OMAP2PLUS defconfig. I have disabled VENC though( without that i see that kernel hangs , ie because reading VENC register in hwmod probe is resulting in a crash. i have tried this omap2plus defconfig now too, with some little changes needed to boot my system (config: http://paste.pocoo.org/show/352917/). Now i get this error (see also: http://paste.pocoo.org/show/352915/) [3.255065] omapdss HDMI: fallback to VGA [3.271636] omapdss HDMI error: Failed to set PHY_PWR_STATUS [3.277587] omapdss HDMI error: failed to power on device [3.283325] omapdss error: failed to power on [3.287902] omapfb omapfb: Failed to enable display 'hdmi' [3.293853] Console: switching to colour dummy device 80x30 [3.304595] omapfb omapfb: failed to setup omapfb [3.309539] omapfb: probe of omapfb failed with error -5 using omap2plus defconfig with my little changes i need to boot my system i get the error above, also if i remove CONFIG_ARCH_OMAP2. but if i remove CONFIG_ARCH_OMAP3 too i get the error i reported originally (the kernel begins to boot, but crashes) (diff between omap2plus defconfig without CONFIG_ARCH_OMAP2 and omap2plus defconfig without CONFIG_ARCH_OMAP2, CONFIG_ARCH_OMAP3: http://paste.pocoo.org/show/352960/) thanks Stephan -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Am 11.03.2011 08:12, schrieb Tomi Valkeinen: On Thu, 2011-03-10 at 08:45 -0600, Stephan Raue wrote: Hi, if i try this patch series the boot stops after (seeing via serial console): Starting kernel ... Uncompressing Linux... done, booting the kernel. without this patch series i can see the boot to th OS. I am using this patches on top of http://gitorious.org/linux-omap-dss2/linux/commits/master Do i anything wrong or do i use a wrong git repo (the patches apply cleanly)? Her my kernel config: http://fpaste.org/9Esw/ Hmm, I cannot even compile the kernel with that config: CC arch/arm/mach-omap2/io.o In file included from arch/arm/mm/init.c:27:0: /home/tomba/work/linux/arch/arm/include/asm/tlb.h: In function 'tlb_flush_mmu': /home/tomba/work/linux/arch/arm/include/asm/tlb.h:104:3: error: implicit declaration of function 'release_pages' In file included from arch/arm/mm/init.c:27:0: /home/tomba/work/linux/arch/arm/include/asm/tlb.h: In function 'tlb_remove_page': /home/tomba/work/linux/arch/arm/include/asm/tlb.h:168:3: error: implicit declaration of function 'page_cache_release' make[1]: *** [arch/arm/mm/init.o] Error 1 make: *** [arch/arm/mm] Error 2 make: *** Waiting for unfinished jobs Tomi please enable swap support or try: http://ftp.arm.linux.org.uk/git/?p=linux-2.6-arm.git;a=commit;h=97594b0f35c0708cb9551c070b9693a52ec24ebf which is fixed in 2.6.38-rc8 Stephan -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Am 11.03.2011 14:22, schrieb Tomi Valkeinen: On Fri, 2011-03-11 at 02:43 -0600, Stephan Raue wrote: Am 11.03.2011 08:12, schrieb Tomi Valkeinen: On Thu, 2011-03-10 at 08:45 -0600, Stephan Raue wrote: Hi, if i try this patch series the boot stops after (seeing via serial console): Starting kernel ... Uncompressing Linux... done, booting the kernel. without this patch series i can see the boot to th OS. I am using this patches on top of http://gitorious.org/linux-omap-dss2/linux/commits/master Do i anything wrong or do i use a wrong git repo (the patches apply cleanly)? Her my kernel config: http://fpaste.org/9Esw/ Hmm, I cannot even compile the kernel with that config: CC arch/arm/mach-omap2/io.o In file included from arch/arm/mm/init.c:27:0: /home/tomba/work/linux/arch/arm/include/asm/tlb.h: In function 'tlb_flush_mmu': /home/tomba/work/linux/arch/arm/include/asm/tlb.h:104:3: error: implicit declaration of function 'release_pages' In file included from arch/arm/mm/init.c:27:0: /home/tomba/work/linux/arch/arm/include/asm/tlb.h: In function 'tlb_remove_page': /home/tomba/work/linux/arch/arm/include/asm/tlb.h:168:3: error: implicit declaration of function 'page_cache_release' make[1]: *** [arch/arm/mm/init.o] Error 1 make: *** [arch/arm/mm] Error 2 make: *** Waiting for unfinished jobs Tomi please enable swap support or try: http://ftp.arm.linux.org.uk/git/?p=linux-2.6-arm.git;a=commit;h=97594b0f35c0708cb9551c070b9693a52ec24ebf which is fixed in 2.6.38-rc8 Ok. So you didn't have just my master branch and the HDMI patch set? I see that the config you gave is for rc8, and mine is rc7, so I guess you also merged rc8 into your tree? Tomi yes, you are right, i have tested this with different kernel configs and both rc7 and rc8 with the same results. Stephan -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Am 11.03.2011 19:27, schrieb Tomi Valkeinen: On Fri, 2011-03-11 at 10:18 -0600, Stephan Raue wrote: Am 11.03.2011 14:22, schrieb Tomi Valkeinen: On Fri, 2011-03-11 at 02:43 -0600, Stephan Raue wrote: Am 11.03.2011 08:12, schrieb Tomi Valkeinen: On Thu, 2011-03-10 at 08:45 -0600, Stephan Raue wrote: Hi, if i try this patch series the boot stops after (seeing via serial console): Starting kernel ... Uncompressing Linux... done, booting the kernel. without this patch series i can see the boot to th OS. I am using this patches on top of http://gitorious.org/linux-omap-dss2/linux/commits/master Do i anything wrong or do i use a wrong git repo (the patches apply cleanly)? Her my kernel config: http://fpaste.org/9Esw/ Hmm, I cannot even compile the kernel with that config: CC arch/arm/mach-omap2/io.o In file included from arch/arm/mm/init.c:27:0: /home/tomba/work/linux/arch/arm/include/asm/tlb.h: In function 'tlb_flush_mmu': /home/tomba/work/linux/arch/arm/include/asm/tlb.h:104:3: error: implicit declaration of function 'release_pages' In file included from arch/arm/mm/init.c:27:0: /home/tomba/work/linux/arch/arm/include/asm/tlb.h: In function 'tlb_remove_page': /home/tomba/work/linux/arch/arm/include/asm/tlb.h:168:3: error: implicit declaration of function 'page_cache_release' make[1]: *** [arch/arm/mm/init.o] Error 1 make: *** [arch/arm/mm] Error 2 make: *** Waiting for unfinished jobs Tomi please enable swap support or try: http://ftp.arm.linux.org.uk/git/?p=linux-2.6-arm.git;a=commit;h=97594b0f35c0708cb9551c070b9693a52ec24ebf which is fixed in 2.6.38-rc8 Ok. So you didn't have just my master branch and the HDMI patch set? I see that the config you gave is for rc8, and mine is rc7, so I guess you also merged rc8 into your tree? Tomi yes, you are right, i have tested this with different kernel configs and both rc7 and rc8 with the same results. Ok. I need to dig out my panda and try to get it running. Blaze board seems to work fine, at least for me. Does the crash happen every time? Tomi omap2plus_defconfig yes, with all configs i tried. will try a make omap2plus_defconfig too and let you know. thanks much Stephan -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Hi, if i try this patch series the boot stops after (seeing via serial console): Starting kernel ... Uncompressing Linux... done, booting the kernel. without this patch series i can see the boot to th OS. I am using this patches on top of http://gitorious.org/linux-omap-dss2/linux/commits/master Do i anything wrong or do i use a wrong git repo (the patches apply cleanly)? Her my kernel config: http://fpaste.org/9Esw/ Stephan Am 10.03.2011 14:44, schrieb Tomi Valkeinen: On Thu, 2011-03-10 at 04:44 -0600, K, Mythri P wrote: Adding HDMI support on OMAP4. HDMI is a driver that is similar to the VENC or the DSI driver to support HDMI/DVI sink device. The current design adheres to the DSS2 architecture. It is split into the HDMI DSS driver and HDMI panel driver. I think this version is good. It works for me, at least =). Any Panda or Blaze owners reading this want to give this a try? There are a couple of cosmetic fixes you could still do, I'll email about those separately. But they are just about comments/descriptions, you can fix them and email me a tarball for the patches, no need to spam the mailing list. Tomi -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Hi Tomi, Am 10.03.2011 15:51, schrieb Tomi Valkeinen: On Thu, 2011-03-10 at 08:45 -0600, Stephan Raue wrote: Hi, if i try this patch series the boot stops after (seeing via serial console): Starting kernel ... Uncompressing Linux... done, booting the kernel. without this patch series i can see the boot to th OS. I am using this patches on top of http://gitorious.org/linux-omap-dss2/linux/commits/master Do i anything wrong or do i use a wrong git repo (the patches apply cleanly)? Her my kernel config: http://fpaste.org/9Esw/ Ah, I guess you hit one yet unsolved problem on on omap4: VENC register access fails. Can you try switching this off: CONFIG_OMAP2_DSS_VENC. I need to make some quick hack to get VENC disabled on OMAP4 until we find the solution for this. Tomi thanks, this helps to boot the kernel. but now i get: [3.281127] Power Management for TI OMAP4. [3.291870] mmc0: host does not support reading read-only switch. assuming write-enable. [3.312957] clock: disabling unused clocks to save power [3.318695] mmc0: new high speed SDHC card at address 0001 [3.325622] mmcblk0: mmc0:0001 0 7.46 GiB [3.333618] mmcblk0: p1 p2 [3.335540] Unhandled fault: imprecise external abort (0x1406) at 0xffed6a6a [3.335571] Internal error: : 1406 [#1] PREEMPT SMP [3.335571] last sysfs file: [3.335571] Modules linked in: [3.335571] CPU: 0Not tainted (2.6.38-rc8 #1) [3.335601] PC is at dss_clk_disable_no_ctx+0x0/0xa4 [3.335632] LR is at omap_dispc_register_isr+0xa4/0xcc [3.335632] pc : [c066b4f8]lr : [c066c65c]psr: 2093 [3.335632] sp : ef845e20 ip : c0e6ffd0 fp : c09fbb90 [3.335632] r10: c0f774ac r9 : 0088 r8 : c0673644 [3.335662] r7 : 0004000e r6 : a093 r5 : r4 : [3.335662] r3 : f08c4000 r2 : f08c4000 r1 : 0006964a r0 : 0003 [3.335662] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel [3.335693] Control: 10c5387d Table: 8000404a DAC: 0015 [3.335693] Process swapper (pid: 1, stack limit = 0xef8442f8) [3.335693] Stack: (0xef845e20 to 0xef846000) [3.335693] 5e20: 1887 c0f78588 c0f78588 0044 0001 eed70b40 c06735d8 [3.335723] 5e40: c0f785f4 f0a0 c0f785b4 6013 0080 ef814000 c09fd630 [3.335723] 5e60: ef814698 ef814264 eeeae6e0 0003 eeeae400 c067a528 c082f738 [3.335723] 5e80: eeeae6e0 c09fd628 ef814694 eee26fc0 ef845ed8 c0537e70 0001 bf60 [3.335754] 5ea0: f0a0 02800280 01e0 0080 0280 [3.335754] 5ec0: 00ff01e0 c0538780 ef848000 c0830e38 ef804ac4 0003 ef8ad4c0 [3.335784] 5ee0: c09fd664 c09fd630 c09fd664 c0a0f540 c0a0f540 c09e776c [3.335784] 5f00: c06bc470 c06bc45c c06bb670 c09fd630 c09fd664 c0a0f540 [3.335784] 5f20: c06bb794 c0a0f540 ef845f38 c06bb72c c06ba8c4 ef804a5c ef8ae054 [3.335815] 5f40: c0a0f540 c0a0f540 eee24680 c0a19328 c06baf78 c092c550 0480 [3.335815] 5f60: ef845f50 c0a0f540 c002d640 c09e7680 c001edd8 c09e776c c06bb9dc [3.335815] 5f80: c002d624 c002d640 c09e7680 c001edd8 c09e776c c001edfc [3.335845] 5fa0: ef844000 c041e644 c0933524 0198 c0a01b8c c09e7680 c09e7770 c002d624 [3.335845] 5fc0: c002d640 c09e7680 c09e7770 0002 c09e776c c0008b2c 0004 [3.335876] 5fe0: c00089d4 c0423f1c 0013 c0423f1c faffd73f 00100e0a [3.335876] [c066b4f8] (dss_clk_disable_no_ctx+0x0/0xa4) from [c0f78588] (num_managers+0x0/0x4) [3.335906] Code: e8bd8070 c0f77254 c0954a8a 000218de (e92d4038) [3.335906] ---[ end trace b7597bb719140d9a ]--- [3.335906] note: swapper[1] exited with preempt_count 2 [3.335937] Kernel panic - not syncing: Attempted to kill init! [3.588439] CPU1: stopping [3.591308] [c0428bec] (unwind_backtrace+0x0/0xe4) from [c041e2d8] (do_IPI+0xe4/0x15c) [3.600036] [c041e2d8] (do_IPI+0xe4/0x15c) from [c08314cc] (__irq_svc+0x4c/0xcc) [3.608184] Exception stack(0xef861b60 to 0xef861ba8) [3.613494] 1b60: c04582a0 ef861ba8 ef861b98 ef86 0282 0002 ef861c00 [3.622100] 1b80: 0001 ef86 0001 000a 005b820e ef861ba8 c04582a0 c04582a4 [3.630706] 1ba0: 6113 [3.634399] [c08314cc] (__irq_svc+0x4c/0xcc) from [c04582a4] (__do_softirq+0x6c/0x250) [3.643096] [c04582a4] (__do_softirq+0x6c/0x250) from [c0458988] (irq_exit+0x58/0xb0) [3.651733] [c0458988] (irq_exit+0x58/0xb0) from [c041e29c] (do_IPI+0xa8/0x15c) [3.659790] [c041e29c] (do_IPI+0xa8/0x15c) from [c08314cc] (__irq_svc+0x4c/0xcc) [3.667938] Exception stack(0xef861c00 to 0xef861c48) [3.673248] 1c00: 0001 0001 ef84a800 0025 0001 c09fe67c c0a32340 [3.681854] 1c20: c6b2f9f3 0001 0001 0036 6113 ef861c48