Author Topic: TE720 console output  (Read 1420 times)

akarcher

  • Active Member
  • *
  • Posts: 7
TE720 console output
« on: July 17, 2020, 05:53:01 AM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2001
Re: TE720 console output
« Reply #1 on: July 17, 2020, 06:21:26 AM »
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

  • Active Member
  • *
  • Posts: 7
Re: TE720 console output
« Reply #2 on: July 17, 2020, 06:58:36 AM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2001
Re: TE720 console output
« Reply #3 on: July 17, 2020, 07:11:58 AM »
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