Message ID | 20221211201704.25858-2-indrek.kruusa@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | [1/5] configs/nezha_defconfig: bump versions for uboot, sbi and linux kernel | expand |
>>>>> "Indrek" == Indrek Kruusa <indrek.kruusa@gmail.com> writes: > Signed-off-by: Indrek Kruusa <indrek.kruusa@gmail.com> > --- > board/nezha/genimage.cfg | 25 +++---------------------- > 1 file changed, 3 insertions(+), 22 deletions(-) > - > partition rootfs { > partition-type = 0x83 > image = "rootfs.ext4" > bootable = "true" > - offset = 18M > + offset = 2M Any specific reason to use 2MB? u-boot-sunxi-with-spl.bin is only 768KB.
Kontakt Peter Korsgaard (<peter@korsgaard.com>) kirjutas kuupƤeval E, 12. detsember 2022 kell 09:24: > >>>>> "Indrek" == Indrek Kruusa <indrek.kruusa@gmail.com> writes: > > > Signed-off-by: Indrek Kruusa <indrek.kruusa@gmail.com> > > --- > > board/nezha/genimage.cfg | 25 +++---------------------- > > 1 file changed, 3 insertions(+), 22 deletions(-) > > > - > > partition rootfs { > > partition-type = 0x83 > > image = "rootfs.ext4" > > bootable = "true" > > - offset = 18M > > + offset = 2M > > Any specific reason to use 2MB? u-boot-sunxi-with-spl.bin is only 768KB. > I was shy enough when fine tuning that space. Yes, it fits into 1MB. > > -- > Bye, Peter Korsgaard >
diff --git a/board/nezha/genimage.cfg b/board/nezha/genimage.cfg index 783391fb99..5763b40cd4 100644 --- a/board/nezha/genimage.cfg +++ b/board/nezha/genimage.cfg @@ -4,34 +4,15 @@ image sdcard.img { hdimage { } - partition boot0-1 { - in-partition-table = "no" - image = "boot0_sdcard_sun20iw1p1.bin" - offset = 8K - } - - partition boot0-2 { - in-partition-table = "no" - image = "boot0_sdcard_sun20iw1p1.bin" - offset = 128K - } - partition u-boot-1 { in-partition-table = "no" - image = "u-boot.toc1" - offset = 12M - } - - partition u-boot-2 { - in-partition-table = "no" - image = "u-boot.toc1" - offset = 16400K + image = "u-boot-sunxi-with-spl.bin" + offset = 128K } - partition rootfs { partition-type = 0x83 image = "rootfs.ext4" bootable = "true" - offset = 18M + offset = 2M } }
Signed-off-by: Indrek Kruusa <indrek.kruusa@gmail.com> --- board/nezha/genimage.cfg | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-)