@@ -10,7 +10,7 @@ single question "How to confirm, that I can build Linux kernel with *that*
1010toolchain?"
1111
1212To learn how to configure Linux, debug kernel itself and build extra software
13- please see `< https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki> `.
13+ please see `https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki `.
1414
1515
1616Prerequisites
@@ -58,7 +58,7 @@ Synopsys will be used.
5858Configuring
5959-----------
6060
61- Check `Buildroot downloads page <http://buildroot.org/download.html> ` for
61+ Check `Buildroot downloads page <http://buildroot.org/download.html >`_ for
6262latest release. This guide further assumes latest snapshot. Get Buildroot
6363sources::
6464
@@ -81,6 +81,7 @@ Contents of this file should be following::
8181 BR2_TOOLCHAIN_EXTERNAL_GCC_6=y
8282 BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8=y
8383 BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
84+ BR2_TOOLCHAIN_EXTERNAL_HAS_SSP=y
8485 BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
8586 BR2_TOOLCHAIN_EXTERNAL_CXX=y
8687 BR2_LINUX_KERNEL=y
@@ -115,10 +116,13 @@ Building
115116To build Linux kernel image using that defconfig::
116117
117118 $ cd buildroot
118- $ make O=../output_hs defconfig DEFCONFIG=../hs_defconfig
119+ $ make O=`readlink -e ../output_hs` defconfig DEFCONFIG=`readlink -e ../hs_defconfig`
119120 $ cd ../output_hs
120121 $ make
121122
123+ It's necessary to pass an absolute path to Buildroot, because there is the issue
124+ with a relative path.
125+
122126After that there will be Linux kernel image file
123127``arc-2017.03-linux-guide/output/images/vmlinux ``.
124128
@@ -234,6 +238,7 @@ With those changes Buildroot defconfig for ARC HS VDK is::
234238 BR2_TOOLCHAIN_EXTERNAL_GCC_6=y
235239 BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8=y
236240 BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
241+ BR2_TOOLCHAIN_EXTERNAL_HAS_SSP=y
237242 BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
238243 BR2_TOOLCHAIN_EXTERNAL_CXX=y
239244 BR2_LINUX_KERNEL=y
@@ -249,7 +254,7 @@ Save this defconfig to some file (for example ``vdk_defconfig``). Then use same
249254process as in :ref: `linux-building-label ` section.::
250255
251256 $ cd buildroot
252- $ make O=../output_vdk defconfig DEFCONFIG=<path-to-VDK-defconfig-file>
257+ $ make O=`readlink -e ../output_vdk` defconfig DEFCONFIG=<path-to-VDK-defconfig-file>
253258 $ cd ../output_vdk
254259 $ make
255260
@@ -335,5 +340,5 @@ defconfig is::
335340
336341This defconfig will create a uImage file instead of vmlinux. Please refer to
337342`ARC Linux wiki
338- <https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki/Getting-Started-with-Linux-on-ARC-AXS103-Software-Development-Platform-(SDP)> `
343+ <https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki/Getting-Started-with-Linux-on-ARC-AXS103-Software-Development-Platform-(SDP)> `_
339344for more details on using u-boot with AXS103.
0 commit comments