OpenNetworkLinux icon indicating copy to clipboard operation
OpenNetworkLinux copied to clipboard

[Accton][as7535-28xb] Modify what onlpdump -x displays

Open acctalex opened this issue 6 months ago • 0 comments

[Accton][as7535-28xb] Modify what onlpdump -x displays

  1. Add a sysfs, minor_vsrsion, in x86-64-accton-as7535-28xb-cpld.c

  2. Add a sysfs, minor_version, in x86-64-accton-as7535-28xb-fan.c

  3. Add 3 sysfses, fpga_minor_version, cpu_cpld_version, and cpu_cpld_minor_version, in x86-64-accton-as7535-28xb-sys.c

  4. Modify what onlpdump -x displays. Before modification:

         CPLD Versions:
     CPLD:0b
     FPGA:5b
     Fan CPLD:0b
    

    After modification:

         CPLD Versions:
            CPU CPLD(0x65): E1.0A
            Main CPLD(0x61): 0B.04
            Fan CPLD(0x66): 0B.13
            FPGA(0x60): 5B.16
    
         Other Versions:
            BIOS: v48.0b.03.00
            ONIE: 2020.11.00.14
            BMC: 0.4.00
    

acctalex avatar Aug 23 '24 08:08 acctalex