Skip to contentSkip to conversation

TPL max size for RK3288 ?

U-Boot Tom Rini 2 participants 2 messages Jan 18, 2019 – Jan 21, 2019

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

Hey,

So I was playing with how to make our linker scripts more re-usable and have the kinds of link error on excessive size checks that we find really useful to avoid introducing run time failures, and I found something. On rk3288 we don't size TPL_MAX_SIZE, only for rk3368. Is there a reasonable one to set here? Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190118/7dee31e2/attachment.sig>
#1 lore raw

Hi Tom,

Quoted 8 lines · Tom Rini

Hey,

So I was playing with how to make our linker scripts more re-usable and have the kinds of link error on excessive size checks that we find really useful to avoid introducing run time failures, and I found something. On rk3288 we don't size TPL_MAX_SIZE, only for rk3368. Is there a reasonable one to set here? Thanks!

We did not enable TPL for rk3288 at first, and now there already one rk3288 board using TPL, so it's reasonable to use TPL_MAX_SIZE for rk3288.

rk3288's TPL_MAX_SIZE is 32768.

Thanks,
- Kever