[#5519] pushing Blackfin serial resources to boards broke many boards

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

[#5519] pushing Blackfin serial resources to boards broke many boards

Submitted By: Bryan Wu

Open Date

2009-09-09 12:18:00     Close Date

2010-06-11 04:49:16

Priority:

Medium High     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

4.1

App binary format:

N/A     

Summary: pushing Blackfin serial resources to boards broke many boards

Details:

 

roc@roc-desktop:/opt/Blackfin/svn/uclinux-dist/linux-2.6.x$ make -j 1

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  SYMLINK include/asm -> include/asm-blackfin

  CALL    scripts/checksyscalls.sh

  CHK     include/linux/compile.h

  CC      drivers/serial/bfin_5xx.o

In file included from drivers/serial/bfin_5xx.c:32:

/opt/Blackfin/svn/uclinux-dist/linux-2.6.x/arch/blackfin/mach-bf527/include/mach/bfin_serial_5xx.h:111:1: error: unterminated #ifdef

In file included from include/linux/dma-attrs.h:6,

                 from include/linux/dma-mapping.h:6,

                 from drivers/serial/bfin_5xx.c:35:

include/linux/bug.h:7: error: expected expression before ‘enum’

make[2]: *** [drivers/serial/bfin_5xx.o] Error 1

make[1]: *** [drivers/serial] Error 2

make: *** [drivers] Error 2

 

Follow-ups

 

--- Mike Frysinger                                           2009-09-09 12:22:37

bf533-{ezkit,stamp} are also broken, but in a different way

 

--- Bryan Wu                                                 2009-09-09 12:25:34

I just fixed this issue and will be happy to fix others.

 

--- Bryan Wu                                                 2009-09-09 12:29:05

roc@roc-desktop:/opt/Blackfin/svn/uclinux-dist/linux-2.6.x$ make -j 1

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  SYMLINK include/asm -> include/asm-blackfin

  CALL    scripts/checksyscalls.sh

  CHK     include/linux/compile.h

  CC      arch/blackfin/mach-bf533/boards/ezkit.o

arch/blackfin/mach-bf533/boards/ezkit.c:341: error: ‘IRQ_UART_RX’

undeclared here (not in a function)

arch/blackfin/mach-bf533/boards/ezkit.c:346: error: ‘IRQ_UART_ERROR’

undeclared here (not in a function)

arch/blackfin/mach-bf533/boards/ezkit.c:351: error: ‘CH_UART_TX’ undeclared

here (not in a function)

arch/blackfin/mach-bf533/boards/ezkit.c:356: error: ‘CH_UART_RX’ undeclared

here (not in a function)

make[1]: *** [arch/blackfin/mach-bf533/boards/ezkit.o] Error 1

make: *** [arch/blackfin/mach-bf533/boards] Error 2

 

--- Bryan Wu                                                 2009-09-09 12:47:12

I fixed them, that's typo.

 

--- Mike Frysinger                                           2009-09-09 13:07:21

bf518f-* is broken too

 

In file included from drivers/serial/bfin_5xx.c:32:

/usr/local/src/blackfin/git/linux-kernel/arch/blackfin/mach-bf518/include/mach/bfin_serial_5xx.h:111:1:

error: unterminated #ifdef

make[2]: *** [drivers/serial/bfin_5xx.o] Error 1

 

--- Mike Frysinger                                           2009-09-09 13:27:43

and bf538-ezkit

 

arch/blackfin/mach-bf538/boards/ezkit.c:119: error: ‘bfin_uart_resources’

undeclared here (not in a function)

make[1]: *** [arch/blackfin/mach-bf538/boards/ezkit.o] Error 1

 

--- Bryan Wu                                                 2009-09-09 21:44:04

all fixed

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes