17 Mar, 2016

34 commits


16 Mar, 2016

6 commits

  • NFS loading works on DRA7 variants, remove the undefinition.

    Signed-off-by: Andrew F. Davis
    Reviewed-by: Tom Rini

    Andrew F. Davis
     
  • NFS loading is similar to net loading except initial files are loaded
    over NFS instead of TFTP, this removes the need for multiple different
    protocol servers running on the host and allows the use of a single
    network file system containing boot related files in their usual
    in-filesystem directory. Add defaults for this boot style here.

    Signed-off-by: Andrew F. Davis
    Reviewed-by: Tom Rini

    Andrew F. Davis
     
  • Fix "warning: cast to pointer from integer of different size".

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Tom Rini

    Masahiro Yamada
     
  • If EMIF is idle for certain amount of DDR cycles, EMIF will put the
    DDR in self refresh mode to save power if EMIF_PWR_MGMT_CTRL register
    is programmed. And also before entering suspend-resume ddr needs to
    be put in self-refresh. Linux kernel does not program this register
    before entering suspend and relies on u-boot setting.
    So configuring it in u-boot.

    Signed-off-by: Nishanth Menon
    Signed-off-by: Lokesh Vutla
    Tested-by: Tom Rini
    Reviewed-by: Tom Rini

    Nishanth Menon
     
  • For k2l, k2e and k2hk, ubi is set to default boot in uboot
    environment settings; while for k2g, mmc should be the
    default boot. This patch is to set mmc as default for k2g-evm

    Signed-off-by: Yan Liu
    Signed-off-by: Lokesh Vutla
    Reviewed-by: Tom Rini

    Yan Liu
     
  • This patch updates the env script to include a initramfs with firmware
    loaded and provided to kernel through second argument of bootz command
    during boot. Defined DEFAULT_FW_INITRAMFS_BOOT_ENV to have all of the
    required env variables and use it in evm specific config file.

    The K2 linux drivers for PCIe and NetCP (1G, 10G) requires serdes
    firmwares. These requires firmware to be available early through the boot
    process in some cases to satisfy firmware requests from driver. Hence use
    a small initramfs to provide the same and update boot env to accommodate
    this in the boot flow. This method is used when rootfs is nfs and ubifs.
    This fs contains just lib/firmware folder with all required firmware.

    When rootfs is on initramfs, then the filesystem has the firmware under
    lib/firmware and this early initramfs is not required and is not used.

    Signed-off-by: Murali Karicheri
    Signed-off-by: Lokesh Vutla
    Reviewed-by: Tom Rini

    Murali Karicheri