08 May, 2017

3 commits

  • Add support for the CDX Code Density Extensions present in
    Nios II R2 . This introduces new 16bit instruction set to
    improve code density while retaining support for the 32bit
    Nios II R2 instructions.

    Signed-off-by: Marek Vasut
    Cc: Ley Foon Tan

    Marek Vasut
     
  • Add support for the BMX Bit Manipulation Extensions present in
    Nios II R2 . This introduces three new instructions, EXTRACT,
    INSERT and MERGE.

    Signed-off-by: Marek Vasut
    Cc: Ley Foon Tan

    Marek Vasut
     
  • Allow user to select between Nios2 R1 and R2. Since R1 and R2 are
    not binary compatible, we cannot have a single kernel binary and
    there is no point in having DT property for discerning these two.

    Signed-off-by: Marek Vasut
    Cc: Ley Foon Tan

    Marek Vasut
     

19 May, 2016

1 commit

  • The dtc dependency is missing, thus dtc is not built before it's invoked,
    resulting in the following problem:

    linux-2.6$ make 10m50_defconfig && make 10m50_devboard.dtb
    [...]
    scripts/kconfig/conf --silentoldconfig Kconfig
    DTC arch/nios2/boot/10m50_devboard.dtb
    /bin/sh: 1: ./scripts/dtc/dtc: not found
    arch/nios2/boot/Makefile:52: recipe for target 'arch/nios2/boot/10m50_devboard.dtb' failed
    make[1]: *** [arch/nios2/boot/10m50_devboard.dtb] Error 127
    arch/nios2/Makefile:57: recipe for target '10m50_devboard.dtb' failed
    make: *** [10m50_devboard.dtb] Error 2

    Signed-off-by: Marek Vasut
    Cc: Ley Foon Tan
    Cc: Romain Perier
    Acked-by: Ley Foon Tan

    Marek Vasut
     

17 May, 2016

1 commit

  • The extra CFLAGS required for correct operation of the toolchain are not
    propagated into the libgcc detection code. In case of the compiler from
    poky sdk, these extra CFLAGS contain the location of compiler sysroot
    (the --sysroot= option) and without this option, the location of libgcc
    is not properly reported. Add the missing CFLAGS to address this issue.

    Signed-off-by: Marek Vasut
    Cc: Ley Foon Tan
    Cc: Romain Perier
    Acked-by: Romain Perier
    Acked-by: Ley Foon Tan

    Marek Vasut
     

17 Dec, 2014

1 commit

  • Running "make defconfig" currently fails for nios2:
    $ make ARCH=nios2 defconfig
    scripts/kconfig/conf --defconfig Kconfig
    ***
    *** Can't find default configuration "arch/nios2/defconfig"!
    ***
    make[1]: *** [defconfig] Error 1
    make: *** [defconfig] Error 2

    Add a definition for KBUILD_DEFCONFIG to the nios2's main Makefile to enable
    this make target.

    Signed-off-by: Paul Bolle
    Acked-by: Ley Foon Tan

    Paul Bolle
     

08 Dec, 2014

1 commit