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

TE720 console output

Started by akarcher, July 17, 2020, 05:53:01 AM

Previous topic - Next topic

akarcher

When I build the reference design in 19.2 (basic linux design) I get a Vivado design, export the hardware and use this to configure a new petalinux as mentioned in petalinux kickstart. When I use the precompiled files I get console output on the TE0706 carrier board, but when I build my own u-boot or kernel I loose console output for u-boot or kernel, even though the u-boot and kernel still work.
I think this is because Xilinx uses UART1 as the default console port, not UART0, which is connected to the console port on the TE0706 base board.
Is there an easy configuration change to fix this?

JH

Hi,
we include a petalinux template(used it and reload xsa only) or create a new project and add our changes manually:
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-SoftwareDesign-PetaLinux

--> uart was changed on petalinux config, see link above

br
John



akarcher

Thanks for the quick answer. Maybe I do not understand, but how do I find the petalinux template? the only files I got from the download site are for the Vivado project. And what files do I edit to fix this? I found the u-boot config in ./project-spec/meta-plnx-generated/recipes-bsp/u-boot/configs/config.cfg, but I could not find where the serial port config is done.

JH

Hi,
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-DesignSources
--> Download the reference design, and use this template <design name>/os/petalinux

https://wiki.trenz-electronic.de/display/PD/PetaLinux+KICKstart#PetaLinuxKICKstart-CreatingaProjectfromVivadoProject
--> instead of creating a new project (step 2), use the template above and reload xsa (petalinux-config --get-hw-description)

what we have manually changed in this template is described here:
https://wiki.trenz-electronic.de/display/PD/TE0720+Test+Board#TE0720TestBoard-SoftwareDesign-PetaLinux

br
John