
14 Apr
2017
14 Apr
'17
10:49 p.m.
On 2017-04-12, Tom Rini wrote:
We also need to start setting bootm_size. Quoting myself from include/configs/ti_armv7_common.h: /*
- We setup defaults based on constraints from the Linux kernel, which should
- also be safe elsewhere. We have the default load at 32MB into DDR (for
- the kernel), FDT above 128MB (the maximum location for the end of the
- kernel), and the ramdisk 512KB above that (allowing for hopefully never
- seen large trees). We say all of this must be within the first 256MB
- as that will normally be within the kernel lowmem and thus visible via
- bootm_size and we only run on platforms with 256MB or more of memory.
*/ ... "bootm_size=0x10000000\0" \
I mostly add the variables defined in doc/README.distro for boards I'm adding distro_bootcmd support to, and there's no mention of bootm_size there.
Are there other places that it would make more sense to document or add documentation for this variable setting?
Does bootm_size impact bootz/booti as well, or is it just used with bootm?
live well, vagrant