On Sat, Dec 22, 2018 at 11:00:46AM +0100, Oleksij Rempel wrote: > Am 22.12.18 um 10:56 schrieb Sam Ravnborg: > > Hi Oleksij > > > >> i can't build MIPS images after this patch: > >> > >> commit 3abeee3e45224c73245e32cb614c241cd195f1c4 (bb/master) > >> Author: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> > >> Date: Mon Dec 17 12:09:23 2018 +0100 > > > > Can you elaborate a little what goes wrong. > > Does the build fail or you cannot boot barebox? > > The build will fail with: > > OBJCOPYB images/start_black_swift.pblb > OBJCOPYB images/start_dptechnics_dpt_module.pblb > OBJCOPYB images/start_8devices_lima.pblb > OBJCOPYB images/start_tplink_mr3020.pblb > OBJCOPYB images/start_tplink_wdr4300.pblb > invalid magic > barebox/images/Makefile:68: recipe for target > 'images/start_black_swift.pblb' failed > make[1]: *** [images/start_black_swift.pblb] Error 1 > make[1]: *** Waiting for unfinished jobs.... > invalid magic This is because fix_size is called on the .pblb images and fix_size is written for ARM and doesn't recognize this as a valid image. What we can do is to call fix_size with -i (which still causes an error message, but no error. Would have to patch the error message away aswell). Another possibility would be to call fix_size only for builds which support it (ARM). Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox