Author Topic: Config changes to petalinux for TE0808 v2019.2  (Read 1120 times)

acevans

  • Active Member
  • *
  • Posts: 2
Config changes to petalinux for TE0808 v2019.2
« on: August 09, 2021, 12:49:58 PM »
Hello,

I am trying to configure and build a petalinux project for TE0808-04-9GI21-AS. Going through the documentation at https://shop.trenz-electronic.de/trenzdownloads/Trenz_Electronic/Modules_and_Module_Carriers/5.2x7.6/TE0808/Reference_Design/2019.2/StarterKit/TE0808-StarterKit-vivado_2019.2-build_15-v.41-02_04_2021.pdf on page 28 there are some variables that need to be changed. Which files do these variables need to be changed in ? I was trying to grep for these variables inside my petalinux project folder. I am using the board files for vivado and petalinux 2019.2.

Specifically these variables show up in multiple files in the petalinux project folder
Quote
components/plnx_workspace/sources/u-boot-xlnx/
but not in the project-spec folder :

Code: [Select]
CONFIG_SYS_I2C_EEPROM_ADDR=0x50
CONFIG_SYS_I2C_EEPROM_BUS=2
CONFIG_SYS_EEPROM_SIZE=256
CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=0
CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=0
CONFIG_SYS_I2C_EEPROM_ADDR_LEN=1

In which of these files am I supposed to make the changes ?

Oleksandr Kiyenko

  • Sr. Member
  • ****
  • Posts: 408
Re: Config changes to petalinux for TE0808 v2019.2
« Reply #1 on: August 09, 2021, 04:15:19 PM »
Hello.

configuration files produced by petalinux. The better way to make these changes is to run the corresponding petalinux command and make changes in the interface. For example
run  "petalinux-config -c u-boot" command, which open the u-boot configuration interface and use the "/" key to run options search (or find needed options in menu) and then
change variable value.


Best regards
Oleksandr Kiyenko

acevans

  • Active Member
  • *
  • Posts: 2
Re: Config changes to petalinux for TE0808 v2019.2
« Reply #2 on: August 12, 2021, 02:57:36 PM »
Hello,

thank you this worked. Is there a way to mark an answer as accepted or a problem as resolved ?

Thanks and Regards,
Acevans

JH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1969
Re: Config changes to petalinux for TE0808 v2019.2
« Reply #3 on: August 16, 2021, 08:15:00 AM »
Hi,
Quote
Is there a way to mark an answer as accepted or a problem as resolved ?
No, there is no other way to mark it as solved. But thank you for asking.

br
John