Why sbrk clear the increased memory region

2019-04-21 Thread 张忠山
Recently, I'm using barebox in a deep embedded project, and need some funtctions in libc/libm, So I linked barebox with newlib But whenever newlib call sbrk with negtive `increment`, barebox crash. The reason is sbrk clean memory region using `increment`. Why sbrk must clear the increased

Re: [PATCH v3 14/15] ARM: at91: microchip-ksz9477: provide board code fallback

2019-04-21 Thread Ahmad Fatoum
Hello Sam, On 2/4/19 20:01, Sam Ravnborg wrote: > Hi Ahmad. > > On Mon, Apr 01, 2019 at 12:18:22PM +0200, Ahmad Fatoum wrote: >> The newly added device tree based first stage fails to load the second >> stage from MMC, which might be in relation to a preceding atmel_mci >> "command/data timeout"

Re: [PATCH v3 10/15] images: at91: differentiate between first and second stage images

2019-04-21 Thread Ahmad Fatoum
Hello Sam, On 2/4/19 19:49, Sam Ravnborg wrote: > Hi Ahmad. > > On Mon, Apr 01, 2019 at 12:18:18PM +0200, Ahmad Fatoum wrote: >> Incoming microchip-ksz9477-evb first stage will add one more entry point >> for the first stage. As there is a little reason to use the same piggy >> data for both

Re: [PATCH v3 01/15] LICENSES: add BSD-1-Clause license

2019-04-21 Thread Ahmad Fatoum
On 1/4/19 14:20, Roland Hieber wrote: > On Mon, Apr 01, 2019 at 12:18:09PM +0200, Ahmad Fatoum wrote: >> Incoming sama5d3 bootstrap code has been ported from the at91bootstrap >> project and is licensed under a 1-clause BSD license. To remove >> boilerplate legal text there, place the license at a