11 Mar, 2016

1 commit


28 Oct, 2015

1 commit

  • Enable building all dtb files when CONFIG_OF_ALL_DTBS is enabled. The dtbs
    are not really dependent on a platform being enabled or any other kernel
    config, so for testing coverage it is convenient to build all of the dtbs.
    This builds all dts files in the tree, not just targets listed.

    Signed-off-by: Rob Herring
    Cc: Chris Zankel
    Cc: Max Filippov
    Cc: linux-xtensa@linux-xtensa.org

    Rob Herring
     

21 Oct, 2014

1 commit

  • The Stretch s6000 family support has been merged into mainline 5 years
    ago. There appear to be no users of this code since nobody complained
    that there is a merge error preventing compilation.

    Apart from the s6105 IP camera reference design there are no s6000 devices
    known to ever have run Linux and as the chips are out of production there
    probably never will be. The successor s7000 no longer uses an Xtensa core
    for the OS.

    Let's remove the code until someone is found who actually needs it.

    Signed-off-by: Daniel Glöckner
    Signed-off-by: Max Filippov

    Daniel Glöckner
     

14 Aug, 2014

1 commit

  • Instead of adding new Kconfig options and Makefile rules for each new
    core variant provide XTENSA_VARIANT_CUSTOM variant and record variant
    name in the XTENSA_VARIANT_NAME variable. Adding new core variant now
    means providing directory structure under arch/xtensa/variant and
    specifying correct name in kernel configuration.

    Signed-off-by: Max Filippov

    Max Filippov
     

07 Sep, 2013

1 commit

  • -e is not needed to output strings without escape sequences. This breaks
    big endian FSF build when the shell is dash, because its builtin echo
    doesn't understand '-e' switch and outputs it in the echoed string.

    Reported-by: Guenter Roeck
    Signed-off-by: Max Filippov
    Signed-off-by: Chris Zankel

    Max Filippov
     

24 Feb, 2013

3 commits

  • Support call graph profiling.
    Keep upper two bits of PC unchanged through backtrace rather than take
    them from sp (a1). The stack pointer is usually in the same GB (same
    upper 2 bits) as PC, but technically doesn't always have to be (and
    might not in the future, when taking full advantage of MMU v3).

    Signed-off-by: Dan Nicolaescu
    Signed-off-by: Pete Delaney
    Signed-off-by: Max Filippov
    Signed-off-by: Chris Zankel

    dann
     
  • The Diamond 233L processor is a pre-configured Xtensa processor tailored
    for Linux application.

    Signed-off-by: Pete Delaney
    Signed-off-by: Max Filippov
    Signed-off-by: Chris Zankel

    Pete Delaney
     
  • The current rules have the .dtb files build in a different directory
    from the .dts files. This patch changes xtensa to use the generic dtb
    rule which builds .dtb files in the same directory as the source .dts.

    This requires moving parts of arch/xtensa/boot/Makefile into newly
    created arch/xtensa/boot/dts/Makefile, and updating arch/xtensa/Makefile
    to call the new Makefile.

    Signed-off-by: Stephen Warren
    Signed-off-by: Chris Zankel

    Stephen Warren
     

19 Dec, 2012

6 commits


05 Oct, 2012

1 commit

  • CROSS_COMPILE must be setup before using e.g. cc-option (and a few other
    as-*, cc-*, ld-* macros), else they will check against the wrong compiler
    when cross-compiling, and may invoke the cross compiler with wrong or
    suboptimal compiler options.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Chris Zankel

    Geert Uytterhoeven
     

04 Oct, 2012

2 commits


21 Jun, 2012

1 commit

  • On Ubuntu, /bin/sh is a symlink to dash, which does not support "test -a".
    This causes messages like

    test: 1: -a: unexpected operator
    test: 1: -a: unexpected operator

    and link failures like

    (.init.text+0x132): undefined reference to `platform_init'

    due to the appropriate platform code not being compiled.

    Signed-off-by: Geert Uytterhoeven
    Cc: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     

02 May, 2010

1 commit

  • GCC is configured to always compile with PIC enabled for the Xtensa
    architecture. This fails when nfsroot is enabled as the code uses a
    non-conformant segment that mismatches in permissione with a read-only
    segment.
    A patch has been submitted to GCC to add the machine-option 'force-no-pic'
    that disables PIC.

    Signed-off-by: Chris Zankel

    Chris Zankel
     

03 Apr, 2009

4 commits


07 Nov, 2008

1 commit

  • Move all header files for xtensa to arch/xtensa/include and platform and
    variant header files to the appropriate arch/xtensa/platforms/ and
    arch/xtensa/variants/ directories.

    Moving the files gets also rid of all uses of symlinks in the Makefile.

    This has been completed already for the majority of the architectures
    and xtensa is one out of six missing.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: Chris Zankel

    Chris Zankel
     

22 Oct, 2008

1 commit


14 Feb, 2008

1 commit


15 Oct, 2007

1 commit

  • The variable CFLAGS is a wellknown variable and the usage by
    kbuild may result in unexpected behaviour.
    On top of that several people over time has asked for a way to
    pass in additional flags to gcc.

    This patch replace use of CFLAGS with KBUILD_CFLAGS all over the
    tree and enabling one to use:
    make CFLAGS=...
    to specify additional gcc commandline options.

    One usecase is when trying to find gcc bugs but other
    use cases has been requested too.

    Patch was tested on following architectures:
    alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k

    Test was simple to do a defconfig build, apply the patch and check
    that nothing got rebuild.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

28 Aug, 2007

1 commit


11 Dec, 2006

1 commit

  • The Xtensa port contained many header files that were never needed. This
    rather lengthy patch removes all those files. Unfortunately, there were
    many dependencies that needed to be updated, so this patch touches quite a
    few source files.

    Signed-off-by: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Zankel
     

09 Jun, 2006

1 commit

  • Now that kconfig can load multiple configurations, it becomes simple to
    integrate the split config step, by simply comparing the new .config file with
    the old auto.conf (and then saving the new auto.conf). A nice side effect is
    that this saves a bit of disk space and cache, as no data needs to be read
    from or saved into the splitted config files anymore (e.g. include/config is
    now 648KB instead of 5.2MB).

    Signed-off-by: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Roman Zippel
     

12 Sep, 2005

1 commit

  • When introducing the generic asm-offsets.h support the dependency
    chain for the prepare targets was changed. All build scripts expecting
    include/asm/asm-offsets.h to be made when using the prepare target would broke.
    With the limited number of prepare targets left in arch Makefiles
    the trivial solution was to introduce a new arch specific target: archprepare

    The dependency chain looks like this now:

    prepare
    |
    +--> prepare0
    |
    +--> archprepare
    |
    +--> scripts_basic
    +--> prepare1
    |
    +---> prepare2
    |
    +--> prepare3

    So prepare 3 is processed before prepare2 etc.
    This guaantees that the asm symlink, version.h, scripts_basic
    are all updated before archprepare is processed.

    prepare0 which build the asm-offsets.h file will need the
    actions performed by archprepare.

    The head target is now named prepare, because users scripts will most
    likely use that target, but prepare-all has been kept for compatibility.
    Updated Documentation/kbuild/makefiles.txt.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

10 Sep, 2005

1 commit


30 Jun, 2005

1 commit


24 Jun, 2005

1 commit