[Buildroot] [PATCH v7] Add defconfig for MIPS Creator ci40

Arnout Vandecappelle arnout at mind.be
Mon Apr 10 21:00:23 UTC 2017


 [Grmbl, I hate it how GMail screws up quoting. Anybody got good contact with
Google?]

On 10-04-17 21:22, abhimanyu.v at gmail.com wrote:
> Thankyou Arnout!
> 
> On Mon, Apr 10, 2017 at 8:58 PM, Arnout Vandecappelle <arnout at mind.be
> <mailto:arnout at mind.be>> wrote:
> 
> 
> 
>     On 05-04-17 09:52, Abhimanyu Vishwakarma wrote:
[snip]
>     > +support/scripts/genimage.sh -c "${BOARD_DIR}/genimage.cfg"
> 
>      The idea is to remove this script entirely and instead set
>     BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
>     BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/ci40/genimage.cfg"
> 
> I remember i did try this (tried now too)  but it doesnt work, i end up with
> following error:
> BUILD_DIR=/home/abhi/code/buildroot/output/build support/scripts/genimage.sh
> /home/abhi/code/buildroot/output/images -c board/ci40/genimage.cfg
>>>>   Executing post-image script support/scripts/genimage.sh
> Error: Missing argument
> 
> This is due to mix of positional and optional argument. Anything wrong with
> config or it is issue with genimage.sh script. 

 It's the genimage.sh script that's not right. It doesn't support BINARIES_DIR
as the first argument, which means it can't be used directly as a post-image script.

 Etienne, any chance of fixing that?

 Regards,
 Arnout

[snip]

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF


More information about the buildroot mailing list