FAQ:[#7134] DSA driver breaks in bf518 in trunk(2012)

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

[#7134] DSA driver breaks in bf518 in trunk

Submitted By: Vivi Li

Open Date

2012-06-01 02:31:26     Close Date

2012-06-18 21:52:28

Priority:

Medium     Assignee:

Bob Liu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Make Errors     Board:

EZBRD

Processor:

BF518     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2012_Feb_15

App binary format:

N/A     

Summary: DSA driver breaks in bf518 in trunk

Details:

 

Dsa driver breaks in bf518 in trunk.

 

Last passed time: 2012_Mar_24_22_42

--

kernel:    Linux release 3.2.0-ADI-2012R1-pre-00352-g4b5c54d, build #42 Thu Mar 29 10:13:35 CST 2012

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5764)

user-dist: release svn-10654, build #489 Thu Mar 29 10:11:31 CST 2012

--

 

Bellow is the error log:

--

  CC      net/dsa/tag_stpid.o

net/dsa/tag_stpid.c: In function ‘stpid_xmit’:

net/dsa/tag_stpid.c:46: error: dereferencing pointer to incomplete type

net/dsa/tag_stpid.c: In function ‘stpid_rcv’:

net/dsa/tag_stpid.c:60: error: dereferencing pointer to incomplete type

net/dsa/tag_stpid.c:78: error: dereferencing pointer to incomplete type

net/dsa/tag_stpid.c:114: error: dereferencing pointer to incomplete type

make[3]: *** [net/dsa/tag_stpid.o] Error 1

--

 

Follow-ups

 

--- Bob Liu                                                  2012-06-12 02:12:10

fixed, some patches were broken when updating to 3.3

 

--- Vivi Li                                                  2012-06-18 03:20:37

Still fails with following message:

--

  CC      init/do_mounts.o

In file included from include/linux/icmpv6.h:173,

                 from include/linux/ipv6.h:220,

                 from include/net/ipv6.h:16,

                 from include/linux/sunrpc/clnt.h:26,

                 from include/linux/nfs_fs.h:50,

                 from init/do_mounts.c:20:

include/linux/netdevice.h: In function ‘netdev_uses_stpid_tags’:

include/linux/netdevice.h:1427: error: implicit declaration of function

‘dsa_uses_stpid_tags’

make[2]: *** [init/do_mounts.o] Error 1

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

make[1]: Leaving directory

`/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'

--

 

--- Bob Liu                                                  2012-06-18 04:21:35

fixed, add back netdev_uses_stpid_tags

 

--- Vivi Li                                                  2012-06-18 22:53:39

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.linux.dsa    application/octet-stream    37114    Vivi Li

Attachments

Outcomes