[U-Boot] [PATCH v4] zynqmp: Add generic target

Michal Simek michal.simek at xilinx.com
Thu May 10 09:10:01 UTC 2018


Hi,

On 25.4.2018 09:43, Alexander Graf wrote:
> I would like to create a generic U-Boot build that adapts itself completely
> based on the DT passed in. That way we can potentially support running
> random board configurations with a single U-Boot binary built as part of
> the distribution.
> 
> Currently a few things are still missing to make it a full reality. The
> most obvious one I think is the EEPROM location. This would need to also
> move into something described by DT.
> 
> Apart from that, we're almost there. This patch adds a defconfig that simply
> contains all drivers we could make use of. We can then enable individual
> boards along the way and slowly adapt everything to be fully DT described
> while we identify each missing bit.
> 
> Signed-off-by: Alexander Graf <agraf at suse.de>
> 
> ---
> 
> v1 -> v2:
> 
>   - Remove debug uart
> 
> v2 -> v3
> 
>   - show model information instead of custom IDENT_STRING
> 
> v3 -> v4:
> 
>   - reintroduce CONFIG_IDENT_STRING
>   - remove CONFIG_DEFAULT_DEVICE_TREE
>   - run through savedefconfig
>   - replace CONFIG_SYS_I2C_ZYNQ with CONFIG_SYS_I2C_CADENCE
>   - remove CONFIG_ZYNQ_SDHCI{0,1} - needs to be solved generically
>   - add xhci usb1 to xhci controller list
> ---
>  configs/xilinx_zynqmp_generic_defconfig | 86 +++++++++++++++++++++++++++++++++
>  include/configs/xilinx_zynqmp_generic.h | 21 ++++++++
>  2 files changed, 107 insertions(+)
>  create mode 100644 configs/xilinx_zynqmp_generic_defconfig
>  create mode 100644 include/configs/xilinx_zynqmp_generic.h
> 

I still have the same concern as I have told you here.
https://lists.denx.de/pipermail/u-boot/2018-April/326477.html

It is not that generic as it is suggest to be.
Resolving that issues first is IMHO the best way to go instead of
pretending that we are there by new target.

Thanks,
Michal


More information about the U-Boot mailing list