Re: [meta-xilinx] meta-xilinx-standalone layer compat

2019-01-28 Thread Manjukumar Harthikote Matha
Hi Peter,

> -Original Message-
> From: meta-xilinx-boun...@yoctoproject.org [mailto:meta-xilinx-
> boun...@yoctoproject.org] On Behalf Of Peter Smith
> Sent: Monday, January 28, 2019 3:15 AM
> To: meta-xilinx@yoctoproject.org
> Subject: [meta-xilinx] meta-xilinx-standalone layer compat
> 
> Is there any reason why the layer compat for meta-xilinx-standalone cannot be 
> set
> to sumo and thud (like meta-xilinx-bsp is)?
> 

Few things:
1- The layer has not been tested against sumo 
2 - newlib version is different in sumo
3 - meta-xilinx pmu firmware recipe is in meta-xilinx-bsp, whereas in thud it 
was removed to accommodate it in meta-xilinx-standalone

Thanks,
Manju


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


Re: [meta-xilinx] ZCU102 boot issue

2019-01-28 Thread Manjukumar Harthikote Matha
Hi Alex,

You need additional patches on pmu-firmware
See: 
https://lists.yoctoproject.org/pipermail/meta-xilinx/2019-January/004198.html

Thanks,
Manju

From: meta-xilinx-boun...@yoctoproject.org 
[mailto:meta-xilinx-boun...@yoctoproject.org] On Behalf Of Alexander Kerner
Sent: Monday, January 28, 2019 10:56 AM
To: meta-xilinx@yoctoproject.org
Subject: [meta-xilinx] ZCU102 boot issue

Hello,

I've got a ZCU102 rev 1.1 board and I'm trying to build yocto using this howto: 
https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-bsp/README.building.md

There is following error while booting:

U-Boot SPL 2018.01 (Jan 25 2019 - 21:16:27)
EL Level:   EL3
Trying to boot from MMC1
reading u-boot.bin
reading atf-uboot.ub
reading atf-uboot.ub
NOTICE:  ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x800
NOTICE:  BL31: v1.5(release):xilinx-v2018.3
NOTICE:  BL31: Built : 21:23:57, Jan 25 2019
PMUFW:  v1.1
zynqmp_clk_get_peripheral_rate mio read fail
failed to get rate
zynqmp_clk_get_peripheral_rate mio read fail
failed to get rate

I also tried to boot pre-build petalinux 2018.2 image and it worked fine.

Here is my build configuration:

BB_VERSION   = "1.40.0"
BUILD_SYS= "x86_64-linux"
NATIVELSBSTRING  = "universal"
TARGET_SYS   = "aarch64-poky-linux"
MACHINE  = "zcu102-zynqmp"
DISTRO   = "poky"
DISTRO_VERSION   = "2.6.1"
TUNE_FEATURES= "aarch64"
TARGET_FPU   = ""
meta
meta-poky
meta-yocto-bsp   = "thud:cc73390a75d98b96eb861ae0624283c1ea6ef1bd"
meta-xilinx-bsp
meta-xilinx-standalone
meta-xilinx-contrib  = "thud:c42016e2e6ca13e133fdb877785ec8aa2bd82f16"

Build Configuration:
BB_VERSION   = "1.40.0"
BUILD_SYS= "x86_64-linux"
NATIVELSBSTRING  = "universal"
TARGET_SYS   = "aarch64-poky-linux"
MACHINE  = "zcu102-zynqmp"
DISTRO   = "poky"
DISTRO_VERSION   = "2.6.1"
TUNE_FEATURES= "aarch64"
TARGET_FPU   = ""
meta
meta-poky
meta-yocto-bsp   = "thud:cc73390a75d98b96eb861ae0624283c1ea6ef1bd"
meta-xilinx-bsp
meta-xilinx-standalone
meta-xilinx-contrib  = "thud:c42016e2e6ca13e133fdb877785ec8aa2bd82f16"

Build Configuration:
BB_VERSION   = "1.40.0"
BUILD_SYS= "x86_64-linux"
NATIVELSBSTRING  = "universal"
TARGET_SYS   = "microblazeel-xilinx-elf"
MACHINE  = "zynqmp-pmu"
DISTRO   = "xilinx-standalone"
DISTRO_VERSION   = "1.0"
TUNE_FEATURES= "microblaze v9.2 barrel-shift pattern-compare"
TARGET_FPU   = "fpu-soft"
meta
meta-poky
meta-yocto-bsp   = "thud:cc73390a75d98b96eb861ae0624283c1ea6ef1bd"
meta-xilinx-bsp
meta-xilinx-standalone
meta-xilinx-contrib  = "thud:c42016e2e6ca13e133fdb877785ec8aa2bd82f16"

Kind regards
Alex
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


Re: [meta-xilinx] ZCU102 boot issue

2019-01-28 Thread Scott Ellis
This is the error you get if the PMU does not get a config object on boot.

When using a boot.bin object from the xilinx tools, the first stage
bootloader is Xilinx's FSBL which loads a config object into the PMU at
startup before it loads u-boot proper.

When you use the instructions in the README, the first stage boot loader
is u-boot's SPL, which does not know how to load a config object into
the PMU.

The config object I am talking about is the C file pmu_cfg_obj.c

The workaround is to patch the pmu-firmware (it's a simple two line
patch) to teach the PMU firmware to load a built-in config object.
And then you need to include the pmu_cfg_obj.c in the source. So the
pmu-firmware recipe needs two patches, but both are trivial.

There are multiple threads on the mailing list about this.

Here is a recent one that I initiated asking the same question as you in
a different way

https://lists.yoctoproject.org/pipermail/meta-xilinx/2019-January/004193.html

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


[meta-xilinx] ZCU102 boot issue

2019-01-28 Thread Alexander Kerner

Hello,

 

I've got a ZCU102 rev 1.1 board and I'm trying to build yocto using this howto: https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-bsp/README.building.md

 

There is following error while booting:

 

U-Boot SPL 2018.01 (Jan 25 2019 - 21:16:27)
EL Level:   EL3
Trying to boot from MMC1
reading u-boot.bin
reading atf-uboot.ub
reading atf-uboot.ub
NOTICE:  ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x800
NOTICE:  BL31: v1.5(release):xilinx-v2018.3
NOTICE:  BL31: Built : 21:23:57, Jan 25 2019
PMUFW:  v1.1
zynqmp_clk_get_peripheral_rate mio read fail
failed to get rate
zynqmp_clk_get_peripheral_rate mio read fail
failed to get rate

 

I also tried to boot pre-build petalinux 2018.2 image and it worked fine.

 

Here is my build configuration:

 

BB_VERSION   = "1.40.0"
BUILD_SYS    = "x86_64-linux"
NATIVELSBSTRING  = "universal"
TARGET_SYS   = "aarch64-poky-linux"
MACHINE  = "zcu102-zynqmp"
DISTRO   = "poky"
DISTRO_VERSION   = "2.6.1"
TUNE_FEATURES    = "aarch64"
TARGET_FPU   = ""
meta     
meta-poky    
meta-yocto-bsp   = "thud:cc73390a75d98b96eb861ae0624283c1ea6ef1bd"
meta-xilinx-bsp  
meta-xilinx-standalone
meta-xilinx-contrib  = "thud:c42016e2e6ca13e133fdb877785ec8aa2bd82f16"


Build Configuration:
BB_VERSION   = "1.40.0"
BUILD_SYS    = "x86_64-linux"
NATIVELSBSTRING  = "universal"
TARGET_SYS   = "aarch64-poky-linux"
MACHINE  = "zcu102-zynqmp"
DISTRO   = "poky"
DISTRO_VERSION   = "2.6.1"
TUNE_FEATURES    = "aarch64"
TARGET_FPU   = ""
meta     
meta-poky    
meta-yocto-bsp   = "thud:cc73390a75d98b96eb861ae0624283c1ea6ef1bd"
meta-xilinx-bsp  
meta-xilinx-standalone
meta-xilinx-contrib  = "thud:c42016e2e6ca13e133fdb877785ec8aa2bd82f16"


Build Configuration:
BB_VERSION   = "1.40.0"
BUILD_SYS    = "x86_64-linux"
NATIVELSBSTRING  = "universal"
TARGET_SYS   = "microblazeel-xilinx-elf"
MACHINE  = "zynqmp-pmu"
DISTRO   = "xilinx-standalone"
DISTRO_VERSION   = "1.0"
TUNE_FEATURES    = "microblaze v9.2 barrel-shift pattern-compare"
TARGET_FPU   = "fpu-soft"
meta     
meta-poky    
meta-yocto-bsp   = "thud:cc73390a75d98b96eb861ae0624283c1ea6ef1bd"
meta-xilinx-bsp  
meta-xilinx-standalone
meta-xilinx-contrib  = "thud:c42016e2e6ca13e133fdb877785ec8aa2bd82f16"

 

Kind regards

Alex



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


Re: [meta-xilinx] meta-xilinx-standalone layer compat

2019-01-28 Thread Peter Smith
Thanks a lot. That explains why it didn’t work as expected. Not a problem
for me atm, just looking ahead.

On Mon, 28 Jan 2019 at 14:54, Manjukumar Harthikote Matha <
manju...@xilinx.com> wrote:

> Hi Peter,
>
> > -Original Message-
> > From: meta-xilinx-boun...@yoctoproject.org [mailto:meta-xilinx-
> > boun...@yoctoproject.org] On Behalf Of Peter Smith
> > Sent: Monday, January 28, 2019 3:15 AM
> > To: meta-xilinx@yoctoproject.org
> > Subject: [meta-xilinx] meta-xilinx-standalone layer compat
> >
> > Is there any reason why the layer compat for meta-xilinx-standalone
> cannot be set
> > to sumo and thud (like meta-xilinx-bsp is)?
> >
>
> Few things:
> 1- The layer has not been tested against sumo
> 2 - newlib version is different in sumo
> 3 - meta-xilinx pmu firmware recipe is in meta-xilinx-bsp, whereas in thud
> it was removed to accommodate it in meta-xilinx-standalone
>
> Thanks,
> Manju
>
>
> --
Best Regards
Peter
-- 
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx


[meta-xilinx] meta-xilinx-standalone layer compat

2019-01-28 Thread Peter Smith
Is there any reason why the layer compat for meta-xilinx-standalone cannot
be set to sumo and thud (like meta-xilinx-bsp is)?

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