Re: [PATCH] bootm: fix wrong conditions about images overlap

2020-10-24 Thread Tom Rini
On Wed, Oct 21, 2020 at 02:17:03PM +0900, Jaehoon Chung wrote: > It doesn't need to consider start byte address. > If ramdisk size is 0x80 and start address is 0x270, then it's > used until 0x02ef, not 0x02f0. But it's detected to overlapt RD > image, when kernel start address is

[PATCH] bootm: fix wrong conditions about images overlap

2020-10-20 Thread Jaehoon Chung
It doesn't need to consider start byte address. If ramdisk size is 0x80 and start address is 0x270, then it's used until 0x02ef, not 0x02f0. But it's detected to overlapt RD image, when kernel start address is 0x02f0. Because it's doing wrong calculation about rd_len. This