[U-Boot-Users] Re: U-Boot for AT91RM9200DK
Steven Scholz
steven.scholz at imc-berlin.de
Mon Oct 27 09:25:18 CET 2003
Dear Wolfgang , Rick,
>>> I have a sperate entry in a Makefile for compiling u-boot up to run
>>>in ram so that I can fire a new u-boot while inside u-boot:
>>>
>>>ram:
>>> cd u-boot-0.4.0; \
>>> echo TEXT_BASE = 0x21fa0000 > board/at91rm9200dk/config.mk; \
> ...
>>You could still do something like that in your Makefile:
>>
>> > ram:
>> > cd u-boot-0.4.0; \
>> > echo TEXT_BASE = 0x21fa0000 > board/at91rm9200dk/config.mk; \
>
>
> STOP! NO!!
>
> Please never ever modify any source files in the Make script!!!
:o)
Ok. Ok. Maybe the better way would be:
RICKs_RAM_config: unconfig
@./mkconfig $(@:_config=) arm at91rm9200 RICKSBOARDS
@echo '#define TEXT_BASE 0xFOOBAR' >>include/config.h;
@echo '#undef CONFIG_INIT_CRITICAL' >>include/config.h;
and then
ifndef TEXT_BASE
TEXT_BASE = 0xBLABLUB
endif
in board/at91rm9200dk/config.mk.
Ok?
Steven
More information about the U-Boot
mailing list