Commit Graph
59 Commits
Author SHA1 Message Date
jens d1e94c4821 - refactored
- made changes due to new GCC

git-svn-id: http://moon:8086/svn/mips@145 a8ebac50-d88d-4704-bea3-6648445a41b3
2021-04-05 12:25:53 +00:00
jens 0b95ef9399 - fixed board file for ml402
- no lto

git-svn-id: http://moon:8086/svn/mips@139 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-02-08 20:36:49 +00:00
jens 3d5f7a19ba - enable linker garbage. Disable LTO
git-svn-id: http://moon:8086/svn/mips@138 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-02-08 18:50:04 +00:00
jens 1530cab6de [mips]- added sim stuff and lto
git-svn-id: http://moon:8086/svn/mips@136 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-02-04 10:59:49 +00:00
jens 4dbc4695fb - bootloader: read boot image offset from via board provided method
- bootloader_with_flash: fixed apperent bug with GPIO alignmentand masking



git-svn-id: http://moon:8086/svn/mips@134 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-28 09:56:43 +00:00
jens 41414d5648 - refactored interrupt en/dis
- enable mips-debugger in App



git-svn-id: http://moon:8086/svn/mips@132 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-26 20:09:46 +00:00
jens 71776eed13 - fixed dbg stuff
git-svn-id: http://moon:8086/svn/mips@127 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-23 16:42:53 +00:00
jens b43657166c - choose debugger for app (rom, mips or gdb)
- removed dcache_iv_at workaround
- constify
- testbench denano enable LEDs


git-svn-id: http://moon:8086/svn/mips@126 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-23 05:33:37 +00:00
jens e255319c57 - added testbench for de-nano
- added workaround for DCache_inv_all() for de-nano

git-svn-id: http://moon:8086/svn/mips@124 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-22 20:15:11 +00:00
jens 273b7a6a79 - bootloader prepared for use mit mips debugger
- changed address of debugger entry
- mips_dbg: no use om memset and memcpy

git-svn-id: http://moon:8086/svn/mips@120 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-22 14:30:49 +00:00
jens e86064fd65 - no memset and strcpy in gdb_stub
- boattloader : refactored, size optimization, nostartup, nostdlib, nodefaultlibs

git-svn-id: http://moon:8086/svn/mips@119 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-22 13:51:31 +00:00
jens c6962aef49 - refactored debugger
- jump to exc-handler instead of call

git-svn-id: http://moon:8086/svn/mips@115 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-21 17:46:50 +00:00
jens d1c1a04da7 - call crt stuff correctly
git-svn-id: http://moon:8086/svn/mips@112 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-21 12:19:34 +00:00
jens 40fb6cfab8 - call crt stuff correctly
git-svn-id: http://moon:8086/svn/mips@111 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-21 12:09:38 +00:00
jens ae41d3dc9e - libsys fixed startup code
git-svn-id: http://moon:8086/svn/mips@110 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-20 19:28:46 +00:00
jens 6b228be3f7 - fixed bootloader makefile
- interupts disabled after bootloader
- enable interrupts in board file


git-svn-id: http://moon:8086/svn/mips@109 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-20 18:39:10 +00:00
jens e1ea7e3582 - don't optimize away gdb
- GCC 4.92
- cleaned up



git-svn-id: http://moon:8086/svn/mips@107 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-19 20:56:21 +00:00
jens 677d40b6a5 - fixed gdb_stub
git-svn-id: http://moon:8086/svn/mips@105 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-19 18:26:01 +00:00
jens f3e297c9e6 - bootloader build with LTO
- switch between debugger from rom or from app
- gdb_stub: added debug output to stdout

git-svn-id: http://moon:8086/svn/mips@104 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-19 18:03:53 +00:00
jens cfef553c9c - gdb_stub: constify array
git-svn-id: http://moon:8086/svn/mips@103 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-18 23:42:25 +00:00
jens 340c96cd70 - gdb_stub: removed static vars
git-svn-id: http://moon:8086/svn/mips@102 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-18 23:34:17 +00:00
jens 5800d1e264 - gdb_stub: buffer on stack
git-svn-id: http://moon:8086/svn/mips@101 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-18 23:28:07 +00:00
jens 0b96f7202d - use debugger from bootloader
git-svn-id: http://moon:8086/svn/mips@100 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-18 23:17:58 +00:00
jens cf233c4d81 - fixed bootloader
- bootloader added board file
- refactored header files
- constify constants

git-svn-id: http://moon:8086/svn/mips@99 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-18 22:28:07 +00:00
jens 1a58dcf524 - improved tool chain
git-svn-id: http://moon:8086/svn/mips@95 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-17 20:34:55 +00:00
jens f1bdc70a48 - gdb_stub: fixed memory reads
git-svn-id: http://moon:8086/svn/mips@92 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-17 07:49:38 +00:00
jens ef95cd03b0 - build with debug info
git-svn-id: http://moon:8086/svn/mips@91 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-16 22:48:10 +00:00
jens d125261048 - register more exceptions
- PC+4 if current PC points to breakpoint



git-svn-id: http://moon:8086/svn/mips@90 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-16 22:25:57 +00:00
jens 1f75695e9f - fixed signal number calculation
git-svn-id: http://moon:8086/svn/mips@89 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-16 22:03:35 +00:00
jens f882fd5bb9 - added
git-svn-id: http://moon:8086/svn/mips@88 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-16 19:25:38 +00:00
jens b23ccf5a8c - added and use gdb-stub
git-svn-id: http://moon:8086/svn/mips@87 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-16 19:25:08 +00:00
jens fe126b2d44 - debugger: added go (g) and continue (c)
git-svn-id: http://moon:8086/svn/mips@85 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-15 14:58:36 +00:00
jens 03b0c34495 - exit(): no debug print
git-svn-id: http://moon:8086/svn/mips@84 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-15 13:51:04 +00:00
jens 586962c3e9 - slow down led count
git-svn-id: http://moon:8086/svn/mips@83 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-15 13:44:22 +00:00
jens 301865c2b4 - fixed PRINT_REG_CHG
git-svn-id: http://moon:8086/svn/mips@82 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-14 23:44:29 +00:00
jens 28c8957b96 - dbg_putchar() and dbg_getchar() don't call any common sub routines
git-svn-id: http://moon:8086/svn/mips@81 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-14 20:31:34 +00:00
jens b11c98a70f - cleaned
git-svn-id: http://moon:8086/svn/mips@80 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-14 15:10:39 +00:00
jens 2bc3668020 -debugger: disabled debug prints
git-svn-id: http://moon:8086/svn/mips@79 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-14 14:29:22 +00:00
jens 6e59fe2263 - fixed dbg
- exception stacksize can be larger than 32kB
- debugger entry on ctrl-c inside debugger terminal

git-svn-id: http://moon:8086/svn/mips@78 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-14 14:27:03 +00:00
jens 543c87eefe - nicer
git-svn-id: http://moon:8086/svn/mips@77 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-13 18:49:33 +00:00
jens 5c9c50ebeb - refactored libsys
- added critical section
- added interrupt global enable/disable
- added console::getInstanveByName



git-svn-id: http://moon:8086/svn/mips@76 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-12 16:25:20 +00:00
jens 0f4b7e015f - added
git-svn-id: http://moon:8086/svn/mips@75 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-12 15:12:09 +00:00
jens b1250358e1 - fixed extern
- cleaned up


git-svn-id: http://moon:8086/svn/mips@74 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-11 22:32:56 +00:00
jens 06f7be107b - fixed file descriptor table
- abstract I/O to mips_dbg



git-svn-id: http://moon:8086/svn/mips@73 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-11 22:23:45 +00:00
jens bba98f5677 - startup calls board_init
git-svn-id: http://moon:8086/svn/mips@71 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-11 07:55:49 +00:00
jens 0a6546c6c4 - reverted _putchar() and _getChar(). Need later fix
git-svn-id: http://moon:8086/svn/mips@70 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-10 20:35:00 +00:00
jens ec94a5f8fe - non constrained con_if_entry
git-svn-id: http://moon:8086/svn/mips@69 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-10 19:14:07 +00:00
jens b6ee5ce45b deleted
git-svn-id: http://moon:8086/svn/mips@68 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-10 17:50:56 +00:00
jens 82802139cd [mips]
- libsys multitarget
- apps multitarget

git-svn-id: http://moon:8086/svn/mips@67 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-10 17:50:12 +00:00
jens a67ef9649d [mips/libsys]
- support different boards (Zwischenstand)

git-svn-id: http://moon:8086/svn/mips@66 a8ebac50-d88d-4704-bea3-6648445a41b3
2017-01-08 12:42:55 +00:00