[U-Boot] [PATCH 0/1] Distroboot support for DE0-nano-SoC board

Marek Vasut marex at denx.de
Fri Jan 20 18:18:30 CET 2017


On 01/20/2017 05:45 PM, Frank Kunz wrote:

Hi,

> This patch adds common distribution boot environment variables for
> DE0-nanos-SoC board. It disables the watchdog enalbe in uboot since
> this is done by the OS.

So if the board hangs in U-Boot, with this patch you're doomed.

> The MMC boot mode is switched to raw mode, which
> gets rid of the 0xa2 special partition. The SOC ROM loader scans for
> the SPL in the special partition (partition mode) and from MMC card
> sector 0 (raw mode), each for four valid SPLs.

So all existing systems will be rendered unbootable if I apply this patch?

> When a partition table is
> used with raw mode the first SPL must not be written to the MMC and the ROM
> loader uses the second SPL.

btw if this patch does multiple things, it should be multiple patches,
but I'm not too keen on taking it unless the above stuff is sorted out.
btw please CC Dinh on Altera patches.

> Frank Kunz (1):
>   socfpga: Distroboot support for DE0-nano-SoC
> 
>  configs/socfpga_de0_nano_soc_defconfig |  1 +
>  include/configs/socfpga_common.h       |  2 +-
>  include/configs/socfpga_de0_nano_soc.h | 47 ++++++++++++++++++++--------------
>  3 files changed, 30 insertions(+), 20 deletions(-)
> 
> --
> 2.11.0
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list