Skip to content

Commit 3bf353a

Browse files
doc: Update Linux guide for 2016.09 release
Signed-off-by: Anton Kolesov <[email protected]>
1 parent d258298 commit 3bf353a

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

doc/linux/kernel-build.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,22 @@ Check `Buildroot downloads page <http://buildroot.org/download.html>` for
6262
latest release. This guide further assumes latest snapshot. Get Buildroot
6363
sources::
6464

65-
$ mkdir arc-2016.03-linux-guide
66-
$ cd arc-2016.03-linux-guide
65+
$ mkdir arc-2016.09-linux-guide
66+
$ cd arc-2016.09-linux-guide
6767
$ wget https://buildroot.org/downloads/buildroot-snapshot.tar.bz2
6868
$ tar xaf buildroot-snapshot.tar.bz2
6969

7070
To build Linux and rootfs Buildroot should be configured. For the purpose of
7171
this guide, a custom "defconfig" file will be created and then will be used to
7272
configure Buildroot. Custom "defconfig" file can be located anywhere and have
73-
any name. For example it can be ``arc-2016.03-linux-guide/hs_defconfig``.
73+
any name. For example it can be ``arc-2016.09-linux-guide/hs_defconfig``.
7474
Contents of this file should be following::
7575

7676
BR2_arcle=y
7777
BR2_archs38=y
7878
BR2_TOOLCHAIN_EXTERNAL=y
7979
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
80-
BR2_TOOLCHAIN_EXTERNAL_URL="http://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2016.03/arc_gnu_2016.03_prebuilt_uclibc_le_archs_linux_install.tar.gz"
80+
BR2_TOOLCHAIN_EXTERNAL_URL="http://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2016.09-rc1/arc_gnu_2016.09-rc1_prebuilt_uclibc_le_archs_linux_install.tar.gz"
8181
BR2_TOOLCHAIN_EXTERNAL_GCC_4_8=y
8282
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6=y
8383
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
@@ -97,12 +97,12 @@ Important notes about modifying Buildroot defconfig:
9797
* ``BR2_TOOLCHAIN_EXTERNAL_URL`` should point to a valid URL of GNU Toolchain
9898
for ARC distributable.
9999
* ``BR2_TOOLCHAIN_EXTERNAL_HEADERS_X_XX`` should be aligned to Linux headers
100-
version used for the toolchain build. It is 4.6 for toolchain release
101-
2016.03, it is 3.18 for toolchain releases 2015.06 and 2015.12, it is 3.13
102-
for earlier toolchain versions. This parameter identifies version of Linux
103-
that was used to build toolchain and is not related to version of Linux that
104-
will be *built by* toolchain or where applications compiled by this toolchain
105-
will run.
100+
version used for the toolchain build. It is 4.8 for toolchain release
101+
2016.09, it is 4.6 for toolchain release 2016.03, it is 3.18 for toolchain
102+
releases 2015.06 and 2015.12, it is 3.13 for earlier toolchain versions. This
103+
parameter identifies version of Linux that was used to build toolchain and is
104+
not related to version of Linux that will be *built by* toolchain or where
105+
applications compiled by this toolchain will run.
106106
* Other Linux kernel defconfigs can be used.
107107
* Building GDB or GDBserver is not necessary.
108108

@@ -120,7 +120,7 @@ To build Linux kernel image using that defconfig::
120120
$ make
121121

122122
After that there will be Linux kernel image file
123-
``arc-2016.03-linux-guide/output/images/vmlinux``.
123+
``arc-2016.09-linux-guide/output/images/vmlinux``.
124124

125125

126126
Running on nSIM
@@ -129,7 +129,7 @@ Running on nSIM
129129
Linux configuration in the provided Buildroot defconfig is for the standalone
130130
nSIM. This kernel image can be run directly on nSIM, without any other
131131
additional software. Assuming current directory is
132-
``arc-2016.03-linux-guide``::
132+
``arc-2016.09-linux-guide``::
133133

134134
$ $NSIM_HOME/bin/nsimdrv -propsfile archs38.props output_hs/images/vmlinux
135135

@@ -183,9 +183,9 @@ Process of building kernel for ARC 770 is similar to what is for ARC HS. It is
183183
required only to change several option in Buildroot defconfig:
184184

185185
* ``BR2_archs38=y`` with ``BR2_arc770d=y``
186-
* ``BR2_TOOLCHAIN_EXTERNAL_URL="http://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2016.03/arc_gnu_2016.03_prebuilt_uclibc_le_archs_linux_install.tar.gz"``
186+
* ``BR2_TOOLCHAIN_EXTERNAL_URL="http://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2016.09-rc1/arc_gnu_2016.09-rc1_prebuilt_uclibc_le_archs_linux_install.tar.gz"``
187187
with
188-
``BR2_TOOLCHAIN_EXTERNAL_URL="http://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2016.03/arc_gnu_2016.03_prebuilt_uclibc_le_arc700_linux_install.tar.gz"``
188+
``BR2_TOOLCHAIN_EXTERNAL_URL="http://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2016.09-rc1/arc_gnu_2016.09-rc1_prebuilt_uclibc_le_arc700_linux_install.tar.gz"``
189189
* ``BR2_LINUX_KERNEL_DEFCONFIG="nsim_hs"`` with
190190
``BR2_LINUX_KERNEL_DEFCONFIG="nsim_700"``
191191

@@ -230,7 +230,7 @@ With those changes Buildroot defconfig for ARC HS VDK is::
230230
BR2_archs38=y
231231
BR2_TOOLCHAIN_EXTERNAL=y
232232
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
233-
BR2_TOOLCHAIN_EXTERNAL_URL="http://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2016.03/arc_gnu_2016.03_prebuilt_uclibc_le_archs_linux_install.tar.gz"
233+
BR2_TOOLCHAIN_EXTERNAL_URL="http://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2016.09-rc1/arc_gnu_2016.09-rc1_prebuilt_uclibc_le_archs_linux_install.tar.gz"
234234
BR2_TOOLCHAIN_EXTERNAL_GCC_4_8=y
235235
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6=y
236236
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y

0 commit comments

Comments
 (0)