[Buildroot] u-boot fails with custom board support
ulf.samuelsson at atmel.com
Wed Apr 8 15:56:21 UTC 2009
mike sander skrev:
> Hi All:
> I'm using buildroot-2009.02. I have a custom board based on atmel
> at91sam9g20. I have created a top level board config.
> I invoke make as follows:
> make BOARD=xx
The normal way of using buildroot is to do:
$ make at91sam9g20ek_defconfig
If you do any modifications to any the configs (busybox, linux, .config
you can do:
$ make saveconfig
which will copy all your configs to $(LOCAL)/$(PROJECT)
It will also update the .config file so that it will use
your updated config files instead of the default.
You can then retrieve this by making:
$ make BOARD=<PROJECT> getconfig
$ make BOARD=at91sam9g20-mike getconfig
which will fetch the new config file into the top directory of buildroot
You then type
to build the project
> u-boot is failing with the following messages (see below). I have
> specified "at91sam9g20ek" in the "board name" section for u-boot (same
> behaviour with default setting). It appears that u-boot does correctly
> do the at91sam9g20ek_config. I cannot see how/why make is looking for
> "Project Name" items under u-boot towards the end of the u-boot build.
> Manually building u-boot with "make at91sam9g20ek_config;make" works
> fine. Stock u-boot is perfectly acceptable.
> I've read the br docs. I did not see any indication that u-boot needs
> to be tailored when using custom board support. Any suggestions on how
> to force u-boot to build the stock config? I have tried latest br
> snapshot too. same behavior. I suspect I have missed something obvious.
> /usr/bin/make -C board/atmel/xx/
> make: Entering an unknown directory
> make: *** board/atmel/xx/: No such file or directory. Stop.
> make: Leaving an unknown directory
> make: *** [board/atmel/xx/libxx.a] Error 2
> make: Leaving directory
> make: ***
> Error 2
> thanks in advance,
> mike sander
> buildroot mailing list
> buildroot at busybox.net
More information about the buildroot