Nhãn hiệu của chúng tôi

Impact-Company-Logo-English Black-01-177x54

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.
		
Hôm nay chúng tôi có thể giúp gì cho bạn?
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.

Schneider Electric Việt Nam

Tìm hiểu thêm
Phạm vi:
Tìm hiểu thêm
Phạm vi:
  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cộng đồng Schneider Electric
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings