mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-15 19:51:37 +00:00
VisionFive 2: Add default compressed kernel address
The default U-Boot environment does not provide kernel_comp_addr_r and kernel_comp_size, needed when using a compressed kernel image. These variables are listed as mandatory in upstream U-Boot to allow this feature without needed user configuration: https://github.com/u-boot/u-boot/blob/master/doc/develop/distro.rst#required-environment-variables The values are taken from the uEnv.txt shipped by StarFive's own Debian images, which does use a gzip-compressed kernel image hence proven to be valid. Adding those values to the U-Boot default environment allows them to be removed from the dedicated uEnv.txt and enables support for compressed kernel images independent of the used uEnv.txt or whether one is used at all. Signed-off-by: MichaIng <micha@dietpi.com>
This commit is contained in:
parent
d4aa8df73d
commit
ec4da28612
1 changed files with 2 additions and 0 deletions
|
@ -283,6 +283,8 @@
|
|||
"fdt_high=0xffffffffffffffff\0" \
|
||||
"initrd_high=0xffffffffffffffff\0" \
|
||||
"kernel_addr_r=0x40200000\0" \
|
||||
"kernel_comp_addr_r=0x90000000\0" \
|
||||
"kernel_comp_size=0x10000000\0" \
|
||||
"fdt_addr_r=0x46000000\0" \
|
||||
"scriptaddr=0x43900000\0" \
|
||||
"script_offset_f=0x1fff000\0" \
|
||||
|
|
Loading…
Add table
Reference in a new issue