[PATCH 3/3] Revert "scripts/common: fix write_file when opened with mmap"
andrej.picej at norik.com
Mon Feb 28 03:40:46 PST 2022
On 28. 02. 22 11:16, Sascha Hauer wrote:
> On Thu, Feb 24, 2022 at 02:22:12PM +0100, Andrej Picej wrote:
>> Hi Sascha,
>> sorry for responding this late, but we are still getting the same errors as
>> before when using bareboximd with these three patches.
>> Are you sure we can revert this patch? The file can still be opened in
>> bareboximd with mmap(), and then be written with this write_file(), which
>> fails with the same error:
>>> Cannot write to barebox.bin: Bad address
>>> CRC: write crc token to barebox.bin failed: -14
>>> Bad address
> Damn, my bad. It seems my brain was on vacation. I just created a fix
> for this, you should be on Cc.
No worries, it happens :). Thanks for a quick fix. it works as intended :).
More information about the barebox