Skip to content

Adding libubootenv-tool into bullseye image#10146

Merged
yxieca merged 1 commit intosonic-net:masterfrom
pavannaregundi:uboot
Mar 10, 2022
Merged

Adding libubootenv-tool into bullseye image#10146
yxieca merged 1 commit intosonic-net:masterfrom
pavannaregundi:uboot

Conversation

@pavannaregundi
Copy link
Contributor

Signed-off-by: Pavan Naregundi pnaregundi@marvell.com

Why I did it

uboot env get and set commands fw_printenv/fw_setenv are not available in bullseye sonic image. Some platforms using them where failing. Ex: sonic-installer commands in marvell-armhf.

In case of buster, u-boot-tools was providing these commands.

How I did it

Added libubootenv-tool which provides these tools along with other uboot tools in build_debian.sh.

How to verify it

root@localhost:# fw_printenv serverip
serverip=10.4.50.39
root@localhost:
# fw_setenv serverip 10.4.50.38
root@localhost:~# fw_printenv serverip
serverip=10.4.50.38

Which release branch to backport (provide reason below if selected)

Fix needs to be backported to releases using bullseye.

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Adding libubootenv-tool into bullseye image

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Change-Id: I558f8737f41d83d3e8527ce340391ae8f978b6d8
Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
@pavannaregundi pavannaregundi requested a review from lguohan as a code owner March 3, 2022 09:55
@pavannaregundi
Copy link
Contributor Author

Retest please

@Blueve Blueve added the Request for 202111 Branch For PRs being requested for 202111 branch label Mar 10, 2022
@radha-danda
Copy link

/azp run

1 similar comment
@radha-danda
Copy link

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 10146 in repo Azure/sonic-buildimage

1 similar comment
@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 10146 in repo Azure/sonic-buildimage

@radha-danda
Copy link

/azpw run

1 similar comment
@radha-danda
Copy link

/azpw run

@yxieca
Copy link
Contributor

yxieca commented Mar 10, 2022

/azp run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@yxieca yxieca merged commit 560c0d9 into sonic-net:master Mar 10, 2022
judyjoseph pushed a commit that referenced this pull request Mar 20, 2022
Why I did it
uboot env get and set commands fw_printenv/fw_setenv are not available in bullseye sonic image. Some platforms using them where failing. Ex: sonic-installer commands in marvell-armhf.

In case of buster, u-boot-tools was providing these commands.

How I did it
Added libubootenv-tool which provides these tools along with other uboot tools in build_debian.sh.

How to verify it
root@localhost:# fw_printenv serverip
serverip=10.4.50.39
root@localhost:# fw_setenv serverip 10.4.50.38
root@localhost:~# fw_printenv serverip
serverip=10.4.50.38

Change-Id: I558f8737f41d83d3e8527ce340391ae8f978b6d8
Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Included in 202111 Branch Request for 202111 Branch For PRs being requested for 202111 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants