From 4dbf708e141ff8caa6fc5046278a7720ee3018c5 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 28 Jun 2014 13:27:19 -0600 Subject: [PATCH] Updated README --- configs/sama5d4-ek/README.txt | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/configs/sama5d4-ek/README.txt b/configs/sama5d4-ek/README.txt index d8a2533f7e..c1c6f200c8 100644 --- a/configs/sama5d4-ek/README.txt +++ b/configs/sama5d4-ek/README.txt @@ -3180,11 +3180,28 @@ Configurations CONFIG_SAMA5D4EK_DRAM_BOOT=y See the section above entitled "Creating and Using DRAMBOOT" above - for more information. + for more information. Here is a summary of the steps that I used + to boot the NSH configuration: - At times, have have tested with nuttx.bin on an SD card and booting - with U-Boot. These are the commands that I used to boot NuttX from - the SD card: + a. Create the DRAMBOOT program as described above. It should be + configured with CONFIG_SAMA5D4EK_DRAM_START=y so that DRAMBOOT + will immediately start the program. You may not want to do + this is your prefer to break in with GDB. + + b. Write the DRAMBOOT program binary (nuttx.bin) to a microSD + card as "boot.bin". Insert the microSD card into the boar; + The ROM Booloader should now boot DRAMBOOT on reset and you + should see this message: + + Send Intel HEX file now + + c. Build the NSH version of NuttX. Send the Intel HEX of NSH + at the prompt. After the file is received, NSH should start + automatically. + + At times the past, have have tested with nuttx.bin on an SD card and + booting with U-Boot. These are the commands that I used to boot NuttX + from the SD card: U-Boot> fatload mmc 0 0x20008000 nuttx.bin U-Boot> go 0x20008040