Skip to content

Commit 7ef046f

Browse files
Ramakrishna PallalaAnas Nashif
authored andcommitted
boards: nios2: altera_max10: cleanup board documentation
Remove references to nanokernel from the board documentation. Signed-off-by: Ramakrishna Pallala <[email protected]>
1 parent 7d0ab1b commit 7ef046f

File tree

1 file changed

+17
-27
lines changed

1 file changed

+17
-27
lines changed

boards/nios2/altera_max10/doc/board.rst

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -202,56 +202,46 @@ Debugging With UFM Flashed Image
202202
You can debug an application in the usual way. Here is an example.
203203

204204
.. zephyr-app-commands::
205-
:zephyr-app: tests/crypto/test_sha256
205+
:zephyr-app: samples/hello_world
206206
:board: altera_max10
207207
:goals: debug
208208

209209
You will see output similar to the following:
210210

211211
.. code-block:: console
212212
213-
Nios II GDB server running on port 14777
213+
Nios II GDB server running on port 3335
214214
Ignoring --stop option because --tcpport also specified
215-
Python Exception <type 'exceptions.ImportError'> No module named gdb:
216-
/opt/zephyr-sdk/sysroots/i686-pokysdk-linux/usr/bin/nios2-poky-elf/nios2-poky-elf-gdb: warning:
217-
Could not load the Python gdb module from `/opt/zephyr-sdk/2.0.1/sysroots/i686-pokysdk-linux/usr/share/gdb/python'.
218-
Limited Python support is available from the _gdb module.
219-
Suggest passing --data-directory=/path/to/gdb/data-directory.
220-
221-
GNU gdb (GDB) 7.9.1
222-
Copyright (C) 2015 Free Software Foundation, Inc.
215+
GNU gdb (GDB) 7.11.0.20160511-git
216+
Copyright (C) 2016 Free Software Foundation, Inc.
223217
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
224218
This is free software: you are free to change and redistribute it.
225219
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
226220
and "show warranty" for details.
227-
This GDB was configured as "--host=i686-pokysdk-linux --target=nios2-poky-elf".
221+
This GDB was configured as "--host=x86_64-pokysdk-linux --target=nios2-zephyr-elf".
228222
Type "show configuration" for configuration details.
229223
For bug reporting instructions, please see:
230224
<http://www.gnu.org/software/gdb/bugs/>.
231225
Find the GDB manual and other documentation resources online at:
232226
<http://www.gnu.org/software/gdb/documentation/>.
233227
For help, type "help".
234228
Type "apropos word" to search for commands related to "word"...
235-
Reading symbols from /projects/zephyr2/tests/crypto/test_sha256/outdir/zephyr.elf...done.
236-
Remote debugging using :14777
237-
Using cable "USB-BlasterII [1-1.6.1]", device 1, instance 0x00
229+
Reading symbols from /projects/zephyr/samples/hello_world/build/zephyr/zephyr.elf...done.
230+
Remote debugging using :3335
231+
Using cable "USB-BlasterII [3-1.3]", device 1, instance 0x00
238232
Resetting and pausing target processor: OK
239-
Listening on port 14777 for connection from GDB: accepted
240-
vprintf (format=<optimized out>, vargs=<optimized out>)
241-
at /projects/zephyr2/lib/libc/minimal/source/stdout/fprintf.c:61
242-
61 {
243-
(gdb) b nano_init
244-
Breakpoint 1 at 0x1de8: file /projects/zephyr2/kernel/nanokernel/nano_init.c, line 207.
233+
Listening on port 3335 for connection from GDB: accepted
234+
isr_tables_syms () at /projects/zephyr/arch/common/isr_tables.c:63
235+
63 GEN_ABSOLUTE_SYM(__ISR_LIST_SIZEOF, sizeof(struct _isr_list));
236+
(gdb) b _PrepC
237+
Breakpoint 1 at 0xdf0: file /projects/zephyr/arch/nios2/core/prep_c.c, line 36.
238+
(gdb) b _Cstart
239+
Breakpoint 2 at 0x1254: file /projects/zephyr/kernel/init.c, line 348.
245240
(gdb) c
246241
Continuing.
247242
248-
Breakpoint 1, _Cstart () at /projects/zephyr2/kernel/nanokernel/nano_init.c:323
249-
323 nano_init((struct tcs *)&dummyTCS);
250-
(gdb) bt
251-
Python Exception <type 'exceptions.ImportError'> No module named gdb.frames:
252-
#0 _Cstart () at /projects/zephyr2/kernel/nanokernel/nano_init.c:323
253-
#1 0x00003ca4 in _PrepC () at /projects/zephyr2/arch/nios2/core/prep_c.c:61
254-
#2 0x00003ccc in __start () at /projects/zephyr2/arch/nios2/core/crt0.S:155
243+
Breakpoint 2, _Cstart () at /projects/zephyr/kernel/init.c:348
244+
348 {
255245
(gdb)
256246
257247
To start debugging manually:

0 commit comments

Comments
 (0)