Lines Matching +full:zephyr +full:- +full:bugs +full:-

1 .. zephyr:board:: altera_max10
6 The Zephyr kernel is supported on the Altera MAX10 Rev C development kit, using
28 Other switches are user switches, their position is application-specific.
37 For your convenience using the SDK tools (such as ``nios2-configure-sof``),
42 .. code-block:: console
48 II peripheral, which is the built-in JTAG interface for this device.
52 .. code-block:: console
54 # For Altera USB-Blaster permissions.
73 .. code-block:: console
76 1) USB-BlasterII [1-1.2]
84 A reference CPU design of a Nios II/f core is included in the Zephyr tree
87 Flash this CPU using the ``nios2-configure-sof`` SDK tool with the FPGA
91 .. code-block:: console
93 $ nios2-configure-sof ghrd_10m50da.sof
103 ----------
108 minicom with flow control disabled, 115200-8N1 settings.
111 ---------
116 .. code-block:: devicetree
120 current-speed = <115200>;
126 .. code-block:: console
128 $ nios2-terminal
137 ------------------------
140 configuration. Here is an example for the :zephyr:code-sample:`hello_world`
143 .. zephyr-app-commands::
144 :zephyr-app: samples/hello_world
151 This provisions the Zephyr kernel and the CPU configuration onto the board,
152 using the scripts/support/quartus-flash.py script. After it completes the kernel
157 -------------------------------------------
159 The SDK included the nios2-download tool which will let you flash a kernel
165 .. code-block:: cfg
173 .. code-block:: console
175 $ nios2-download --go zephyr/zephyr.elf
177 If you have a console session running (either minicom or nios2-terminal) you
179 to nios2-download so that it spawns a GDB server that you can connect to,
180 although it's typically simpler to just use nios2-gdb-server as described below.
190 --------------------------------
194 .. zephyr-app-commands::
195 :zephyr-app: samples/hello_world
201 .. code-block:: console
204 Ignoring --stop option because --tcpport also specified
205 GNU gdb (GDB) 7.11.0.20160511-git
211 This GDB was configured as "--host=x86_64-pokysdk-linux --target=nios2-zephyr-elf".
214 <http://www.gnu.org/software/gdb/bugs/>.
219 Reading symbols from /projects/zephyr/samples/hello_world/build/zephyr/zephyr.elf...done.
221 Using cable "USB-BlasterII [3-1.3]", device 1, instance 0x00
224 isr_tables_syms () at /projects/zephyr/arch/common/isr_tables.c:63
227 Breakpoint 1 at 0xdf0: file /projects/zephyr/arch/nios2/core/prep_c.c, line 36.
229 Breakpoint 2 at 0x1254: file /projects/zephyr/kernel/init.c, line 348.
233 Breakpoint 2, z_cstart () at /projects/zephyr/kernel/init.c:348
240 .. code-block:: console
242 nios2-gdb-server --tcpport 1234 --stop --reset-target
247 .. code-block:: console
249 nios2-poky-elf-gdb zephyr/zephyr.elf -ex "target remote :1234"
252 ---------------------------------
254 In order for this to work, execute-in-place must be disabled, since the GDB
258 .. code-block:: cfg
263 nios2-download (which errors out if it finds sections outside of SRAM) it will
268 nios2-configure-sof. You can leave this process running.
270 .. code-block:: console
272 $ nios2-gdb-server --tcpport 1234 --tcppersist --init-cache --reset-target
274 Build your Zephyr kernel, and load it into a GDB built for Nios II (included in
275 the Zephyr SDK) from the build directory:
277 .. code-block:: console
279 $ nios2-poky-elf-gdb zephyr/zephyr.elf
283 .. code-block:: console
291 .. code-block:: console
313 * `CPU Documentation <https://www.altera.com/en_US/pdfs/literature/hb/nios2/n2cpu-nii5v1gen2.pdf>`_
315 * `Embedded Peripherals IP User Guide <https://www.altera.com/content/dam/altera-www/global/en_US/p…
316 …on User Guide <https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/hb/max-1…
317 …uide <https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/ug/ug-max10m50-fp…
318 * `Nios II Command-Line Tools <https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/lite…
319 * `Quartus II Scripting Reference Manual <https://www.altera.com/content/dam/altera-www/global/en_U…