[PATCH 3/3] Revert "scripts/common: fix write_file when opened with mmap"
Sascha Hauer
s.hauer at pengutronix.de
Mon Feb 28 02:16:34 PST 2022
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.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list