Phidgets SBC2 patching kernel FAILED

If you notice any bugs on our site, please report them here.
cscm
Fresh meat
Posts: 3
Joined: Mon Mar 26, 2012 1:11 am
Location: Paris
Contact:

Phidgets SBC2 patching kernel FAILED

Postby cscm » Mon Mar 26, 2012 9:38 am

Hi,

I'd like to build a custom kernel for the SBC2, but the phidgetsbc2_kerneldev_1.0.1.20120106/linux-3.1.6-phidget_sbc2.patch does not apply to the linux 3.1.6 kernel :

Code: Select all

patching file linux-3.1.6-phidget_sbc2/arch/arm/configs/phidget_sbc2_defconfig
patching file linux-3.1.6-phidget_sbc2/arch/arm/configs/phidget_sbc_defconfig
patching file linux-3.1.6-phidget_sbc2/arch/arm/mach-s3c2410/Kconfig
Hunk #1 FAILED at 178.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/arch/arm/mach-s3c2410/Kconfig.rej
patching file linux-3.1.6-phidget_sbc2/arch/arm/mach-s3c2410/mach-phidget_sbc.c
patching file linux-3.1.6-phidget_sbc2/arch/arm/mach-s3c2410/Makefile
Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/arch/arm/mach-s3c2410/Makefile.rej
patching file linux-3.1.6-phidget_sbc2/arch/arm/mach-s3c2440/Kconfig
Hunk #1 FAILED at 188.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/arch/arm/mach-s3c2440/Kconfig.rej
patching file linux-3.1.6-phidget_sbc2/arch/arm/mach-s3c2440/mach-phidget_sbc2.c
patching file linux-3.1.6-phidget_sbc2/arch/arm/mach-s3c2440/Makefile
Hunk #1 FAILED at 35.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/arch/arm/mach-s3c2440/Makefile.rej
patching file linux-3.1.6-phidget_sbc2/arch/arm/tools/mach-types
Hunk #1 FAILED at 200.
Hunk #2 FAILED at 339.
Hunk #3 FAILED at 1113.
3 out of 3 hunks FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/arch/arm/tools/mach-types.rej
patching file linux-3.1.6-phidget_sbc2/drivers/leds/leds-s3c24xx.c
Hunk #1 FAILED at 90.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/drivers/leds/leds-s3c24xx.c.rej
patching file linux-3.1.6-phidget_sbc2/drivers/media/video/uvc/uvc_driver.c
Hunk #1 FAILED at 1692.
Hunk #2 FAILED at 2062.
Hunk #3 FAILED at 2070.
Hunk #4 FAILED at 2078.
Hunk #5 FAILED at 2086.
Hunk #6 FAILED at 2094.
Hunk #7 FAILED at 2102.
7 out of 7 hunks FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/drivers/media/video/uvc/uvc_driver.c.rej
patching file linux-3.1.6-phidget_sbc2/drivers/media/video/uvc/uvc_v4l2.c
Hunk #1 FAILED at 525.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/drivers/media/video/uvc/uvc_v4l2.c.rej
patching file linux-3.1.6-phidget_sbc2/drivers/media/video/uvc/uvc_video.c
Hunk #1 FAILED at 80.
Hunk #2 FAILED at 1271.
2 out of 2 hunks FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/drivers/media/video/uvc/uvc_video.c.rej
patching file linux-3.1.6-phidget_sbc2/drivers/media/video/uvc/uvcvideo.h
Hunk #1 FAILED at 210.
Hunk #2 FAILED at 498.
Hunk #3 FAILED at 697.
3 out of 3 hunks FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/drivers/media/video/uvc/uvcvideo.h.rej
patching file linux-3.1.6-phidget_sbc2/drivers/mtd/nand/nand_ids.c
Hunk #1 FAILED at 85.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/drivers/mtd/nand/nand_ids.c.rej
patching file linux-3.1.6-phidget_sbc2/drivers/mtd/nand/s3c2410.c
Hunk #1 FAILED at 881.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/drivers/mtd/nand/s3c2410.c.rej
patching file linux-3.1.6-phidget_sbc2/drivers/net/dm9000.c
Hunk #1 FAILED at 35.
Hunk #2 FAILED at 49.
Hunk #3 FAILED at 81.
Hunk #4 FAILED at 703.
Hunk #5 FAILED at 1350.
Hunk #6 FAILED at 1523.
Hunk #7 FAILED at 1563.
7 out of 7 hunks FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/drivers/net/dm9000.c.rej
patching file linux-3.1.6-phidget_sbc2/drivers/net/dm9000.h
Hunk #1 FAILED at 51.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/drivers/net/dm9000.h.rej
patching file linux-3.1.6-phidget_sbc2/drivers/rtc/Kconfig
Hunk #1 FAILED at 27.
Hunk #2 FAILED at 49.
2 out of 2 hunks FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/drivers/rtc/Kconfig.rej
patching file linux-3.1.6-phidget_sbc2/drivers/rtc/Makefile
Hunk #1 FAILED at 6.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/drivers/rtc/Makefile.rej
patching file linux-3.1.6-phidget_sbc2/drivers/rtc/systohc.c
patching file linux-3.1.6-phidget_sbc2/kernel/time/ntp.c
Hunk #1 FAILED at 77.
Hunk #2 FAILED at 501.
Hunk #3 FAILED at 713.
3 out of 3 hunks FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/kernel/time/ntp.c.rej
patching file linux-3.1.6-phidget_sbc2/Makefile
Hunk #1 FAILED at 192.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/Makefile.rej
patching file linux-3.1.6-phidget_sbc2/net/ipv4/arp.c
Hunk #1 FAILED at 712.
1 out of 1 hunk FAILED -- saving rejects to file linux-3.1.6-phidget_sbc2/net/ipv4/arp.c.rej


Steps to reproduce :

Code: Select all

$ wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.1.6.tar.gz
$ tar xzf linux-3.1.6.tar.gz
$ cd /usr/src/linux-3.1.6
$  patch -p0 < ../phidgetsbc2_kerneldev_1.0.1.20120106/linux-3.1.6-phidget_sbc2.patch


Best Regards,

User avatar
Patrick
Lead Developer
Posts: 3027
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Phidgets SBC2 patching kernel FAILED

Postby Patrick » Tue Mar 27, 2012 9:02 am

You need to 'patch -p1'

-Patrick

cscm
Fresh meat
Posts: 3
Joined: Mon Mar 26, 2012 1:11 am
Location: Paris
Contact:

Re: Phidgets SBC2 patching kernel FAILED

Postby cscm » Tue Mar 27, 2012 12:45 pm

Patrick wrote:You need to 'patch -p1'

Ouuuupss ;-)

Thanks ;-)


Return to “Bug Report”

Who is online

Users browsing this forum: No registered users and 1 guest