Skip to content

Commit

Permalink
modify README.md at build/configs to notice how to program a binary
Browse files Browse the repository at this point in the history
  • Loading branch information
sunghan-chang committed May 16, 2017
1 parent 3c1ba79 commit cddcbc6
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 6 deletions.
28 changes: 22 additions & 6 deletions build/configs/artik053/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,33 @@ make
sudo make install
```

Set the OPENOCD_SCRIPTS to environment variable.
This step is needed to program a binary at os folder.
## How to program a binary

There are two methods, using OpenOCD or script.

After building Tizen RT, follow below steps at $TIZENRT_BASEDIR/os folder.

TIZENRT_BASEDIR was set at [[Getting the sources]](../../../README.md#getting-the-sources) tab of Quick Start.

### Using download script

```bash
export OPENOCD_SCRIPTS=$TIZENRT_BASEDIR/build/configs/artik053/tools/openocd
make download ALL
```
TIZENRT_BASEDIR was set at 'Getting the sources' tab of [[Quick Start]](../../../README.md).
This makes complete set of binaries programmed.

## How to program a binary
### Using OpenOCD

This is used to program a partial binary.

Export 'OPENOCD_SCRIPTS' to environment variable.

```bash
export OPENOCD_SCRIPTS=$TIZENRT_BASEDIR/build/configs/artik053/tools/openocd
```

At first, programming the complete set of binaries are needed.
After buiding a Tizen RT, execute as follows at os folder.

```bash
openocd -f artik053.cfg -c ' \
flash_write bl1 ../build/configs/artik053/bin/bl1.bin; \
Expand Down
9 changes: 9 additions & 0 deletions build/configs/sidk_s5jt200/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ cd /usr/lib
sudo ln -s /usr/local/lib/libftd2xx.so.1.0.4 libftd2xx.so
```

## How to program a binary

After buiding a Tizen RT, execute below at $TIZENRT_BASEDIR/os folder.

TIZENRT_BASEDIR was set at [[Getting the sources]](../../../README.md#getting-the-sources) tab of Quick Start.
```bash
make download ALL
```

## Configuration Sets

There are three configuration sets for sidk_s5jt200, including 'hello_with_tash', 'kernel_sample', and 'tc'.
Expand Down

0 comments on commit cddcbc6

Please sign in to comment.