replace unlzma.c with pure Rust implementation #1

Closed
opened 2020-04-28 19:09:45 +08:00 by sb10q · 2 comments
Owner

Doesn't need to be LZMA.
There are lots of Rust compression crates but it is difficult to find a good one.
Brotli is not appropriate due to 120KB static dictionary of words that are not applicable to binary data.

Doesn't need to be LZMA. There are lots of Rust compression crates but it is difficult to find a good one. Brotli is not appropriate due to 120KB static dictionary of words that are not applicable to binary data.
sb10q added the
priority:low
label 2020-07-15 18:05:04 +08:00
Author
Owner

LZMA compression is not good enough and the Zynq OCM tends to overflow when Rust performance optimizations are turned on.

LZMA compression is not good enough and the Zynq OCM tends to overflow when Rust performance optimizations are turned on.
Author
Owner

The other compression algorithms available in the Linux kernel (bz2, inflate, lz4, lzo, xz, zstd) perform the same or worse than lzma on the runtime binary, so I guess we have to abandon the idea of the self-extractible OCM firmware.

The other compression algorithms available in the Linux kernel (bz2, inflate, lz4, lzo, xz, zstd) perform the same or worse than lzma on the runtime binary, so I guess we have to abandon the idea of the self-extractible OCM firmware.
sb10q closed this issue 2020-08-24 09:52:47 +08:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/artiq-zynq#1
No description provided.