1 .. SPDX-License-Identifier: GPL-2.0 2 3 Linux kernel for ARC processors 4 ******************************* 5 6 Other sources of information 7 ############################ 8 9 Below are some resources where more informatio 10 ARC processors and relevant open source projec 11 12 - `<https://embarc.org>`_ - Community portal f 13 Good place to start to find relevant FOSS pr 14 news items and more. 15 16 - `<https://github.com/foss-for-synopsys-dwc-a 17 Home for all development activities regardin 18 ARC processors. Some of the projects are for 19 where "work in progress" is hosted prior to 20 Other projects are developed by Synopsys and 21 as open source for use on ARC Processors. 22 23 - `Official Synopsys ARC Processors website 24 <https://www.synopsys.com/designware-ip/proc 25 location, with access to some IP documentati 26 Manual, AKA PRM for ARC HS processors 27 <https://www.synopsys.com/dw/doc.php/ds/cc/p 28 and free versions of some commercial tools ( 29 <https://www.synopsys.com/cgi-bin/dwarcnsim/ 30 `MetaWare Light Edition <https://www.synopsy 31 Please note though, registration is required 32 the tools. 33 34 Important note on ARC processors configurabili 35 ############################################## 36 37 ARC processors are highly configurable and sev 38 are supported in Linux. Some options are trans 39 (i.e cache geometries, some can be detected at 40 and used accordingly, while some need to be ex 41 in the kernel's configuration utility (AKA "ma 42 43 However not all configurable options are suppo 44 is to run Linux. SoC design teams should refer 45 Configuration for ARC Linux" in the ARC HS Dat 46 guidelines. 47 48 Following these guidelines and selecting valid 49 up front is critical to help prevent any unwan 50 SoC bringup and software development in genera 51 52 Building the Linux kernel for ARC processors 53 ############################################ 54 55 The process of kernel building for ARC process 56 architecture and could be done in 2 ways: 57 58 - Cross-compilation: process of compiling for 59 host with a different processor architecture 60 - Native compilation: process of compiling for 61 (hardware board or a simulator like QEMU) wi 62 (GNU toolchain, dtc, make etc) installed on 63 64 In both cases, up-to-date GNU toolchain for AR 65 Synopsys offers prebuilt toolchain releases wh 66 available from: 67 68 - Synopsys GNU toolchain releases: 69 `<https://github.com/foss-for-synopsys-dwc-a 70 71 - Linux kernel compilers collection: 72 `<https://mirrors.edge.kernel.org/pub/tools/ 73 74 - Bootlin's toolchain collection: `<https://to 75 76 Once the toolchain is installed in the system, 77 is added in your ``PATH`` environment variable 78 ``CROSS_COMPILE=arc-linux`` (or whatever match 79 and then as usual ``make defconfig && make``. 80 81 This will produce "vmlinux" file in the root o 82 usable for loading on the target system via JT 83 If you need to get an image usable with U-Boot 84 type ``make uImage`` and ``uImage`` will be pr 85 folder.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.