Hi Teresa, On Mon, Dec 17, 2018 at 11:54:30AM +0100, Teresa Remmet wrote: > Hello Sascha, > > I watend to test the gpmc driver changes for our am335x boards using > latest next. I noticed that booting from nand is not working correct > any more. The MLO can not correctly obtain the image size of the > barebox image. Ups, right. Try the following. While you are testing this board anyway could you see if the NAND generally still works on AM33xx? There are sitting some changes to the NAND driver in next. Sascha -----------------------8<----------------------------- >From 197806965fe26a444d40791fde5acff7eb4cd805 Mon Sep 17 00:00:00 2001 From: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> Date: Mon, 17 Dec 2018 12:09:23 +0100 Subject: [PATCH] Images: Add image size to built images This brings back the image size written into the built images which got lost in the conversion to using piggydata in the PBL images. Fixes: 5a1a5ed253 ("ARM: images: use piggydata") Reported-by: Teresa Remmet <t.remmet@xxxxxxxxx> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- images/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/images/Makefile b/images/Makefile index 4c6d486f08..41509aa957 100644 --- a/images/Makefile +++ b/images/Makefile @@ -66,6 +66,7 @@ $(obj)/%.pbl: $(pbl-lds) $(barebox-pbl-common) $(obj)/piggy.o FORCE $(obj)/%.pblb: $(obj)/%.pbl FORCE $(call if_changed,objcopy_bin,$(*F)) + $(Q)$(objtree)/scripts/fix_size -f $@ $(obj)/%.s: $(obj)/% FORCE $(call if_changed,disasm) -- 2.19.1 -- 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