[Buildroot] [PATCH 1/4] boot/arm-trusted-firmware: Disable bin copy for rk3399
Sunil Kumar Mahesh
sunil at amarulasolutions.com
Fri Feb 14 10:57:32 UTC 2020
On Fri, Feb 14, 2020 at 12:56 PM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
> On Fri, 14 Feb 2020 12:25:37 +0530
> Jagan Teki <jagan at amarulasolutions.com> wrote:
> > > Sergey is right here: I don't think we want to encode platform-specific
> > > stuff like this in Kconfig files.
> > >
> > > What is the problem if you leave this to the default of *.bin ?
> > Is looking for *.bin in build/rk3399/release/*.bin but v2.2 is not
> > creating any bin since rk3399 (or rockchip) doesn't need bins.
> > .mk file change:
> > define ARM_TRUSTED_FIRMWARE_INSTALL_IMAGES_CMDS
> > $(foreach f,$(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES)), \
> > cp -dpf $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/$(f) $(BINARIES_DIR)/
> > )
> > Build log:
> > >>> arm-trusted-firmware v2.2 Installing to images directory
> > cp -dpf /mnt/out/build/arm-trusted-firmware-v2.2/build/rk3399/release/*.bin
> > /mnt/out/images/
> > cp: cannot stat
> > '/mnt/out/build/arm-trusted-firmware-v2.2/build/rk3399/release/*.bin':
> > No such file or directory
> > package/pkg-generic.mk:339: recipe for target
> > '/mnt/out/build/arm-trusted-firmware-v2.2/.stamp_images_installed'
> > failed
> > make: *** [/mnt/out/build/arm-trusted-firmware-v2.2/.stamp_images_installed]
> > Error 1
> > Makefile:23: recipe for target '_all' failed
> > make: *** [_all] Error 2
> What is your image name then? You don't install any image?
> One possibility is to change:
> - $(foreach f,$(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES)), \
> + $(foreach f,$(wilard $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES))), \
Yes wildcard function is working. tested with the above change in BR.
> But still, it would be nice to understand what is your image name. I
> guess I could find that out by doing a build, though :)
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
More information about the buildroot