HiFi-2 Development Board Buildroot Notes

From Linux/Xtensa
Jump to navigation Jump to search
   $ 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
               + (2) 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]
                                                                       [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]
               + [*] make                                              [OK, needed to build LTP]
               + [*] bison                                             [OK, Possibly needed with flex to compile LTP]
               + [*] ltp-testsuite
                 [ ] procps     [kill, ps, uptime, top, etc]           [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!]
               +![*] 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]
               + [*] Networking  --->
                       + [*]   bind                                    [OK, Named fine]
                       + ---   dropbear
                       + [*]   nfs-utils
                               NFS utilities selection  --->
                               + [*] rpcdebug
                               + [*] rpc.lockd
                               + [*] rpc.rquotad
                               + [*] portmap
               [*] 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
   $ make uclibc-menuconfig
       uClibc development/debugging options  --->
               Target Architecture (xtensa)  --->
               Target Architecture Features and Options  --->
                        [*] Target CPU has a memory management unit (MMU)
                        [*]   Do you want to utilize the MMU?
                        [*] Enable floating point number support                       [Seems to be required]
                        [ ]   Enable full C99 math library support
               General Library Settings  --->
                       [*] Generate only Position Independent Code (PIC)
                       [*]   Native 'ldd' support
                       [*]   Enable library loader cache (ld.so.conf)
                       [*] Support global constructors and destructors
                       [*] POSIX Threading Support
                       [*]   Build pthreads debugging support
                       [*]   Use the older (stable) version of linuxthreads
                       [*] Large File Support
                       [*] Malloc returns live pointer for malloc(0)
                       [*] Dynamic atexit() Support
                       [*] Enable SuSv3 LEGACY macros
                       [*] Shadow Password Support
                       [*] Support for __progname
                       [*] Assume that /dev/pts is a devpts or devfs file system
                       [*] Support 'struct tm' timezone extension fields
                       [*] Enable caching of the last valid timezone 'TZ' string
                       [*] Enable '/etc/TZ' file support to set a default timezone (uClibc-specific)
                       [*]   Repeatedly read the '/etc/TZ' file
                       (/etc/TZ) Path to the 'TZ' file for setting the global timezone
               Advanced Library Settings  --->
                        (256) Buffer size for getpwnam() and friends
               Networking Support  --->
                       [*] Remote Procedure Call (RPC) support
                       [*]   Full RPC support
                       [*]   Reentrant RPC support
               String and Stdio Support  --->
                        [*] Wide Character Support
                         -[ ] Locale Support
               Big and Tall  --->
               Library Installation Options  --->
               Security options  --->
               uClibc development/debugging options
                       + [*] Build uClibc with debugging symbols
                         [*] Build the shared library loader with debugging support