[U-Boot] [PATCH v7 0/7] arm: socfpga: update default u-boot environment

Marek Vasut marex at denx.de
Thu Jan 26 21:54:00 CET 2017


On 01/26/2017 09:31 PM, Dalon Westergreen wrote:
> From: Dalon Westergreen <dalon.westergreen at intel.com>
> 
> These patches update the boot and os partition numbers in the                   
> default uboot environment for a number of socfpga boards.  Per                  
> request, common environment configurations have been moved to a                 
> shared header.                                                                  
> 
> Changed in v7:
>   Changed the bootloader partition to 3 to match the default layout for
>   socfpga.  commit 61520ac4d5545cc8d2e1792092e46ab8043d5f36 changed this to 1
>   which broke a number of socfpga kits.

And this commit will break another bulk of kits, great ...

> The default sdcard layour places 
>   partition 3 at the start of the fpga at +1MB.  The partition is of type 0xA2.
>   This is followed by partition 1 (FAT), and partition 2 (RootFS).  Partition 1
>   should be the FAT partition or windows appears not to recognize the sdcard.

Isn't this fixing problems at the wrong place ? Maybe Microsoft should
fix their OS instead ...

> Changed in v6:
>   Changed CONFIG_SYS_MMCSD_FS_BOOT_PARTITION to be 1 for SPL_FAT and 2
>   for SPL_EXT support.  I believe this is the original intent for whomever
>   changed CONFIG_SYS_MMCSD_FS_BOOT_PARTITION to be 2.  This allows us to keep
>   the original sdcard layout and support FAT and EXT loading of the u-boot
>   image 
> Changes in v5:
>  - Fixed sockit linux devicetree name 
>  - Changed default socfpga.dtb to match board name
>         - sr1500 -> socfpga_cyclone5_sr1500.dtb
>         - de1 -> socfpga_cyclone5_de1_soc.dtb                                   
> Changes in v4:
>  - Removed extraneous define in socfpga_common.h
>    and only use CONFIG_EXTRA_ENV_SETTINGS for
>    common uboot environment
> Changes in v3:
>  - Corrected error in common default environment
> 
> Dalon Westergreen (7):
>   arm: socfpga: add env settings to common header
>   arm: socfpga: update de0 nano default environment
>   arm: socfpga: update cyclone5 socdk default environment
>   arm: socfpga: update arria5 socdk default environment
>   arm: socfpga: Update DE1 environment
>   arm: socfpga: Update SoCKit environment
>   arm: socfpga: Update sr1500 environment
> 
>  configs/socfpga_arria5_defconfig         |  1 +
>  configs/socfpga_cyclone5_defconfig       |  1 +
>  configs/socfpga_de0_nano_soc_defconfig   |  3 +--
>  configs/socfpga_de1_soc_defconfig        |  1 +
>  configs/socfpga_sockit_defconfig         |  1 +
>  configs/socfpga_sr1500_defconfig         |  1 +
>  include/configs/socfpga_arria5_socdk.h   | 25 -----------------------
>  include/configs/socfpga_common.h         | 35 ++++++++++++++++++++++++++++++--
>  include/configs/socfpga_cyclone5_socdk.h | 25 -----------------------
>  include/configs/socfpga_de0_nano_soc.h   | 19 +----------------
>  include/configs/socfpga_de1_soc.h        | 19 +----------------
>  include/configs/socfpga_sockit.h         | 27 +-----------------------
>  include/configs/socfpga_sr1500.h         | 25 -----------------------
>  13 files changed, 42 insertions(+), 141 deletions(-)
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list