This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem building Filesystem for Android 4.1.2 Devkit 4.0.1 on AM335x

I'm having a persistent issue building the filesystem as per the instructions on the AM335x Android 4.1.2/Devkit 4.0.1 Developer's Guide wiki (http://processors.wiki.ti.com/index.php/TI-Android-JB-4.1.2-DevKit-4.0.1_DeveloperGuide).  

The u-boot and kernel builds seem to go fine, but when I try the file system build with the following command

    ~/rowboat-android/kernel$ make TARGET_PRODUCT=am335xevm_sk OMAPES=4.x -j4

I get the following output in the middle dealing with building pmem.o

----- snip----

CC drivers/misc/pmem.o
CC fs/dcookies.o
CC lib/cmdline.o
drivers/misc/pmem.c: In function ‘flush_pmem_file’:
drivers/misc/pmem.c:805:3: error: implicit declaration of function ‘dmac_flush_range’ [-Werror=implicit-function-declaration]
drivers/misc/pmem.c: In function ‘debug_read’:
drivers/misc/pmem.c:1182:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
drivers/misc/pmem.c: At top level:
drivers/misc/pmem.c:1217:2: warning: initialization from incompatible pointer type [enabled by default]
drivers/misc/pmem.c:1217:2: warning: (near initialization for ‘debug_fops.open’) [enabled by default]
drivers/misc/pmem.c: In function ‘pmem_setup’:
drivers/misc/pmem.c:1275:3: error: implicit declaration of function ‘ioremap_cached’ [-Werror=implicit-function-declaration]
drivers/misc/pmem.c:1275:18: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/misc/pmem.c:1293:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
cc1: some warnings being treated as errors
make[2]: *** [drivers/misc/pmem.o] Error 1
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
CC lib/ctype.o
CC net/core/dst.o
CC net/dns_resolver/dns_key.o
CC lib/dec_and_lock.o
LD fs/built-in.o

----snip----

I get this whether I use the git version or the tarball-download version of the source.  Also happens whether I build for "am335xevm" or "am335xevm_sk" options.  

I've tried changing some of the default config options but to no effect so far.  I'm copying the .config file anyway.  5466.config.txt

I would appreciate any help understanding and resolving the issue here.

David Jarrett