Skip to content
Snippets Groups Projects
  1. Aug 27, 2018
  2. Jul 09, 2018
    • Alexey Brodkin's avatar
      ARC: configs: Remove CONFIG_INITRAMFS_SOURCE from defconfigs · 64234961
      Alexey Brodkin authored
      
      We used to have pre-set CONFIG_INITRAMFS_SOURCE with local path
      to intramfs in ARC defconfigs. This was quite convenient for
      in-house development but not that convenient for newcomers
      who obviusly don't have folders like "arc_initramfs" next to
      the Linux source tree. Which leads to quite surprising failure
      of defconfig building:
      ------------------------------->8-----------------------------
        ../scripts/gen_initramfs_list.sh: Cannot open '../../arc_initramfs_hs/'
      ../usr/Makefile:57: recipe for target 'usr/initramfs_data.cpio.gz' failed
      make[2]: *** [usr/initramfs_data.cpio.gz] Error 1
      ------------------------------->8-----------------------------
      
      So now when more and more people start to deal with our defconfigs
      let's make their life easier with removal of CONFIG_INITRAMFS_SOURCE.
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Kevin Hilman <khilman@baylibre.com>
      Cc: stable@vger.kernel.org
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      64234961
  3. Jan 25, 2018
  4. Aug 04, 2017
  5. Nov 01, 2016
    • Alexey Brodkin's avatar
      ARC: Enable PERF_EVENTS in nSIM driven platforms · 6227e9f0
      Alexey Brodkin authored
      
      Now when we have properly working performance counters in nSIM
      even with interrupt support (fix should be a part of upcoming
      nSIM engineering build 2016.12-005) we may enable perf support
      by default for all platforms that use nSIM for ARC cores simulation.
      
      Note 1: PCT node was missing for some reason in nsimosci.dts
              while all other nSIM-related .dts files already had
              PCT node for quite some time, so adding it now.
      
      Note 2: All defconfigs were regenerated with "make savedefconfig"
              which led to some clean-ups in nsimosci_hs_smp_defconfig:
              CONFIG_FRAMEBUFFER_CONSOLE=y was removed because it is
              automatically selected now by DRM.
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      6227e9f0
  6. Jun 13, 2016
  7. Mar 15, 2016
  8. Mar 11, 2016
    • Vineet Gupta's avatar
      ARC: [*defconfig] No need to specify CONFIG_CROSS_COMPILE · 2d746eeb
      Vineet Gupta authored
      
      The problem is with CONFIG_CPU_BIG_ENDIAN=y we still needed .config
      fixup to override the the defconfig prefix to arceb-linux-
      
      So remove these from defconfig and let user pass this via CROSS_COMPILE
      environment var or use the default for ENDIAN (per previous patch)
      
      No other arch carries them in defconfigs anyways !
      
      Cc: Noam Camus <noamc@ezchip.com>
      Cc: Alexey Brodkin <abrodkin@synopsys.com>
      Cc: Anton Kolesov <akolesov@synosys.com>
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      2d746eeb
  9. Feb 23, 2016
    • Alexey Brodkin's avatar
      arc: get rid of DEVTMPFS dependency on INITRAMFS_SOURCE · 3e5177c1
      Alexey Brodkin authored
      Even though DEVTMPFS is required when our pre-built initramfs
      is used it is not the case in general. It is perfectly possible
      to use initramfs with device nodes already populated or there
      could be other usages, see discussion below for more detials:
      http://thread.gmane.org/gmane.comp.embedded.openwrt.devel/37819/focus=37821
      
      
      
      This change removes mentioned dependency from arch/arc/Kconfig
      updating instead those defconfigs that are usually used with this
      kind of pre-build initramfs.
      
      And while at it all touched defconfigs were regenerated via
      savedefconfig and some options were removed:
       * USB is selected by other options implicitly
       * VGA_CONSOLE is disableb for ARC since
         031e29b5
       * EXT3_FS automatically selects EXT4_FS
       * MTDxxx and JFFS2_FS make no sense for AXS because
         AXS NAND controller is not upstreamed
       * NET_OSCI_LAN is not in upstream as well
       * ARCPGU_xxx options make no sense because ARC PGU is not yet
         in upstream and when it gets there all config options would
         be taken from devicetree
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      3e5177c1
  10. Jun 19, 2015
  11. May 19, 2015
  12. Apr 13, 2015
  13. Oct 13, 2014
  14. Apr 05, 2014
    • Vineet Gupta's avatar
      ARC: [nsimosci] Unbork console · 61fb4bfc
      Vineet Gupta authored
      
      Despite the switch to right UART driver (prev patch), serial console
      still doesn't work due to missing CONFIG_SERIAL_OF_PLATFORM
      
      Also fix the default cmdline in DT to not refer to out-of-tree
      ARC framebuffer driver for console.
      
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      Cc: <stable@vger.kernel.org>   #3.10, 3.12, 3.13, 3.14
      Cc: Francois Bedard <Francois.Bedard@synopsys.com>
      61fb4bfc
  15. Jun 27, 2013
    • Vineet Gupta's avatar
      ARC: Adjustments for gcc 4.8 · 5a45da02
      Vineet Gupta authored
      
      * DWARF unwinder related
        + Force DWARF2 compliant .debug_frame (gcc 4.8 defaults to DWARF4
          which kernel unwinder can't grok).
        + Discard the additional .eh_frame generated
        + Discard the dwarf4 debug info generated by -gdwarf-2 for normal
          no debug case
      
      * 4.8 already uses arc600 multilibs for -mno-mpy
      
      * switch to using uclibc compiler (to get -mmedium-calls and -mno-sdata)
        and also since buildroot can only use 1 toolchain
      
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      5a45da02
  16. May 07, 2013
  17. Feb 15, 2013
    • Vineet Gupta's avatar
    • Vineet Gupta's avatar
      ARC: [plat-arcfpga] defconfig · 8872e9e5
      Vineet Gupta authored
      
      With this we get to a running kernel on ISS
      
      ---------------------------------->8-----------------------------------
      Linux version 3.8.0-rc3+ (vineetg@vineetg-Latitude) (gcc version 4.4.7
      (ARCompact elf32 toolchain (built 20121213)) ) #3 Thu Jan 17 14:22:05
      IST 2013
      Board "arc-angel4" from snps (Manufacturer)
      Memory size set via devicetree 256M
      [plat-arcfpga]: registering early dev resources
      bootconsole [early_ARCuart0] enabled
      pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
      pcpu-alloc: [0] 0
      Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
      32624
      Kernel command line: console=ttyARC0,115200n8
      PID hash table entries: 1024 (order: -1, 4096 bytes)
      Dentry cache hash table entries: 32768 (order: 4, 131072 bytes)
      Inode-cache hash table entries: 16384 (order: 3, 65536 bytes)
      Memory Available: 248M / 256M (1312K code, 463K data, 4184K init, 1400K
      reserv)
      SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
      NR_IRQS:16
      Console: colour dummy device 80x25
      Calibrating delay loop... 39.73 BogoMIPS (lpj=198656)
      pid_max: default: 32768 minimum: 301
      Mount-cache hash table entries: 1024
      devtmpfs: initialized
      [plat-arcfpga]: registering device resources
      bio: create slab <bio-0> at 0
      Switching to clocksource ARC RTSC
      io scheduler noop registered (default)
      arc-uart: ttyARC0 at MMIO 0xc0fc1000 (irq = 5) is a arc-uart
      console [ttyARC0] enabled, bootconsole disabled
      console [ttyARC0] enabled, bootconsole disabled
      mousedev: PS/2 mouse device common for all mice
      Warning: unable to open an initial console.
      Freeing unused kernel memory: 4184k [80002000] to [80418000]
      Mounting proc
      Mounting sysfs
      Mounting devpts
      Setting hostname to ARCLinux
      Starting System logger (syslogd)
      Bringing up loopback device
      ifconfig: socket: Function not implemented
      route: socket: Function not implemented
      Disk not detected !
      Mounting tmpfs
      mount: mounting tmpfs on /dev/shm failed: Invalid argument
      /etc/init.d/rcS: line 76: can't create /proc/sys/kernel/msgmni:
      nonexistent directory
      
      Please press Enter to activate this console.
      ***********************************************************************
                              Welcome to ARCLinux
      ***********************************************************************
      [ARCLinux]$
      
      ---------------------------------->8-----------------------------------
      
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      8872e9e5
Loading