mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* bareboxenv-target
@ 2014-11-14 18:44 Balasa, Bogdan
  2014-11-15 17:54 ` bareboxenv-target Sascha Hauer
  0 siblings, 1 reply; 14+ messages in thread
From: Balasa, Bogdan @ 2014-11-14 18:44 UTC (permalink / raw)
  To: barebox

Hi,

I'm using barebox 2014.11.0, kernel 3.14 on phyFlex imx6 and when loading barebox environment from userspace I get a wrong magic:
-------
./bareboxenv-target -l /mnt/bbox /dev/mtd1
envfs: wrong magic
-------
root@imx6q-pbab01:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00400000 00020000 "barebox"
mtd1: 00020000 00020000 "barebox-environment"
mtd2: 00800000 00020000 "kernel"
mtd3: 3f3e0000 00020000 "root"
mtd4: 01000000 00010000 "spi2.0"
-----

I have the barebox environment in NOR flash and I think is good since I can modify it and save it with the barebox menu.


Thank you,
Bogdan

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 14+ messages in thread
* bareboxenv-target
@ 2020-10-28 11:09 Barbier, Renaud
  2020-11-02 13:13 ` bareboxenv-target Roland Hieber
  2021-03-23 12:33 ` bareboxenv-target Ahmad Fatoum
  0 siblings, 2 replies; 14+ messages in thread
From: Barbier, Renaud @ 2020-10-28 11:09 UTC (permalink / raw)
  To: barebox

I am building bareboxenv-target for a  cortex-A9 board (not present upstream) with gcc 9.3.0 and got this error:

arm-oe-linux-gnueabi-gcc -Wp,-MMD,scripts/.bareboxenv-target.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89  -I /mnt/projects/all/openware-core/home/renaud/sandbox/bootloader/barebox-rebase/scripts/include      -o scripts/bareboxenv-target scripts/bareboxenv-target.c
In file included from scripts/bareboxenv-target.c:1:
scripts/bareboxenv.c:17:10: fatal error: stdio.h: No such file or directory
   17 | #include <stdio.h>
      |          ^~~~~~~~~


It looks like sysroot is missing as when I add to scripts/Makefile:
ifdef SDKTARGETSYSROOT
    userccflags += --sysroot=$(SDKTARGETSYSROOT)
endif

It builds.

Not much came out from search on google but one thread that refers to this problem when building with Yocto.

Could it it be related to  how our toolchain got build?

Cheers,
Renaud

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-05-31 17:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-14 18:44 bareboxenv-target Balasa, Bogdan
2014-11-15 17:54 ` bareboxenv-target Sascha Hauer
2020-10-28 11:09 bareboxenv-target Barbier, Renaud
2020-11-02 13:13 ` bareboxenv-target Roland Hieber
2020-11-04 10:05   ` bareboxenv-target Barbier, Renaud
2020-11-06  9:55   ` bareboxenv-target Barbier, Renaud
2020-11-06 12:25     ` bareboxenv-target Roland Hieber
2020-11-06 13:12       ` bareboxenv-target Barbier, Renaud
2020-11-06 12:06   ` bareboxenv-target Barbier, Renaud
2020-11-06 12:31     ` bareboxenv-target Roland Hieber
2021-03-23 12:33 ` bareboxenv-target Ahmad Fatoum
2021-03-23 14:44   ` bareboxenv-target Barbier, Renaud
2021-03-23 15:47     ` bareboxenv-target Ahmad Fatoum
2021-05-31 17:10       ` bareboxenv-target Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox