Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[device/celestica]: Add platform-specific firmware management API #2

Closed
wants to merge 4 commits into from

Conversation

mudsut4ke
Copy link

- What I did

  • Add platform-specific firmware management API

- How I did it

  • Add support for query querying BIOS/CPLD version on HLX/SLX
  • Add support for Install CPLD image on HLX/SLX

- How to verify it

root@sonic:~# fwutil show version
Module    Submodule    Version
--------  -----------  ---------
BIOS                   5.6.5
CPLD      CPLD4        4.4
CPLD      CPLD5        5.4
CPLD      CPLD2        2.5
CPLD      CPLD3        3.4
CPLD      CPLD1        1.4

root@sonic:~# fwutil install -m CPLD http://192.168.20.106/slx/Seastone_CPLD_V0_7.vme
Downloading image...
Command: ispvm /tmp/fw_image.vme

                 Lattice Semiconductor Corp.

             ispVME(tm) V12.2 Copyright 1998-2011.

For daisy chain programming of all in-system programmable devices

Processing virtual machine file (/tmp/fw_image.vme)......

CREATED BY: ispVM(R) System Version 18.0.1
CREATION DATE: 12/06/18 16:03:31  

+=======+
| PASS! |
+=======+

Done

Wirut Getbamrung added 2 commits April 18, 2019 18:16

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@mudsut4ke mudsut4ke added the enhancement New feature or request label Apr 18, 2019
@mudsut4ke mudsut4ke self-assigned this Apr 18, 2019
Copy link

@larryming larryming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some codes are hardcoded such as cpld number.

Please add a global variable in class for cpld number.

@mudsut4ke
Copy link
Author

@larryming

Some codes are hardcoded such as cpld number.

Please add a global variable in class for cpld number.

Updated in this commit

@larryming
Copy link

Approve.

mudsut4ke pushed a commit that referenced this pull request Jul 23, 2019
…c-net#2832)

* Base DHCP relay Docker image on Strech base Docker

* Change URL for isc-dhcp source repository

* Upgrade isc-dhcp source branch to 4.3.5-3.1

* Update patch #1 to apply to isc-dhcp 4.3.5-3.1

* Update patch #2 to apply to isc-dhcp 4.3.5-3.1

* Update patch #3 to apply to isc-dhcp 4.3.5-3.1

* Update patch #4 to apply to isc-dhcp 4.3.5-3.1

* Remove security patches, as they are now applied as part of 4.3.5-3.1 source

* Reorder patches to apply bug fix first, then features

* Extend makefile to build debug Docker image

* Update commit that series file applies against
@mudsut4ke mudsut4ke closed this Jul 26, 2019
@mudsut4ke mudsut4ke deleted the add-fwutil branch May 12, 2020 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants