Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zip_sva_perf run hw file decompress failed #298

Closed
youngersh opened this issue Jun 12, 2021 · 1 comment
Closed

zip_sva_perf run hw file decompress failed #298

youngersh opened this issue Jun 12, 2021 · 1 comment

Comments

@youngersh
Copy link
Collaborator

prepare:
dd if=/dev/urandom of=origin bs=1K count=512
zip_sva_perf --in origin --dest

test:
zip_sva_perf -d --in dest --out origin2

result:
Missing IN list file!
Fail to run hw_ifl_perf() (-22)!

I think the error is caused by the 'load_ilist'. But I can't understand the use of 'ilist'. So I need you help.
@hzhuang1

@hzhuang1
Copy link
Collaborator

hzhuang1 commented Jun 12, 2021

For your reference, you could print out the full command by adding "echo" command in sanity_test.sh.

Let's come back your issue. You're trying to compress data in BLOCK mode with multiple BLOCKS, and decompress data in BLOCK mode, too. So you need to generate gzip_list.bin in compression.
$zip_sva_perf --in origin --out dest --olist /tmp/gzip_list.bin -b 1024
$zip_sva_perf -d --in dest --out origin2 --inlist /tmp/gzip_list.bin -b 1024

gzip_list.bin records each block size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants