1. 11 May, 2012 40 commits
    • Alexander Potashev's avatar
      RT77744. lpc4350: Support booting from 16-bit external NOR flash · 9942ae92
      Alexander Potashev authored
       * The Boot ROM bootloader loads only the first 32KBytes of U-Boot image
      from the external 16-bit NOR flash. We make U-Boot load the remaining
      contents of the image.
       * Put all function and data used for bootstrapping in the beginning
      of the U-Boot image in sections `.lpc18xx_image_top_text` and
      `.lpc18xx_image_top_data`.
       * Configure the boot pins to determine the boot source if the relevant
      fields in the One-Time Programmable memory are not set.
       * Configure the remaining EMC pins before reading the whole U-Boot
      image. The Boot ROM bootloader forgets to configure some EMC pins.
       * Reload the U-Boot image from NOR flash only when boot source is
      `EMC 16-bit`.
      9942ae92
  2. 04 May, 2012 40 commits
    • Alexander Potashev's avatar
      RT77744. lpc4350-eval: Add header to the U-Boot image · 74cfefd6
      Alexander Potashev authored
       * This 16-byte header is required to boot U-Boot to the Hitex LPC4350 Eval
      board over USB0. The same header is required to make the Boot ROM
      bootloader boot images larger than 16KBytes from NOR flash.
       * The header will be automatically added to `u-boot.bin` if
      CONFIG_LPC18XX_BOOTHEADER is enabled in the U-Boot configuration.
      74cfefd6
  3. 03 May, 2012 40 commits
    • Alexander Potashev's avatar
      RT77744. lpc4350-eval: NOR flash support · b79aa072
      Alexander Potashev authored
       * Reuse the code from EA-LPC1788's NOR flash support;
       * Improve NOR flash timings;
       * Place U-Boot environment at address 0x20000 (128 KBytes) in NOR
      flash. We will store U-Boot image in the first 128 KBytes of NOR flash
      when booting from NOR flash.
       * Place Linux kernel image at address 0x40000 (256 KBytes) in NOR
      flash. We will store U-Boot image and U-Boot environment in the first
      128 KBytes of NOR flash.
      b79aa072
    • Alexander Potashev's avatar
      RT77744. lpc4350-eval: Ethernet support · 791d3ebe
      Alexander Potashev authored
       * Write a custom Ethernet driver for LPC18xx/LPC43xx. We know the
      Ethernet module is compatible with STM32F, but we do not want to spend
      time right now to merge these drivers.
       * Use Ethernet MII mode.
       * Store Ethernet DMA buffers and buffer descriptors in a free region of
      internal SRAM.
      791d3ebe
    • Alexander Potashev's avatar
      RT77744. lpc4350-eval: Configure EMC for SDRAM · 6a2c27cd
      Alexander Potashev authored
       * Use M4_CLK/2 = 102MHz for SDRAM clock;
       * Use best-performance timings for SDRAM.
      6a2c27cd
    • Alexander Potashev's avatar
      RT77744. lpc18xx: Make clock initialization procedure more stable · e5bf9585
      Alexander Potashev authored
      With the former clock configuration procedure, the board used to hang
      sometimes. Now U-Boot works stable at 204MHz M4 core frequency.
      e5bf9585
  4. 27 Apr, 2012 40 commits
  5. 26 Apr, 2012 40 commits
  6. 25 Apr, 2012 40 commits
  7. 24 Apr, 2012 40 commits
  8. 20 Apr, 2012 40 commits
  9. 18 Apr, 2012 40 commits
  10. 11 Apr, 2012 40 commits
    • Alexander Potashev's avatar
      RT77788. k70-som: Add support for the Emcraft K70-SOM + SOM-BSB platform · 065d7e55
      Alexander Potashev authored
       * Add Makefile target `k70-som_config`.
       * Start K70-SOM board support code by cloning off the TWR-K70F120M
      board-specific code.
       * Update DDR controller configuration to interact with the LPDDR memory chip.
      Update timings for a 120 MHz DDR clock.
       * Remove configuration of pins NFC_D8..NFC_D15, they are not used by 8-bit NAND
      flashes.
       * Optionally support 8-bit NAND flashes in the `fsl_nfc.c` driver.
       * Set correct size of RAM (64 MB).
       * Do not configure the LCD clock, because we do not support LCDs with K70-SOM
      yet.
       * Update U-Boot prompt, IP address, MAC address, bootargs, hostname.
      065d7e55
  11. 10 Apr, 2012 40 commits
  12. 09 Apr, 2012 40 commits
    • Alexander Potashev's avatar
      RT76276. Add support for STMicroelectronics STM3240G-EVAL board · f271a6db
      Alexander Potashev authored
      * Clone the board-specific files from those used for the STM3220G-EVAL board.
      * Change STM3220G-EVAL to STM3240G-EVAL where appropriate.
      * cpu/arm_cortexm3/stm32/clock.c: Add support for clock rates up to 168 MHz.
      * Ethernet driver: Implement us/ms delays not tied to CPU clock rate.
      * Ethernet driver: Add `stm_phy_wait_busy()` to reduce code duplication.
      * Raise system clock rate from 120 MHz to 168 MHz.
      * Update PSRAM timings.
      * Disable the PSRAM Synchronous Burst Mode.
      f271a6db
  13. 04 Apr, 2012 40 commits
  14. 03 Apr, 2012 40 commits
  15. 30 Mar, 2012 40 commits
  16. 29 Mar, 2012 40 commits
    • Alexander Potashev's avatar
      RT77452. Add support for Emcraft's LPC-LNX-EVB board · 0b0a296c
      Alexander Potashev authored
       * Add Makefile target `lpc-lnx-evb_config`.
       * Configure one more EMC address pin on LPC-LNX-EVB (in comparison to
      EA-LPC1788) to make all 16 MBytes of NOR Flash work.
       * Remove pin configuration for UART2 (compared to EA-LPC1788), it is
      not supported by this board.
       * Disable PLL1 and USB clock configuration.
       * The NOR Flash is CFI-compatible, so we do not need to use
      `CONFIG_FLASH_CFI_LEGACY` unlike EA-LPC1788.
       * Update MAC and IP address.
      0b0a296c
  17. 19 Mar, 2012 40 commits
  18. 18 Mar, 2012 40 commits
  19. 14 Mar, 2012 40 commits
  20. 12 Mar, 2012 40 commits
  21. 11 Mar, 2012 40 commits
  22. 10 Mar, 2012 40 commits
  23. 08 Mar, 2012 40 commits
  24. 28 Feb, 2012 40 commits
    • Alexander Potashev's avatar
      RT77090. kinetis eth: Fix receiving of Ethernet packets · fe65e8bf
      Alexander Potashev authored
      The Ethernet module of the MCU requires that the RDAR register is set
      only after a while after the RDSR register is set; i.e. the RDAR
      register should not be set immediately after RDSR during initialization
      of the Ethernet module.
        1. If we write to the ENET_RDAR register immediately after initializing
      the ENET_RDSR register, the incoming packets can _never_ be received.
        2. If we make the MCU wait for 10us before writing to ENET_RDAR, the
      incoming packets are _always_ received correctly.
        3. If we perform a few instructions (about 10 of them) between setting
      RDSR and RDAR, then the problem manifests randomly from time to time.
      
      In order to fix the bug, we add a 10us delay just before writing
      to the RDAR register.
      
      Things just work in Freescale MQX and in Linux, because there is a lot
      of other initialization code between the RDAR and RDSR register are set,
      so this other initialization code serves as a delay.
      fe65e8bf
  25. 22 Feb, 2012 40 commits
  26. 20 Feb, 2012 40 commits