at91 sama5d3 "regressions"

Peter Rosin peda at axentia.se
Sat Sep 18 23:32:14 PDT 2021


On 2021-09-18 01:57, Peter Rosin wrote:
> On 2021-09-18 00:37, Peter Rosin wrote:
>> Hi!
>>
>> I have old boards that I'm trying to get up to current
>> revisions of various pieces of software, and I'm running
>> into a couple of problems with barebox. After bisecting
>> and sorting though git history for a couple of days,
>> these are my findings...
> 
> I meant to mention that I'm using this extra patch for my board.
> 
> As you can see, it's been a couple of years, and it is not at
> all unlikely that the root cause is in these files, and that
> there has been changes in the other parts of the sama5d3 code
> that I need to pick up.
> 
> I will dig into updating these files, and check if that help.

Ok, it turns out I don't need to do that update, because the
only thing that's actually used from the extra patch are the
tse850_defconfig file and the environment. But since the
tse850_defconfig file fails to set CONFIG_MACH_TSE850, the
actual code in the extra patch is not used (not even compiled).
Instead, the board code for sama5d3x is what I have been using
all along. Big blush about that, and sorry for the confusion!

However, the above also means that the quotes around the
"regressions" word in the subject can be removed. The problems
are squarely in the upstream code base, and I do need fixes
for region overlap, eXecute Never and RO_DATA_SECTION.

I have this hunch that the region overlap is what triggers
the other problems, but that's a pretty wild guess...

Cheers,
Peter



More information about the barebox mailing list