You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Marko Kiiskila (JIRA)" <ji...@apache.org> on 2017/02/14 01:57:42 UTC

[jira] [Resolved] (MYNEWT-545) newt - Newt doesn't limit size of loader images.

     [ https://issues.apache.org/jira/browse/MYNEWT-545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marko Kiiskila resolved MYNEWT-545.
-----------------------------------
    Resolution: Fixed

We were using AT() as the load address for data.

.data: AT(_etext) {

} > RAM

We should be doing:
.data: {

} > RAM AT > FLASH.

The latter takes the space used by .data into account when calculating flash use.

> newt - Newt doesn't limit size of loader images.
> ------------------------------------------------
>
>                 Key: MYNEWT-545
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-545
>             Project: Mynewt
>          Issue Type: Bug
>          Components: Newt
>            Reporter: Christopher Collins
>            Assignee: Marko Kiiskila
>             Fix For: v1_0_0_rel
>
>
> Normally, a BSP's linker script limits the size of an image.  When newt builds a split image, it uses some strange linker magic, so the BSP's flash size doesn't get used as a maximum image size.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)