FAQ: [#6207] Build error in CTS/RTS testing on board BF548-EZKIT(2010)

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

[#6207] Build error in CTS/RTS testing on board BF548-EZKIT

Submitted By: angelia wu

Open Date

2010-08-26 05:24:36     Close Date

2010-08-30 06:08:08


Medium     Assignee:



Closed     Fixed In Release:


Found In Release:

2010R1     Release:

Blackfin Linux:2010R1


N/A     Board:



BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:


Uboot version or rev.:

    Toolchain version or rev.:


App binary format:


Summary: Build error in CTS/RTS testing on board BF548-EZKIT



CTS/RTS testing on board BF548-EZKIT, Build error.

And testing on board BF537-STAMP is well.


the error log as follow.


test@uclinux41:~/work/cruise/checkouts/uclinux-dist/testsuites/rts_cts> ./build_rts_cts_kernel.exp BF548-EZKIT



CC      net/core/netevent.o

  CC [M]  fs/nfsd/nfs3xdr.o

  LD      drivers/scsi/sd_mod.o

  CC      lib/radix-tree.o

  LD [M]  drivers/scsi/sr_mod.o

  LD      drivers/scsi/built-in.o

  CC      net/core/neighbour.o

  CC      drivers/serial/serial_core.o

  CC      lib/ratelimit.o

  CC      lib/rbtree.o

  LD [M]  fs/nfsd/nfsd.o

  CC      lib/reciprocal_div.o

  CC      fs/nls/nls_base.o

  CC      lib/rwsem-spinlock.o

  CC [M]  fs/nls/nls_cp437.o

  CC      drivers/serial/bfin_5xx.o

  CC      lib/sha1.o

  CC [M]  fs/nls/nls_cp936.o

  CC      lib/show_mem.o

drivers/serial/bfin_5xx.c: In function ‘bfin_serial_get_mctrl’:

drivers/serial/bfin_5xx.c:94: error: ‘CTS’ undeclared (first use in this function)

drivers/serial/bfin_5xx.c:94: error: (Each undeclared identifier is reported only once

drivers/serial/bfin_5xx.c:94: error: for each function it appears in.)

drivers/serial/bfin_5xx.c: In function ‘bfin_serial_set_mctrl’:

drivers/serial/bfin_5xx.c:108: error: ‘MRTS’ undeclared (first use in this function)

drivers/serial/bfin_5xx.c:108: error: ‘ARTS’ undeclared (first use in this function)

drivers/serial/bfin_5xx.c: In function ‘bfin_serial_mctrl_cts_int’:

drivers/serial/bfin_5xx.c:125: error: ‘SCTS’ undeclared (first use in this function)

drivers/serial/bfin_5xx.c:126: error: ‘EDSSI’ undeclared (first use in this function)

drivers/serial/bfin_5xx.c: In function ‘bfin_serial_startup’:

drivers/serial/bfin_5xx.c:757: error: ‘ACTS’ undeclared (first use in this function)

drivers/serial/bfin_5xx.c:758: error: ‘EDSSI’ undeclared (first use in this function)

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

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

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

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

  CC      lib/string.o

  CC      net/core/rtnetlink.o

  CC      fs/notify/fsnotify.o

  CC [M]  fs/nls/nls_iso8859-1.o

  CC      lib/vsprintf.o

  CC      fs/notify/notification.o

  CC [M]  fs/nls/nls_utf8.o

  LD      fs/nls/built-in.o

  CC      fs/notify/group.o

  CC      net/core/utils.o

  CC [M]  lib/crc-ccitt.o

  CC      fs/notify/inode_mark.o

  CC      net/ethernet/eth.o

  GEN     lib/crc32table.h

  AR      lib/lib.a

  CC      lib/crc32.o

  CC      net/core/link_watch.o

  LD      fs/notify/dnotify/built-in.o

  CC      fs/notify/inotify/inotify.o

  LD      lib/built-in.o

  LD      fs/ntfs/built-in.o

  LD      net/ethernet/built-in.o

  CC [M]  fs/ntfs/aops.o

  CC [M]  fs/ntfs/attrib.o

  CC      net/core/filter.o

  CC      fs/notify/inotify/inotify_fsnotify.o

  CC      fs/notify/inotify/inotify_user.o

  CC      net/core/net-sysfs.o

  LD      net/ieee802154/built-in.o

  LD      fs/notify/inotify/built-in.o

  CC      net/ipv4/route.o

  LD      fs/notify/built-in.o

  CC      fs/partitions/check.o

  CC [M]  fs/ntfs/collate.o

  LD      net/core/built-in.o

  CC      fs/partitions/msdos.o

  CC [M]  fs/ntfs/compress.o

  LD      net/irda/built-in.o

  CC [M]  net/irda/iriap.o

  LD      fs/partitions/built-in.o

  CC [M]  net/irda/iriap_event.o

  CC [M]  fs/ntfs/debug.o

  CC [M]  fs/ntfs/dir.o

  CC [M]  net/irda/irlmp.o

  CC [M]  net/irda/irlmp_event.o

  CC      net/ipv4/inetpeer.o

  CC      net/ipv4/protocol.o

  CC [M]  fs/ntfs/file.o

  CC [M]  fs/ntfs/index.o

  CC [M]  net/irda/irlmp_frame.o

  CC      net/ipv4/ip_input.o

  CC [M]  net/irda/irlap.o

  CC      net/ipv4/ip_fragment.o

  CC      fs/proc/nommu.o

  CC [M]  net/irda/irlap_event.o

  CC      fs/proc/task_nommu.o

  CC      net/ipv4/ip_forward.o

  CC [M]  fs/ntfs/inode.o

  CC      fs/proc/inode.o

  CC      net/ipv4/ip_options.o

  CC [M]  net/irda/irlap_frame.o

  CC      fs/proc/root.o

  CC      fs/proc/base.o

  CC [M]  net/irda/timer.o

  CC      net/ipv4/ip_output.o

  CC [M]  net/irda/qos.o

  CC [M]  fs/ntfs/mft.o

  CC [M]  net/irda/irqueue.o

  CC      fs/proc/generic.o

  CC      net/ipv4/ip_sockglue.o

  CC [M]  net/irda/irttp.o

  CC      fs/proc/array.o

  CC [M]  fs/ntfs/mst.o

  CC      net/ipv4/inet_hashtables.o

  CC [M]  net/irda/irda_device.o

  CC      fs/proc/proc_tty.o

  CC [M]  fs/ntfs/namei.o

  CC [M]  net/irda/irias_object.o

  CC      fs/proc/cmdline.o

  CC      fs/proc/cpuinfo.o

  CC      net/ipv4/inet_timewait_sock.o

  CC [M]  fs/ntfs/runlist.o

  CC      fs/proc/devices.o

  CC [M]  net/irda/wrapper.o

  CC      fs/proc/interrupts.o

  CC      net/ipv4/inet_connection_sock.o

  CC      fs/proc/loadavg.o

  CC [M]  net/irda/af_irda.o

  CC      fs/proc/meminfo.o

  CC      net/ipv4/tcp.o

  CC [M]  fs/ntfs/super.o

  CC      fs/proc/stat.o

  CC      fs/proc/uptime.o

  CC [M]  net/irda/discovery.o

  CC      fs/proc/version.o

  CC      fs/proc/softirqs.o

  CC [M]  net/irda/parameters.o

  CC      fs/proc/proc_sysctl.o

  CC [M]  net/irda/irnetlink.o

  CC [M]  fs/ntfs/sysctl.o

  CC [M]  fs/ntfs/unistr.o

  CC      net/ipv4/tcp_input.o

  CC      fs/proc/proc_net.o

  CC [M]  net/irda/irmod.o

  CC [M]  fs/ntfs/upcase.o

  CC      fs/proc/kmsg.o

  CC [M]  net/irda/irproc.o

  CC [M]  fs/ntfs/bitmap.o

  LD      fs/proc/proc.o

  LD      fs/proc/built-in.o

  CC [M]  fs/ntfs/lcnalloc.o

  CC [M]  net/irda/irsysctl.o

  LD      net/irda/ircomm/built-in.o

  CC [M]  net/irda/ircomm/ircomm_tty.o

  CC      net/ipv4/tcp_output.o

  CC [M]  fs/ntfs/logfile.o

  CC [M]  net/irda/ircomm/ircomm_tty_attach.o

  CC [M]  fs/ntfs/quota.o

  CC [M]  net/irda/ircomm/ircomm_tty_ioctl.o

  CC [M]  fs/ntfs/usnjrnl.o

  CC [M]  net/irda/ircomm/ircomm_param.o

  CC      net/netlink/af_netlink.o

  LD [M]  fs/ntfs/ntfs.o

  CC      net/ipv4/tcp_timer.o

  LD      fs/quota/built-in.o

  CC [M]  net/irda/ircomm/ircomm_core.o

  CC      fs/ramfs/inode.o

  CC      fs/ramfs/file-nommu.o

  CC [M]  net/irda/ircomm/ircomm_event.o

  CC      net/ipv4/tcp_ipv4.o

  LD      fs/ramfs/ramfs.o

  LD      fs/ramfs/built-in.o

  CC [M]  net/irda/ircomm/ircomm_lmp.o

  LD      fs/smbfs/built-in.o

  CC [M]  fs/smbfs/proc.o

  CC      net/netlink/genetlink.o

  CC [M]  net/irda/ircomm/ircomm_ttp.o

  LD [M]  net/irda/ircomm/ircomm.o

  CC      net/ipv4/tcp_minisocks.o

  LD [M]  net/irda/ircomm/ircomm-tty.o

  LD      net/netlink/built-in.o

  LD      net/irda/irlan/built-in.o

  CC      net/packet/af_packet.o

  CC [M]  net/irda/irlan/irlan_common.o

  CC [M]  fs/smbfs/dir.o

  CC      net/ipv4/tcp_cong.o

  CC [M]  net/irda/irlan/irlan_eth.o

  CC [M]  fs/smbfs/cache.o

  CC [M]  net/irda/irlan/irlan_event.o

  CC      net/ipv4/datagram.o

  LD      net/packet/built-in.o

  CC [M]  net/irda/irlan/irlan_client.o

  CC [M]  fs/smbfs/sock.o

  CC [M]  fs/smbfs/inode.o

  CC      net/ipv4/raw.o

  CC [M]  net/irda/irlan/irlan_provider.o

  CC [M]  net/irda/irlan/irlan_filter.o

  CC [M]  fs/smbfs/file.o

  CC [M]  fs/smbfs/ioctl.o

  CC [M]  net/irda/irlan/irlan_provider_event.o

  CC      net/ipv4/udp.o

  CC [M]  net/irda/irlan/irlan_client_event.o

  CC [M]  fs/smbfs/getopt.o

  CC [M]  fs/smbfs/symlink.o

  CC [M]  fs/smbfs/smbiod.o

  LD [M]  net/irda/irlan/irlan.o

  LD [M]  net/irda/irda.o

  CC      fs/sysfs/inode.o

  CC      fs/sysfs/file.o

  CC [M]  fs/smbfs/request.o

  CC      net/ipv4/udplite.o

  CC      fs/sysfs/dir.o

  CC      fs/sysfs/symlink.o

  LD [M]  fs/smbfs/smbfs.o

  CC      net/ipv4/arp.o

  CC      fs/sysfs/mount.o

  CC      net/sched/sch_generic.o

  LD      net/sunrpc/built-in.o

  CC [M]  net/sunrpc/clnt.o

  CC      fs/sysfs/bin.o

  CC      fs/sysfs/group.o

  CC      net/sched/sch_mq.o

  CC      net/ipv4/icmp.o

  LD      fs/sysfs/built-in.o

  CC      fs/eventpoll.o

  CC [M]  net/sunrpc/xprt.o

  LD      net/sched/built-in.o

  CC [M]  net/sunrpc/socklib.o

  CC      net/ipv4/devinet.o

  CC      fs/anon_inodes.o

  CC      fs/locks.o

  CC      net/ipv4/af_inet.o

  CC [M]  net/sunrpc/xprtsock.o

  CC      net/unix/af_unix.o

  CC      fs/nfsctl.o

  CC      net/ipv4/igmp.o

  CC      fs/binfmt_script.o

  CC [M]  net/sunrpc/sched.o

  CC      fs/binfmt_elf_fdpic.o

  CC      net/unix/garbage.o

  CC      net/ipv4/fib_frontend.o

  CC      fs/binfmt_flat.o

  CC [M]  net/sunrpc/auth.o

  CC      net/unix/sysctl_net_unix.o

  CC      fs/mbcache.o

  CC      net/ipv4/fib_semantics.o

  LD      net/unix/unix.o

  CC [M]  net/sunrpc/auth_null.o

  LD      net/unix/built-in.o

  CC [M]  net/sunrpc/auth_unix.o

  LD      fs/built-in.o

  CC      net/ipv4/inet_fragment.o

  CC [M]  net/sunrpc/auth_generic.o

  CC [M]  net/sunrpc/svc.o

  CC      net/ipv4/sysctl_net_ipv4.o

  CC [M]  net/sunrpc/svcsock.o

  CC      net/ipv4/fib_hash.o

  LD      net/wireless/built-in.o

  CC [M]  net/wireless/lib80211.o

  CC      net/ipv4/proc.o

  CC      net/ipv4/ipconfig.o

  CC [M]  net/sunrpc/svcauth.o

  CC      net/ipv4/tcp_cubic.o

  CC      net/sysctl_net.o

  CC [M]  net/sunrpc/svcauth_unix.o

  CC [M]  net/sunrpc/addr.o

  CC [M]  net/sunrpc/rpcb_clnt.o

  LD      net/ipv4/built-in.o

  CC [M]  net/sunrpc/timer.o

  CC [M]  net/sunrpc/xdr.o

  CC [M]  net/sunrpc/sunrpc_syms.o

  CC [M]  net/sunrpc/cache.o

  CC [M]  net/sunrpc/rpc_pipe.o

  CC [M]  net/sunrpc/svc_xprt.o

  CC [M]  net/sunrpc/stats.o

  CC [M]  net/sunrpc/sysctl.o

  LD [M]  net/sunrpc/sunrpc.o

  LD      net/built-in.o

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

make: *** [linux] Error 1

ERROR: Error somewhere during make







--- Mike Frysinger                                           2010-08-26 11:17:22

should be fixed now by restoring the lost UART bit masks


--- angelia wu                                               2010-08-30 06:08:08

I test it again and now it is ok.

So i closed the bug 6207.

Thank you Mike Frysinger.












File Name     File Type     File Size     Posted By

kernel.rts.cts.548.config    application/x-config    47511    angelia wu

user.rts.cts.548.config    application/x-config    49072    angelia wu