Re: [meta-xilinx] [PATCH 6/7] zcu102-zynqmp: Use 'rev 1.0' U-Boot config and deploy boot.bin

2017-10-10 Thread Luca Ceresoli
Hi Mike, Nathan,

On 09/10/2017 12:43, Mike Looijmans wrote:
> On 09-10-17 11:23, Luca Ceresoli wrote:
>> Hi Nathan,
> ...
>> What's the current status of U-Boot SPL on zynqmp? Last time I checked
>> it appeared not yet ready for a complete Linux boot, because it cannot
>> pass the configuration object to the PMU firmware.
>>
>> - Can U-Boot SPL boot a complete Linux without FSBL on zcu102?
>> - How much that applies to other zynqmp chips and boards (especially
>>    UltraZed)?
> 
> I worked around it by building the config object into the pmufw:
> 
> https://github.com/topic-embedded-products/meta-topic/commit/706f74c9cd5fcf398ff24ee77962ebfe23340998
> 
> 
> The data is already there, all that's needed is a line of code that
> installs it.

Interesting, thanks! It's really a small patch, I will certainly test it.

On which board/silicon did you test it?

> This also gets around the licensing issue, the config object is not GPL
> compatible, so including it into u-boot code poses a challenge in itself.

Sure. And I agree with Nathan it seems a good solution also from a
technical point of view.

Bye,
-- 
Luca
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] [PATCH 6/7] zcu102-zynqmp: Use 'rev 1.0' U-Boot config and deploy boot.bin

2017-10-09 Thread Mike Looijmans

On 09-10-17 11:23, Luca Ceresoli wrote:

Hi Nathan,

...

What's the current status of U-Boot SPL on zynqmp? Last time I checked
it appeared not yet ready for a complete Linux boot, because it cannot
pass the configuration object to the PMU firmware.

- Can U-Boot SPL boot a complete Linux without FSBL on zcu102?
- How much that applies to other zynqmp chips and boards (especially
   UltraZed)?


I worked around it by building the config object into the pmufw:

https://github.com/topic-embedded-products/meta-topic/commit/706f74c9cd5fcf398ff24ee77962ebfe23340998

The data is already there, all that's needed is a line of code that installs it.

This also gets around the licensing issue, the config object is not GPL 
compatible, so including it into u-boot code poses a challenge in itself.




Kind regards,

Mike Looijmans
System Expert

TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijm...@topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail


Visit us at the Space Tech Expo Europe (Stand E-71)
--
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] [PATCH 6/7] zcu102-zynqmp: Use 'rev 1.0' U-Boot config and deploy boot.bin

2017-10-09 Thread Nathan Rossi
On 9 October 2017 at 20:43, Mike Looijmans  wrote:
> On 09-10-17 11:23, Luca Ceresoli wrote:
>>
>> Hi Nathan,
>
> ...
>>
>> What's the current status of U-Boot SPL on zynqmp? Last time I checked
>> it appeared not yet ready for a complete Linux boot, because it cannot
>> pass the configuration object to the PMU firmware.

To be honest, I am not sure. I am mostly just enabling stuff that
looks like it should work with this patch and the one that sets up the
inclusion of the pmu binary into boot.bin. But I have no board to test
with so it would be great to get feedback/comments/patches :).

>>
>> - Can U-Boot SPL boot a complete Linux without FSBL on zcu102?
>> - How much that applies to other zynqmp chips and boards (especially
>>UltraZed)?
>
>
> I worked around it by building the config object into the pmufw:
>
> https://github.com/topic-embedded-products/meta-topic/commit/706f74c9cd5fcf398ff24ee77962ebfe23340998
>
> The data is already there, all that's needed is a line of code that installs
> it.
>
> This also gets around the licensing issue, the config object is not GPL
> compatible, so including it into u-boot code poses a challenge in itself.

Mike's work is what made me investigate adding these changes in the
first place, and his solution to the whole pmu firmware + config
object looks quite neat.

Regards,
Nathan
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] [PATCH 6/7] zcu102-zynqmp: Use 'rev 1.0' U-Boot config and deploy boot.bin

2017-10-09 Thread Luca Ceresoli
Hi Nathan,

On 07/10/2017 11:57, Nathan Rossi wrote:
> Build the rev 1.0 version of U-Boot and setup the deployment of
> boot.bin.
> 
> Signed-off-by: Nathan Rossi 
> ---
>  conf/machine/zcu102-zynqmp.conf | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/conf/machine/zcu102-zynqmp.conf b/conf/machine/zcu102-zynqmp.conf
> index e6d66cd948..ee243454aa 100644
> --- a/conf/machine/zcu102-zynqmp.conf
> +++ b/conf/machine/zcu102-zynqmp.conf
> @@ -10,7 +10,8 @@ include conf/machine/include/zynqmp-pmu-config.inc
>  
>  MACHINE_FEATURES = "rtc ext2 ext3 vfat usbhost"
>  
> -UBOOT_MACHINE = "xilinx_zynqmp_zcu102_revB_defconfig"
> +UBOOT_MACHINE = "xilinx_zynqmp_zcu102_rev1_0_defconfig"
> +SPL_BINARY = "spl/boot.bin"

What's the current status of U-Boot SPL on zynqmp? Last time I checked
it appeared not yet ready for a complete Linux boot, because it cannot
pass the configuration object to the PMU firmware.

- Can U-Boot SPL boot a complete Linux without FSBL on zcu102?
- How much that applies to other zynqmp chips and boards (especially
  UltraZed)?

Thanks in advance.
-- 
Luca
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx