Add explanation about calculating maximum kernel sizes

This commit is contained in:
Martin Michlmayr 2015-12-31 10:34:54 -08:00 committed by Ian Campbell
parent adc2665321
commit a53efced4f
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ hardware-long: Marvell Kirkwood based systems (SheevaPlug, QNAP TS-119/TS-219, e
[kirkwood_image]
recommends: u-boot-tools
## Maximum kernel size for supported devices (64 bytes is the u-boot header)
# SheevaPlug: 4194304 - 64 = 4194240
# QNAP TS-119/TS-219: 2097152 - 64 = 2097088
check-size: 2097088
@ -39,6 +40,7 @@ hardware-long: Marvell Orion 5181, 5182 and 5281 based systems (QNAP TS-109/TS-2
[orion5x_image]
recommends: u-boot-tools
## Maximum kernel size for supported devices (8 bytes is the machine ID; 64 bytes the u-boot header)
# D-Link DNS-323: 1572864 - 8 - 64 = 1572792 (too small, no longer supported)
# HP Media Vault mv2120: 2097152 - 8 - 64 = 2097080
# QNAP TS-109/TS-209 & TS-409: 2097152 - 8 - 64 = 2097080