Hello Sebastian,
From: Sebastian Huber [sebastian.hu...@embedded-brains.de]
Sent: Wednesday, February 28, 2018 11:55
> - Am 27. Feb 2018 um 13:11 schrieb Jakob Viketoft
> jakob.viket...@aacmicrotec.com:
>
>> From: Joel Sherrill [j...@rtems.org]
>> Sent: Monday, Fe
From: Joel Sherrill [j...@rtems.org]
Sent: Monday, February 26, 2018 14:36
>> On Feb 26, 2018 8:27 AM, "Jakob Viketoft"
>> wrote:
>> Hello Joel,
>> From: Joel Sherrill [j...@rtems.org]
>> Sent: Monday, February 26, 2018 12:21
>>> On Feb 26, 201
Hello Joel,
From: Joel Sherrill [j...@rtems.org]
Sent: Monday, February 26, 2018 12:21
> On Feb 26, 2018 5:13 AM, "Jakob Viketoft"
> wrote:
>> E.g. could it be possible for the translation mechanism to look if there is
>> already an errno defined and then retu
Hello!
We have a number of drivers in our BSP which all use the POSIX access methods
to try and keep a clean interface etc. However, we also seem to stumble into a
return error code translation issue. RTEMS seems to have a very few defined
errno's and translate the relatively scarce amount of R
Hello Pavel, Joel, Sebastian,
From: Pavel Pisa [ppisa4li...@pikron.com]
Sent: Thursday, October 13, 2016 19:09
To: devel@rtems.org
Cc: Jakob Viketoft; j...@rtems.org
Subject: Re: Time spent in ticks...
> Hello Jakob,
> ...
> the time is measured and timers queue use 64-bit types
From: Joel Sherrill [j...@rtems.org]
Sent: Thursday, October 13, 2016 17:38
To: Jakob Viketoft
Cc: devel@rtems.org
Subject: Re: Time spent in ticks...
>I don't have an or1k handy so ran on a sparc/erc32 simulator/
>It is is a SPARC v7 at 15 Mhz.
>These times are in microseconds an
, bsps and toolchains can be
downloaded at repo.aacmicrotec.com.)
Best regards,
/Jakob
Jakob Viketoft
Senior Engineer in RTL and embedded software
ÅAC Microtec AB
Dag Hammarskjölds väg 48
SE-751 83 Uppsala, Sweden
T: +46 702 80 95 97
http://www.aacmicrotec.com
__
From: devel [devel-boun...@rtems.org] on behalf of Jakob Viketoft
[jakob.viket...@aacmicrotec.com]
Sent: Tuesday, March 01, 2016 15:03
To: Hesham Almatary
Cc: rtems-de...@rtems.org
Subject: RE: [PATCH 5/8] generic_or1k BSP clock driver correction
From: devel [devel-boun...@rtems.org] on behalf of Hesham Almatary
[heshamelmat...@gmail.com]
Sent: Saturday, February 27, 2016 19:57
To: Jakob Viketoft
Cc: rtems-de...@rtems.org
Subject: Re: [PATCH 5/8] generic_or1k BSP clock driver correction
>On
played foul tricks on the previous version) a new version of the patch which
_should_ work.
/Jakob
>From 2c27d1b315c75c787ccbfa353a5757d52ea309ff Mon Sep 17 00:00:00 2001
From: Jakob Viketoft
Date: Sat, 20 Feb 2016 23:23:27 +0100
Subject: [PATCH 7/8] OR1k cache flush/invalidate addition
I hadn't really intended this to be part of the series, but rather a
stand-alone addition, but apparently I stod on the wrong commit when generating
the series and didn't notice before sending out the first e-mail. Oh well, it's
late on a Saturday... ;)
/Jakob
Jakob
From: Jakob Viketoft
Close #2602
---
c/src/lib/libcpu/or1k/shared/cache/cache.c | 129 +
1 file changed, 94 insertions(+), 35 deletions(-)
diff --git a/c/src/lib/libcpu/or1k/shared/cache/cache.c
b/c/src/lib/libcpu/or1k/shared/cache/cache.c
index d17fec2..02e4aab
From: Jakob Viketoft
Update #2603
---
c/src/lib/libbsp/or1k/generic_or1k/irq/irq.c | 61
1 file changed, 54 insertions(+), 7 deletions(-)
diff --git a/c/src/lib/libbsp/or1k/generic_or1k/irq/irq.c
b/c/src/lib/libbsp/or1k/generic_or1k/irq/irq.c
index c3c4d6d
From: Jakob Viketoft
- Rewrote the link scripts to make more sense and to correct
the weird stack calculations previously made
Close #2601
---
.../lib/libbsp/or1k/generic_or1k/startup/linkcmds | 12 +-
.../libbsp/or1k/shared/include/linker-symbols.h| 8 +-
c/src/lib/libbsp/or1k
From: Jakob Viketoft
Close #2599
---
cpukit/score/cpu/or1k/or1k-context-initialize.c | 13 ++-
cpukit/score/cpu/or1k/or1k-context-switch.S | 113
2 files changed, 69 insertions(+), 57 deletions(-)
diff --git a/cpukit/score/cpu/or1k/or1k-context-initialize.c
b
From: Jakob Viketoft
- Improve the clock driver to use RTEMS default tick period
or the on the one supplied by the application
- Avoid rewriting the timer settings, since all we need is to clear the
interrupt
- Remove any mention of or1ksim in favour of generic_or1k
Close #2600
From: Jakob Viketoft
Close #2597
---
cpukit/score/cpu/or1k/cpu.c | 18 +
cpukit/score/cpu/or1k/rtems/score/cpu.h | 47 -
2 files changed, 29 insertions(+), 36 deletions(-)
diff --git a/cpukit/score/cpu/or1k/cpu.c b/cpukit/score/cpu/or1k
From: Jakob Viketoft
- Correct start vector table.
- Add proper init of registers and caches
- Add more information on unhandled exceptions
- Use defines instead of hardcoded values for readability
Close #2598
---
c/src/lib/libbsp/or1k/generic_or1k/start/start.S | 258
From: Jakob Viketoft
Close #2596.
---
cpukit/score/cpu/or1k/rtems/score/or1k-utility.h | 244 +--
1 file changed, 222 insertions(+), 22 deletions(-)
diff --git a/cpukit/score/cpu/or1k/rtems/score/or1k-utility.h
b/cpukit/score/cpu/or1k/rtems/score/or1k-utility.h
index
20, 2016 at 3:34 AM, wrote:
>> From: Jakob Viketoft
>
>When breaking lines in expressions, leave the first and last line empty,
>for (
>addr = ...();
>addr > 0;
>addr -= ...
>) {
>...
>}
Didn't see that. Will fix.
>> +_CPU_OR1K_Cac
ean I should adjust some of the other names as
well, or just this one?
Thanks for checking!
>___
>devel mailing list
>devel@rtems.org
>http://lists.rtems.org/mailman/listinfo/devel
Jakob Viketoft
Senior Engineer in RTL and embedded software
From: Jakob Viketoft
- Rewrote the link scripts to make more sense and to correct
the weird stack calculations previously made
---
.../lib/libbsp/or1k/generic_or1k/startup/linkcmds | 12 +-
.../libbsp/or1k/shared/include/linker-symbols.h|8 +-
c/src/lib/libbsp/or1k/shared/startup
From: Jakob Viketoft
---
c/src/lib/libcpu/or1k/shared/cache/cache.c | 86 ++--
1 file changed, 67 insertions(+), 19 deletions(-)
diff --git a/c/src/lib/libcpu/or1k/shared/cache/cache.c
b/c/src/lib/libcpu/or1k/shared/cache/cache.c
index d17fec2..49f5ca9 100644
--- a/c
From: Jakob Viketoft
- Improve the clock driver to use RTEMS default tick period
or the on the one supplied by the application
- Avoid rewriting the timer settings, since all we need is to clear the
interrupt
- Remove any mention of or1ksim in favour of generic_or1k
---
.../lib/libbsp
From: Jakob Viketoft
---
cpukit/score/cpu/or1k/or1k-context-initialize.c | 13 ++-
cpukit/score/cpu/or1k/or1k-context-switch.S | 113 ---
2 files changed, 69 insertions(+), 57 deletions(-)
diff --git a/cpukit/score/cpu/or1k/or1k-context-initialize.c
b/cpukit/score
From: Jakob Viketoft
- Correct start vector table.
- Add proper init of registers and caches
- Add more information on unhandled exceptions
- Use defines instead of hardcoded values for readability
---
c/src/lib/libbsp/or1k/generic_or1k/start/start.S | 258 +---
cpukit/score
From: Jakob Viketoft
---
cpukit/score/cpu/or1k/cpu.c | 18 +-
cpukit/score/cpu/or1k/rtems/score/cpu.h | 47 ++---
cpukit/score/cpu/or1k/rtems/score/or1k-utility.h | 244 --
3 files changed, 251 insertions(+), 58 deletions(-)
diff --git a
From: ged...@gwmail.gwu.edu [ged...@gwmail.gwu.edu] on behalf of Gedare Bloom
[ged...@rtems.org]
Sent: Friday, February 19, 2016 15:58
To: Jakob Viketoft
Cc: devel@rtems.org
Subject: Re: OpenRISC patch series...
>On Fri, Feb 19, 2016 at 7:59 AM, Ja
From: Hesham Almatary [heshamelmat...@gmail.com]
Sent: Friday, February 19, 2016 16:28
To: Jakob Viketoft
Cc: devel@rtems.org
Subject: Re: OpenRISC patch series...
>On Sat, Feb 20, 2016 at 2:12 AM, Jakob Viketoft
> wrote:
>>
Hello Hesham,
From: Hesham Almatary [heshamelmat...@gmail.com]
Sent: Friday, February 19, 2016 15:51
To: Jakob Viketoft
Cc: devel@rtems.org
Subject: Re: OpenRISC patch series...
>Hi Jakob,
>
>On Fri, Feb 19, 2016 at 11:59 PM, Jakob Viketof
From: Sebastian Huber [sebastian.hu...@embedded-brains.de]
Sent: Friday, February 19, 2016 13:44
To: Jakob Viketoft; devel@rtems.org
Subject: Re: OpenRISC patch series...
>On 19/02/16 13:40, Jakob Viketoft wr
From: Sebastian Huber [sebastian.hu...@embedded-brains.de]
Sent: Friday, February 19, 2016 13:36
To: Jakob Viketoft; devel@rtems.org
Subject: Re: [PATCH 7/7] Add more OR1k machine types and correct OR1k configure
subdir
>On 19/02/16 10:34, Jakob Viket
the master?
Sorry that I forgot to mention that, they are relative to 4.11 as of
d85db176e7d5bcb832ce0764d7db8b94090c4256.
/Jakob
Jakob Viketoft
Senior Engineer in RTL and embedded software
ÅAC Microtec AB
Dag Hammarskjölds väg 48
SE-751 83 Uppsala, Sweden
T: +46 702 80 95 97
h
pfc3, pfc4;
pfc1 = pf;
pfc2 = pfc1 + sizeof(des1_f);
pfc3 = pfc2 + sizeof(des2_f);
Jakob Viketoft
Senior Engineer in RTL and embedded software
ÅAC Microtec AB
Dag Hammarskjölds väg 48
SE-751 83 Uppsala, Sweden
T: +46 702 80 95 97
http://www.aacmicrotec.com
_
mips*-*)
os=-elf
;;
- or1k-*)
+ or1k-* | or1k*-*-*)
os=-elf
;;
or32-*)
Jakob Viketoft
Senior Engineer in RTL and embedded software
ÅAC Microtec AB
Dag Hammarskjölds väg 48
SE-751 83 Uppsala, Sweden
T
ot;l.nop");
+ asm volatile("l.nop");
+ asm volatile("l.nop");
}
void _CPU_cache_enable_data(void)
Jakob Viketoft
Senior Engineer in RTL and embedded software
ÅAC Microtec AB
Dag Hammarskjölds väg 48
SE-751 83 Uppsala, Sweden
T: +46 702 80 95 97
http://www.aacmicrote
@@
/*
* COPYRIGHT (c) 2014 Hesham ALMatary
+ * Copyright (c) 2015 ÅAC Microtec AB
+ *Jakob Viketoft
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE
*/
+/* Set up system
@@
*
* @ingroup bsp_clock
*
- * @brief or1k clock support.
+ * @brief generic_or1k clock support.
*/
/*
* generic_or1k Clock driver
*
* COPYRIGHT (c) 2014-2015 Hesham ALMatary
+ * Copyright (c) 2014-2016 ÅAC Microtec AB
+ * Jakob Viketoft
*
* The license and
l.nop
SYM(_CPU_Context_restore):
- l.add r4,r3,r0
- l.add r13,r0,r0
+ l.add r4, r3, r0
l.j restore
l.nop
SYM(_CPU_Context_restore_fp):
+ l.jrr9
l.nop
SYM(_CPU_Context_save_fp):
+ l.jr r9
l.nop
Jakob Viketoft
Senior Engineer in RTL and embedded software
-2015 Hesham ALMatary
+ * Copyright (c) 2014-2016 ÅAC Microtec AB
+ * Jakob Viketoft
*
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE
+ * The license and
*/
/*
+ * COPYRIGHT (c) 2014-2015 ÅAC Microtec AB
+ * Karol Gugala
+ * Jakob Viketoft
* COPYRIGHT (c) 2014 Hesham ALMatary
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
interdependent and extracted it as
a "normal" git diff. I hope this is good enough, but otherwise, please comment
on the patches.
Best regards,
/Jakob
Jakob Viketoft
Senior Engineer in RTL and embedded software
ÅAC Microtec AB
Dag Hammarskjölds väg 48
SE-751 83 Uppsala, Sweden
T: +46
42 matches
Mail list logo