Skip to content

accon/as9726-32d: support linux 4.19#175

Open
rayxhuangEC wants to merge 6 commits into
accton:masterfrom
rayxhuangEC:as9726-32d-linux_4.19
Open

accon/as9726-32d: support linux 4.19#175
rayxhuangEC wants to merge 6 commits into
accton:masterfrom
rayxhuangEC:as9726-32d-linux_4.19

Conversation

@rayxhuangEC
Copy link
Copy Markdown

@rayxhuangEC rayxhuangEC commented Jun 2, 2026

What did I do

Output

root@localhost:~# uname -a
Linux localhost 4.19.81-OpenNetworkLinux #1 SMP Mon Jun 1 06:15:33 UTC 2026 x86_64 GNU/Linux
root@localhost:~# onlpdump -x
        CPLD Versions:
           CPU CPLD(0x65): E1
           FPGA(0x60): 08
           Main CPLD2(0x61): 07
           Main CPLD3(0x62): 04
           FAN CPLD(0x66): A4
        Other Versions:
           BIOS: v45.0a.02.00
           ONIE: 2020.08.00.14
           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:~# ls /var/tmp
root@localhost:~# echo '0xa0' > /var/tmp/last_updated_MFU_version
root@localhost:~# ls /var/tmp
last_updated_MFU_version
root@localhost:~# onlpdump -x
        CPLD Versions:
           CPU CPLD(0x65): E1
           FPGA(0x60): 08
           Main CPLD2(0x61): 07
           Main CPLD3(0x62): 04
           FAN CPLD(0x66): A4
        Other Versions:
           BIOS: v45.0a.02.00
           ONIE: 2020.08.00.14
           MFU: 0xa0
root@localhost:~#

rayxhuangEC and others added 6 commits May 29, 2026 15:32
The onlbuilder script used Python 2 syntax (print statements,
except comma syntax, identity comparison with literals) which
fails on systems without Python 2 installed.

- Change shebang to #!/usr/bin/env python
- Convert print statements to print() function calls
- Replace 'except Exception, e' with 'except Exception as e'
- Replace 'is 0' with '== 0'
Replace apt.opennetlinux.org with archive.debian.org

Signed-off-by: rayx_huang <rayx_huang@edge-core.com>
CPU: Intel Broadwell-DE D-1519 4 cores
RAM: DDR4 8GB x2 SO-DIMM (Expandable up to 16GBx2, w/i ECC)
SSD: M.2 MLC 50GB x 1
PHY: Marvell 88E1111
CPLD: Altera MAX 10 10M04DAU324C8G X1
CPLD: Altera Cyclone IV EP4CGX30CF23C7N X1
CPLD: Altera 5M1270ZF256C5N x1
Ethernet Port: 400G QSFP56-DD port x 32 and 10G SFP+ x 2
PSU: 1+1 Redundant/hot swappable 1500W AC/DC PSU (C14 ac inlet)
Cooling: 5+1 fan-tray modules with 40mm x40mm x 56mm 12V fans, hotswappable
Dimension: 17.26” x 23.23” x 1U (438.4x590x43.5mm)
Linux kernel version: 5.4, due to customer requirements

Signed-off-by: Alex Lai <alex_lai@edge-core.com>
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.
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