Re: Removing or shrinking flash areas

2016-12-30 Thread Jacob Rosenthal
I think were on the same page now. We were talking about 'stub' in previous posts, which Im going to you've listed here as 'Single image' The nrf51dk-16kbram Im forking for my target seems set up for Dual bank, with two equal sized flash areas. Sounds like split is what Im actually looking for

Re: Removing or shrinking flash areas

2016-12-30 Thread Jacob Rosenthal
It seems like the current bootloader can receive bytes over serial, but mainly boots or swaps flash areas, presuming newtmgr already received and placed the update in flash 1 For 'single bank' style it seems like I would need some kind of softdevice style solution like nordic so the bootloader has

Re: Removing or shrinking flash areas

2016-12-30 Thread Jacob Rosenthal
I think I want a bootloader, and Im ok with stub solutions 'losing' a little flash space, especially if some other dep might still want a little bit of that space. For nrf51 targets it seems like I just wont have room to split equally at the very least. What other deps use flash areas? My

Re: Removing or shrinking flash areas

2016-12-30 Thread Christopher Collins
Darn, I forgot to mention a critical point. To use the slot-1 stub solution, you will probably need to build and upload a new boot loader. Stub slot support was added to the develop branch on Dec. 21, 2016 (https://issues.apache.org/jira/browse/MYNEWT-520). Chris On Fri, Dec 30, 2016 at

Re: Removing or shrinking flash areas

2016-12-30 Thread Christopher Collins
Hi Jacob, On Fri, Dec 30, 2016 at 03:28:08PM -0700, Jacob Rosenthal wrote: > I think deps are a part of the story, but yeah the goal is to successfully > get a target bsp back to 1 larger flash image, or as many as the common set > of deps require but shrunk way down. So you just want to

Re: Removing or shrinking flash areas

2016-12-30 Thread Jacob Rosenthal
I think deps are a part of the story, but yeah the goal is to successfully get a target bsp back to 1 larger flash image, or as many as the common set of deps require but shrunk way down. On Fri, Dec 30, 2016 at 2:32 PM, Christopher Collins wrote: > nted to remove

Re: Removing or shrinking flash areas

2016-12-30 Thread Christopher Collins
Hi Jacob, On Fri, Dec 30, 2016 at 01:25:11PM -0700, Jacob Rosenthal wrote: > I worked with Sterling to shrink the nimble stack for 256k flash devices, > but Im starting to cut into pretty basic functionality. Ive noticed that > even not using splitty/flash reboot logging those are enable in the

Removing or shrinking flash areas

2016-12-30 Thread Jacob Rosenthal
I worked with Sterling to shrink the nimble stack for 256k flash devices, but Im starting to cut into pretty basic functionality. Ive noticed that even not using splitty/flash reboot logging those are enable in the bsp I forked (nrf51dk-16kbram) Any guidance on removing or shrinking those? Whats