HiFi-2 snapshot 2 SMP Snapshot menuconfig

From Linux/Xtensa
Jump to navigation Jump to search

Introduction

Below are notes on the buildroot menuconfig used to build this 2nd snapshot with SMP additions. The lines marked with a '+' are changes. We will try to keep this page in sync with the snapshot_2+SMP git repositories/branches.

   make menuconfig
       Target options  --->
               --- Project Options
                       + (HiFi-2) Project name                         [Puts cpio files in /buildroot-xtensa-smp/binaries/HiFi-2]
                       + (hifi2) hostname
                       + (Welcome to your custom Xtensa HiFi-2 Codec Developemnt System) banner
                       [ ] Generic development system                  [Brooken - Enables a lot of brooken packages]
       Build options  --->
                 [*] Show packages that are of the latest major version
               strip (none)  --->
                 [ ] prefer static libraries
                 (1) Number of jobs to run simultaneously
               + [*] manpages on the target                            [Only a few man pages to /man/man1]
               + [*] infopages on the target
                 [*] update config.sub and config.guess
       Toolchain --->
               [*] Thread library debugging
               --- Binutils Options
                  + Binutils Version (binutils 2.20)  --->             [Ok, Works Fine]
                       + (X) binutils 2.20
                 [*] Enable toolchain with --sysroot support
                 [*] Build/install c++ compiler and libstdc++?
                 [*] Build/install a shared libgcc?
                 [*] Build gdb debugger for the Target
                 [*] Build gdb server for the Target
                 [*] Build gdb for the Host
                       GDB debugger Version (gdb 6.6)  --->
                 [*] Enable large file (files > 2 GB) support?
               + [*] Enable RPC
               + [*] Enable WCHAR support                              [OK, needed for lots of things]
                 [*] Include target utils in cross toolchain
        Package Selection for the target  --->
               + [ ] Hide applications that are provided by busybox
               + [*] bash
               + [*] flex                                              [REGRESSION, Needed for building Buildroot]
                 [*]   Install libfl.a under staging_dir/usr/lib       [LPT/pan/scan.c lex: fatal internal error, exec failed]
                                                                       [SIGPIPE in fprintf at write()]
                                                                       [WORKAROUND: Added cp scan.o.save scan.o to Makefile]
               
                
               + [*]() native toolchain in the target filesystem        [OK, builds and installs gcc, g++, and /usr/include on target]
                 ()    Additional target gcc options                   [NOTE: These are gcc configure options, not gcc options]
               + [*] make                                              [OK, needed to build LTP]
                 [*] tar                                               [BusyBox implementation only works for some tar balls]
               + [*] autoconf
               + [*] automake
               + [*] bison                                             [OK, Possibly needed with flex to compile LTP]
               + [*] ltp-testsuite
                 [*] procps     [kill, ps, uptime, top, vmstat etc]    [Ok, had a problem with Brooken, proc/escape.c not finding wchar.h...]
                                                                       [...located down one dir in staging_dir/usr/include/bits/]
               
               + [*] psmisc     [pstree, fuser, killall]
               + [*] strace                                            [Brooken, supported architecture... NO!, when autoconf 2.61 was used]
                                                                       [strace-4.5.15 builds fine with autoconf 2.63]
                 
                 [ ] util-linux [mkfs, mkswap, swapon, fdisk, mount..] [Brooken but..., llseek.c:93: error: expected '{'...]
                                                                       [... Easily Patched: fdisk/llseek.c; fdisk/fdiskbsdlabel.h]
                                                                       [Add __xtensa__ arch to #ifdefs]
                [*] which
              + [*] Networking  --->
                       + [*]   bind                                    [Builds ok but doesn't start correctly, has a dependency on UcLibc LEGACY MACROS option which Qt doesn't like]
                         [ ]   dropbear                                [Seemed to cause problems with ssh using a bash shell, faster that sshd]
                       + [*]   nfs-utils
                               NFS utilities selection  --->
                               + [*] rpcdebug
                               + [*] rpc.lockd
                               + [*] rpc.rquotad
                               + [*] portmap
                        +  [*]   openssh                               [Ok, Might work better than dropbear when using bash as login shell; Key initialization VERY slow, like 30 mins!]
                           ---   openssl
                
               [*] Graphic libraries and applications (graphic/text)  --->
                       [ ]   X.org X Window System, X11R7, release 7.2  --->
                       [*]   rxvt
                       [*]   mplayer
                       [ ]   mplayer_hifi2_mp3_plugin
                       [ ]   mplayer_hifi2_aacplus_v2_plugin