FAQ: [#6061] Fail to build kernel with nand on bf527-ezkit(2010)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6061] Fail to build kernel with nand on bf527-ezkit

Submitted By: Vivi Li

Open Date

2010-06-08 23:09:47     Close Date

2010-06-23 05:39:49

Priority:

Medium     Assignee:

Barry Song

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

Make Errors     Board:

N/A

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2010_Apr_07

App binary format:

N/A     

Summary: Fail to build kernel with nand on bf527-ezkit

Details:

 

Fail to build kernel with nand on bf527-ezkit in latest trunk.

 

Last passed time:

--

kernel:    Linux release 2.6.34-ADI-2010R1-pre-svn8869, build #149 Wed Jun 2 16:27:27 CST 2010

toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3951)

user-dist: release svn-9657, build #1908 Wed Jun 2 16:26:50 CST 2010

--

 

First failed version:

--

kernel:    Linux release 2.6.34-ADI-2010R1-pre-svn8884, build #153 Thu Jun 3 22:44:31 CST 2010

toolchain: bfin-uclinux-gcc release gcc version 4.3.4 (ADI-trunk/svn-3951)

user-dist: release svn-9660, build #1994 Thu Jun 3 22:43:54 CST 2010

--

 

Bellow is the log:

--

  CHK     include/linux/version.h^M

  CHK     include/generated/utsrelease.h^M

  CALL    scripts/checksyscalls.sh^M

  CHK     include/generated/compile.h^M

  GEN     usr/initramfs_data.cpio^M

  AS      usr/initramfs_data.o^M

  LD      usr/built-in.o^M

  CC      arch/blackfin/mach-common/ints-priority.o^M

  CC      arch/blackfin/mach-bf527/boards/ezkit.o^M

  GZIP    kernel/config_data.gz^M

  IKCFG   kernel/config_data.h^M

  CC      kernel/configs.o^M

arch/blackfin/mach-bf527/boards/ezkit.c:237: error: unknown field ‘page_size’ specified in initializer^M

arch/blackfin/mach-bf527/boards/ezkit.c:237: error: ‘NFC_PG_SIZE_256’ undeclared here (not in a function)^M

make[2]: *** [arch/blackfin/mach-bf527/boards/ezkit.o] Error 1^M

make[1]: *** [arch/blackfin/mach-bf527/boards] Error 2^M

make[1]: *** Waiting for unfinished jobs....^M

--

 

Follow-ups

 

--- Barry Song                                               2010-06-10 02:14:56

lost updates for some board files for:

 

task [#6046]: delete wrong page_size field from bfin nand platform_data

 

page size is detected by matching id automatically, and ecc size/byte are

decided by page size.

The origin codes misunderstood the meaning of page size.

 

--- Vivi Li                                                  2010-06-23 05:37:03

OK now.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.config.nand    application/octet-stream    48680    Vivi Li

config.linux.nand    application/octet-stream    44258    Vivi Li

Outcomes