我们今天能为您提供什么帮助?

How to Split, Combine, and Validate SCADAPack edge firmware

How to Split Edge Firmware into Multiple Parts on Linux

When working with large firmware files, splitting them into smaller chunks can simplify transfer and installation on edge devices. This guide demonstrates how to split the firmware file SPFW-R3.2.2-47xi.raucb into 50 MB chunks using a Linux virtual machine. You can adapt this process for different firmware files, sizes, or naming conventions.


Step 1: Split the Firmware File

Use the split command to divide the firmware into 50 MB chunks while retaining the original file name pattern:

split -b 50M --numeric-suffixes --suffix-length=3 SPFW-R3.2.2-47xi.raucb SPFW-R3.2.2-47xi.raucb.part_

Explanation of options:

  • -b 50M → chunk size of 50 MB
  • --numeric-suffixes → numeric suffix for parts
  • --suffix-length=3 → suffix length (e.g., 001, 002)
  • SPFW-R3.2.2-47xi.raucb → original firmware file
  • SPFW-R3.2.2-47xi.raucb.part_ → prefix for split parts

Before Splitting

You have the original firmware file:

SPFW-R3.2.2-47xi.raucb

FW split

After Splitting

You will see multiple part files:

SPFW-R3.2.2-47xi.raucb.part_000

SPFW-R3.2.2-47xi.raucb.part_001

SPFW-R3.2.2-47xi.raucb.part_002

...

after split


Step 2: Optional – Calculate SHA256 Checksum

To ensure integrity, calculate the checksum of the original firmware:

sha256sum SPFW-R3.2.2-47xi.raucb > original.sha256

This will help validate the combined file later.

checksumcalc


Step 3: Transfer Firmware Chunks to the Edge Device (Refer https://www.se.com/ca/en/faqs/FAQ000272309/ for details on file transfer )

Use a secure file transfer tool such as FileZilla to copy the split files to your edge device.

copy to edge


Step 4: Validate Files on the Edge Device

Log in to the edge device using SSH (e.g., via PuTTY) and confirm the files are present:

validate files in edge


Step 5: Concatenate Split Files

Recombine the split files into a single firmware file:

cat SPFW-R3.2.2-47xi.raucb.part* > SPFW-R3.2.2-47xi.raucb

Ensure the part file names are correct and all the parts are present.

concatenate the files


Step 6: Optional – Validate Checksum

Compare the checksum of the recombined file with the original:

sha256sum SPFW-R3.2.2-47xi.raucb

validate checksum

Both values should match.


Step 7: Install and Reboot

Install the concatenated firmware on the edge device and reboot:

rauc install SPFW-R3.2.2-47xi.raucb

reboot

install fw


Step 8: Validate Firmware Version

After reboot, verify the firmware version:

verinfo

validate version


Key Notes

  • Adjust chunk size (50M) based on your transfer constraints.
  • Always validate integrity using checksums.
  • Ensure correct sequence when concatenating files.

施耐德電機Taiwan

探索更多
系列:
探索更多
系列:

需要協助?

需要協助?

產品選型工具

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

購買地點

輕鬆在您所在地區找到最近的施耐德電機經銷商。

支援中心

支援中心

在同一位置找到滿足您所有需求的支援資源。

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 施耐德電機社群
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings