Skip to content
Snippets Groups Projects
  1. Mar 11, 2016
  2. Mar 10, 2016
  3. Mar 09, 2016
    • Daniel Schwierzeck's avatar
      MIPS: pic32mzdask: use CONFIG_USE_PRIVATE_LIBGCC=y · 40a09be2
      Daniel Schwierzeck authored
      
      MIPS EL boards should define CONFIG_USE_PRIVATE_LIBGCC=y to work
      with EB-only toolchains like the one from kernel.org. If one do
      not globally set CONFIG_USE_PRIVATE_LIBGCC=y, the build fails with:
      
      /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_lshrdi3.o): compiled for a big endian system and target is little endian
      /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_lshrdi3.o): endianness incompatible with that of the selected emulation
      /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: failed to merge target specific data of file /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_lshrdi3.o)
      /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_ashldi3.o): compiled for a big endian system and target is little endian
      /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_ashldi3.o): endianness incompatible with that of the selected emulation
      /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: failed to merge target specific data of file /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_ashldi3.o)
      /work/git-trees/u-boot-mips/Makefile:1171: recipe for target 'u-boot' failed
      
      One example for a failing build is Travis CI.
      
      Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Reviewed-by: default avatarPurna Chandra Mandal <purna.mandal@microchip.com>
      40a09be2
    • Matthias Schiffer's avatar
      MIPS: fix mips_cache fallback without __builtin_mips_cache · 499b8475
      Matthias Schiffer authored
      
      The "R" constraint supplies the address of an variable in a register. Use
      "r" instead and adjust asm to supply the content of addr in a register
      instead.
      
      Fixes: 2b8bcc5a ("MIPS: avoid .set ISA for cache operations")
      Signed-off-by: default avatarMatthias Schiffer <mschiffer@universe-factory.net>
      Cc: Paul Burton <paul.burton@imgtec.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      499b8475
  4. Mar 08, 2016
  5. Mar 05, 2016
  6. Mar 02, 2016
  7. Mar 01, 2016
    • Sam Protsenko's avatar
      usb: gadget: composite: Correct recovery path for register · 8038f6d2
      Sam Protsenko authored
      
      In case when usb_composite_register() failed once (for whatever reason),
      it will fail further even if all conditions are correct. Example:
      
          => fastboot 2
          Invalid Controller Index
          couldn't find an available UDC
          g_dnl_register: failed!, error: -19
          exit not allowed from main input shell.
      
          => fastboot 0
          g_dnl_register: failed!, error: -22
          exit not allowed from main input shell.
      
      Despite that 0 is correct index for USB controller, "fastboot 0" command
      will fail, because "composite" structure wasn't cleared properly on
      previous fail (on "fastboot 2" command).
      
      This patch fixes that erroneous behavior, allowing us to use composite
      even after previous failure.
      
      Signed-off-by: default avatarSam Protsenko <semen.protsenko@linaro.org>
      8038f6d2
  8. Feb 29, 2016
  9. Feb 28, 2016
Loading