Files
workflow-flash-with-uboot/.gitea/workflows/rootfs-transfer.yml
T
2026-11-09 20:53:02 +03:30

24 خطوط
628 B
YAML

name: Transfer, Write and Verify RootFS
on:
workflow_dispatch:
inputs:
rootfs_size:
description: 'Actual RootFS partition size in bytes (decimal or 0x-prefixed hex)'
required: true
type: string
jobs:
rootfs-transfer:
runs-on: serial-runner
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Transfer RootFS, write SPI flash and verify read-back
env:
ROOTFS_PARTITION_SIZE: ${{ inputs.rootfs_size }}
run: |
/usr/bin/python3 scripts/serial_command.py transfer-rootfs --rootfs-size "$ROOTFS_PARTITION_SIZE"