tmolteno / d1_build

Debian disk image builder for the Sipeed Lichee RV Risc-v Single Board Computer
GNU General Public License v3.0
59 stars 16 forks source link

Compressed Image Support #3

Closed tmolteno closed 2 years ago

tmolteno commented 2 years ago

We have to somehow find suitable values for kernel_comp_addr_r, and kernel_comp_size in the boot script. These are needed to decompress Image.gz.

I'll paste more stuff after attempting.

tmolteno commented 2 years ago

See this comment...

https://www.reddit.com/r/RISCV/comments/tblwcv/comment/i1fr4jt/?utm_source=share&utm_medium=web2x&context=3

This suggests: setenv kernel_comp_addr_r 0x44000000 setenv kernel_comp_size 0xb000000