Skip to content

Commit e8f2663

Browse files
committed
sg2042: fixup dtb console args
1 parent 894d2a3 commit e8f2663

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/sophgo-sg204x.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,14 @@ jobs:
265265
name: "kernel-${{ matrix.kernel_target_name }}"
266266
path: staging/riscv64
267267
merge-multiple: true
268+
- name: Install dtc
269+
shell: bash
270+
run: |
271+
sudo apt-get update
272+
sudo apt-get install -y dtc
268273
- name: Fixup dtb name
269274
run: |
270-
mv staging/riscv64/mango-milkv-pioneer.dtb staging/riscv64/sg2042-milkv-pioneer.dtb
275+
dtc staging/riscv64/mango-milkv-pioneer.dtb | sed 's/console=tty1 //' | dtc > staging/riscv64/sg2042-milkv-pioneer.dtb
271276
- name: Fetch Pre-built u-root
272277
uses: actions/download-artifact@v5
273278
with:

0 commit comments

Comments
 (0)