Re: kirkwood stack size

2021-10-28 Thread Marek Behún
OK I discovered how it works :) Pre-relocation only env_init() is called, which does not call the .load() env driver method, only .init(). So the 2K stack usage in env_eeprom_load() is only used after relocation, and at that time stack is big enough to contain it. This means that I can greatly

Re: kirkwood stack size

2021-10-28 Thread Stefan Roese
Hi Holger, On 28.10.21 11:37, Holger Brunck wrote: Hi Stefan, Hi Marek, Added Holger, the maintainer of the km_kirkwood boards to Cc... On 28.10.21 03:28, Marek Behún wrote: On Wed, 27 Oct 2021 16:06:58 -0700 Tony Dinh wrote: Hi Marek, In reference to:

RE: kirkwood stack size

2021-10-28 Thread Holger Brunck
Hi Stefan, Hi Marek, > Added Holger, the maintainer of the km_kirkwood boards to Cc... > > On 28.10.21 03:28, Marek Behún wrote: > > On Wed, 27 Oct 2021 16:06:58 -0700 > > Tony Dinh wrote: > > > >> Hi Marek, > >> > >> In reference to: > >>

Re: kirkwood stack size

2021-10-28 Thread Stefan Roese
Added Holger, the maintainer of the km_kirkwood boards to Cc... On 28.10.21 03:28, Marek Behún wrote: On Wed, 27 Oct 2021 16:06:58 -0700 Tony Dinh wrote: Hi Marek, In reference to: https://lists.denx.de/pipermail/u-boot/2021-October/465221.html I have several Kirkwood boards, and currently

Re: kirkwood stack size

2021-10-28 Thread Stefan Roese
the eeprom environment driver. I would like to ask about Kirkwood stack size. In arch/arm/mach-kirkwood/include/mach/config.h it says /* Kirkwood has 2k of Security SRAM, use it for SP */ #define CONFIG_SYS_INIT_SP_ADDR 0xC8012000 So if I understand correctly, Kirkwood has only 2k of init

Re: kirkwood stack size

2021-10-27 Thread Tony Dinh
Hi Marek, Ah. That makes sense! I don't have the km_kirkwood_xxx boards. Thanks, Tony On Wed, Oct 27, 2021 at 6:28 PM Marek Behún wrote: > > On Wed, 27 Oct 2021 16:06:58 -0700 > Tony Dinh wrote: > > > Hi Marek, > > > > In reference to: > >

Re: kirkwood stack size

2021-10-27 Thread Marek Behún
On Wed, 27 Oct 2021 16:06:58 -0700 Tony Dinh wrote: > Hi Marek, > > In reference to: > https://lists.denx.de/pipermail/u-boot/2021-October/465221.html > > I have several Kirkwood boards, and currently support these boards in > mainline: Sheevaplug, Zyxel NSA310S, GoFlex Home, Dockstar. I also

Re: kirkwood stack size

2021-10-27 Thread Tony Dinh
Hi Marek, In reference to: https://lists.denx.de/pipermail/u-boot/2021-October/465221.html I have several Kirkwood boards, and currently support these boards in mainline: Sheevaplug, Zyxel NSA310S, GoFlex Home, Dockstar. I also have a few out-of-tree Kirkwood u-boots that have not been submitted

kirkwood stack size

2021-10-27 Thread Marek Behún
Hello Stefan, do you have some ARM Kirkwood board? I am working on some env patches, because the code in the env/ directory is a pain in the ass of old relics, and Kirkwood is the only platform using the eeprom environment driver. I would like to ask about Kirkwood stack size. In arch/arm/mach