Skip to content

Commit

Permalink
more bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
grg-haas committed Jun 18, 2024
1 parent eec763b commit f13bcfa
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test-system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
runs-on: ${{ matrix.platform == 'generic' && 'ubuntu-latest' || matrix.platform }}
environment: ${{ matrix.platform != 'generic' && 'track' || null }}
strategy:
fail-fast: false
matrix:
platform: [generic, mpfs, cva6]
bits: [32, 64]
Expand Down Expand Up @@ -82,7 +83,7 @@ jobs:
- name: Check expected
run: |
[[ -z $(diff cmd.log scripts/ci/plat/${{ matrix.platform }}/expected.log) ]]
[[ -z $(diff -w cmd.log scripts/ci/plat/${{ matrix.platform }}/expected.log) ]]
- name: Upload run log
if: failure()
Expand Down
10 changes: 8 additions & 2 deletions mkutils/plat/cva6/run.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ KERNEL = $(BUILDROOT_BUILDDIR)/images/uImage
SDDEVICE_PART1 = $(shell lsblk $(SD_DEVICE) -no PATH | head -2 | tail -1)
SDDEVICE_PART2 = $(shell lsblk $(SD_DEVICE) -no PATH | head -3 | tail -1)



flash: $(SD_DEVICE)
$(info PAYLOAD INFORMATION)
$(info $(PAYLOAD))
Expand All @@ -21,6 +19,14 @@ flash: $(SD_DEVICE)
dd if=$(PAYLOAD) of=$(SDDEVICE_PART1) status=progress oflag=sync bs=1M
dd if=$(KERNEL) of=$(SDDEVICE_PART2) status=progress oflag=sync bs=1M

CALL_LOGFILE ?= $(shell mktemp)
call:
$(call log,info,Calling command on the CVA6 board)
ssh -i $(BUILDROOT_BUILDDIR)/target/root/.ssh/id-rsa \
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \
root@$(KEYSTONE_IP) $(KEYSTONE_COMMAND) 2>&1 | \
grep -v "Warning: Permanently added" | tee -a $(CALL_LOGFILE)

debug-connect:
$(call log,info,Connecting to OpenOCD)
$(BUILDROOT_BUILDDIR)/host/bin/riscv64-buildroot-linux-gnu-gdb \
Expand Down
2 changes: 1 addition & 1 deletion mkutils/plat/mpfs/run.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ run:

CALL_LOGFILE ?= $(shell mktemp)
call:
$(call log,info,Calling command in QEMU)
$(call log,info,Calling command on the MPFS board)
ssh -i $(BUILDROOT_BUILDDIR)/target/root/.ssh/id-rsa \
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \
root@$(KEYSTONE_IP) $(KEYSTONE_COMMAND) 2>&1 | \
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/plat/cva6/expected.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Verifying archive integrity... MD5 checksums are OK. All good.
Uncompressing Keystone Enclave Package
testing test-stack
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/plat/generic/expected.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Verifying archive integrity... MD5 checksums are OK. All good.
Uncompressing Keystone Enclave Package
testing test-stack
Expand Down
1 change: 0 additions & 1 deletion scripts/ci/plat/mpfs/expected.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Verifying archive integrity... MD5 checksums are OK. All good.
Uncompressing Keystone Enclave Package
testing test-stack
Expand Down

0 comments on commit f13bcfa

Please sign in to comment.