Message ID | 20200707135049.9521-6-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show |
Series |
|
Related | show |
On 2020/7/7 下午9:50, Jagan Teki wrote: > Adjust the ENV offset, size to fit into all images > on 16MB flash. > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Kever Yang<kever.yang@rock-chips.com> Thanks, - Kever > --- > Changes for v3: > - fix configs > > configs/roc-pc-mezzanine-rk3399_defconfig | 4 ++-- > configs/roc-pc-rk3399_defconfig | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/configs/roc-pc-mezzanine-rk3399_defconfig b/configs/roc-pc-mezzanine-rk3399_defconfig > index b2c370cc59..f15dddc684 100644 > --- a/configs/roc-pc-mezzanine-rk3399_defconfig > +++ b/configs/roc-pc-mezzanine-rk3399_defconfig > @@ -1,8 +1,8 @@ > CONFIG_ARM=y > CONFIG_ARCH_ROCKCHIP=y > CONFIG_SYS_TEXT_BASE=0x00200000 > -CONFIG_ENV_SIZE=0x6000 > -CONFIG_ENV_OFFSET=0x460000 > +CONFIG_ENV_SIZE=0x8000 > +CONFIG_ENV_OFFSET=0x3F8000 > CONFIG_ENV_SECT_SIZE=0x1000 > CONFIG_SPL_DM_SPI=y > CONFIG_ROCKCHIP_RK3399=y > diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig > index 588d03952a..9ffde7f960 100644 > --- a/configs/roc-pc-rk3399_defconfig > +++ b/configs/roc-pc-rk3399_defconfig > @@ -1,8 +1,8 @@ > CONFIG_ARM=y > CONFIG_ARCH_ROCKCHIP=y > CONFIG_SYS_TEXT_BASE=0x00200000 > -CONFIG_ENV_SIZE=0x6000 > -CONFIG_ENV_OFFSET=0x460000 > +CONFIG_ENV_SIZE=0x8000 > +CONFIG_ENV_OFFSET=0x3F8000 > CONFIG_ENV_SECT_SIZE=0x1000 > CONFIG_SPL_DM_SPI=y > CONFIG_ROCKCHIP_RK3399=y
On 2020/7/18 上午11:20, Kever Yang wrote: > > On 2020/7/7 下午9:50, Jagan Teki wrote: >> Adjust the ENV offset, size to fit into all images >> on 16MB flash. >> >> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > Reviewed-by: Kever Yang<kever.yang@rock-chips.com> Applied to u-boot-rockchip master for this patch set, thanks. > > Thanks, > - Kever >> --- >> Changes for v3: >> - fix configs >> >> configs/roc-pc-mezzanine-rk3399_defconfig | 4 ++-- >> configs/roc-pc-rk3399_defconfig | 4 ++-- >> 2 files changed, 4 insertions(+), 4 deletions(-) >> >> diff --git a/configs/roc-pc-mezzanine-rk3399_defconfig >> b/configs/roc-pc-mezzanine-rk3399_defconfig >> index b2c370cc59..f15dddc684 100644 >> --- a/configs/roc-pc-mezzanine-rk3399_defconfig >> +++ b/configs/roc-pc-mezzanine-rk3399_defconfig >> @@ -1,8 +1,8 @@ >> CONFIG_ARM=y >> CONFIG_ARCH_ROCKCHIP=y >> CONFIG_SYS_TEXT_BASE=0x00200000 >> -CONFIG_ENV_SIZE=0x6000 >> -CONFIG_ENV_OFFSET=0x460000 >> +CONFIG_ENV_SIZE=0x8000 >> +CONFIG_ENV_OFFSET=0x3F8000 >> CONFIG_ENV_SECT_SIZE=0x1000 >> CONFIG_SPL_DM_SPI=y >> CONFIG_ROCKCHIP_RK3399=y >> diff --git a/configs/roc-pc-rk3399_defconfig >> b/configs/roc-pc-rk3399_defconfig >> index 588d03952a..9ffde7f960 100644 >> --- a/configs/roc-pc-rk3399_defconfig >> +++ b/configs/roc-pc-rk3399_defconfig >> @@ -1,8 +1,8 @@ >> CONFIG_ARM=y >> CONFIG_ARCH_ROCKCHIP=y >> CONFIG_SYS_TEXT_BASE=0x00200000 >> -CONFIG_ENV_SIZE=0x6000 >> -CONFIG_ENV_OFFSET=0x460000 >> +CONFIG_ENV_SIZE=0x8000 >> +CONFIG_ENV_OFFSET=0x3F8000 >> CONFIG_ENV_SECT_SIZE=0x1000 >> CONFIG_SPL_DM_SPI=y >> CONFIG_ROCKCHIP_RK3399=y > > > >
diff --git a/configs/roc-pc-mezzanine-rk3399_defconfig b/configs/roc-pc-mezzanine-rk3399_defconfig index b2c370cc59..f15dddc684 100644 --- a/configs/roc-pc-mezzanine-rk3399_defconfig +++ b/configs/roc-pc-mezzanine-rk3399_defconfig @@ -1,8 +1,8 @@ CONFIG_ARM=y CONFIG_ARCH_ROCKCHIP=y CONFIG_SYS_TEXT_BASE=0x00200000 -CONFIG_ENV_SIZE=0x6000 -CONFIG_ENV_OFFSET=0x460000 +CONFIG_ENV_SIZE=0x8000 +CONFIG_ENV_OFFSET=0x3F8000 CONFIG_ENV_SECT_SIZE=0x1000 CONFIG_SPL_DM_SPI=y CONFIG_ROCKCHIP_RK3399=y diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index 588d03952a..9ffde7f960 100644 --- a/configs/roc-pc-rk3399_defconfig +++ b/configs/roc-pc-rk3399_defconfig @@ -1,8 +1,8 @@ CONFIG_ARM=y CONFIG_ARCH_ROCKCHIP=y CONFIG_SYS_TEXT_BASE=0x00200000 -CONFIG_ENV_SIZE=0x6000 -CONFIG_ENV_OFFSET=0x460000 +CONFIG_ENV_SIZE=0x8000 +CONFIG_ENV_OFFSET=0x3F8000 CONFIG_ENV_SECT_SIZE=0x1000 CONFIG_SPL_DM_SPI=y CONFIG_ROCKCHIP_RK3399=y
Adjust the ENV offset, size to fit into all images on 16MB flash. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- Changes for v3: - fix configs configs/roc-pc-mezzanine-rk3399_defconfig | 4 ++-- configs/roc-pc-rk3399_defconfig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)