News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Recent posts

#61
UltraScale / Re: TE0807 Starterkit referenc...
Last post by michielm - December 11, 2023, 03:56:12 PM
Thanx,

Can you provide me a link to this 4.3 version I cannot find it anywhere on the net...

Gr

Michiel
#62
UltraScale / Re: TE0807 Starterkit referenc...
Last post by MA - December 11, 2023, 01:53:42 PM
That's right. We need to update the *.slabtimeproj for latest Skyworks versions. The files were created with version 4.3.
#63
CYC1000 community projects / Re: I present a comunity of IN...
Last post by Subcritical - December 10, 2023, 03:10:48 PM
Here we can see the USBKeyboard in an 8bit VIC20 implementation:
https://github.com/TheSonders/USBKeyboard


https://www.youtube.com/watch?v=MELJpN_zPD8



#64
UltraScale / Re: TE0807 Starterkit referenc...
Last post by michielm - December 08, 2023, 03:38:23 PM
Apparently clockbuilder 3.0 is able to load the project. As said the latest Silabs clockbuilder 4.11 doesn't work...
#65
UltraScale / Re: TE0807 Starterkit referenc...
Last post by michielm - December 08, 2023, 03:00:04 PM
Hi

Sometimes clocks may have coupling that can be an issue. So my idea was to turn off some clocks (SATA/USB) generated by the Si5345B clock chip which I don't need. However if open clock builder pro project enclosed in the reference design:

https://shop.trenz-electronic.de/trenzdownloads/Trenz_Electronic/Modules_and_Module_Carriers/5.2x7.6/TE0807/Reference_Design/2022.2/StarterKit/TE0807-StarterKit-vivado_2022.2-build_6_20230817092640.zip

Clock builder tells me the project (Si5345-RevB-0807Project.slabtimeproj) is corrupt....

#66
UltraScale / TE0807 Starterkit reference de...
Last post by michielm - December 06, 2023, 05:11:44 PM
After using this reference design succesfully:
https://wiki.trenz-electronic.de/display/PD/TE0807+StarterKit
together with this SOM:
https://shop.trenz-electronic.de/en/TE0807-03-7DE21-AZ-MPSoC-Module-with-AMD-Zynq-UltraScale-ZU7EV-1E-4-GByte-DDR4-5.2-x-7.6-cm

I tried to get the VCU working. So i addeded the VCU to the PL, exported a new XSA and imported it into the petalinux project. However strange thing is that the VCU reports an error:
[   26.602120] al5e 80000000.al5e: Mcu didn't start (no ping after startup, is mcu enabled ?)
[   26.602120] al5d 80020000.al5d: Mcu didn't start (no ping after startup, is mcu enabled ?)
[   26.742147] al5e 80000000.al5e: Failed to setup firmware
[   26.758135] al5d 80020000.al5d: Failed to setup firmware

I only get rid of this error by either starting a petalinux project from scratch or replace the TRENZ FSBL by the default Xilinx ZYNQMP FSBL.

But the reason i ask here is that I'm not sure it's really the FSBL. Using a Trenz TE0803 ZU4EV SOM I was able to get it going with the Trenz FSBL.

I also asked Xilinx but they only told me the VCU is very picky on the applied pll_ref_clk:
https://support.xilinx.com/s/question/0D54U00007g0uDYSAY/cannot-get-vcu-al4dal5e-on-a-trenz-zu4ev-platform-working-using-petalinux-20222

Can you think of a reason why i have so many troubles to get the VCU going?

Gr,
Michiel
#67
UltraScale / Re: TE820 +TE0706 carrier Ethe...
Last post by pema - December 05, 2023, 02:33:27 PM
I got it now working. Needed to enable:
CONFIG_ZYNQ_GEM=y
CONFIG_DM_ETH=y
CONFIG_NET_RANDOM_ETHADDR=y

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842124/U-Boot+Ethernet+Driver#U-BootEthernetDriver-ForZynqMP
#68
UltraScale / Re: TE820 +TE0706 carrier Ethe...
Last post by pema - December 05, 2023, 01:22:41 PM
So I made a dumb mistake with an inline comment in the device tree .
I can compile the device tree but I still get no ethernet detected in ubuntu


Trying to load boot images from dhcp
!!!!!!!!!!!!!!!!!!!!!!!!!!
! Booting from TFTP !
!!!!!!!!!!!!!!!!!!!!!!!!!!
No ethernet found.

#69
UltraScale / TE820 +TE0706 carrier Ethernet...
Last post by pema - December 05, 2023, 12:27:30 PM
Hi there,
I would like to enable ethernet in u-boot for the TE0820 (connected to gem3).
I added to the .../project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi


/*------------------ ETH PHY --------------------*/
&gem3 {
    /delete-property/ local-mac-address;
    phy-handle = <&phy0>;
    nvmem-cells = <&eth0_addr>;
    nvmem-cell-names = "mac-address";
    phy0: phy0@1 {
        device_type = "ethernet-phy";
        reg = <1>;
    };
};


Also tried :

&gem3 {
    /delete-property/ local-mac-address;
    phy-handle = <&phy0>;
    nvmem-cells = <&eth0_addr>;
    nvmem-cell-names = "mac-address"
    phy0: phy0@1 {
        device_type = "ethernet-phy";
        reg = <1>;
    };
};


As provided in the BSP for the TE0820. But this gives me an error during compilation.
is there any thing else that needs to be added to the kernel config or u-boot config?

The error output are little enigmatic for me:

| during RTL pass: cse2
| /home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work-shared/zynqmp-generic-xczu3cg/kernel-source/fs/btrfs/extent_io.c: In function 'btree_write_cache_pages':
| /home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work-shared/zynqmp-generic-xczu3cg/kernel-source/fs/btrfs/extent_io.c:3074:1: internal compiler error: in validate_canon_reg, at cse.cc:2804
|  3074 | }
|       | ^
| 0x183eec9 internal_error(char const*, ...)
| ???:0
| 0x6a8cf6 fancy_abort(char const*, int, char const*)
| ???:0
| Please submit a full bug report, with preprocessed source (by using -freport-bug).
| Please include the complete backtrace with any bug report.
| See <https://gcc.gnu.org/bugs/> for instructions.
| make[3]: *** [/home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work-shared/zynqmp-generic-xczu3cg/kernel-source/scripts/Makefile.build:250: fs/btrfs/extent_io.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
|   CC      fs/proc_namespace.o
|   CC      fs/eventpoll.o
|   CC      fs/anon_inodes.o
|   CC      fs/signalfd.o
|   CC      fs/timerfd.o
|   CC      fs/eventfd.o
|   CC      fs/aio.o
|   CC      fs/locks.o
|   CC      fs/binfmt_script.o
|   CC      fs/binfmt_elf.o
|   CC      fs/compat_binfmt_elf.o
| make[2]: *** [/home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work-shared/zynqmp-generic-xczu3cg/kernel-source/scripts/Makefile.build:500: fs/btrfs] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[1]: *** [/home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work-shared/zynqmp-generic-xczu3cg/kernel-source/scripts/Makefile.build:500: fs] Error 2
| make: *** [/home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work-shared/zynqmp-generic-xczu3cg/kernel-source/Makefile:1992: .] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work/zynqmp_generic_xczu3cg-xilinx-linux/linux-xlnx/6.1.5-xilinx-v2023.1+gitAUTOINC+716921b6d7-r0/temp/run.do_compile.792878:307 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1: bbfatal_log, /home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work/zynqmp_generic_xczu3cg-xilinx-linux/linux-xlnx/6.1.5-xilinx-v2023.1+gitAUTOINC+716921b6d7-r0/temp/run.do_compile.792878, line 307
| #2: die, /home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work/zynqmp_generic_xczu3cg-xilinx-linux/linux-xlnx/6.1.5-xilinx-v2023.1+gitAUTOINC+716921b6d7-r0/temp/run.do_compile.792878, line 291
| #3: oe_runmake, /home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work/zynqmp_generic_xczu3cg-xilinx-linux/linux-xlnx/6.1.5-xilinx-v2023.1+gitAUTOINC+716921b6d7-r0/temp/run.do_compile.792878, line 219
| #4: kernel_do_compile, /home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work/zynqmp_generic_xczu3cg-xilinx-linux/linux-xlnx/6.1.5-xilinx-v2023.1+gitAUTOINC+716921b6d7-r0/temp/run.do_compile.792878, line 203
| #5: do_compile, /home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work/zynqmp_generic_xczu3cg-xilinx-linux/linux-xlnx/6.1.5-xilinx-v2023.1+gitAUTOINC+716921b6d7-r0/temp/run.do_compile.792878, line 149
| #6: main, /home/ubuntu/dev_petalinux/xr23_rtfg/build/tmp/work/zynqmp_generic_xczu3cg-xilinx-linux/linux-xlnx/6.1.5-xilinx-v2023.1+gitAUTOINC+716921b6d7-r0/temp/run.do_compile.792878, line 311
ERROR: Task (/home/ubuntu/dev_petalinux/xr23_rtfg/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2023.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4158 tasks of which 3816 didn't need to be rerun and 2 failed.


any help would be appreciated. Kinda stuck and I just need this to speed up my development tryouts.
Many Thanks

#70
UltraScale / Re: Reference Design & Custom ...
Last post by JH - December 04, 2023, 07:27:45 AM
Hi,
see schematics page 26 (U5 SI5345), page 18 (GTR), page14,15 (GTH):
https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/Modules_and_Module_Carriers/5.2x7.6/TE0818/REV01/Documents

GTR configuration(used interfaces, PCIe, SATA,USB3, DP....) depends on the carrier.
For TEBF0818 carrier, we offer reference designs with basic configuration:
https://wiki.trenz-electronic.de/display/PD/TE0818+StarterKit
br
John