Skip to content
Snippets Groups Projects
Commit 12a5ce72 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

ARM: uniphier: update doc/README.uniphier


 - Rephrase the toolchains section.  Leave only Linaro toolchains
   since it is the most tested these days.

 - Add build instruction for ARMv8 SoC boards

 - Add information about "ddrmphy" command

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 70dda1b1
No related branches found
No related tags found
No related merge requests found
...@@ -2,74 +2,67 @@ U-Boot for UniPhier SoC family ...@@ -2,74 +2,67 @@ U-Boot for UniPhier SoC family
============================== ==============================
Tested toolchains Recommended toolchains
----------------- ----------------------
(a) Ubuntu packages (CROSS_COMPILE=arm-linux-gnueabi-)
If you are building U-Boot on Ubuntu, its standard package is recommended.
You can install it as follows:
$ sudo apt-get install gcc-arm-linux-gnueabi- The UniPhir platform is well tested with Linaro toolchanis.
You can download pre-built toolchains from:
(b) Linaro compilers (CROSS_COMPILE=arm-linux-gnueabihf-)
You can download pre-built toolchains from:
http://www.linaro.org/downloads/ http://www.linaro.org/downloads/
(c) kernel.org compilers (CROSS_COMPILE=arm-unknown-linux-gnueabi-)
You can download pre-built toolchains from:
ftp://www.kernel.org/pub/tools/crosstool/files/bin/
Compile the source Compile the source
------------------ ------------------
sLD3 reference board: sLD3 reference board:
$ make uniphier_sld3_defconfig $ make uniphier_sld3_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabi- $ make CROSS_COMPILE=arm-linux-gnueabihf-
LD4 reference board: LD4 reference board:
$ make uniphier_ld4_sld8_defconfig $ make uniphier_ld4_sld8_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabi- $ make CROSS_COMPILE=arm-linux-gnueabihf-
sLD8 reference board: sLD8 reference board:
$ make uniphier_ld4_sld8_defconfig $ make uniphier_ld4_sld8_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-sld8-ref $ make CROSS_COMPILE=arm-linux-gnueabihf- DEVICE_TREE=uniphier-sld8-ref
Pro4 reference board: Pro4 reference board:
$ make uniphier_pro4_defconfig $ make uniphier_pro4_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabi- $ make CROSS_COMPILE=arm-linux-gnueabihf-
Pro4 Ace board: Pro4 Ace board:
$ make uniphier_pro4_defconfig $ make uniphier_pro4_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-pro4-ace $ make CROSS_COMPILE=arm-linux-gnueabihf- DEVICE_TREE=uniphier-pro4-ace
Pro4 Sanji board: Pro4 Sanji board:
$ make uniphier_pro4_defconfig $ make uniphier_pro4_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-pro4-sanji $ make CROSS_COMPILE=arm-linux-gnueabihf- DEVICE_TREE=uniphier-pro4-sanji
Pro5 4KBOX Board: Pro5 4KBOX Board:
$ make uniphier_pxs2_ld6b_defconfig $ make uniphier_pxs2_ld6b_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-pro5-4kbox $ make CROSS_COMPILE=arm-linux-gnueabihf- DEVICE_TREE=uniphier-pro5-4kbox
PXs2 Gentil board: PXs2 Gentil board:
$ make uniphier_pxs2_ld6b_defconfig $ make uniphier_pxs2_ld6b_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-pxs2-gentil $ make CROSS_COMPILE=arm-linux-gnueabihf- DEVICE_TREE=uniphier-pxs2-gentil
PXs2 Vodka board: PXs2 Vodka board:
$ make uniphier_pxs2_ld6b_defconfig $ make uniphier_pxs2_ld6b_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabi- $ make CROSS_COMPILE=arm-linux-gnueabihf-
LD6b reference board: LD6b reference board:
$ make uniphier_pxs2_ld6b_defconfig $ make uniphier_pxs2_ld6b_defconfig
$ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-ld6b-ref $ make CROSS_COMPILE=arm-linux-gnueabihf- DEVICE_TREE=uniphier-ld6b-ref
LD11 reference board:
$ make uniphier_ld11_defconfig
$ make CROSS_COMPILE=aarch64-linux-gnu-
You may wish to change the "CROSS_COMPILE=arm-linux-gnueabi-" LD20 reference board:
to use your favorite compiler. $ make uniphier_ld20_defconfig
$ make CROSS_COMPILE=aarch64-linux-gnu-
You may wish to change the "CROSS_COMPILE=..." to use your favorite compiler.
Burn U-Boot images to NAND Burn U-Boot images to NAND
...@@ -119,6 +112,9 @@ UniPhier specific commands ...@@ -119,6 +112,9 @@ UniPhier specific commands
- ddrphy (enabled by CONFIG_CMD_DDRPHY_DUMP) - ddrphy (enabled by CONFIG_CMD_DDRPHY_DUMP)
shows the DDR PHY parameters set by the PHY training shows the DDR PHY parameters set by the PHY training
- ddrmphy (enabled by CONFIG_CMD_DDRMPHY_DUMP)
shows the DDR Multi PHY parameters set by the PHY training
Supported devices Supported devices
----------------- -----------------
...@@ -179,4 +175,4 @@ newer SoCs. Even if it is, EA[25] is not connected on most of the boards. ...@@ -179,4 +175,4 @@ newer SoCs. Even if it is, EA[25] is not connected on most of the boards.
-- --
Masahiro Yamada <yamada.masahiro@socionext.com> Masahiro Yamada <yamada.masahiro@socionext.com>
Feb. 2016 Oct. 2016
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment