Article [#4229] trunk head kernel built with trunk head toolchain fails at bfin_mac.c

[#4229] trunk head kernel built with trunk head toolchain fails at bfin_mac.c

Submitted By: Mingquan Pan

Open Date

2008-07-08 22:03:26     Close Date

2008-07-08 23:12:15

Priority:

Medium     Assignee:

Bryan Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

trunk head toolchain

App binary format:

N/A     

Summary: trunk head kernel built with trunk head toolchain fails at bfin_mac.c

Details:

trunk head kernel built with trunk head  toolchain fails at bfin_mac.c.

chmod +x tools/romfs-inst.sh tools/modules-alias.sh

. linux-2.6.x/.config; if [ "$CONFIG_INITRAMFS_SOURCE" != "" ]; then \

        mkdir -p `dirname $CONFIG_INITRAMFS_SOURCE`; \

        touch $CONFIG_INITRAMFS_SOURCE || exit 1; \

fi

rm -f linux-2.6.x/usr/initramfs_data.cpio.gz

make ARCH=blackfin   CROSS_COMPILE=bfin-uclinux- -j4 -C linux-2.6.x  || exit 1

make[1]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  CALL    scripts/checksyscalls.sh

  CHK     include/linux/compile.h

  GEN     usr/initramfs_data.cpio.gz

  AS      usr/initramfs_data.o

  LD      usr/built-in.o

  CC      drivers/net/bfin_mac.o

drivers/net/bfin_mac.c: In function 鈥榖fin_mac_hard_start_xmit鈥�

drivers/net/bfin_mac.c:616: error: 鈥楾XDWA鈥�undeclared (first use in this function)

drivers/net/bfin_mac.c:616: error: (Each undeclared identifier is reported only once

drivers/net/bfin_mac.c:616: error: for each function it appears in.)

make[3]: *** [drivers/net/bfin_mac.o] Error 1

make[2]: *** [drivers/net] Error 2

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

make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'

Follow-ups

--- Bryan Wu                                                 2008-07-08 23:12:56

Assign to me, I'll fix it

-Bryan

--- Bryan Wu                                                 2008-07-08 23:22:51

fixed by adding missing TXDWA definition to BF52x.

-Bryan

--- Mingquan Pan                                             2008-07-09 00:12:15

Yes,close.

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.