Enabling RFKill worked.  I do not have the ADP1 with me right now to
test the build.  Therefore, I would like to rebuild the kernel for the
emulator.

I performed:
% export ARCH=arm
% export CROSS_COMPILE=arm-eabi-
% export PATH=$PATH:../prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/
bin
% make clean
% make goldfish_defconfig
% make

However, it failed on asm/arch/mm.h.  Does anyone have an explanation
why this is failing even after following the instructions in the
prebuilt directory?

On Jan 20, 3:34 pm, Jun Sun <[email protected]> wrote:
> The wifi problem is caused by the failusre in checking
> wlan.ko module version. You can find out by looking kernel log (dmesg).
>
> I used a temporary hack to get around this problem. If you know better
> solutions, please share.
>
> http://junsun.net/linux/android-dream/adp1-kernel-module-version-hack...
>
> Cheers.
>
> Jun
>
> On Mon, Jan 19, 2009 at 06:26:09PM -0800, Jun Sun wrote:
>
> > Just enable RFKILL in the networking/wireless config section.
>
> > However, in my case, the wifi stopped working. Have not looked into
> > that yet. If you are ahead of me, please let me know.
>
> > Cheers.
>
> > Jun
>
> > On Mon, Jan 19, 2009 at 05:57:50PM -0800, kmatzen wrote:
>
> > > I just tried to perform the following operations in order to recompile
> > > the Linux kernel.
>
> > > % export ARCH=arm
> > > % export CROSS_COMPILE=arm-eabi-
> > > % export PATH=$PATH:../prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin
> > > % make clean
> > > % adb pull /proc/config.gz .
> > > % gunzip config.gz
> > > % mv config .config
> > > % make
>
> > > However it failed at rfkill.  Here is the output.
>
> > > arch/arm/mach-msm/built-in.o: In function `trout_rfkill_probe':
> > > arch/arm/mach-msm/board-trout-rfkill.c:53: undefined reference to
> > > `rfkill_switch_all'
> > > arch/arm/mach-msm/board-trout-rfkill.c:56: undefined reference to
> > > `rfkill_allocate'
> > > arch/arm/mach-msm/board-trout-rfkill.c:68: undefined reference to
> > > `rfkill_register'
> > > arch/arm/mach-msm/board-trout-rfkill.c:71: undefined reference to
> > > `rfkill_free'
> > > make: *** [.tmp_vmlinux1] Error 1
>
> > > Does anyone have any ideas?
>
>
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to