Re: [PATCH 2/2] fdtgrep: fix fdtgrep_find_regions() error with some device trees

2020-01-12 Thread Anatolij Gustschin
Hi Patrick, On Fri, 10 Jan 2020 07:58:41 + Patrick DELAUNAY patrick.delau...@st.com wrote: ... > I have locally a patch, but I don't yet upstream it > It is done today with: > "tools: ftdgrep: correct the find regions loop in do_fdtgrep" > http://patchwork.ozlabs.org/project/ub

RE: [PATCH 2/2] fdtgrep: fix fdtgrep_find_regions() error with some device trees

2020-01-09 Thread Patrick DELAUNAY
Hi, > From: U-Boot On Behalf Of Simon Glass > Sent: jeudi 9 janvier 2020 21:04 > > On Thu, 9 Jan 2020 at 09:35, Anatolij Gustschin wrote: > > > > With some device trees (i.e. i.MX6 SoC) and longer REMOVE_PROPS list > > the fdtgrep tool stops with "Internal error with fdtgrep_find_regions()". >

Re: [PATCH 2/2] fdtgrep: fix fdtgrep_find_regions() error with some device trees

2020-01-09 Thread Simon Glass
On Thu, 9 Jan 2020 at 09:35, Anatolij Gustschin wrote: > > With some device trees (i.e. i.MX6 SoC) and longer REMOVE_PROPS list > the fdtgrep tool stops with "Internal error with fdtgrep_find_regions()". > Increase 'max_regions' count to avoid such errors. > > Signed-off-by: Anatolij Gustschin >