* [U-Boot] U-Boot + libtomcrypt
@ 2013-07-08 8:28 André Schaller
2013-07-08 16:24 ` Andreas Bießmann
0 siblings, 1 reply; 2+ messages in thread
From: André Schaller @ 2013-07-08 8:28 UTC (permalink / raw)
To: u-boot
Hi there,
I want to add some Random Number Generation functions / Hashing
Functions to u-boot. I implemented the functionality and now I need to
include it to the upstream source code of u-boot (inside
hwinit-common.c). I was wondering if these even works? Is this lib small
enough to fit in the MLO? Can I adjust the size of the MLO if it is too
large? Did anyone tried to do this before and could share experiences?
Right now I am including all the missing header-files to the source code
(which are needed by libtomcrypt).
Thanks in adaance,
Andr?
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] U-Boot + libtomcrypt
2013-07-08 8:28 [U-Boot] U-Boot + libtomcrypt André Schaller
@ 2013-07-08 16:24 ` Andreas Bießmann
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Bießmann @ 2013-07-08 16:24 UTC (permalink / raw)
To: u-boot
Hi Andr?,
On 08.07.13 10:28, Andr? Schaller wrote:
> Hi there,
>
> I want to add some Random Number Generation functions / Hashing
> Functions to u-boot. I implemented the functionality and now I need to
> include it to the upstream source code of u-boot (inside
> hwinit-common.c). I was wondering if these even works? Is this lib small
> enough to fit in the MLO?
dunno ...
> Can I adjust the size of the MLO if it is too
> large?
Yes you can, but have to respect physical limits ;) The SPL needs to fit
into the SRAM!
There is a pre-defined border for build-time checks (at least on ARM ->
CONFIG_SPL_MAX_SIZE) and some tools to investigate runtime behavior
(*.su files -> read README.SPL 'estimating stack usage').
> Did anyone tried to do this before and could share experiences?
I pulled the software implementation of BCH in SPL to have second NAND
sector secured by BCH8 on OMAP3 devices (which have no ELM). It worked
on board tricorder and devkit8000 but I had to increase the
CONFIG_SPL_MAX_SIZE (AFAIR).
Regards,
Andreas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-08 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-08 8:28 [U-Boot] U-Boot + libtomcrypt André Schaller
2013-07-08 16:24 ` Andreas Bießmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox