diff options
author | Bin Meng | 2022-05-24 12:31:13 +0800 |
---|---|---|
committer | Leo Yu-Chi Liang | 2022-05-26 18:42:34 +0800 |
commit | ce78c4cd6e8f5cd5e2322a026cc2d333f500781b (patch) | |
tree | f7a73f8952853fe2e76748c3fd550939a2430f7c /doc/board | |
parent | b84d24c3c5963a9fd130c073d504f8d80b5d1a9c (diff) |
riscv: sifive: unleashed: Set kernel_comp_addr_r for compressed kernel
Set kernel_comp_addr_r and kernel_comp_size for compressed kernel.
Adjust existing addresses for ramdisk, so that kernel_comp_addr_r
comes before the ramdisk image, since the decompressed kernel size
is known to us. This way we can allow big ramdisk image to be loaded.
Update unleashed.rst to remove the manual environment configuration
for compressed kernel boot.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'doc/board')
-rw-r--r-- | doc/board/sifive/unleashed.rst | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/board/sifive/unleashed.rst b/doc/board/sifive/unleashed.rst index c8a62068a77..ce38b701d78 100644 --- a/doc/board/sifive/unleashed.rst +++ b/doc/board/sifive/unleashed.rst @@ -216,8 +216,6 @@ Or if you want to use a compressed kernel image file such as Image.gz 1.2 MiB/s done Bytes transferred = 4809458 (4962f2 hex) - =>setenv kernel_comp_addr_r 0x90000000 - =>setenv kernel_comp_size 0x500000 By this time, correct kernel image is loaded and required environment variables are set. You can proceed to load the ramdisk and device tree from the tftp server |