R: Re: Can't patch kernel source

Andy Green andy at openmoko.com
Tue Apr 29 12:03:17 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| thanks for your fast response, but......
| I've tried to use the git.
| openmoko source, but I've got the same issue.
|
| I've made this steps:
|
| 1
| - git clone git://git.openmoko.org/git/kernel.git linux-2.6
| 2 - git
| checkout origin/andy
| 3 - "make menuconfig" to select kernel option, but
| I can't find GSM TS 07.10 driver

OK first problem is here: you must do make ARCH=arm menuconfig

| 4 - svn co https://svn.openmoko.
| org/trunk/src/target/kernel/patches
| 5 - "quilt push -a"

These patches are deprecated... they are already applied to the andy
branch, so you don't need to be doing this step.

| 6 - I've got
| the same error to patch the kernel
| 7 - I've applied only TS0710.patch
| 8
| - "make menuconfig" to select kernel option. Now I can find GSM TS
| 07.10 module and select It like module
| 9 - make modules
|
| I've got this
| errors:
|
| drivers/char/ts0710_mux.c:50:26: error: linux/config.h: No
| such file or directory

IIRC you can just comment out this #include line, the linux/config.h
thing is deprecated.

| In file included from drivers/char/ts0710_mux.c:
| 90:
| drivers/char/ts0710.h:61:35: error: linux/devfs_fs_kernel.h: No
| such file or directory
| drivers/char/ts0710_mux.c: In function
| âmux_initâ:
| drivers/char/ts0710_mux.c:3861: error: implicit declaration
| of function âts0710_initâ
| drivers/char/ts0710_mux.c:3895: error:
| âmux_driverâ undeclared (first use in this function)

Looks like your patch isn't very happy :-/

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkgW8mUACgkQOjLpvpq7dMoaNQCbBgm5vN2jeqqnySVbiBK72DG9
bpUAn3uhPzkNhXaYbwHQP5Nt10mUi8sB
=014J
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list