You shouldn't be building pmem for x86. Its not needed, and i think there
are a few ARMisms in there that we haven't had a chance to clean it up.
Take it out of your config file (it's is not in the kernel.config in the
eee701.git repo).

--Dima

On Fri, Dec 26, 2008 at 9:54 AM, squix <[email protected]> wrote:

>
> Thanks for your answer. When I try to compile the kernel with the
> config file from the eee project I get the following error and I have
> no clue how to solve it:
> CC=gcc-4.2 CXX=g++-4.2 make ARCH=x86 CROSS-COMPILE=
>  CHK     include/linux/version.h
>  CHK     include/linux/utsrelease.h
>  CALL    scripts/checksyscalls.sh
>  CHK     include/linux/compile.h
>  CC      drivers/misc/pmem.o
> drivers/misc/pmem.c:440: error: conflicting types for
> 'phys_mem_access_prot'
> include/asm/pgtable.h:299: error: previous declaration of
> 'phys_mem_access_prot' was here
> drivers/misc/pmem.c: In function 'flush_pmem_fd':
> drivers/misc/pmem.c:833: error: implicit declaration of function
> 'dmac_flush_range'
> drivers/misc/pmem.c: In function 'pmem_setup':
> drivers/misc/pmem.c:1293: error: implicit declaration of function
> 'ioremap_cached'
> drivers/misc/pmem.c:1294: warning: assignment makes pointer from
> integer without a cast
> make[2]: *** [drivers/misc/pmem.o] Error 1
> make[1]: *** [drivers/misc] Error 2
> make: *** [drivers] Error 2
>
>
>
> On Dec 23, 8:26 pm, "Dima Zavin" <[email protected]> wrote:
> > > Sorry for such a stupid question, but is the kernel provided in anyway
> > > patched for the use with android or is it basically a standard x86
> > > kernel? What do I have to do to build a kernel for an older target
> >
> > The kernel is built from the android tree. All you have to do is check
> out
> > the kernel/common.git repository and just select the android drivers
> > (ashmem, logger, power, binder, etc.). You choose whatever architecture
> you
> > actually want to build for. The eeepc repo has a kernel config you can
> start
> > with and go from there if you like.
> >
> > --Dima
> >
> > like a Geode GX1?
> >
> >
> >
> > > Dani
> >
> > > On Dec 23, 2:43 am, "Dima Zavin" <[email protected]> wrote:
> > > > > Although the nova lite has a i945 intel board chipset, it uses an
> > > 620gle
> > > > > ati graphics card... that's probably a, or the, problem.
> >
> > > > That would do it :)
> >
> > > > > Does the kernel
> > > > > of the installer include any ati drivers?
> >
> > > > Kernel of the installer? The kernel provided is configured with EeePC
> in
> > > > mind. You are welcome to build your own kernel that has any drivers
> you
> > > like
> > > > :)
> >
> > > > --Dima
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to