Skip to content
Snippets Groups Projects
  1. Sep 20, 2021
  2. Sep 17, 2021
    • Florent Kermarrec's avatar
    • Florent Kermarrec's avatar
      sipeed_tang_nano: Add SPI Flash, Enable CPU and use new external SPI Flash... · 376a8365
      Florent Kermarrec authored
      sipeed_tang_nano: Add SPI Flash, Enable CPU and use new external SPI Flash support from OpenFPGALoader.
      
      ./sipeed_tang_nano_4k.py --cpu-type=vexriscv --cpu-variant=lite --build --flash
      
              __   _ __      _  __
             / /  (_) /____ | |/_/
            / /__/ / __/ -_)>  <
           /____/_/\__/\__/_/|_|
         Build your hardware, easily!
      
       (c) Copyright 2012-2021 Enjoy-Digital
       (c) Copyright 2007-2015 M-Labs
      
       BIOS built on Sep 17 2021 15:54:08
       BIOS CRC passed (6cc6de6d)
      
       Migen git sha1: a5bc262
       LiteX git sha1: 46cd9c5a
      
      --=============== SoC ==================--
      CPU:		VexRiscv_Lite @ 27MHz
      BUS:		WISHBONE 32-bit @ 4GiB
      CSR:		32-bit data
      ROM:		64KiB
      SRAM:		8KiB
      FLASH:		4096KiB
      
      --========== Initialization ============--
      
      Initializing W25Q32 SPI Flash @0x80000000...
      SPI Flash clk configured to 13 MHz
      Memspeed at 0x80000000 (Sequential, 4.0KiB)...
         Read speed: 1.3MiB/s
      Memspeed at 0x80000000 (Random, 4.0KiB)...
         Read speed: 521.9KiB/s
      
      --============== Boot ==================--
      Booting from serial...
      Press Q or ESC to abort boot completely.
      sL5DdSMmkekro
      Timeout
      No boot medium found
      
      --============= Console ================--
      
      litex>
      376a8365
  3. Sep 16, 2021
  4. Sep 15, 2021
  5. Sep 14, 2021
  6. Sep 13, 2021
  7. Sep 10, 2021
  8. Sep 09, 2021
  9. Sep 08, 2021
  10. Sep 07, 2021
  11. Sep 02, 2021
  12. Sep 01, 2021
    • Florent Kermarrec's avatar
      gsd_butterstick: Add initial DDR3 support. · 55ea71bd
      Florent Kermarrec authored
      Validated with:
      ./gsd_butterstick.py --uart-name=crossover --with-etherbone --csr-csv=csr.csv --build --load
      litex_server --udp
      litex_term bridge
      
      
              __   _ __      _  __
             / /  (_) /____ | |/_/
            / /__/ / __/ -_)>  <
           /____/_/\__/\__/_/|_|
         Build your hardware, easily!
      
       (c) Copyright 2012-2021 Enjoy-Digital
       (c) Copyright 2007-2015 M-Labs
      
       BIOS built on Sep  1 2021 19:09:52
       BIOS CRC passed (3d349845)
      
       Migen git sha1: 27dbf03
       LiteX git sha1: 315fbe18
      
      --=============== SoC ==================--
      CPU:		VexRiscv @ 75MHz
      BUS:		WISHBONE 32-bit @ 4GiB
      CSR:		32-bit data
      ROM:		128KiB
      SRAM:		8KiB
      L2:		8KiB
      SDRAM:		524288KiB 16-bit @ 300MT/s (CL-6 CWL-5)
      
      --========== Initialization ============--
      Initializing SDRAM @0x40000000...
      Switching SDRAM to software control.
      Read leveling:
        m0, b00: |01110000| delays: 02+-01
        m0, b01: |00000000| delays: -
        m0, b02: |00000000| delays: -
        m0, b03: |00000000| delays: -
        best: m0, b00 delays: 02+-01
        m1, b00: |01110000| delays: 02+-01
        m1, b01: |00000000| delays: -
        m1, b02: |00000000| delays: -
        m1, b03: |00000000| delays: -
        best: m1, b00 delays: 02+-01
      Switching SDRAM to hardware control.
      Memtest at 0x40000000 (2.0MiB)...
        Write: 0x40000000-0x40200000 2.0MiB
         Read: 0x40000000-0x40200000 2.0MiB
      Memtest OK
      Memspeed at 0x40000000 (Sequential, 2.0MiB)...
        Write speed: 13.6MiB/s
         Read speed: 15.6MiB/s
      
      --============== Boot ==================--
      Booting from serial...
      Press Q or ESC to abort boot completely.
      sL5DdSMmkekro
      Timeout
      No boot medium found
      
      --============= Console ================--
      
      litex>
      55ea71bd
    • Florent Kermarrec's avatar
    • Florent Kermarrec's avatar
    • Dan Callaghan's avatar
      lattice_crosslink_nx_evn: don't set MASTER_SPI_PORT=SERIAL · 74c21781
      Dan Callaghan authored
      Setting MASTER_SPI_PORT=SERIAL causes the SPI flash pins to be reserved
      for use by the sysCONFIG logic, and prevents user logic from assigning
      them. This made it impossible to have a Litex design which accesses the
      SPI flash on this board.
      
      Remove the setting, so that we get the default behaviour which permits
      user logic to assign these pins. In the unlikely event that someone
      needs the pins to stay reserved for sysCONFIG after configuration (I'm
      not sure why this would be needed) they could explicitly add this
      command in their design.
      74c21781
    • Florent Kermarrec's avatar
      beaglewire: Review/Cleanup for consistency with other targets. · ce254208
      Florent Kermarrec authored
      - Now uses regular UART.
      - Build tested with: ./quertyembedded_beaglewire.py --cpu-type=serv --build
      - Can still be build with Crossover UART with --uart-name=crossover+bridge.
      ce254208
    • Florent Kermarrec's avatar
      35df7725
    • Florent Kermarrec's avatar
  13. Aug 31, 2021
  14. Aug 30, 2021
    • Yoshimasa Niwa's avatar
      FIX: OrangeCrab Feather SPI pad name · fc78c964
      Yoshimasa Niwa authored
      **Problems**
      
      `SPIMaster` pad names are `clk`, `cs_n`, `mosi`, and `miso`.
      However, `feather_spi` is using `sck` instead of `clk`, therefore
      it is not able to use as-is for `SPIMaster`, for example,
      with `add_spi` on Linux On LiteX VexRiscv.
      
      **Solution**
      
      In fact, `spisdcard` and other SPI related pad names are
      using `clk`, only `feather_spi` is using `sck`.
      Therefore, rename `sck` to `clk`.
      fc78c964
  15. Aug 23, 2021
Loading