Message ID | 20210331072450.565605-1-bmeng.cn@gmail.com |
---|---|
State | Accepted |
Commit | e9b62617fa7783b2eb2ab055bbb46035fd12167c |
Delegated to: | Andes |
Headers | show |
Series | [1/3] riscv: mpfs-icicle-kit: Increase SYS_MALLOC_F_LEN | expand |
On Wed, Mar 31, 2021 at 3:25 PM Bin Meng <bmeng.cn@gmail.com> wrote: > > The RISC-V architecture default value of CONFIG_SYS_MALLOC_F_LEN > (0x1000) would not provide enough memory for devices like mpfs > clock and ns16550 serial to bind well before relocation. > > Signed-off-by: Bin Meng <bmeng.cn@gmail.com> > --- > > configs/microchip_mpfs_icicle_defconfig | 1 + > 1 file changed, 1 insertion(+) > Ping for this series?
On Wed, Mar 31, 2021 at 12:55 PM Bin Meng <bmeng.cn@gmail.com> wrote: > The RISC-V architecture default value of CONFIG_SYS_MALLOC_F_LEN > (0x1000) would not provide enough memory for devices like mpfs > clock and ns16550 serial to bind well before relocation. > > Signed-off-by: Bin Meng <bmeng.cn@gmail.com> > --- > > configs/microchip_mpfs_icicle_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/microchip_mpfs_icicle_defconfig > b/configs/microchip_mpfs_icicle_defconfig > index 0c15c3bd38..1cb29201b4 100644 > --- a/configs/microchip_mpfs_icicle_defconfig > +++ b/configs/microchip_mpfs_icicle_defconfig > @@ -1,4 +1,5 @@ > CONFIG_RISCV=y > +CONFIG_SYS_MALLOC_F_LEN=0x2000 > CONFIG_ENV_SIZE=0x2000 > CONFIG_DEFAULT_DEVICE_TREE="microchip-mpfs-icicle-kit" > CONFIG_TARGET_MICROCHIP_ICICLE=y > -- > 2.25.1 > > Reviewed-by: Padmarao Begari <padmarao.begari@microchip.com> Tested-by: Padmarao Begari <padmarao.begari@microchip.com>
diff --git a/configs/microchip_mpfs_icicle_defconfig b/configs/microchip_mpfs_icicle_defconfig index 0c15c3bd38..1cb29201b4 100644 --- a/configs/microchip_mpfs_icicle_defconfig +++ b/configs/microchip_mpfs_icicle_defconfig @@ -1,4 +1,5 @@ CONFIG_RISCV=y +CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_ENV_SIZE=0x2000 CONFIG_DEFAULT_DEVICE_TREE="microchip-mpfs-icicle-kit" CONFIG_TARGET_MICROCHIP_ICICLE=y
The RISC-V architecture default value of CONFIG_SYS_MALLOC_F_LEN (0x1000) would not provide enough memory for devices like mpfs clock and ns16550 serial to bind well before relocation. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> --- configs/microchip_mpfs_icicle_defconfig | 1 + 1 file changed, 1 insertion(+)