Documentation/bl602: Update some imformation; Add partition.toml in tool/bl602
This commit is contained in:
parent
cdbfacc1fe
commit
bb63afde1e
2 changed files with 58 additions and 6 deletions
|
@ -40,7 +40,7 @@ nsh
|
|||
First make sure the ``riscv-gnu-toolchain`` has been installed
|
||||
correctly.
|
||||
|
||||
Configure the NUttX project: ``./tools/configure.sh bl602evb:nsh``. Run
|
||||
Configure the NuttX project: ``./tools/configure.sh bl602evb:nsh``. Run
|
||||
``make`` to build the project.
|
||||
|
||||
.. code:: shell
|
||||
|
@ -52,7 +52,7 @@ Configure the NUttX project: ``./tools/configure.sh bl602evb:nsh``. Run
|
|||
wifi
|
||||
----
|
||||
|
||||
Configure the NUttX project: ``./tools/configure.sh bl602evb:wifi``. Run
|
||||
Configure the NuttX project: ``./tools/configure.sh bl602evb:wifi``. Run
|
||||
``make`` to build the project.
|
||||
|
||||
.. code:: shell
|
||||
|
@ -101,14 +101,16 @@ Config download
|
|||
|
||||
**Configuration parameters include:**
|
||||
|
||||
- **Factory Params**: Use the dts file in the device_tree folder of the
|
||||
corresponding chip model in the Dev Cube directory. The default
|
||||
selection is 40M.
|
||||
|
||||
- **Partition Table**: Use the partition table in the partition folder
|
||||
of the corresponding chip model in the Dev Cube directory, and 2M
|
||||
files are selected by default for BL602
|
||||
|
||||
..
|
||||
|
||||
For the nuttx operating system, BL602 has a dedicated partition file.
|
||||
For details, please contact us.
|
||||
**For the nuttx, BL602 has a dedicated partition file. It is placed
|
||||
in** ``nuttx/tools/bl602``
|
||||
|
||||
- **Boot2 Bin**: It is the first Flash program that runs after the
|
||||
system is started. It is responsible for establishing the BLSP
|
||||
|
|
50
tools/bl602/partition_cfg_2M_nuttx.toml
Normal file
50
tools/bl602/partition_cfg_2M_nuttx.toml
Normal file
|
@ -0,0 +1,50 @@
|
|||
[pt_table]
|
||||
#partition table is 4K in size
|
||||
address0 = 0xE000
|
||||
address1 = 0xF000
|
||||
|
||||
[[pt_entry]]
|
||||
type = 0
|
||||
name = "FW"
|
||||
device = 0
|
||||
address0 = 0x10000
|
||||
size0 = 0x111000
|
||||
address1 = 0x121000
|
||||
size1 = 0xA0000
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 2
|
||||
name = "mfg"
|
||||
device = 0
|
||||
address0 = 0x121000
|
||||
size0 = 0xA0000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
|
||||
[[pt_entry]]
|
||||
type = 3
|
||||
name = "factory"
|
||||
device = 0
|
||||
address0 = 0x1C1000
|
||||
size0 = 0x4000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
|
||||
# for user
|
||||
[[pt_entry]]
|
||||
type = 4
|
||||
name = "chipdef"
|
||||
device = 0
|
||||
address0 = 0x1C5000
|
||||
size0 = 0x3B000
|
||||
address1 = 0
|
||||
size1 = 0
|
||||
# compressed image must set len,normal image can left it to 0
|
||||
len = 0
|
||||
|
Loading…
Reference in a new issue