Dear sirs, As I do not have the files I need (in the /lsp/ti-davinci/drivers/video/davinci directory), I attempted to update my system using the latest patches. I downloaded "REL_LSP_01_20_01_004.tar.gz" (which I assume to be the latest), follow the instructions (in patches/read.me) to the best of my ability, but if did not seam to work! This is what I got: root@dell-desktop:/home/ioanprys/workdir/lsp/ti-davinci# sudo quilt push -a Applying patch lsp_1_20_dm644x_pg_2_1_vid0_revert_field_inversion_fix_001.patch patching file arch/arm/mach-davinci/id.c Hunk #1 FAILED at 21. Hunk #2 FAILED at 34. 2 out of 5 hunks FAILED -- rejects in file arch/arm/mach-davinci/id.c patching file include/asm-arm/arch-davinci/cpu.h Hunk #1 FAILED at 16. Hunk #2 succeeded at 30 (offset -5 lines). 1 out of 2 hunks FAILED -- rejects in file include/asm-arm/arch-davinci/cpu.h can't find file to patch at input line 105 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |Index: Linux/drivers/media/video/davinci/davinci_display.c |========================================================================= |--- Linux-orig/drivers/media/video/davinci/davinci_display.c 2008-06-24 14:45:57.881792000 -0400 |+++ Linux/drivers/media/video/davinci/davinci_display.c 2008-06-24 15:00:02.215409000 -0400 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 119 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |Index: Linux/drivers/media/video/davinci/davinci_osd.c |===================================================================== |--- Linux-orig/drivers/media/video/davinci/davinci_osd.c 2008-06-24 14:45:57.900791000 -0400 |+++ Linux/drivers/media/video/davinci/davinci_osd.c 2008-06-24 15:00:02.269405000 -0400 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 142 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- | |Index: Linux/drivers/media/video/davinci/davinci_platform.c |========================================================================== |--- Linux-orig/drivers/media/video/davinci/davinci_platform.c 2008-06-24 14:45:57.912791000 -0400 |+++ Linux/drivers/media/video/davinci/davinci_platform.c 2008-06-24 15:00:02.298405000 -0400 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 155 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: Linux/drivers/video/davinci/davincifb.c |============================================================= |--- Linux-orig/drivers/video/davinci/davincifb.c 2008-06-24 14:45:57.926799000 -0400 |+++ Linux/drivers/video/davinci/davincifb.c 2008-06-24 15:00:02.337410000 -0400 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored Patch lsp_1_20_dm644x_pg_2_1_vid0_revert_field_inversion_fix_001.patch does not apply (enforce with -f) root@dell-desktop:/home/ioanprys/workdir/lsp/ti-davinci# Can anyone help me? Many thanks, Ioan Prys
Dear sirs,
As I do not have the files I need (in the /lsp/ti-davinci/drivers/video/davinci directory), I attempted to update my system using the latest patches. I downloaded "REL_LSP_01_20_01_004.tar.gz" (which I assume to be the latest), follow the instructions (in patches/read.me) to the best of my ability, but if did not seam to work! This is what I got:
root@dell-desktop:/home/ioanprys/workdir/lsp/ti-davinci# sudo quilt push -a
Applying patch lsp_1_20_dm644x_pg_2_1_vid0_revert_field_inversion_fix_001.patch
patching file arch/arm/mach-davinci/id.c
Hunk #1 FAILED at 21.
Hunk #2 FAILED at 34.
2 out of 5 hunks FAILED -- rejects in file arch/arm/mach-davinci/id.c
patching file include/asm-arm/arch-davinci/cpu.h
Hunk #1 FAILED at 16.
Hunk #2 succeeded at 30 (offset -5 lines).
1 out of 2 hunks FAILED -- rejects in file include/asm-arm/arch-davinci/cpu.h
can't find file to patch at input line 105
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|
|Index: Linux/drivers/media/video/davinci/davinci_display.c
|=========================================================================
|--- Linux-orig/drivers/media/video/davinci/davinci_display.c 2008-06-24 14:45:57.881792000 -0400
|+++ Linux/drivers/media/video/davinci/davinci_display.c 2008-06-24 15:00:02.215409000 -0400
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 119
|Index: Linux/drivers/media/video/davinci/davinci_osd.c
|=====================================================================
|--- Linux-orig/drivers/media/video/davinci/davinci_osd.c 2008-06-24 14:45:57.900791000 -0400
|+++ Linux/drivers/media/video/davinci/davinci_osd.c 2008-06-24 15:00:02.269405000 -0400
2 out of 2 hunks ignored
can't find file to patch at input line 142
|Index: Linux/drivers/media/video/davinci/davinci_platform.c
|==========================================================================
|--- Linux-orig/drivers/media/video/davinci/davinci_platform.c 2008-06-24 14:45:57.912791000 -0400
|+++ Linux/drivers/media/video/davinci/davinci_platform.c 2008-06-24 15:00:02.298405000 -0400
can't find file to patch at input line 155
|Index: Linux/drivers/video/davinci/davincifb.c
|=============================================================
|--- Linux-orig/drivers/video/davinci/davincifb.c 2008-06-24 14:45:57.926799000 -0400
|+++ Linux/drivers/video/davinci/davincifb.c 2008-06-24 15:00:02.337410000 -0400
Patch lsp_1_20_dm644x_pg_2_1_vid0_revert_field_inversion_fix_001.patch does not apply (enforce with -f)
root@dell-desktop:/home/ioanprys/workdir/lsp/ti-davinci#
Can anyone help me?
Many thanks,
Ioan Prys
What base Linux kernel are you applying the patches to; ideally, this should be a Linux kernel that came with one of our DVSDKs. Also, keep in mind that due to dependancies, it is a good rule of thumb to apply patches in sequence (unless you are very familiar with patches and know there are no dependencies). Finally, keep in mind that depending on which base kernel you are working with, it may already have some or all of the patches you are trying to apply (DVSDK 1.30.00.41 has the directory you are referring to)
Finally, I thought you may find the following wiki article useful
http://wiki.davincidsp.com/index.php?title=Working_with_Linux_patches