[PATCH v4 10/10] doc: renesas: add Renesas board docs

Ralph Siemsen ralph.siemsen at linaro.org
Mon Apr 17 22:29:35 CEST 2023


On Mon, Apr 17, 2023 at 07:28:05PM +0200, Marek Vasut wrote:
>On 3/8/23 21:26, Ralph Siemsen wrote:
>RZ/N1
>
>>+    - Schneider rzn1-snarc board
>>+
>>+Building
>>+--------
>>+
>>+NOTE: the following information is for the rzn1 board only.
>
>Maybe this should be in a separate document , some rzn1 specific .rst file ?

Originally I did just document the RZ/N1 stuff, since I really have no 
experience or knowledge of the other ones. But it felt wrong to create 
"doc/board/renesas" containing only RZ/N1 information. So I tried to at 
least collect the names of the other Renesas boards from U-Boot sources.

I'll make the fixes you suggested, and will move the RZ/N1 details into 
their own file.

>>+    tools/mkimage -n board/schneider/rzn1-snarc/spkgimage.cfg \
>>+            -T spkgimage -a 0x20040000 -e 0x20040000 \
>>+            -d u-boot.bin u-boot.bin.spkg
>
>Shouldn't binman do this for you ? That should be the primary option.

Indeed it does, see below. I did however want to document how to call 
mkimage manually, since it took me a while to work out the right 
arguments (especially using -n for the config file).

>>+Binman
>>+^^^^^^
>>+
>>+Alternatively `binman` may be used to generate the SPKG format for booting.
>>+This tool and its pre-requisites must be installed as per
>>+:doc:`../../../tools/binman/binman.rst``
>>+
>>+.. code-block:: bash
>>+
>>+    binman -d arch/arm/dts/r9a06g032-rzn1-snarc.dtb -o <OUT>
>>+
>>+This will produce `u-boot.bin.spkg` in the specified <OUT> directory.

Ralph


More information about the U-Boot mailing list