forked from DGNum/liminix
restore boot.tftp.freeSpaceBytes
This commit is contained in:
parent
1730cf07b1
commit
dd8ec18881
2 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,7 @@ in {
|
|||
hex() { printf "0x%x" $1; }
|
||||
rootfsStart=${toString cfg.loadAddress}
|
||||
rootfsSize=$(binsize64k ${o.rootfs} )
|
||||
rootfsSize=$(($rootfsSize + ${toString cfg.freeSpaceBytes} ))
|
||||
dtbStart=$(($rootfsStart + $rootfsSize))
|
||||
dtbSize=$(binsize ${o.dtb} )
|
||||
imageStart=$(($dtbStart + $dtbSize))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue