Skip to content

accton/as7726-32x: Modify onlpdump -x output format and support show MFU ver#179

Merged
akenliu merged 2 commits into
accton:support_linux_4.19from
rayxhuangEC:as7726-32x-linux_4.19
Jun 3, 2026
Merged

accton/as7726-32x: Modify onlpdump -x output format and support show MFU ver#179
akenliu merged 2 commits into
accton:support_linux_4.19from
rayxhuangEC:as7726-32x-linux_4.19

Conversation

@rayxhuangEC
Copy link
Copy Markdown

What did I do

Output

root@localhost:~# onl-platform-show
Model: AS7726-32X
Manufacturer: Accton
Ports: 32 (32x100)
Platform Revision: r0
System Object Id: 1.3.6.1.4.1.42623.1.1.2.259.7726.32
System Information:
    DMI BIOS Version: v48.02.01.00
    DMI System Version: R02A
root@localhost:~# onlpdump -x
        CPLD Versions:
           CPU CPLD(0x65): FFFFFFFA
           Main CPLD(0x60): 0F
           Main CPLD(0x62): 8E
           Main CPLD(0x64): 8E
           Fan CPLD(0x66):
        Other Versions:
           BIOS: v48.02.01.00
           ONIE: 2022.08.00.04
           MFU:
root@localhost:~# ls /var/tmp/last_updated_MFU_version
ls: cannot access '/var/tmp/last_updated_MFU_version': No such file or directory
root@localhost:~# echo 0x11 > /var/tmp/last_updated_MFU_version
root@localhost:~# onlpdump -x
        CPLD Versions:
           CPU CPLD(0x65): FFFFFFFA
           Main CPLD(0x60): 0F
           Main CPLD(0x62): 8E
           Main CPLD(0x64): 8E
           Fan CPLD(0x66):
        Other Versions:
           BIOS: v48.02.01.00
           ONIE: 2022.08.00.04
           MFU: 0x11

Willy Liu and others added 2 commits June 3, 2026 13:43
1. The last_updated_MFU_version file in ONIE partition is copied
   to ONL's /var/tmp/ on ONL boot.
2. onlpdump -x reads /var/tmp/last_updated_MFU_version for MFU ver.
3. Move BIOS_VER_PATH from sysi.c to platform_lib.h and add
   MFU_VER_PATH macro.
4. Use intermediate const char* to avoid passing NULL to aim_fstrdup
   when BIOS/MFU file is missing.
@akenliu akenliu merged commit f23129f into accton:support_linux_4.19 Jun 3, 2026
@rayxhuangEC rayxhuangEC deleted the as7726-32x-linux_4.19 branch June 3, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants