You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: example/baremetal/bootloader/README.rst
+9-2
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Detailed Description
37
37
- Generate a secondary bootloader binary file
38
38
39
39
- Program generated secondary bootloader binary file into SPIFlash
40
-
+ Insert SDCard to your PC, and copy the binary file *obj_emsk_23/gnu_arcem7d/emsk_bootloader_gnu_arcem7d.bin* to SDCard Root, and rename it to *em7d_2bt.bin*
40
+
+ Insert SDCard to your PC, and copy the binary file *obj_emsk_23/gnu_arcem7d/simple_bootloader_gnu_arcem7d.bin* to SDCard Root, and rename it to *em7d_2bt.bin*
41
41
+ Insert the SDCard to EMSK Board, please choose the right core configuration, build and run the *<embARC>/example/baremetal/bootloader* example, then press any button to stop auto boot process, and enter to ntshell command mode.
42
42
+ Then use ntshell command *spirw* to program the *em7d_2bt.bin* into spiflash.
43
43
- Firstly, run *spirw* to show help
@@ -159,6 +159,13 @@ If the binary file is generated successfully, you will output as follows:
//remember to remove APPL_DEFINES += -DUSE_APPL_MEM_CONFIG in makefile
165
+
$ cd <embarc_root>/example/baremetal/bootloader
166
+
$ gmake BOARD=emsk BD_VER=22 CUR_CORE=arcem7d TOOLCHAIN=mw run
167
+
$ gmake BOARD=iotdk BD_VER=10 CUR_CORE=arcem9d TOOLCHAIN=mw run
168
+
162
169
- Generate *boot.bin* using any embARC example
163
170
+ Here take *<embarc_root>/example/freertos/kernel* for example
164
171
@@ -183,7 +190,7 @@ If the binary file is generated successfully, you will output as follows:
183
190
Please note that when using MCUBoot, the origin binary name is *obj_emsk_22/mw_arcem7d/signed_freertos_kernel.bin*
184
191
+ Insert SDCard back to EMSK, make sure bit 4 of DIP Switch is ON, and press re-configure button above letter **C**, and wait for autoload.
185
192
186
-
.. note:: Make sure you have selected the correct configuration of EMSK via dipswitches and that you have reset the board (button above "R") to confirm its configuration
193
+
.. note:: Make sure you have selected the correct configuration of EMSK via DIP switches and that you have reset the board (button above "R") to confirm its configuration
0 commit comments