]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
h8300/bloader: Wait between botstrap phases
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 16 Mar 2011 15:43:00 +0000 (16:43 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 16 Mar 2011 15:43:00 +0000 (16:43 +0100)
This is needed for proper bootstraping.

arch/h8300/generic/bloader/Makefile.omk

index 06abb3c92d620dfc1935b9f9d9d17f20923cdf69..d5497da37673b102301888ac883301130acdce5f 100644 (file)
@@ -20,11 +20,13 @@ bootstrap_ram:
        @$(QUIET_CMD_ECHO) "Bootstrap to internal ram"
        $(Q)$(TOHIT) $(VERBOSE) --baud 4800 --command B --blockmode 128 $(USER_COMPILED_DIR_NAME)/bin/bloader-bload.bin || exit 1
        @$(QUIET_CMD_ECHO) "Done"
+       @sleep 1
 
 bootstrap_erase:
        @$(QUIET_CMD_ECHO) "Erasing flash"
        $(Q)$(TOHIT) $(VERBOSE) --baud $(HIT_BAUD) --erase --start 0x000000 --length 0x1600 || exit 1
        @$(QUIET_CMD_ECHO) "Done"
+       @sleep 1
 
 bootstrap_flash:
        @$(QUIET_CMD_ECHO) "Programming flash"