Prev: [PATCH] ACPICA: wrong acpi_parse_state assigned acpi_ps_init_scope() ?
Next: [patch 0/4] Only use HPET MSI timers on systems with deep C-state support
From: Daniel Walker on 31 Jan 2010 08:40 On Sun, 2010-01-31 at 09:44 +0100, Pavel Machek wrote: > arch/arm/mach-msm/rpc_hsusb.c: In function 'msm_chg_rpc_connect': > arch/arm/mach-msm/rpc_hsusb.c:156: error: implicit declaration of > function 'machine_is_msm7201a_surf' > arch/arm/mach-msm/rpc_hsusb.c:156: error: implicit declaration of > function 'machine_is_msm7x27_surf' > arch/arm/mach-msm/rpc_hsusb.c:157: error: implicit declaration of > function 'machine_is_qsd8x50_surf' > make[1]: *** [arch/arm/mach-msm/rpc_hsusb.o] Error 1 > make: *** [arch/arm/mach-msm] Error 2 > > (and similar error further down). This fixes it, but you probably want > to add machine_is_* to your git. (Aha, is that what you meant by > "machine types"? Yeah, those machines aren't registered so the inlines don't get generated .. > With this patch it compiles. I need to actually register those machine types, So I can't remove them. They are valid boards. Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Daniel Walker on 31 Jan 2010 11:00 On Sun, 2010-01-31 at 10:28 +0100, Pavel Machek wrote: > Hi! > > > > > > > This adds missing include files, so it should now compile. ifdef > > > > > > guards were added to Kconfig, so it should not cause problems on > > > > > > non-arch-msm machines. > > > > > > > > > > > > Signed-off-by: Pavel Machek <pavel(a)ucw.cz> > > > > > > > > > > Odd, this doesn't apply to the linux-next tree, some of the files are > > > > > already there. > > > > > > > > Strange, it seems it is almost all already in. Well, good :-). > > > > > > > > But there's small problem. linux-next now contains dwalker's tree, and > > > > I could not get it to compile, even with staging disabled. I'll need > > > > to look into that. > > > > > > I worked on it a little, but I won't have time to really start cleaning > > > up that tree till next week, or this weekend. > > > > > > I pushed a new tree for next that should compile for dream with the > > > attached config. I also included the patch that I added to get it to > > > compile (you'll need the machine types too which I didn't include). > > > > Thanks! I checked out linux-next version, and it seems to include > > > > > commit cdf6c137865357112aa31666b65b938ab29fa736 > > > msm: compile fixes for dream. > > > > this patch. It still fails with: > > > > arch/arm/mach-msm/rpc_hsusb.c: In function 'msm_chg_rpc_connect': > > arch/arm/mach-msm/rpc_hsusb.c:156: error: implicit declaration of > > function 'machine_is_msm7201a_surf' > > arch/arm/mach-msm/rpc_hsusb.c:156: error: implicit declaration of > > function 'machine_is_msm7x27_surf' > > arch/arm/mach-msm/rpc_hsusb.c:157: error: implicit declaration of > > function 'machine_is_qsd8x50_surf' > > make[1]: *** [arch/arm/mach-msm/rpc_hsusb.o] Error 1 > > make: *** [arch/arm/mach-msm] Error 2 > > > > (and similar error further down). This fixes it, but you probably want > > to add machine_is_* to your git. (Aha, is that what you meant by > > "machine types"? > > > > With this patch it compiles. > > Ok, it compiles, but I do not see it booting. You config has: > > CONFIG_MSM_DEBUG_UART=3 > # CONFIG_MSM_DEBUG_UART_NONE is not set > # CONFIG_MSM_DEBUG_UART1 is not set > # CONFIG_MSM_DEBUG_UART2 is not set > CONFIG_MSM_DEBUG_UART3=y > ... > CONFIG_DEBUG_LL=y > CONFIG_EARLY_PRINTK=y > > set, so I'd expect it to say something on the serial line... (right? > Or do I still need to patch printk.c to get that?). And I see nothing > :-(. > > I'm using > > ./fastboot -c "console=ttyMSM2 root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot /data/l/linux-dwalker/arch/arm/boot/zImage > > ...with different kernel, it works (as in "I get most of the boot on > serial line; it will not actually mount root"). Have you seen this error? GEN /local/mnt/workspace/c_dwalke/git-trees/dream-test/Makefile scripts/kconfig/conf -s arch/arm/Kconfig GEN /local/mnt/workspace/c_dwalke/git-trees/dream-test/Makefile CHK include/linux/version.h CHK include/generated/utsrelease.h Using /local/mnt/workspace/c_dwalke/git-trees/linux-2.6 as source for kernel make[2]: `include/generated/mach-types.h' is up to date. CALL /local/mnt/workspace/c_dwalke/git-trees/linux-2.6/scripts/checksyscalls.sh CHK include/generated/compile.h GZIP kernel/config_data.gz IKCFG kernel/config_data.h CC kernel/configs.o LD kernel/built-in.o CC drivers/video/msm/msm_fb.o CC drivers/video/cfbcopyarea.o /home/dwalker/linux-2.6/drivers/video/msm/msm_fb.c:24: fatal error: linux/msm_mdp.h: No such file or directory compilation terminated. make[4]: *** [drivers/video/msm/msm_fb.o] Error 1 make[3]: *** [drivers/video/msm] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [drivers/video] Error 2 make[1]: *** [drivers] Error 2 make: *** [sub-make] Error 2 Even with the framebuffer off I still don't get any serial output on a plain 2.6.33-rc6 .. I'm using a config that you sent me when you first tested my -next tree . Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Pavel Machek on 25 Feb 2010 14:40 Hi! > > > (and similar error further down). This fixes it, but you probably want > > > to add machine_is_* to your git. (Aha, is that what you meant by > > > "machine types"? > > > > > > With this patch it compiles. > > > > Ok, it compiles, but I do not see it booting. You config has: > > > > CONFIG_MSM_DEBUG_UART=3 > > # CONFIG_MSM_DEBUG_UART_NONE is not set > > # CONFIG_MSM_DEBUG_UART1 is not set > > # CONFIG_MSM_DEBUG_UART2 is not set > > CONFIG_MSM_DEBUG_UART3=y > > ... > > CONFIG_DEBUG_LL=y > > CONFIG_EARLY_PRINTK=y > > > > set, so I'd expect it to say something on the serial line... (right? > > Or do I still need to patch printk.c to get that?). And I see nothing > > :-(. > > > > I'm using > > > > ./fastboot -c "console=ttyMSM2 root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot /data/l/linux-dwalker/arch/arm/boot/zImage > > > > ...with different kernel, it works (as in "I get most of the boot on > > serial line; it will not actually mount root"). > > Have you seen this error? .... > /home/dwalker/linux-2.6/drivers/video/msm/msm_fb.c:24: fatal error: linux/msm_mdp.h: No such file or directory > compilation terminated. > make[4]: *** [drivers/video/msm/msm_fb.o] Error 1 > make[3]: *** [drivers/video/msm] Error 2 > make[3]: *** Waiting for unfinished jobs.... > make[2]: *** [drivers/video] Error 2 > make[1]: *** [drivers] Error 2 > make: *** [sub-make] Error 2 Yes, framebuffer has problems. > Even with the framebuffer off I still don't get any serial output on a > plain 2.6.33-rc6 .. I'm using a config that you sent me when you first > tested my -next tree . 2.6.33 boots here, with attached config. I'll try -next next. commandline from head: console=ttyMSM2 root=/dev/mmcblk0p1 rootdelay=5 fbcon=ro1command line length =344 active commandline: board_trout.disable_uart3=0 board_trout.usb_h2w_sw=0 board_1 PARTITIOM_NUM_MAX =6 Valid partition num=6 Uncompressing Linux... done, booting the kernel. [ 0.000000] Linux version 2.6.33-00001-gbaac35c (pavel(a)amd) (gcc version 4.30[ 0.000000] CPU: ARMv6-compatible processor [4117b362] revision 2 (ARMv6TEJ)f[ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: HTC Dream [ 0.000000] Ignoring unrecognised tag 0x4d534d70 [ 0.000000] Ignoring unrecognised tag 0x57494649 [ 0.000000] Ignoring unrecognised tag 0x89768976 [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa4[ 0.000000] Kernel command line: board_trout.disable_uart3=0 board_trout.usb1[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) .... [ 4.960000] NET: Registered protocol family 17 [ 4.970000] clock_late_init() disabled 21 unused clocks [ 4.970000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 4.980000] Waiting 5sec before mounting root device... [ 9.990000] VFS: Cannot open root device "mmcblk0p1" or unknown-block(0,0) [ 9.990000] Please append a correct "root=" boot option; here are the availa:[ 10.000000] Kernel panic - not syncing: VFS: Unable to mount root fs on unkn) Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
From: Daniel Walker on 25 Feb 2010 14:40 On Thu, 2010-02-25 at 20:30 +0100, Pavel Machek wrote: > Hi! > > > > > (and similar error further down). This fixes it, but you probably want > > > > to add machine_is_* to your git. (Aha, is that what you meant by > > > > "machine types"? > > > > > > > > With this patch it compiles. > > > > > > Ok, it compiles, but I do not see it booting. You config has: > > > > > > CONFIG_MSM_DEBUG_UART=3 > > > # CONFIG_MSM_DEBUG_UART_NONE is not set > > > # CONFIG_MSM_DEBUG_UART1 is not set > > > # CONFIG_MSM_DEBUG_UART2 is not set > > > CONFIG_MSM_DEBUG_UART3=y > > > ... > > > CONFIG_DEBUG_LL=y > > > CONFIG_EARLY_PRINTK=y > > > > > > set, so I'd expect it to say something on the serial line... (right? > > > Or do I still need to patch printk.c to get that?). And I see nothing > > > :-(. > > > > > > I'm using > > > > > > ./fastboot -c "console=ttyMSM2 root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1" boot /data/l/linux-dwalker/arch/arm/boot/zImage > > > > > > ...with different kernel, it works (as in "I get most of the boot on > > > serial line; it will not actually mount root"). > > > > Have you seen this error? > ... > > /home/dwalker/linux-2.6/drivers/video/msm/msm_fb.c:24: fatal error: linux/msm_mdp.h: No such file or directory > > compilation terminated. > > make[4]: *** [drivers/video/msm/msm_fb.o] Error 1 > > make[3]: *** [drivers/video/msm] Error 2 > > make[3]: *** Waiting for unfinished jobs.... > > make[2]: *** [drivers/video] Error 2 > > make[1]: *** [drivers] Error 2 > > make: *** [sub-make] Error 2 > > Yes, framebuffer has problems. > > > Even with the framebuffer off I still don't get any serial output on a > > plain 2.6.33-rc6 .. I'm using a config that you sent me when you first > > tested my -next tree . > > 2.6.33 boots here, with attached config. I'll try -next next. My -next tree hasn't changed much since you last looked at it .. I wouldn't bother testing it. I might take some small fixes from that tree to merge, but what's there is still too much of a mess to merge. I just pushed another tree called "working-mmc" which still needs some clean up but should have working mmc if you want to test that. Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Daniel Walker on 25 Feb 2010 14:50
On Thu, 2010-02-25 at 20:41 +0100, Pavel Machek wrote: > Hi! > > > > > /home/dwalker/linux-2.6/drivers/video/msm/msm_fb.c:24: fatal error: linux/msm_mdp.h: No such file or directory > > > > compilation terminated. > > > > make[4]: *** [drivers/video/msm/msm_fb.o] Error 1 > > > > make[3]: *** [drivers/video/msm] Error 2 > > > > make[3]: *** Waiting for unfinished jobs.... > > > > make[2]: *** [drivers/video] Error 2 > > > > make[1]: *** [drivers] Error 2 > > > > make: *** [sub-make] Error 2 > > > > > > Yes, framebuffer has problems. > > > > > > > Even with the framebuffer off I still don't get any serial output on a > > > > plain 2.6.33-rc6 .. I'm using a config that you sent me when you first > > > > tested my -next tree . > > > > > > 2.6.33 boots here, with attached config. I'll try -next next. > > > > My -next tree hasn't changed much since you last looked at it .. I > > wouldn't bother testing it. I might take some small fixes from that tree > > to merge, but what's there is still too much of a mess to merge. > > Ok, so your -next tree will not be merged for 2.6.34? No it won't be. I was still planning to merge some more stripped down board file for other targets, along with some other minor stuff.. > > I just pushed another tree called "working-mmc" which still needs some > > clean up but should have working mmc if you want to test that. > > Do you have git url? Yes, I'd like to play. git://codeaurora.org/quic/kernel/dwalker/linux-msm.git working-mmc or https://www.codeaurora.org/gitweb/quic/kernel/?p=dwalker/linux-msm.git;a=shortlog;h=refs/heads/working-mmc Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |