u-boot-brain/board/Marvell/db-xc3-24g4xg
Bin Meng 6cdd177ca9 arm: mvebu: Avoid generating kwbimage.cfg in the source tree
At present some boards generate kwbimage.cfg in the source tree
during the build. This breaks buildman testing on some systems
where the source tree is read-only. Update makefile rules to
generate it in the build tree instead.

Note some other boards have the kwbimage.cfg file written in
advance, hence we need check if the file exists in the build
tree first, otherwise we fall back to one in the source tree.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2019-10-29 16:17:36 -04:00
..
.gitignore arm: mvebu: Add DB-XC3-24G4XG board 2019-04-12 07:04:18 +02:00
binary.0 arm: mvebu: Add DB-XC3-24G4XG board 2019-04-12 07:04:18 +02:00
db-xc3-24g4xg.c arm: mvebu: Add DB-XC3-24G4XG board 2019-04-12 07:04:18 +02:00
kwbimage.cfg.in arm: mvebu: Add DB-XC3-24G4XG board 2019-04-12 07:04:18 +02:00
MAINTAINERS Merge git://git.denx.de/u-boot-marvell 2019-04-12 15:42:56 -04:00
Makefile arm: mvebu: Avoid generating kwbimage.cfg in the source tree 2019-10-29 16:17:36 -04:00
README arm: mvebu: Add DB-XC3-24G4XG board 2019-04-12 07:04:18 +02:00

To generate binary.0 from Marvell's bin_hdr.elf use the following command

    arm-softfloat-linux-gnueabi-objcopy -S -O binary bin_hdr.elf \
       board/Marvell/db-xc3-24g4xg/binary.0