2014-02-10 17:14:22 +01:00
|
|
|
NuttX TODO List (Last updated January 10, 2014)
|
2011-09-13 21:04:13 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2007-12-13 17:52:37 +01:00
|
|
|
|
2013-07-23 22:47:16 +02:00
|
|
|
This file summarizes known NuttX bugs, limitations, inconsistencies with
|
2013-06-14 22:30:00 +02:00
|
|
|
standards, things that could be improved, and ideas for enhancements. See
|
|
|
|
also individual README.txt files in the configs/ sub-directories for each
|
|
|
|
board port.
|
2011-09-10 18:20:09 +02:00
|
|
|
|
2011-03-19 22:04:13 +01:00
|
|
|
nuttx/
|
|
|
|
|
2013-03-06 01:02:07 +01:00
|
|
|
(10) Task/Scheduler (sched/)
|
2013-03-23 15:46:02 +01:00
|
|
|
(1) Memory Managment (mm/)
|
|
|
|
(3) Signals (sched/, arch/)
|
2012-03-22 15:07:45 +01:00
|
|
|
(2) pthreads (sched/)
|
2013-12-30 17:04:34 +01:00
|
|
|
(11) Kernel Build
|
2013-06-23 18:45:37 +02:00
|
|
|
(4) C++ Support
|
2012-10-10 21:36:32 +02:00
|
|
|
(6) Binary loaders (binfmt/)
|
2014-01-15 14:17:59 +01:00
|
|
|
(17) Network (net/, drivers/net)
|
2014-02-10 17:14:22 +01:00
|
|
|
(4) USB (drivers/usbdev, drivers/usbhost)
|
2013-01-28 22:55:16 +01:00
|
|
|
(11) Libraries (libc/, )
|
2014-01-14 21:06:02 +01:00
|
|
|
(12) File system/Generic drivers (fs/, drivers/)
|
2012-05-21 19:36:26 +02:00
|
|
|
(5) Graphics subystem (graphics/)
|
2008-02-06 16:44:29 +01:00
|
|
|
(1) Pascal add-on (pcode/)
|
2009-06-27 02:56:39 +02:00
|
|
|
(1) Documentation (Documentation/)
|
2013-03-23 15:46:02 +01:00
|
|
|
(6) Build system / Toolchains
|
2012-01-17 18:42:31 +01:00
|
|
|
(5) Linux/Cywgin simulation (arch/sim)
|
2013-07-30 19:37:09 +02:00
|
|
|
(4) ARM (arch/arm/)
|
2008-01-28 23:32:40 +01:00
|
|
|
(1) ARM/C5471 (arch/arm/src/c5471/)
|
2008-11-26 18:58:02 +01:00
|
|
|
(3) ARM/DM320 (arch/arm/src/dm320/)
|
2009-04-26 20:58:49 +02:00
|
|
|
(2) ARM/i.MX (arch/arm/src/imx/)
|
2011-05-07 18:59:20 +02:00
|
|
|
(3) ARM/LPC17xx (arch/arm/src/lpc17xx/)
|
2012-02-02 20:42:55 +01:00
|
|
|
(7) ARM/LPC214x (arch/arm/src/lpc214x/)
|
2010-10-02 02:55:32 +02:00
|
|
|
(2) ARM/LPC313x (arch/arm/src/lpc313x/)
|
2012-08-05 00:00:18 +02:00
|
|
|
(0) ARM/LPC43x (arch/arm/src/lpc43xx/)
|
2009-06-08 17:00:07 +02:00
|
|
|
(3) ARM/STR71x (arch/arm/src/str71x/)
|
2013-01-08 21:56:40 +01:00
|
|
|
(3) ARM/LM3S6918 (arch/arm/src/lm/)
|
2014-01-29 01:59:11 +01:00
|
|
|
(x) ARM/SAMA5D3 ((arch/arm/src/sama5/)
|
2013-05-29 18:26:00 +02:00
|
|
|
(5) ARM/STM32 (arch/arm/src/stm32/)
|
2011-06-20 21:07:22 +02:00
|
|
|
(3) AVR (arch/avr)
|
2011-03-16 18:17:58 +01:00
|
|
|
(0) Intel x86 (arch/x86)
|
2012-12-16 22:15:27 +01:00
|
|
|
(5) 8051 / MCS51 (arch/8051/)
|
2012-06-06 23:51:03 +02:00
|
|
|
(3) MIPS/PIC32 (arch/mips)
|
2011-12-18 14:53:58 +01:00
|
|
|
(1) Hitachi/Renesas SH-1 (arch/sh/src/sh1)
|
2009-02-21 01:49:52 +01:00
|
|
|
(4) Renesas M16C/26 (arch/sh/src/m16c)
|
2013-01-24 00:11:13 +01:00
|
|
|
(11) z80/z8/ez80/z180 (arch/z80/)
|
2014-01-14 21:06:02 +01:00
|
|
|
(9) z16 (arch/z16/)
|
2009-12-18 23:36:24 +01:00
|
|
|
(1) mc68hc1x (arch/hc)
|
2007-12-13 17:52:37 +01:00
|
|
|
|
2011-03-19 22:04:13 +01:00
|
|
|
apps/
|
|
|
|
|
|
|
|
(5) Network Utilities (apps/netutils/)
|
2013-02-02 20:31:30 +01:00
|
|
|
(4) NuttShell (NSH) (apps/nshlib)
|
2012-02-01 20:07:57 +01:00
|
|
|
(1) System libraries apps/system (apps/system)
|
2011-07-26 19:27:57 +02:00
|
|
|
(5) Other Applications & Tests (apps/examples/)
|
2011-03-19 22:04:13 +01:00
|
|
|
|
2007-12-13 17:52:37 +01:00
|
|
|
o Task/Scheduler (sched/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: CHILD PTHREAD TERMINATION
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: When a tasks exits, shouldn't all of its child pthreads also be
|
|
|
|
terminated?
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Closed. No, this behavior will not be implemented.
|
2007-12-13 17:52:37 +01:00
|
|
|
Priority: Medium, required for good emulation of process/pthread model.
|
|
|
|
|
2011-12-21 00:44:21 +01:00
|
|
|
Title: TICKLESS OS
|
|
|
|
Description: On a side note, I have thought about a tick-less timer for the OS
|
|
|
|
for a long time. Basically we could replace the periodic system
|
|
|
|
timer interrupt with a one-shot interval timer programmed for the
|
|
|
|
next interesting event time. That is one way to both reduce the
|
|
|
|
timer interrupt overhead and also to increase the accuracy of
|
|
|
|
delays.
|
2011-12-29 13:52:15 +01:00
|
|
|
|
|
|
|
Current timer processing is in sched/sched_processtimer.c:
|
|
|
|
|
|
|
|
1) Calls clock_timer() which just increments a counter (the system
|
|
|
|
timer -- basically "up-time"). This is only used when code asks
|
|
|
|
for the current time. In a tickless OS, some substitute answer
|
|
|
|
for the question "What time is it?" would need to be developed.
|
|
|
|
You could use an RTC? Or maybe logic that gets the time until the
|
|
|
|
next interval expiration and computes the current time. The
|
|
|
|
solution is not too difficult, but depends on a hardware solution.
|
|
|
|
|
|
|
|
2) Calls wd_timer() which handles the link list of ordered events:
|
|
|
|
Each timer event is saved with the delta time to the next event
|
|
|
|
in the list. So an interval timer would be perfect to implement this.
|
|
|
|
|
|
|
|
3) sched_process_timeslice(). Then there is round-robin time-slicing.
|
|
|
|
|
2013-01-04 17:00:38 +01:00
|
|
|
The primary advantage of a tickless OS is that is would allow for
|
|
|
|
reduce power consumptions. That is because timer interrupts will
|
|
|
|
usually awaken CPUs from reduced power consumption states.
|
|
|
|
Status: Open. There will probably be no tickless OS implementation unless
|
|
|
|
someone gets motivated and drives the change.
|
2011-12-21 00:44:21 +01:00
|
|
|
Priority: Low
|
|
|
|
|
2013-01-04 17:00:38 +01:00
|
|
|
Title: pause() NON-COMPLIANCE
|
|
|
|
Description: In the POSIX description of this function is the pause() function
|
|
|
|
will suspend the calling thread until delivery of a signal whose
|
|
|
|
action is either to execute a signal-catching function or to
|
|
|
|
terminate the process. The current implementation only waits for
|
|
|
|
any non-blocked signal to be received. It should only wake up if
|
|
|
|
the signal is delivered to a handler.
|
|
|
|
Status: Open.
|
|
|
|
Priority: Medium Low.
|
2010-08-22 05:44:18 +02:00
|
|
|
|
2013-03-08 19:29:56 +01:00
|
|
|
Title: ON-DEMAND PAGING INCOMPLETE
|
2010-08-22 05:44:18 +02:00
|
|
|
Description: On-demand paging has recently been incorporated into the RTOS.
|
|
|
|
The design of this feature is described here:
|
2010-09-08 03:53:23 +02:00
|
|
|
http://www.nuttx.org/NuttXDemandPaging.html.
|
|
|
|
As of this writing, the basic feature implementation is
|
|
|
|
complete and much of the logic has been verified. The test
|
|
|
|
harness for the feature exists only for the NXP LPC3131 (see
|
|
|
|
configs/ea3131/pgnsh and locked directories). There are
|
|
|
|
some limitations of this testing so I still cannot say that
|
|
|
|
the feature is fully functional.
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Open. This has been put on the shelf for some time.
|
2010-08-22 05:44:18 +02:00
|
|
|
Priority: Medium-Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: GET_ENVIRON_PTR()
|
2011-03-09 04:41:34 +01:00
|
|
|
Description: get_environ_ptr() (sched/sched_getenvironptr.c) is not implemented.
|
2013-08-27 17:40:19 +02:00
|
|
|
The representation of the environment strings selected for
|
2011-03-09 04:41:34 +01:00
|
|
|
NutX is not compatible with the operation. Some significant
|
2014-01-14 21:06:02 +01:00
|
|
|
re-design would be required to implement this function and that
|
2011-03-09 04:41:34 +01:00
|
|
|
effort is thought to be not worth the result.
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Open. No change is planned.
|
2011-03-09 04:41:34 +01:00
|
|
|
Priority: Low -- There is no plan to implement this.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: TIMER_GETOVERRUN()
|
2011-03-09 04:41:34 +01:00
|
|
|
Description: timer_getoverrun() (sched/timer_getoverrun.c) is not implemented.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low -- There is no plan to implement this.
|
|
|
|
|
2013-01-08 20:27:38 +01:00
|
|
|
Title: INCOMPATIBILITES WITH execv() AND execl()
|
|
|
|
Description: Simplified 'execl()' and 'execv()' functions are provided by
|
|
|
|
NuttX. NuttX does not support processes and hence the concept
|
|
|
|
of overlaying a tasks process image with a new process image
|
|
|
|
does not make any sense. In NuttX, these functions are
|
|
|
|
wrapper functions that:
|
|
|
|
|
|
|
|
1. Call the non-standard binfmt function 'exec', and then
|
|
|
|
2. exit(0).
|
|
|
|
|
|
|
|
As a result, the current implementations of 'execl()' and
|
|
|
|
'execv()' suffer from some incompatibilities, the most
|
|
|
|
serious of these is that the exec'ed task will not have
|
|
|
|
the same task ID as the vfork'ed function. So the parent
|
|
|
|
function cannot know the ID of the exec'ed task.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium Low for now
|
|
|
|
|
2013-01-17 15:43:55 +01:00
|
|
|
Title: ISSUES WITH atexit() AND on_exit()
|
|
|
|
Description: These functions execute with the following bad properties:
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2013-01-17 15:43:55 +01:00
|
|
|
1. They run with interrupts disabled,
|
|
|
|
2. They run in supervisor mode (if applicable), and
|
|
|
|
3. They do not obey any setup of PIC or address
|
|
|
|
environments. Do they need to?
|
|
|
|
|
|
|
|
The fix for all of these issues it to have the callbacks
|
|
|
|
run on the caller's thread (as with signal handlers).
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium Low. This is an important change to some less
|
|
|
|
important interfaces. For the average user, these
|
|
|
|
functions are just fine the way they are.
|
|
|
|
|
2013-01-24 00:11:13 +01:00
|
|
|
Title: execv() AND vfork()
|
|
|
|
Description: There is a problem when vfork() calls execv() (or execl()) to
|
|
|
|
start a new appliction: When the parent thread calls vfork()
|
|
|
|
it receives and gets the pid of the vforked task, and *not*
|
|
|
|
the pid of the desired execv'ed application.
|
|
|
|
|
|
|
|
The same tasking arrangement is used by the standard function
|
|
|
|
posix_spawn(). However, posix_spawn uses the non-standard, internal
|
|
|
|
NuttX interface task_reparent() to replace the childs parent task
|
|
|
|
with the caller of posix_spawn(). That cannot be done with vfork()
|
2013-02-04 16:29:19 +01:00
|
|
|
because we don't know what vfork() is going to do.
|
2013-01-24 00:11:13 +01:00
|
|
|
|
2013-02-04 16:29:19 +01:00
|
|
|
Any solution to this is either very difficult or impossible without
|
2013-01-24 00:11:13 +01:00
|
|
|
an MMU.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low (it might as well be low since it isn't going to be fixed).
|
|
|
|
|
2013-01-27 16:52:58 +01:00
|
|
|
Title: errno IS NOT SHARED AMONG THREADS
|
|
|
|
Description: In NuttX, the errno value is unique for each thread. But for
|
|
|
|
bug-for-bug compatibility, the same errno should be shared by
|
|
|
|
the task and each thread that it creates. It is *very* easy
|
|
|
|
to make this change: Just move the pterrno field from
|
2013-02-04 19:46:28 +01:00
|
|
|
struct tcb_s to struct task_group_s. However, I am still not
|
|
|
|
sure if this should be done or not.
|
2013-02-04 16:29:19 +01:00
|
|
|
Status: Closed. The existing solution is better (although its
|
|
|
|
incompatibilities could show up in porting some code).
|
2013-01-27 16:52:58 +01:00
|
|
|
Priority: Low
|
|
|
|
|
2007-12-13 17:52:37 +01:00
|
|
|
o Memory Managment (mm/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: FREE MEMORY ON TASK EXIT
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: Add an option to free all memory allocated by a task when the
|
|
|
|
task exits. This is probably not be worth the overhead for a
|
|
|
|
deeply embedded system.
|
2012-04-27 18:20:32 +02:00
|
|
|
|
2011-03-02 15:43:28 +01:00
|
|
|
There would be complexities with this implementation as well
|
|
|
|
because often one task allocates memory and then passes the
|
|
|
|
memory to another: The task that "owns" the memory may not
|
|
|
|
be the same as the task that allocated the memory.
|
2012-04-27 18:20:32 +02:00
|
|
|
|
|
|
|
Update. From the NuttX forum:
|
|
|
|
...there is a good reason why task A should never delete task B.
|
|
|
|
That is because you will strand memory resources. Another feature
|
|
|
|
lacking in most flat address space RTOSs is automatic memory
|
|
|
|
clean-up when a task exits.
|
|
|
|
|
|
|
|
That behavior just comes for free in a process-based OS like Linux:
|
|
|
|
Each process has its own heap and when you tear down the process
|
|
|
|
environment, you naturally destroy the heap too.
|
|
|
|
|
|
|
|
But RTOSs have only a single, shared heap. I have spent some time
|
|
|
|
thinking about how you could clean up memory required by a task
|
|
|
|
when a task exits. It is not so simple. It is not as simple as
|
|
|
|
just keeping memory allocated by a thread in a list then freeing
|
|
|
|
the list of allocations when the task exists.
|
|
|
|
|
|
|
|
It is not that simple because you don't know how the memory is
|
|
|
|
being used. For example, if task A allocates memory that is used
|
|
|
|
by task B, then when task A exits, you would not want to free that
|
|
|
|
memory needed by task B. In a process-based system, you would
|
|
|
|
have to explicitly map shared memory (with reference counting) in
|
|
|
|
order to share memory. So the life of shared memory in that
|
|
|
|
environment is easily managed.
|
|
|
|
|
|
|
|
I have thought that the way that this could be solved in NuttX
|
|
|
|
would be: (1) add links and reference counts to all memory allocated
|
|
|
|
by a thread. This would increase the memory allocation overhead!
|
|
|
|
(2) Keep the list head in the TCB, and (3) extend mmap() and munmap()
|
|
|
|
to include the shared memory operations (which would only manage
|
|
|
|
the reference counting and the life of the allocation).
|
|
|
|
|
|
|
|
Then what about pthreads? Memory should not be freed until the last
|
|
|
|
pthread in the group exists. That could be done with an additional
|
|
|
|
reference count on the whole allocated memory list (just as streams
|
|
|
|
and file descriptors are now shared and persist until the last
|
|
|
|
pthread exits).
|
|
|
|
|
|
|
|
I think that would work but to me is very unattractive and
|
|
|
|
inconsistent with the NuttX "small footprint" objective. ...
|
|
|
|
|
|
|
|
Other issues:
|
|
|
|
- Memory free time would go up because you would have to remove
|
|
|
|
the memory from that list in free().
|
|
|
|
- There are special cases inside the RTOS itself. For example,
|
|
|
|
if task A creates task B, then initial memory allocations for
|
|
|
|
task B are created by task A. Some special allocators would
|
|
|
|
be required to keep this memory on the correct list (or on
|
|
|
|
no list at all).
|
|
|
|
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Open. No changes are planned.
|
2007-12-13 17:52:37 +01:00
|
|
|
Priority: Medium/Low, a good feature to prevent memory leaks but would
|
|
|
|
have negative impact on memory usage and code size.
|
|
|
|
|
|
|
|
o Signals (sched/, arch/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: STANDARD SIGNALS
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: 'Standard' signals and signal actions are not supported.
|
2013-01-14 16:42:03 +01:00
|
|
|
(e.g., SIGINT, SIGSEGV, etc).
|
|
|
|
|
2013-02-04 16:29:19 +01:00
|
|
|
Update: SIG_CHLD is supported if so configured.
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Open. No changes are planned.
|
2007-12-13 17:52:37 +01:00
|
|
|
Priority: Low, required by standards but not so critical for an
|
|
|
|
embedded system.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SIGEV_THREAD
|
2011-09-10 18:20:09 +02:00
|
|
|
Description: sig_notify() logic does not support SIGEV_THREAD; structure
|
|
|
|
struct sigevent does not provide required members sigev_notify_function
|
|
|
|
or sigev_notify_attributes.
|
|
|
|
Status: Low, there are alternative designs. However, these features
|
|
|
|
are required by the POSIX standard.
|
|
|
|
Priority: Low for now
|
|
|
|
|
2013-01-14 16:42:03 +01:00
|
|
|
Title: SIGNAL NUMBERING
|
|
|
|
Description: In signal.h, the range of valid signals is listed as 0-31. However,
|
|
|
|
in many interfaces, 0 is not a valid signal number. The valid
|
|
|
|
signal number should be 1-32. The signal set operations would need
|
|
|
|
to map bits appropriately.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low. Even if there are only 31 usable signals, that is still a lot.
|
|
|
|
|
2007-12-13 17:52:37 +01:00
|
|
|
o pthreads (sched/)
|
|
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: CANCELLATION POINTS
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: pthread_cancel(): Should implement cancellation points and
|
|
|
|
pthread_testcancel()
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Open. No changes are planned.
|
2007-12-13 17:52:37 +01:00
|
|
|
Priority: Low, probably not that useful
|
2007-03-21 18:21:26 +01:00
|
|
|
|
2012-03-22 15:07:45 +01:00
|
|
|
Title: PTHREAD_PRIO_PROTECT
|
2013-01-04 17:00:38 +01:00
|
|
|
Description: Extended pthread_mutexattr_setprotocol() suport PTHREAD_PRIO_PROTECT:
|
2012-03-22 15:07:45 +01:00
|
|
|
"When a thread owns one or more mutexes initialized with the
|
|
|
|
PTHREAD_PRIO_PROTECT protocol, it shall execute at the higher of its
|
|
|
|
priority or the highest of the priority ceilings of all the mutexes
|
|
|
|
owned by this thread and initialized with this attribute, regardless of
|
|
|
|
whether other threads are blocked on any of these mutexes or not.
|
|
|
|
|
|
|
|
"While a thread is holding a mutex which has been initialized with
|
|
|
|
the PTHREAD_PRIO_INHERIT or PTHREAD_PRIO_PROTECT protocol attributes,
|
|
|
|
it shall not be subject to being moved to the tail of the scheduling queue
|
|
|
|
at its priority in the event that its original priority is changed,
|
|
|
|
such as by a call to sched_setparam(). Likewise, when a thread unlocks
|
|
|
|
a mutex that has been initialized with the PTHREAD_PRIO_INHERIT or
|
|
|
|
PTHREAD_PRIO_PROTECT protocol attributes, it shall not be subject to
|
|
|
|
being moved to the tail of the scheduling queue at its priority in the
|
|
|
|
event that its original priority is changed."
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Open. No changes planned.
|
2012-03-24 14:57:04 +01:00
|
|
|
Priority: Low -- about zero, probably not that useful. Priority inheritance is
|
|
|
|
already supported and is a much better solution. And it turns out
|
|
|
|
that priority protection is just about as complex as priority inheritance.
|
|
|
|
Exerpted from my post in a Linked-In discussion:
|
|
|
|
|
|
|
|
"I started to implement this HLS/"PCP" semaphore in an RTOS that I
|
|
|
|
work with (http://www.nuttx.org) and I discovered after doing the
|
|
|
|
analysis and basic code framework that a complete solution for the
|
|
|
|
case of a counting semaphore is still quite complex -- essentially
|
|
|
|
as complex as is priority inheritance.
|
|
|
|
|
|
|
|
"For example, suppose that a thread takes 3 different HLS semaphores
|
|
|
|
A, B, and C. Suppose that they are prioritized in that order with
|
|
|
|
A the lowest and C the highest. Suppose the thread takes 5 counts
|
|
|
|
from A, 3 counts from B, and 2 counts from C. What priority should
|
|
|
|
it run at? It would have to run at the priority of the highest
|
|
|
|
priority semaphore C. This means that the RTOS must maintain
|
|
|
|
internal information of the priority of every semaphore held by
|
|
|
|
the thread.
|
|
|
|
|
|
|
|
"Now suppose it releases one count on semaphore B. How does the
|
|
|
|
RTOS know that it still holds 2 counts on B? With some complex
|
|
|
|
internal data structure. The RTOS would have to maintain internal
|
|
|
|
information about how many counts from each semaphore are held
|
|
|
|
by each thread.
|
|
|
|
|
|
|
|
"How does the RTOS know that it should not decrement the priority
|
|
|
|
from the priority of C? Again, only with internal complexity. It
|
|
|
|
would have to know the priority of every semaphore held by
|
|
|
|
every thread.
|
|
|
|
|
|
|
|
"Providing the HLS capability on a simple phread mutex would not
|
|
|
|
be such quite such a complex job if you allow only one mutex per
|
|
|
|
thread. However, the more general case seems almost as complex
|
|
|
|
as priority inheritance. I decided that the implementation does
|
|
|
|
not have value to me. I only wanted it for its reduced
|
|
|
|
complexity; in all other ways I believe that it is the inferior
|
|
|
|
solution. So I discarded a few hours of programming. Not a
|
|
|
|
big loss from the experience I gained."
|
2012-03-22 15:07:45 +01:00
|
|
|
|
2013-03-23 15:46:02 +01:00
|
|
|
o Kernel Build
|
|
|
|
^^^^^^^^^^^^
|
|
|
|
|
2013-12-30 17:04:34 +01:00
|
|
|
Title: GRAPHICS PARTITIONING.
|
|
|
|
Description: In the kernel build mode (where NuttX is built as a monolithic
|
2013-03-23 15:46:02 +01:00
|
|
|
kernel and user code must trap into the protected kernel via
|
|
|
|
syscalls), the single user mode cannot be supported. In this
|
|
|
|
built configuration, only the multiple user mode can be supported
|
2013-12-30 17:04:34 +01:00
|
|
|
with the NX server residing inside of the kernel space.
|
|
|
|
Status: Closed. This is not a bug, this is just the things are.
|
|
|
|
Priority: N/A.
|
|
|
|
|
|
|
|
Title: NSH PARTITIONING.
|
|
|
|
Description: There are issues with several NSH commands in the NuttX kernel
|
|
|
|
build mode (where NuttX is built as a monolithic kernel and
|
|
|
|
user code must trap into the protected kernel via syscalls).
|
|
|
|
The current NSH implementation has several commands that call
|
|
|
|
directly into kernel internel functions for whicht there is
|
|
|
|
no syscall available. The commands cause link failures in
|
|
|
|
the kernel build mode and must currently be disabled.
|
|
|
|
Here are known problems that must be fixed:
|
|
|
|
|
|
|
|
COMMAND KERNEL INTERFACE(s)
|
|
|
|
-------- ----------------------------------------------
|
|
|
|
loset losetup(), loteardown()
|
|
|
|
mkfatfs mkfatfs
|
|
|
|
mkrd ramdisk_register()
|
|
|
|
dd bchlib_setup(), bchlib_read(), bchlib_write(),
|
|
|
|
bchlib_teardown()
|
|
|
|
ps sched_foreach()
|
|
|
|
ifup netdev_foreach()
|
|
|
|
ifdown netdev_foreach()
|
|
|
|
ifconfig netdev_foreach(), uip_stat()
|
|
|
|
ping uip_ping()
|
|
|
|
|
2013-03-23 15:46:02 +01:00
|
|
|
Status: Open
|
2013-12-30 17:04:34 +01:00
|
|
|
Priority: Medium/High -- the kernel build configuration is not fully fielded
|
2013-03-23 15:46:02 +01:00
|
|
|
yet.
|
|
|
|
|
2013-12-30 17:04:34 +01:00
|
|
|
Title: NSH free COMMAND LIMITATION
|
|
|
|
Description: The NSH 'free' command only shows memory usage in the user
|
|
|
|
heap only, not usage in the kernel heap. I am thinking that
|
|
|
|
kernel heap memory usage should be available in /proc/memory.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium/High
|
2013-03-24 18:28:38 +01:00
|
|
|
|
2013-12-30 17:04:34 +01:00
|
|
|
Title: TELNETD PARTITIONING.
|
|
|
|
Description: Telnetd is implemented as a driver that resides in the apps/
|
|
|
|
directory. In the kernel build, mode, the driver logic must
|
|
|
|
be moved into the kernel part of the build (nuttx/, although
|
|
|
|
the application level interfaces must stay in apps/).
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
|
|
|
Title: NxCONSOLE PARTITIONING.
|
|
|
|
Description: NxConsole is implemented (correctly) as a driver that resides
|
|
|
|
in the nuttx/ directory. However, the user interfaces must be
|
|
|
|
moved into a NuttX library or into apps/. Currently
|
|
|
|
applications calls to the NxConsole user interfaces are
|
|
|
|
undefined.
|
2013-03-23 15:46:02 +01:00
|
|
|
Status: Open
|
2013-12-30 17:04:34 +01:00
|
|
|
Priority: Medium
|
2013-03-23 15:46:02 +01:00
|
|
|
|
|
|
|
Title: LOAD-ABLE MODULE SUPPORT UNVERIFIED
|
|
|
|
Description: It has not been verified if NXFLAT and ELF modules work correctly
|
|
|
|
in the kernel build. They should load into user-space memory.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium. There is no configuration that uses NXFLAT or ELF with
|
|
|
|
a kernel build now.
|
|
|
|
|
|
|
|
Title: C++ CONSTRUCTORS HAVE TOO MANY PRIVILEGES
|
|
|
|
Description: When a C++ ELF module is loaded, its C++ constructors are called
|
|
|
|
via sched/task_starthook.c logic. This logic runs in kernel mode.
|
|
|
|
The is a security hole because the user code runs with kernel-
|
2013-12-30 17:04:34 +01:00
|
|
|
privileges when the constructor executes.
|
2013-03-23 15:46:02 +01:00
|
|
|
|
|
|
|
Destructors likely have the opposite problem. The probably try to
|
|
|
|
execute some kernel logic in user mode? Obviously this needs to
|
|
|
|
be investigated further.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low (unless you need build a secure C++ system).
|
|
|
|
|
|
|
|
Title: TOO MANY SYSCALLS
|
|
|
|
Description: There are a few syscalls that operate very often in user space.
|
|
|
|
Since syscalls are (relatively) time consuming this could be
|
|
|
|
a performance issue. Here is some numbers that I collected
|
|
|
|
in an application that was doing mostly printf outout:
|
|
|
|
|
|
|
|
sem_post - 18% of syscalls
|
|
|
|
sem_wait - 18% of syscalls
|
|
|
|
getpid - 59% of syscalls
|
|
|
|
--------------------------
|
|
|
|
95% of syscalls
|
|
|
|
|
|
|
|
Obviously system performance could be improved greatly by simply
|
|
|
|
optimizing these functions so that they do not need to system calls
|
|
|
|
so frequently. getpid() is (I believe) part of the re-entrant
|
|
|
|
semaphore logic. Something like TLS might be used to retain the
|
|
|
|
thread's ID locally.
|
|
|
|
|
|
|
|
Linux, for example, has functions call up() and down(). up()
|
|
|
|
increments the semaphore count but does not call into the kernel
|
|
|
|
unless incrementing the count unblocks a task; similarly, down
|
2013-08-27 17:40:19 +02:00
|
|
|
decrements the count and does not call into the kernel unless
|
2013-03-23 15:46:02 +01:00
|
|
|
the count becomes negative the caller must be blocked.
|
2013-05-18 19:15:37 +02:00
|
|
|
|
|
|
|
Update:
|
2013-07-23 22:47:16 +02:00
|
|
|
"I am thinking that there should be a "magic" global, user-accessible
|
2013-05-18 19:15:37 +02:00
|
|
|
variable that holds the PID of the currently executing thread;
|
|
|
|
basically the PID of the task at the head of the ready-to-run list.
|
|
|
|
This variable would have to be reset each time the head of the ready-
|
|
|
|
to-run list changes.
|
|
|
|
|
|
|
|
"Then getpid() could be implemented in user space with no system call
|
|
|
|
by simply reading this variable.
|
|
|
|
|
|
|
|
"This one would be easy: Just a change to include/nuttx/userspace.h,
|
|
|
|
configs/*/kernel/up_userspace.c, libc/, sched/sched_addreadytorun.c, and
|
|
|
|
sched/sched_removereadytorun.c. That would eliminate 59% of the syscalls."
|
2013-03-23 15:46:02 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low-Medium. Right now, I do not know if these syscalls are a
|
2014-01-07 23:27:45 +01:00
|
|
|
real performance issue or not. The above statistics were collected
|
|
|
|
from a an atypical application (the OS test), and does an excessive
|
|
|
|
amount of console output. There is probably no issue with more typical
|
|
|
|
embedded applications.
|
2013-03-23 15:46:02 +01:00
|
|
|
|
2013-03-24 00:06:51 +01:00
|
|
|
Title: ARMv6/7-M SYSCALL PERFORMANCE IMPROVEMENT
|
|
|
|
Description: Currently the code issues an SVCall to go from user- to kernel-mode
|
|
|
|
and another go return to user-mode. The second is unnecessary:
|
|
|
|
If there were a stub in user-space that just set the unprivileged
|
|
|
|
mode in the CONTROL register and returned, then the dispatch_syscall()
|
|
|
|
function could just jump to the stub instead of using second SVCall.
|
|
|
|
Hmmm... would this expose a security whole by executing in user-space
|
|
|
|
with privileges? That already happens when the userspace memory
|
|
|
|
allocators are called.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low (unless performance becomes an issue).
|
|
|
|
|
2014-01-01 15:52:58 +01:00
|
|
|
Title: SECURITY ISSUES
|
2013-03-24 18:28:38 +01:00
|
|
|
Description: In the current designed, the kernel code calls into the user-space
|
|
|
|
allocators to allocate user-space memory. It is a security risk to
|
|
|
|
call into user-space in kernel-mode because that could be exploited
|
|
|
|
to gain control of the system. That could be fixed by dropping to
|
|
|
|
user mode before trapping into the memory allocators; the memory
|
|
|
|
allocators would then need to trap in order to return (this is
|
|
|
|
already done to return from signal handlers; that logic could be
|
|
|
|
renamed more generally and just used for a generic return trap).
|
2014-01-01 15:52:58 +01:00
|
|
|
|
|
|
|
Another place where the system calls into the user code in kernel
|
|
|
|
mode is work_usrstart() to start the user work queue. That is
|
|
|
|
another security hole that should be plugged.
|
2013-03-24 18:28:38 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low (unless security becomes an issue).
|
|
|
|
|
2013-04-11 14:53:26 +02:00
|
|
|
Title: MICRO-KERNEL
|
|
|
|
Description: The initial kernel build cut many interfaces at a very high level.
|
2013-04-12 16:38:52 +02:00
|
|
|
The resulting monolithic kernel is then rather large. It would
|
2013-04-11 14:53:26 +02:00
|
|
|
not be a prohibitively large task to reorganize the interfaces so
|
|
|
|
that NuttX is built as a micro-kernel, i.e., with only the core
|
|
|
|
OS services within the kernel and with other OS facilities, such
|
2013-04-12 16:38:52 +02:00
|
|
|
as the file system, message queues, etc., residing in user-space
|
|
|
|
and to interfacing with those core OS facilities through traps.
|
2013-07-23 22:47:16 +02:00
|
|
|
Status: Open
|
2013-04-11 14:53:26 +02:00
|
|
|
Priority: Low. This is a good idea and certainly an architectural
|
|
|
|
improvement. However, there is no strong motivivation now do
|
2013-07-23 22:47:16 +02:00
|
|
|
do that partitioning work.
|
2013-04-11 14:53:26 +02:00
|
|
|
|
2007-06-06 12:25:20 +02:00
|
|
|
o C++ Support
|
2007-12-13 17:52:37 +01:00
|
|
|
^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: USE OF SIZE_T IN NEW OPERATOR
|
2011-10-03 23:10:11 +02:00
|
|
|
Description: The argument of the 'new' operators should take a type of
|
|
|
|
size_t (see libxx/libxx_new.cxx and libxx/libxx_newa.cxx). But
|
|
|
|
size_t has an unknown underlying. In the nuttx sys/types.h
|
|
|
|
header file, size_t is typed as uint32_t (which is determined by
|
|
|
|
architecture-specific logic). But the C++ compiler may believe
|
|
|
|
that size_t is of a different type resulting in compilation errors
|
|
|
|
in the operator. Using the underlying integer type Instead of
|
|
|
|
size_t seems to resolve the compilation issues.
|
|
|
|
Status: Kind of open. There is a workaround. Setting CONFIG_CXX_NEWLONG=y
|
|
|
|
will define the operators with argument of type unsigned long;
|
|
|
|
Setting CONFIG_CXX_NEWLONG=n will define the operators with argument
|
|
|
|
of type unsigned int. But this is pretty ugly! A better solution
|
2014-01-14 21:06:02 +01:00
|
|
|
would be to get a hold of the compilers definition of size_t.
|
2011-10-03 23:10:11 +02:00
|
|
|
Priority: Low.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: STATIC CONSTRUCTORS
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: Need to call static constructors
|
2012-03-24 14:57:04 +01:00
|
|
|
Update: Static constructors are implemented for the STM32 F4 and
|
|
|
|
this will provide the model for all solutions. Basically, if
|
|
|
|
CONFIG_HAVE_CXXINITIALIZE=y is defined in the configuration, then
|
|
|
|
board-specific code must provide the interface up_cxxinitialize().
|
|
|
|
up_cxxinitialize() is called from user_start() to initialize
|
|
|
|
all static class instances. This TODO item probably has to stay
|
|
|
|
open because this solution is only available on STM32 F4.
|
2007-12-13 17:52:37 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low, depends on toolchain. Call to gcc's built-in static
|
|
|
|
constructor logic will probably have to be performed by
|
|
|
|
user logic in user_start().
|
|
|
|
|
2013-06-23 18:45:37 +02:00
|
|
|
Title: STATIC CONSTRUCTORS AND MULTITASKING
|
|
|
|
Description: The logic that calls static constructors operates on the main
|
|
|
|
thread of the initial user application task. Any static
|
|
|
|
constructors that cache task/thread specific information such
|
|
|
|
as C streams or file descriptors will not work in other tasks.
|
|
|
|
See also UCLIBC++ AND STATIC CONSTRUCTORS below.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low and probably will not changed. In these case, there will
|
|
|
|
need to be an application specific solution.
|
|
|
|
|
|
|
|
Title: UCLIBC++ AND STATIC CONSTRUCTORS
|
|
|
|
uClibc++ was designed to work in a Unix environment with
|
|
|
|
processes and with separately linked executables. Each process
|
|
|
|
has its own, separate uClibc++ state. uClibc++ would be
|
|
|
|
instantiated like this in Linux:
|
|
|
|
|
|
|
|
1) When the program is built, a tiny start-up function is
|
|
|
|
included at the beginning of the program. Each program has
|
|
|
|
its own, separate list of C++ constructors.
|
|
|
|
|
|
|
|
2) When the program is loaded into memory, space is set aside
|
|
|
|
for uClibc's static objects and then this special start-up
|
|
|
|
routine is called. It initializes the C library, calls all
|
|
|
|
of the constructors, and calls atexit() so that the destructors
|
|
|
|
will be called when the process exits.
|
|
|
|
|
|
|
|
In this way, you get a per-process uClibc++ state since there
|
|
|
|
is per-process storage of uClibc++ global state and per-process
|
|
|
|
initialization of uClibc++ state.
|
|
|
|
|
|
|
|
Compare this to how NuttX (and most embedded RTOSs) would work:
|
|
|
|
|
|
|
|
1) The entire FLASH image is built as one big blob. All of the
|
|
|
|
constructors are lumped together and all called together at
|
|
|
|
one time.
|
|
|
|
|
|
|
|
This, of course, does not have to be so. We could segregate
|
|
|
|
constructors by some criteria and we could use a task start
|
|
|
|
up routine to call constructors separately. We could even
|
|
|
|
use ELF executables that are separately linked and already
|
|
|
|
have their constructors separately called when the ELF
|
|
|
|
executable starts.
|
|
|
|
|
|
|
|
But this would not do you very much good in the case of
|
|
|
|
uClibc++ because:
|
|
|
|
|
|
|
|
2) NuttX does not support processes, i.e., separate address
|
|
|
|
environments for each task. As a result, the scope of global
|
|
|
|
data is all tasks. Any change to the global state made by
|
|
|
|
one task can effect another task. There can only one
|
|
|
|
uClibc++ state and it will be shared by all tasks. uClibc++
|
|
|
|
apparently relies on global instances (at least for cin and
|
|
|
|
cout) there is no way to to have any unique state for any
|
|
|
|
"task group".
|
|
|
|
|
|
|
|
[NuttX does not support processes because in order to have
|
|
|
|
true processes, your hardware must support a memory management
|
|
|
|
unit (MMU) and I am not aware of any mainstream MCU that has
|
|
|
|
an MMU (or, at least an MMU that is capable enough to support
|
|
|
|
processes).]
|
|
|
|
|
|
|
|
NuttX does not have processes, but it does have "task groups".
|
|
|
|
See http://www.nuttx.org/doku.php?id=wiki:nxinternal:tasksnthreads.
|
|
|
|
A task group is the task plus all of the pthreads created by
|
|
|
|
the task via pthread_create(). Resources like FILE streams
|
|
|
|
are shared within a task group. Task groups are like a poor
|
|
|
|
man's process.
|
|
|
|
|
|
|
|
This means that if the uClibc++ static classes are initialized
|
|
|
|
by one member of a task group, then cin/cout should work
|
|
|
|
correctly with all threads that are members of task group. The
|
|
|
|
destructors would be called when the final member of the task
|
|
|
|
group exists (if registered via atexit()).
|
|
|
|
|
|
|
|
So if you use only pthreads, uClibc++ should work very much like
|
|
|
|
it does in Linux. If your NuttX usage model is like one process
|
|
|
|
with many threads then you have Linux compatibility.
|
|
|
|
|
|
|
|
If you wanted to have uClibc++ work across task groups, then
|
|
|
|
uClibc++ and NuttX would need some extensions. I am thinking
|
|
|
|
along the lines of the following:
|
|
|
|
|
|
|
|
1) There is a per-task group storage are withing the RTOS (see
|
|
|
|
include/nuttx/sched.h). If we add some new, nonstandard APIs
|
|
|
|
then uClibc++ could get access to per-task group storage (in
|
|
|
|
the spirit of pthread_getspecific() which gives you access to
|
|
|
|
per-thread storage).
|
|
|
|
|
|
|
|
2) Then move all of uClibc++'s global state into per-task group
|
|
|
|
storage and add a uClibc++ initialization function that would:
|
|
|
|
a) allocate per-task group storage, b) call all of the static
|
|
|
|
constructors, and c) register with atexit() to perform clean-
|
|
|
|
up when the task group exits.
|
|
|
|
|
|
|
|
That would be a fair amount of effort. I don't really know what
|
|
|
|
the scope of such an effort would be. I suspect that it is not
|
|
|
|
large but probably complex.
|
|
|
|
|
|
|
|
NOTES:
|
|
|
|
|
|
|
|
1) See STATIC CONSTRUCTORS AND MULTITASKING
|
|
|
|
|
|
|
|
2) To my knowledge, only some uClibc++ ofstream logic is
|
|
|
|
sensitive to this. All other statically initialized classes
|
|
|
|
seem to work OK across different task groups.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low. I have no plan to change this logic now unless there is
|
|
|
|
some strong demand to do so.
|
|
|
|
|
2009-06-27 00:52:57 +02:00
|
|
|
o Binary loaders (binfmt/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: NXFLAT TESTS
|
2011-03-20 19:18:19 +01:00
|
|
|
Description: Not all of the NXFLAT test under apps/examples/nxflat are working.
|
2009-06-27 00:52:57 +02:00
|
|
|
Most simply do not compile yet. tests/mutex runs okay but
|
|
|
|
outputs garbage on completion.
|
2013-01-27 16:52:58 +01:00
|
|
|
|
|
|
|
Update: 13-27-1, tests/mutex crashed with a memory corruption
|
|
|
|
problem the last time that I ran it.
|
2009-06-27 00:52:57 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: High
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: ARM UP_GETPICBASE()
|
2009-06-27 00:52:57 +02:00
|
|
|
Description: The ARM up_getpicbase() does not seem to work. This means
|
|
|
|
the some features like wdog's might not work in NXFLAT modules.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium-High
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: READ-ONLY DATA IN RAM
|
2013-07-23 22:47:16 +02:00
|
|
|
Description: At present, all .rodata must be put into RAM. There is a
|
2009-06-27 00:52:57 +02:00
|
|
|
tentative design change that might allow .rodata to be placed
|
|
|
|
in FLASH (see Documentation/NuttXNxFlat.html).
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: GOT-RELATIVE FUNCTION POINTERS
|
2009-06-27 00:52:57 +02:00
|
|
|
Description: If the function pointer to a statically defined function is
|
|
|
|
taken, then GCC generates a relocation that cannot be handled
|
2014-01-14 21:06:02 +01:00
|
|
|
by NXFLAT. There is a solution described in Documentation/NuttXNxFlat.html,
|
2009-06-27 00:52:57 +02:00
|
|
|
by that would require a compiler change (which we want to avoid).
|
|
|
|
The simple workaround is to make such functions global in scope.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low (probably will not fix)
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: USE A HASH INSTEAD OF A STRING IN SYMBOL TABLES
|
2009-06-27 00:52:57 +02:00
|
|
|
Description: In the NXFLAT symbol tables... Using a 32-bit hash value instead
|
|
|
|
of a string to identify a symbol should result in a smaller footprint.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: WINDOWS-BASED TOOLCHAIN BUILD
|
2011-05-07 18:59:20 +02:00
|
|
|
Description: Windows build issue. Some of the configurations that use NXFLAT have
|
2011-04-16 17:43:39 +02:00
|
|
|
the linker script specified like this:
|
|
|
|
|
2012-10-10 19:01:23 +02:00
|
|
|
NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) -T$(TOPDIR)/binfmt/libnxflat/gnu-nxflat-gotoff.ld -no-check-sections
|
2011-04-16 17:43:39 +02:00
|
|
|
|
|
|
|
That will not work for windows-based tools because they require Windows
|
|
|
|
style paths. The solution is to do something like this:
|
|
|
|
|
|
|
|
if ($(WINTOOL)y)
|
2012-10-10 19:01:23 +02:00
|
|
|
NXFLATLDSCRIPT=${cygpath -w $(TOPDIR)/binfmt/libnxflat/gnu-nxflat-gotoff.ld}
|
2011-04-16 17:43:39 +02:00
|
|
|
else
|
2012-10-10 19:01:23 +02:00
|
|
|
NXFLATLDSCRIPT=$(TOPDIR)/binfmt/libnxflat/gnu-nxflat-gotoff.ld
|
2011-04-16 17:43:39 +02:00
|
|
|
endif
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2011-04-16 17:43:39 +02:00
|
|
|
Then use
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2011-04-16 17:43:39 +02:00
|
|
|
NXFLATLDFLAGS2 = $(NXFLATLDFLAGS1) -T"$(NXFLATLDSCRIPT)" -no-check-sections
|
2011-12-18 14:53:58 +01:00
|
|
|
|
2011-04-16 17:43:39 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: There are too many references like the above. They will have
|
|
|
|
to get fixed as needed for Windows native tool builds.
|
|
|
|
|
2012-10-10 21:36:32 +02:00
|
|
|
Title: TOOLCHAIN COMPATIBILITY PROBLEM
|
|
|
|
Descripton: The older 4.3.3 compiler generates GOTOFF relocations to the constant
|
|
|
|
strings, like:
|
|
|
|
|
|
|
|
.L3:
|
|
|
|
.word .LC0(GOTOFF)
|
|
|
|
.word .LC1(GOTOFF)
|
|
|
|
.word .LC2(GOTOFF)
|
|
|
|
.word .LC3(GOTOFF)
|
|
|
|
.word .LC4(GOTOFF)
|
|
|
|
|
|
|
|
Where .LC0, LC1, LC2, LC3, and .LC4 are the labels correponding to strings in
|
|
|
|
the .rodata.str1.1 section. One consequence of this is that .rodata must reside
|
|
|
|
in D-Space since it will addressed relative to the GOT (see the section entitled
|
|
|
|
"Read-Only Data in RAM" at
|
|
|
|
http://nuttx.org/Documentation/NuttXNxFlat.html#limitations).
|
|
|
|
|
|
|
|
The newer 4.6.3compiler generated PC relative relocations to the strings:
|
|
|
|
|
|
|
|
.L2:
|
|
|
|
.word .LC0-(.LPIC0+4)
|
|
|
|
.word .LC1-(.LPIC1+4)
|
|
|
|
.word .LC2-(.LPIC2+4)
|
|
|
|
.word .LC3-(.LPIC4+4)
|
|
|
|
.word .LC4-(.LPIC5+4)
|
|
|
|
|
2012-10-13 17:12:44 +02:00
|
|
|
This is good and bad. This is good because it means that .rodata.str1.1 can now
|
2013-07-23 22:47:16 +02:00
|
|
|
reside in FLASH with .text and can be accessed using PC-relative addressing.
|
2012-10-10 21:36:32 +02:00
|
|
|
That can be accomplished by simply moving the .rodata from the .data section to
|
|
|
|
the .text section in the linker script. (The NXFLAT linker script is located at
|
|
|
|
nuttx/binfmt/libnxflat/gnu-nxflat.ld).
|
|
|
|
|
|
|
|
This is bad because a lot of stuff may get broken an a lot of test will need to
|
2013-07-23 22:47:16 +02:00
|
|
|
be done. One question that I have is does this apply to all kinds of .rodata?
|
2012-10-10 21:36:32 +02:00
|
|
|
Or just to .rodata.str1.1?
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2012-10-10 21:58:57 +02:00
|
|
|
Status: Open. Many of the required changes are in place but, unfortunately, not enough
|
|
|
|
go be fully functional. I think all of the I-Space-to-I-Space fixes are in place.
|
|
|
|
However, the generated code also includes PC-relative references to .bss which
|
|
|
|
just cannot be done.
|
2012-10-10 21:36:32 +02:00
|
|
|
Priority: Medium. The workaround for now is to use the older, 4.3.3 OABI compiler.
|
|
|
|
|
2010-05-06 03:38:31 +02:00
|
|
|
o Network (net/, drivers/net)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2007-12-13 17:52:37 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SOCK_RAW/SOCK_PACKET
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: Should implement SOCK_RAW, SOCK_PACKET
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Open. No changes are planned.
|
2007-12-13 17:52:37 +01:00
|
|
|
Priority: Low
|
|
|
|
|
2013-01-24 00:11:13 +01:00
|
|
|
Title: MULTIPLE NETWORK INTERFACE SUPPORT
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: uIP polling issues / Multiple network interface support:
|
2013-01-04 17:00:38 +01:00
|
|
|
|
2014-01-14 21:06:02 +01:00
|
|
|
(1) Current logic will not support multiple Ethernet drivers.
|
2007-12-13 17:52:37 +01:00
|
|
|
Each driver should poll on TCP connections connect on the
|
|
|
|
network supported by the driver; UDP polling should respond
|
|
|
|
with TX data only if the UDP packet is intended for the
|
|
|
|
the network supported by the driver.
|
2013-01-04 17:00:38 +01:00
|
|
|
|
2007-12-13 17:52:37 +01:00
|
|
|
(2) If there were multiple drivers, polling would occur at
|
|
|
|
double the rate. Fix by using bound IP address in TCP
|
|
|
|
connection (lipaddr) and verifying that it is in the subnet
|
|
|
|
served by the driver.
|
2013-01-04 17:00:38 +01:00
|
|
|
|
2013-09-27 21:12:04 +02:00
|
|
|
Another issue: When sending packets to another subnet, the
|
|
|
|
current logic falls back and uses ETH0 if it cannot find the
|
|
|
|
device for the subnet. That lookup would need to be smarter...
|
|
|
|
perhaps it needs a routing table.
|
|
|
|
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Open. Nothing will probably be done until I have a platform
|
|
|
|
with two network interfaces that I need to support.
|
2007-12-13 17:52:37 +01:00
|
|
|
Priority: Medium, The feature is not important, but it is important
|
|
|
|
for NuttX to resolve the architectural issues.
|
|
|
|
|
2012-04-24 20:00:55 +02:00
|
|
|
Title: SENDTO() AND MULTIPLE NETWORK INTERFACE SUPPORT
|
2011-05-07 18:59:20 +02:00
|
|
|
Description: sendto() and multiple network interface support:
|
2007-12-13 17:52:37 +01:00
|
|
|
When polled, would have to assure that the destination IP
|
|
|
|
is on the subnet served by the polling driver.
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Open. This is really part of the above issue.
|
2007-12-13 17:52:37 +01:00
|
|
|
Priority: Medium, The feature is not important, but it is important
|
|
|
|
for NuttX to resolve the architectural issues.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: IPv6
|
2008-10-28 20:16:13 +01:00
|
|
|
Description: IPv6 support is incomplete. Adam Dunkels has recently announced
|
|
|
|
IPv6 support for uIP (currently only as part of Contiki). Those
|
|
|
|
changes need to be ported to NuttX.
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Open. No work will probably be done until there is a specific
|
|
|
|
requirement for IPv6.
|
2007-12-13 17:52:37 +01:00
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: LISTENING FOR UDP BROADCASTS
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: Incoming UDP broadcast should only be accepted if listening on
|
|
|
|
INADDR_ANY(?)
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: READ-AHEAD THROTTLING
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: Read-ahead buffers capture incoming TCP data when no user
|
|
|
|
thread is recv-ing the data. Should add some driver call to
|
|
|
|
support throttling; when there is no listener for new data, the
|
|
|
|
driver should be throttled. Perhaps the driver should disable
|
|
|
|
RX interrupts when throttled and re-anable on each poll time.
|
|
|
|
recvfrom would, of course, have to un-throttle.
|
2013-01-04 17:00:38 +01:00
|
|
|
Status: Open. This is just a thought experiment. No changes are planned.
|
2014-01-15 14:17:59 +01:00
|
|
|
Priority: Low. This is not a bug but an enhancement idea.
|
|
|
|
|
|
|
|
Title: COMMON TCP BUFFERING
|
|
|
|
Description: TCP read-ahead logic and TCP write buffering logic use a
|
|
|
|
separate set of packet buffers. It seems like more efficient
|
|
|
|
use of the buffering would be had if a common pool of packet
|
|
|
|
buffers were used for both read-ahead and write buffering.
|
|
|
|
This would probably depend on having READ-AHEAD THROTTLING to
|
|
|
|
prevent run-awary read-ahead logic from consuming all buffers.
|
|
|
|
Status: Open. This is just a thought experiment. No changes are planned.
|
|
|
|
Priority: Low. This is not a bug but an enhancement idea.
|
2007-12-13 17:52:37 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: STANDARDIZE ETHERNET DRIVER STATISTICS
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: Need to standardize collection of statistics from network
|
2011-03-18 21:35:31 +01:00
|
|
|
drivers. apps/nshlib ifconfig command should present
|
2007-12-13 17:52:37 +01:00
|
|
|
statistics.
|
|
|
|
Status: Open
|
2014-01-15 14:17:59 +01:00
|
|
|
Priority: Low. This is not a bug but an enhancement idea.
|
2007-12-13 17:52:37 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: CONCURRENT TCP SEND OPERATIONS
|
2008-09-01 22:35:41 +02:00
|
|
|
Description: At present, there cannot be two concurrent active TCP send
|
2008-11-20 22:59:36 +01:00
|
|
|
operations in progress using the same socket. This is because
|
|
|
|
the uIP ACK logic will support only one transfer at a time. The
|
2013-07-23 22:47:16 +02:00
|
|
|
solution is simple: A mutex will be needed to make sure that each
|
2008-11-20 22:59:36 +01:00
|
|
|
send that is started is able to be the exclusive sender until all of
|
|
|
|
the data to be sent has been ACKed.
|
2011-03-18 21:35:31 +01:00
|
|
|
Status: Open. There is some temporary logic to apps/nshlib that does
|
2008-09-01 22:35:41 +02:00
|
|
|
this same fix and that temporary logic should be removed when
|
|
|
|
send() is fixed.
|
|
|
|
Priority: Medium-Low. This is an important issue for applications that
|
|
|
|
send on the same TCP socket from multiple threads.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: UDP READ-AHEAD?
|
2008-11-18 23:15:12 +01:00
|
|
|
Description: TCP supports read-ahead buffering to handle the receipt of
|
|
|
|
TCP/IP packets when there is no read() in place. Should such
|
|
|
|
capability be useful for UDP? PRO: Would reduce packet loss
|
|
|
|
and enable support for poll()/select(). CON: UDP is inherently
|
|
|
|
lossy so why waste memory footprint?
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: NO POLL/SELECT ON UDP SOCKETS
|
2008-11-19 21:06:20 +01:00
|
|
|
Description: poll()/select() is not implemented for UDP sockets because they do
|
2008-11-18 23:15:12 +01:00
|
|
|
do not support read-ahead buffering. Therefore, there is never
|
|
|
|
a case where you can read from a UDP socket without blocking.
|
|
|
|
Status: Open, depends on UDP read-ahead support
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: POLL/SELECT ON TCP SOCKETS NEEDS READ-AHEAD
|
2009-08-16 16:43:13 +02:00
|
|
|
Description: poll()/select() only works for availability of buffered TCP
|
|
|
|
read data (when read-ahead is enabled). The way writing is
|
|
|
|
handled in uIP, all sockets must wait when send and cannot
|
2014-01-14 21:06:02 +01:00
|
|
|
be notified when they can send without waiting.
|
2009-08-16 16:43:13 +02:00
|
|
|
Status: Open, probably will not be fixed.
|
|
|
|
Priority: Medium... this does effect porting of applications that expect
|
|
|
|
different behavior from poll()/select()
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SOCKETS DO NOT ALWAYS SUPPORT O_NONBLOCK
|
|
|
|
Description: sockets do not support all modes for O_NONBLOCK. Sockets
|
2009-08-08 20:12:10 +02:00
|
|
|
support only (1) TCP/IP non-blocking read operations when read-ahead
|
2009-09-16 22:51:13 +02:00
|
|
|
buffering is enabled, and (2) TCP/IP accept() operations when TCP/IP
|
|
|
|
connection backlog is enabled.
|
2009-08-02 18:31:50 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: Low.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: UNFINISHED CRYSTALLAN CS89X0 DRIVER
|
2010-05-06 03:38:31 +02:00
|
|
|
Description: I started coding a CrystalLan CS89x0 driver (drivers/net/cs89x0.c),
|
|
|
|
but never finished it.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low unless you need it.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: UNTESTED IGMPv2
|
2010-07-11 17:17:11 +02:00
|
|
|
Description: Support for client-side IGMPv2 multicast has been added but not yet
|
|
|
|
tested (because I don't have a proper environment for multicast testing).
|
2010-07-11 20:31:35 +02:00
|
|
|
There are most likely errors that need to be fixed at least in the
|
|
|
|
receipt of multicast packets.
|
|
|
|
|
2014-01-14 21:06:02 +01:00
|
|
|
In addition, an Ethernet driver that needs to work with the IGMP logic
|
2010-07-11 17:17:11 +02:00
|
|
|
will have to include additional support for multicast MAC address tables.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low unless you need it.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: INTERFACES TO LEAVE/JOIN IGMP MULTICAST GROUP
|
2010-07-19 22:52:02 +02:00
|
|
|
Description: The interfaces used to leave/join IGMP multicast groups is non-standard.
|
|
|
|
RFC3678 (IGMPv3) suggests ioctl() commands to do this (SIOCSIPMSFILTER) but
|
|
|
|
also status that those APIs are historic. NuttX implements these ioctl
|
2011-05-28 23:42:18 +02:00
|
|
|
commands, but is non-standard because: (1) It does not support IGMPv3, and
|
2010-07-19 22:52:02 +02:00
|
|
|
(2) it looks up drivers by their device name (eg., "eth0") vs IP address.
|
|
|
|
|
|
|
|
Linux uses setsockopt() to control multicast group membership using the
|
|
|
|
IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP options. It also looks up drivers
|
|
|
|
using IP addresses (It would require additional logic in NuttX to look up
|
|
|
|
drivers by IP address). See http://tldp.org/HOWTO/Multicast-HOWTO-6.html
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium. All standards compatibility is important to NuttX. However, most
|
|
|
|
the mechanism for leaving and joining groups is hidden behind a wrapper
|
|
|
|
function so that little of this incompatibilities need be exposed.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: CONFIGURATIONS WITH TINY MTUS
|
2011-06-06 17:06:08 +02:00
|
|
|
Description: Many configurations have the MTU (CONFIG_NET_BUFSIZE) set to very small
|
|
|
|
numbers, less then the minimum MTU size that must be supported -- 576.
|
|
|
|
This can cause problems in some networks: CONFIG_NET_BUFSIZE should
|
|
|
|
be set to at least 576 in all defconfig files.
|
|
|
|
|
|
|
|
The symptoms of using very small MTU sizes can be very strange. With
|
|
|
|
Ubuntu 9.x and vsFtpd was that the total packet size did *not match* the
|
|
|
|
packet size in the IP header. This then caused a TCP checksum failure
|
|
|
|
and the packet was rejected.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low... fix defconfig files as necessary.
|
2011-08-05 04:31:59 +02:00
|
|
|
|
2011-03-04 17:24:51 +01:00
|
|
|
o USB (drivers/usbdev, drivers/usbhost)
|
2012-02-18 19:13:30 +01:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2007-12-13 17:52:37 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: USB STORAGE DRIVER DELAYS
|
2010-04-10 03:32:29 +02:00
|
|
|
Description: There is a workaround for a bug in drivers/usbdev/usbdev_storage.c.
|
2012-03-24 14:57:04 +01:00
|
|
|
that involves delays. This needs to be redesigned to eliminate these
|
|
|
|
delays. See logic conditioned on CONFIG_USBMSC_RACEWAR.
|
2010-04-10 03:32:29 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: RTL8187 DRIVER IS UNFINISHED
|
|
|
|
Description: misc/drivers/usbhost_rtl8187.c is a work in progress. There is no RTL8187
|
|
|
|
driver available yet. That is a work in progress it was abandoned because
|
|
|
|
it depends on having an 802.11g stack.
|
2011-03-04 17:24:51 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low (Unless you need RTL8187 support).
|
|
|
|
|
2012-04-12 16:47:29 +02:00
|
|
|
Title: EP0 OUT CLASS DATA
|
|
|
|
Description: There is no mechanism in place to handle EP0 OUT data transfers.
|
|
|
|
There are two aspects to this problem, neither are easy to fix
|
|
|
|
(only because of the number of drivers that would be impacted):
|
|
|
|
|
|
|
|
1. The class drivers only send EP0 write requests and these are
|
|
|
|
only queued on EP0 IN by this drivers. There is never a read
|
|
|
|
request queued on EP0 OUT.
|
|
|
|
2. But EP0 OUT data could be buffered in a buffer in the driver
|
|
|
|
data structure. However, there is no method currently
|
|
|
|
defined in the USB device interface to obtain the EP0 data.
|
2012-04-12 18:30:48 +02:00
|
|
|
|
|
|
|
Updates: (1) The USB device-to-class interface as been extended so
|
|
|
|
that EP0 OUT data can accompany the SETUP request sent to the
|
|
|
|
class drivers. (2) The logic in the STM32 F4 OTG FS device driver
|
|
|
|
has been extended to provide this data. Updates are still needed
|
|
|
|
to other drivers.
|
2013-02-11 22:44:00 +01:00
|
|
|
|
|
|
|
Here is an overview of the required changes:
|
|
|
|
New two buffers in driver structure:
|
|
|
|
|
|
|
|
1. The existing EP0 setup request buffer (ctrlreq, 8 bytes)
|
|
|
|
2. A new EP0 data buffer to driver state structure (ep0data,
|
|
|
|
max packetsize)
|
|
|
|
|
|
|
|
Add a new state:
|
|
|
|
|
|
|
|
3. Waiting for EP0 setup OUT data (EP0STATE_SETUP_OUT)
|
|
|
|
|
|
|
|
General logic flow:
|
|
|
|
|
|
|
|
1. When an EP0 SETUP packet is received:
|
|
|
|
- Read the request into EP0 setup request buffer (ctrlreq,
|
|
|
|
8 bytes)
|
|
|
|
- If this is an OUT request with data length, set the EP0
|
|
|
|
state to EP0STATE_SETUP_OUT and wait to receive data on
|
|
|
|
EP0.
|
|
|
|
- Otherwise, the SETUP request may be processed now (or,
|
|
|
|
in the case of the F4 driver, at the conclusion of the
|
|
|
|
SETUP phase).
|
|
|
|
2. When EP0 the EP0 OUT DATA packet is received:
|
|
|
|
- Verify state is EP0STATE_SETUP_OUT
|
|
|
|
- Read the request into the EP0 data buffer (ep0data, max
|
|
|
|
packet size)
|
|
|
|
- Now process the previously buffered SETUP request along
|
|
|
|
with the OUT data.
|
|
|
|
3. When the setup packet is dispatched to the class driver,
|
|
|
|
the OUT data must be passed as the final parameter in the
|
|
|
|
call.
|
|
|
|
|
2013-09-02 22:55:33 +02:00
|
|
|
Update 2013-9-2: The new USB device-side driver for the SAMA5D3
|
|
|
|
correctly supports OUT SETUP data following the same design as
|
|
|
|
per above.
|
|
|
|
|
2013-11-08 00:25:05 +01:00
|
|
|
Update 2013-11-7: David Sidrane has fixed with issue with the
|
|
|
|
STM32 F1 USB device driver. Still a few more to go before this
|
|
|
|
can be closed out.
|
|
|
|
|
2012-04-12 16:47:29 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: High for class drivers that need EP0 data. For example, the
|
|
|
|
CDC/ACM serial driver might need the line coding data (that
|
2014-01-14 21:06:02 +01:00
|
|
|
data is not used currently, but it might be).
|
2012-04-12 16:47:29 +02:00
|
|
|
|
2012-10-26 21:53:20 +02:00
|
|
|
Title: USB HUB SUPPORT
|
|
|
|
Description: Add support for USB hubs
|
|
|
|
Status: Open
|
|
|
|
Priority: Low/Unknown. This is a feature enhancement.
|
|
|
|
|
2012-11-10 16:47:45 +01:00
|
|
|
o Libraries (libc/)
|
|
|
|
^^^^^^^^^^^^^^^^^
|
2007-12-13 17:52:37 +01:00
|
|
|
|
2012-12-21 21:09:32 +01:00
|
|
|
Title: SIGNED time_t
|
|
|
|
Description: The NuttX time_t is type uint32_t. I think this is consistent
|
|
|
|
with all standards and with normal usage of time_t. However,
|
|
|
|
according to Wikipedia, time_t is usually implemented as a
|
|
|
|
signed 32-bit value.
|
|
|
|
Status: Open
|
|
|
|
Priority: Very low unless there is some compelling issue that I do not
|
|
|
|
know about.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: ENVIRON
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: The definition of environ in stdlib.h is bogus and will not
|
|
|
|
work as it should. This is because the underlying
|
|
|
|
representation of the environment is not an arry of pointers.
|
|
|
|
Status: Open
|
2007-12-31 16:45:58 +01:00
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: TERMIOS
|
2008-11-18 15:54:43 +01:00
|
|
|
Description: Need some minimal termios support... at a minimum, enough to
|
|
|
|
switch between raw and "normal" modes to support behavior like
|
|
|
|
that needed for readline().
|
2012-11-10 16:47:45 +01:00
|
|
|
UPDATE: There is growing functionality in libc/termios/ and in the
|
2012-08-02 02:42:46 +02:00
|
|
|
ioctl methods of several MCU serial drivers (stm32, lpc43, lpc17,
|
|
|
|
pic32). However, as phrased, this bug cannot yet be closed since
|
|
|
|
this "growing functionality" does not address all termios.h
|
|
|
|
functionality and not all serial drivers support termios.
|
2008-11-18 15:54:43 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
2008-11-18 00:58:17 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: DAYS OF THE WEEK
|
2009-09-12 15:23:29 +02:00
|
|
|
Description: strftime() and other timing functions do not handle days of the week.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: RESETTING GETOPT()
|
2011-02-24 01:52:51 +01:00
|
|
|
Description: There is an issue with the way that getopt() handles errors that
|
|
|
|
return '?'.
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2011-02-24 01:52:51 +01:00
|
|
|
1. Does getopt() reset its global variables after returning '?' so
|
|
|
|
that it can be re-used? That would be required to support where
|
|
|
|
the caller terminates parsing before reaching the last parameter.
|
|
|
|
2. Or is the client expected to continue parsing after getopt()
|
|
|
|
returns '?' and parse until the final parameter?
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2011-02-24 01:52:51 +01:00
|
|
|
The current getopt() implementation only supports #2.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2013-06-20 21:50:16 +02:00
|
|
|
Title: FERROR()
|
|
|
|
Description: ferror(), feof(), and clearerror() are present, but the
|
|
|
|
implementation of ferror() is limited. There are flags in the
|
|
|
|
stream structure to indicate EOF and error conditions but nothing
|
|
|
|
in the code currently sets the error indication. This is a
|
|
|
|
trivial change to many interfaces and has not yet been done.
|
|
|
|
Instead, for now, ferror() is equivalent to !feof(). If an
|
|
|
|
interface can failure because of an error or and EOF and you
|
|
|
|
only want to distinguish between an error and the EOF then
|
|
|
|
this ferror() will work. However, if no error is reported then
|
|
|
|
this ferror() cannot tell you if an error has occurred or not.
|
|
|
|
Status: Open
|
|
|
|
Priority: Meidum to Low: Some applications use ferror() and not the
|
|
|
|
return value to determine if an error occurred. Those
|
|
|
|
applications will fail with this limited implementation of
|
|
|
|
ferror().
|
2011-06-01 01:32:48 +02:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: CONCURRENT STREAM READ/WRITE
|
2013-07-23 22:47:16 +02:00
|
|
|
Description: NuttX only supports a single file pointer so reads and writes
|
2011-09-13 21:04:13 +02:00
|
|
|
must be from the same position. This prohibits implementation
|
|
|
|
of behavior like that required for fopen() with the "a+" mode.
|
|
|
|
According to the fopen man page:
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2011-09-13 21:04:13 +02:00
|
|
|
"a+ Open for reading and appending (writing at end of file).
|
|
|
|
The file is created if it does not exist. The initial file
|
|
|
|
position for reading is at the beginning of the file, but
|
|
|
|
output is always appended to the end of the file."
|
|
|
|
|
|
|
|
At present, the single NuttX file pointer is positioned to the
|
|
|
|
end of the file for both reading and writing.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium. This kind of operation is probably not very common in
|
|
|
|
deeply embedded systems but is required by standards.
|
|
|
|
|
2012-01-06 20:29:37 +01:00
|
|
|
Title: DIVIDE BY ZERO
|
|
|
|
Description: This is bug 3468949 on the SourceForge website (submitted by
|
|
|
|
Philipp Klaus Krause):
|
|
|
|
"lib_strtod.c does contain divisions by zero in lines 70 and 96.
|
|
|
|
AFAIK, unlike for Java, division by zero is not a reliable way to
|
|
|
|
get infinity in C. AFAIK compilers are allowed e.g. give a compile-
|
|
|
|
time error, and some, such as sdcc, do. AFAIK, C implementations
|
|
|
|
are not even required to support infinity. In C99 the macro isinf()
|
|
|
|
could replace the first use of division by zero. Unfortunately, the
|
|
|
|
macro INFINITY from math.h probably can't replce the second division
|
|
|
|
by zero, since it will result in a compile-time diagnostic, if the
|
|
|
|
implementation does not support infinity."
|
|
|
|
Status: Open
|
2013-07-23 22:47:16 +02:00
|
|
|
Priority:
|
2012-01-06 20:29:37 +01:00
|
|
|
|
2012-01-15 17:11:32 +01:00
|
|
|
Title: OLD dtoa NEEDS TO BE UPDATED
|
2012-11-10 16:47:45 +01:00
|
|
|
Description: This implementation of dtoa in libc/stdio is old and will not
|
2013-07-23 22:47:16 +02:00
|
|
|
work with some newer compilers. See
|
2012-01-15 17:11:32 +01:00
|
|
|
http://patrakov.blogspot.com/2009/03/dont-use-old-dtoac.html
|
|
|
|
Status: Open
|
|
|
|
Priority: ??
|
|
|
|
|
2012-08-06 04:14:36 +02:00
|
|
|
Title: FLOATING POINT FORMATS
|
|
|
|
Description: Only the %f floating point format is supported. Others are accepted
|
|
|
|
but treated like %f.
|
|
|
|
Status: Open
|
2012-08-06 19:59:41 +02:00
|
|
|
Priority: Medium (this might important to someone).
|
|
|
|
|
|
|
|
Title: FLOATING POINT PRECISION
|
|
|
|
Description: A fieldwidth and precision is required with the %f format. If %f
|
|
|
|
is used with no format, than floating numbers will be printed with
|
|
|
|
a precision of 0 (effectively presented as integers).
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium (this might important to someone).
|
2012-08-06 04:14:36 +02:00
|
|
|
|
2008-02-08 01:56:16 +01:00
|
|
|
o File system / Generic drivers (fs/, drivers/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2007-12-13 17:52:37 +01:00
|
|
|
|
2011-05-02 03:30:30 +02:00
|
|
|
NOTE: The NXFFS file system has its own TODO list at nuttx/fs/nxffs/README.txt
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: CHMOD() AND TRUNCATE()
|
2008-07-27 21:26:57 +02:00
|
|
|
Description: Implement chmod(), truncate().
|
2007-12-13 17:52:37 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: CAN POLL SUPPORT
|
2008-11-17 21:26:34 +01:00
|
|
|
Description: At present, the CAN driver does not support the poll() method.
|
2012-03-24 14:57:04 +01:00
|
|
|
See drivers/can.c
|
2008-11-17 21:26:34 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: REMOVING PIPES AND FIFOS
|
2008-07-26 22:47:39 +02:00
|
|
|
Description: There is no way to remove a FIFO or PIPE created in the
|
2012-08-05 19:44:11 +02:00
|
|
|
pseudo filesystem. Once created, they persist indefinitely
|
2008-07-27 21:26:57 +02:00
|
|
|
and cannot be unlinked. This is actually a more generic
|
2012-08-05 19:44:11 +02:00
|
|
|
issue: unlink does not work for anything in the pseudo-
|
2008-07-27 21:26:57 +02:00
|
|
|
filesystem.
|
|
|
|
Status: Open, but partially resolved: pipe buffer is at least freed
|
|
|
|
when there are not open references to the pipe/FIFO.
|
2008-07-26 22:47:39 +02:00
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: ROMFS CHECKSUMS
|
2008-09-12 17:54:20 +02:00
|
|
|
Description: The ROMFS file system does not verify checksums on either
|
|
|
|
volume header on on the individual files.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low. I have mixed feelings about if NuttX should pay a
|
|
|
|
performance penalty for better data integrity.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SPI-BASED SD MULTIPLE BLOCK TRANSFERS
|
2008-11-11 23:01:06 +01:00
|
|
|
Description: The simple SPI based MMCS/SD driver in fs/mmcsd does not
|
|
|
|
yet handle multiple block transfers.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium-Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: READ-AHEAD/WRITE BUFFER UNTESTED
|
2009-12-06 01:19:50 +01:00
|
|
|
Description: Block driver read-ahead buffer and write buffer support is
|
|
|
|
implemented but not yet tested.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SDIO-BASED SD READ-AHEAD/WRITE BUFFERING INCOMPLETE
|
2009-12-06 01:19:50 +01:00
|
|
|
Description: The drivers/mmcsd/mmcsd_sdio.c driver has hooks in place to
|
|
|
|
support read-ahead buffering and write buffering, but the logic
|
|
|
|
is incomplete and untested.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: POLLHUP SUPPORT
|
2011-12-03 17:13:40 +01:00
|
|
|
Description: All drivers that support the poll method should also report
|
|
|
|
POLLHUP event when the driver is closedd.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium-Low
|
|
|
|
|
2012-02-13 02:42:03 +01:00
|
|
|
Title: CONFIG_RAMLOG_CONSOLE DOES NOT WORK
|
2012-02-12 21:27:49 +01:00
|
|
|
Description: When I enable CONFIG_RAMLOG_CONSOLE, the system does not come up
|
2014-01-14 21:06:02 +01:00
|
|
|
properly (using configuration stm3240g-eval/nsh2). The problem
|
|
|
|
may be an assertion that is occurring before we have a console.
|
2012-02-12 21:27:49 +01:00
|
|
|
Status: Open
|
2012-02-13 02:42:03 +01:00
|
|
|
Priority: Medium
|
2012-02-12 21:27:49 +01:00
|
|
|
|
2014-01-14 21:06:02 +01:00
|
|
|
Title : USE VFS TO MANAGE NAMED MESSAGE QUEUES AND NAMED SEMAPHORES
|
2013-05-30 22:45:31 +02:00
|
|
|
Description: Currently redundant namespace management logic is use for named
|
2014-01-14 21:06:02 +01:00
|
|
|
message queues and semaphores. Named semaphore management should
|
2013-05-30 22:45:31 +02:00
|
|
|
be consolidated in the VFS. Perhaps in /ipc/mqueue and /ipc/sem.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low. Nothing is broken. This is an enhancement that would
|
2014-01-14 21:06:02 +01:00
|
|
|
improve the OS design and possibly reduce some FLASH usage
|
2013-05-30 22:45:31 +02:00
|
|
|
|
2013-10-25 22:19:09 +02:00
|
|
|
Title: UNIFIED DESCRIPTOR REPRESENTATION
|
|
|
|
Descripton: There are two separate ranges of descriptors for file and
|
|
|
|
socket descriptors: if a descriptor is in one range then it is
|
|
|
|
recognized as a file descriptor; if it is in another range
|
|
|
|
then it is recognized as a socket descriptor. These separate
|
|
|
|
descriptor ranges can cause problems, for example, they makes
|
|
|
|
dup'ing descriptors with dup2() problematic. The two groups
|
|
|
|
of descriptors are really indices into two separate tables:
|
|
|
|
On an array of file structures and the other an array of
|
|
|
|
socket structures. There really should be one array that
|
|
|
|
is a union of file and socket descriptors. Then socket and
|
|
|
|
file decriptors could lie in the same range.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2014-01-14 21:06:02 +01:00
|
|
|
Title: DUPLICATE FAT FILE NAMES
|
|
|
|
Description: "The NSH and POSIX API interpretations about sensitivity or
|
|
|
|
insensitivity to upper/lowercase file names seem to be not
|
|
|
|
consistent in our usage - which can result in creating two
|
|
|
|
directories with the same name..."
|
2014-01-16 14:30:15 +01:00
|
|
|
|
|
|
|
Example using NSH:
|
|
|
|
|
|
|
|
nsh> echo "Test1" >/tmp/AtEsT.tXt
|
|
|
|
nsh> echo "Test2" >/tmp/aTeSt.TxT
|
|
|
|
nsh> ls /tmp
|
|
|
|
/tmp:
|
|
|
|
AtEsT.tXt
|
|
|
|
aTeSt.TxT
|
|
|
|
nsh> cat /tmp/aTeSt.TxT
|
|
|
|
Test2
|
|
|
|
nsh> cat /tmp/AtEsT.tXt
|
|
|
|
Test1
|
|
|
|
|
2014-01-14 21:06:02 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2008-12-06 17:08:07 +01:00
|
|
|
o Graphics subystem (graphics/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2012-05-21 19:36:26 +02:00
|
|
|
See also the NxWidgets TODO list file for related issues.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: UNTESTED GRAPHICS APIS
|
2008-12-06 17:08:07 +01:00
|
|
|
Description: Testing of all APIs is not complete. See
|
|
|
|
http://nuttx.sourceforge.net/NXGraphicsSubsystem.html#testcoverage
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: ITALIC FONTS / NEGATIVE FONT OFFSETS
|
2011-07-27 07:02:58 +02:00
|
|
|
Description: Font metric structure (in include/nuttx/nx/nxfont.h) should allow
|
|
|
|
negative X offsets. Negative x-offsets are necessary for certain
|
|
|
|
glyphs (and is very common in italic fonts).
|
|
|
|
For example Eth, icircumflex, idieresis, and oslash should have
|
2011-08-04 03:25:58 +02:00
|
|
|
offset=1 in the 40x49b font (these missing negative offsets are
|
|
|
|
NOTE'ed in the font header files).
|
2011-07-27 07:02:58 +02:00
|
|
|
Status: Open. The problem is that the x-offset is an unsigned bitfield
|
|
|
|
in the current structure.
|
|
|
|
Priority: Low.
|
|
|
|
|
2012-05-15 18:40:43 +02:00
|
|
|
Title: RAW WINDOW AUTORAISE
|
|
|
|
Description: Auto-raise only applies to NXTK windows. Shouldn't it also apply
|
|
|
|
to raw windows as well?
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
|
|
|
Title: AUTO-RAISE DISABLED
|
2012-05-21 19:36:26 +02:00
|
|
|
Description: Auto-raise is currently disabled in NX multi-server mode. The
|
2012-05-15 18:40:43 +02:00
|
|
|
reason is complex:
|
|
|
|
- Most touchscreen controls send touch data a high rates
|
|
|
|
- In multi-server mode, touch events get queued in a message
|
|
|
|
queue.
|
|
|
|
- The logic that receives the messages performs the auto-raise.
|
|
|
|
But it can do stupid things after the first auto-raise as
|
2014-01-14 21:06:02 +01:00
|
|
|
it operates on the stale data in the message queue.
|
2012-05-15 18:40:43 +02:00
|
|
|
I am thinking that auto-raise ought to be removed from NuttX
|
|
|
|
and moved out into a graphics layer (like NxWM) that knows
|
|
|
|
more about the appropriate context to do the autoraise.
|
|
|
|
Status: Open
|
2012-05-15 22:10:32 +02:00
|
|
|
Priority: Medium low
|
2012-05-15 18:40:43 +02:00
|
|
|
|
2012-05-21 19:36:26 +02:00
|
|
|
Title: IMPROVED NXCONSOLE FONT CACHING
|
|
|
|
Description: Now each NxConsole instance has its own private font cache
|
|
|
|
whose size is determined by CONFIG_NXCONSOLE_MXCHARS. If there
|
|
|
|
are multiple NxConsole instances using the same font, each will
|
|
|
|
have a separate font cache. This is inefficient and wasteful
|
|
|
|
of memory: Each NxConsole instance should share a common font
|
|
|
|
cache.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium. Not important for day-to-day testing but would be
|
|
|
|
a critical improvement if NxConsole were to be used in a
|
|
|
|
product.
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2008-01-07 13:58:17 +01:00
|
|
|
o Pascal Add-On (pcode/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: P-CODES IN MEMORY UNTESTED
|
2008-02-05 23:45:03 +01:00
|
|
|
Description: Need APIs to verify execution of P-Code from memory buffer.
|
|
|
|
Status: Open
|
2008-02-07 15:41:11 +01:00
|
|
|
Priority: Low
|
2008-02-05 23:45:03 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SMALLER LOADER AND OBJECT FORMAT
|
2008-02-07 15:41:11 +01:00
|
|
|
Description: Loader and object format may be too large for some small
|
|
|
|
memory systems. Consider ways to reduce memory footprint.
|
2008-02-06 20:03:48 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2007-12-13 17:52:37 +01:00
|
|
|
o Documentation (Documentation/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: DOCUMENT APIS USABLE FROM INTERRUPT HANDLERS
|
2009-06-21 15:41:39 +02:00
|
|
|
Description: Need to document which APIs can be used in interrupt
|
|
|
|
handlers (like mq_send and sem_post) and which cannot.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2007-03-21 18:21:26 +01:00
|
|
|
o Build system
|
2007-12-13 17:52:37 +01:00
|
|
|
^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: NUTTX CONFIGURATION TOOL
|
2008-11-18 15:54:43 +01:00
|
|
|
Description: Need a NuttX configuration tool. The number of configuration
|
|
|
|
settings has become quite large and difficult to manage manually.
|
2012-08-02 02:42:46 +02:00
|
|
|
Update: This task is essentially completed. But probably not for
|
2012-11-25 21:58:39 +01:00
|
|
|
all platforms and all features. When do we know that the feature
|
|
|
|
is complete and that we can switch to exclusive use of the tool?
|
2008-11-18 15:54:43 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Medium-low
|
2008-11-11 23:01:06 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: NATIVE WINDOWS BUILD
|
2012-11-25 21:58:39 +01:00
|
|
|
Description: This effort is underway using MinGW-GCC and GNUWin32 tools
|
|
|
|
for (coreutils+make+grep+sed+uname). Current status:
|
|
|
|
|
|
|
|
1. configs/stm32f4discovery/winbuild - builds okay natively
|
|
|
|
2. configs/ez80f910200kitg - Can be reconfigured to build natively.
|
|
|
|
Requires some manual intervention to get a clean build.
|
|
|
|
See configs/ez80f910200kitg/README.txt.
|
|
|
|
|
2009-06-13 15:39:16 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: WINDOWS DEPENDENCY GENERATION
|
|
|
|
Description: Dependency generation is currently disabled when a Windows native
|
2014-01-14 21:06:02 +01:00
|
|
|
toolchain is used in a POSIX-like environment (like Cygwin). The
|
2012-11-25 21:58:39 +01:00
|
|
|
issue is that the Windows tool generates dependencies use Windows
|
|
|
|
path formatting and this fails with the dependency file (Make.dep)
|
|
|
|
is include). Perhaps the only issue is that all of the Windows
|
|
|
|
dependencies needed to be quoted in the Make.dep files.
|
2011-12-18 14:53:58 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low -- unless some dependency-related build issues is discovered.
|
|
|
|
|
|
|
|
Title: SETENV.H
|
2011-06-15 18:09:23 +02:00
|
|
|
Description: Logic in most setenv.sh files can create the following problem
|
2011-06-10 23:03:38 +02:00
|
|
|
on many platforms:
|
|
|
|
|
|
|
|
$ . ./setenv.sh
|
|
|
|
basename: invalid option -- 'b'
|
|
|
|
Try `basename --help' for more information.
|
|
|
|
|
|
|
|
The problem is that $0 is the current running shell which may include
|
|
|
|
a dash in front:
|
|
|
|
|
|
|
|
$ echo $0
|
|
|
|
-bash
|
|
|
|
|
|
|
|
But often is just /bin/bash (and the problem does not occur. The fix
|
|
|
|
is:
|
|
|
|
|
|
|
|
-if [ "$(basename $0)" = "setenv.sh" ]; then
|
|
|
|
+if [ "$_" = "$0" ] ; then
|
|
|
|
Status: Open
|
|
|
|
Priority: Low. Use of setenv.sh is optional and most platforms do not have
|
2014-01-14 21:06:02 +01:00
|
|
|
this problem. Scripts will be fixed one-at-a-time as is appropriate.
|
2011-06-10 23:03:38 +02:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: MAKE EXPORT LIMITATIONS
|
2011-07-12 00:52:51 +02:00
|
|
|
Description: The top-level Makefile 'export' target that will bundle up all of the
|
|
|
|
NuttX libraries, header files, and the startup object into an export-able
|
|
|
|
tarball. This target uses the tools/mkexport.sh script. Issues:
|
|
|
|
|
|
|
|
1. This script assumes the host archiver ar may not be appropriate for
|
|
|
|
non-GCC toolchains
|
2011-08-07 18:34:39 +02:00
|
|
|
2. For the kernel build, the user libraries should be built into some
|
2011-07-12 00:52:51 +02:00
|
|
|
libuser.a. The list of user libraries would have to accepted with
|
|
|
|
some new argument, perhaps -u.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low.
|
|
|
|
|
2013-01-24 00:11:13 +01:00
|
|
|
Title: kconfig-mconf NOT AVAILABLE IN NATIVE WINDOWS BUILD
|
|
|
|
Description: NuttX is migrating to the use of the kconfig-frontends kconfig-mconf
|
2012-12-20 15:08:21 +01:00
|
|
|
tool for all configurations. In NuttX 6.24, support for native
|
2013-01-24 00:11:13 +01:00
|
|
|
Windows builds was added. However, thekconfig- mconf tool does not
|
2012-12-20 15:08:21 +01:00
|
|
|
build to run natively under Windows.
|
|
|
|
|
2013-01-24 00:11:13 +01:00
|
|
|
Some effort was spent trying to get a clean kconfig-mconf build under
|
2012-12-20 15:08:21 +01:00
|
|
|
Windows. This is documented in the message thread beginning
|
|
|
|
here: http://tech.groups.yahoo.com/group/nuttx/message/2900.
|
|
|
|
The build was successfully completed using: MinGW-GCC, MSYS,
|
|
|
|
additional Windows libraries, and additional MSYS libraries
|
2014-01-14 21:06:02 +01:00
|
|
|
(MSYS is a variant of Cygwin so, presumably, Cygwin could
|
2012-12-20 15:08:21 +01:00
|
|
|
have been used as well). However, on final testing, it was
|
|
|
|
found that there are problems with text and numeric entry:
|
|
|
|
http://tech.groups.yahoo.com/group/nuttx/message/2953. This
|
2014-01-14 21:06:02 +01:00
|
|
|
was considered a show stopper and the changes were not checked
|
2012-12-20 15:08:21 +01:00
|
|
|
in.
|
|
|
|
|
2013-01-24 00:11:13 +01:00
|
|
|
Options: (1) Use kconfigs-conf (not kconfig-mconf). confis the text-only
|
|
|
|
configuration tool, (2) fix kconfig-mconf, (3) write another variant
|
2012-12-20 15:08:21 +01:00
|
|
|
of the configuration tool for windows, or (4) do all configuration
|
|
|
|
under Cygwin or MSYS. I am doing (4) now, but this is very
|
|
|
|
awkward because I have to set the apps path to ../apps (vs
|
|
|
|
..\apps) and CONFIG_WINDOWS_NATIVE=n for the 'make menuconfig'
|
|
|
|
to run error free under windows. Very awkward!
|
|
|
|
Status: Open, there are some workarounds, but none are good.
|
|
|
|
Priority: High
|
|
|
|
|
2008-11-18 15:54:43 +01:00
|
|
|
o Linux/Cywgin simulation (arch/sim)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SIMULATED SERIAL DRIVER
|
2008-11-30 19:52:14 +01:00
|
|
|
Description: The simulated serial driver has some odd behavior. It
|
2008-11-18 15:54:43 +01:00
|
|
|
will stall for a long time on reads when the C stdio buffers are
|
|
|
|
being refilled. This only effects the behavior of things like
|
|
|
|
fgetc(). Workaround: Set CONFIG_STDIO_BUFFER_SIZE=0, suppressing
|
|
|
|
all C buffered I/O.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low (because the simulator is only a test/development platform)
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SIMULATOR NETWORKING SUPPORT
|
2011-02-10 21:15:42 +01:00
|
|
|
Description: I never did get networking to work on the sim Linux target. On Linux,
|
|
|
|
it tries to use the tap device (/dev/net/tun) to emulate an Ethernet
|
|
|
|
NIC, but I never got it correctly integrated with the NuttX networking.
|
|
|
|
NOTE: On Cygwin, the build uses the Cygwin WPCAP library and is, at
|
|
|
|
least, partially functional (it has never been rigorously tested).
|
2010-07-28 17:01:28 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: Low (unless you want to test networking features on the simulation).
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: ROUND-ROBIN SCHEDULING IN THE SIMULATOR
|
2011-02-10 21:15:42 +01:00
|
|
|
Description: Since the simulation is not pre-emptible, you can't use round-robin
|
|
|
|
scheduling (no time slicing). Currently, the timer interrupts are
|
|
|
|
"faked" during IDLE loop processing and, as a result, there is no
|
2014-01-14 21:06:02 +01:00
|
|
|
task pre-emption because there are no asynchronous events. This could
|
2010-07-28 17:01:28 +02:00
|
|
|
probably be fixed if the "timer interrupt" were driver by Linux
|
|
|
|
signals. NOTE: You would also have to implement irqsave() and
|
|
|
|
irqrestore() to block and (conditionally) unblock the signal.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: NSH ISSUES ON THE SIMULATOR
|
2011-02-28 13:48:23 +01:00
|
|
|
Descripion: The NSH example has some odd behaviors. Mult-tasking -- for example,
|
|
|
|
execution of commands in background -- does not work normally. This
|
|
|
|
is due to the fact that NSH uses the system standard input for the
|
|
|
|
console. This means that the simulation is actually "frozen" all of
|
|
|
|
the time when NSH is waiting for input and background commands never
|
|
|
|
get the chance to run.
|
|
|
|
Status: Open
|
|
|
|
Priority: This will not be fixed. This is the normal behavior in the current
|
|
|
|
design of the simulator. "Real" platforms will behave correctly
|
|
|
|
because NSH will "sleep" when it waits for console inpu and other
|
|
|
|
tasks can run freely.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: DOUBLE COMMAND ECHO
|
2011-02-28 13:48:23 +01:00
|
|
|
Description: In the NSH example, the host HOST echoes each command so after you
|
|
|
|
you enter a command, the command is repeated on the next line. This
|
|
|
|
is an artifact of the simulator only.
|
|
|
|
Status: Open
|
|
|
|
Priority: This will not be fixed. This is the normal behavior in the current
|
|
|
|
design of the simulator. "Real" platforms will behave correctly.
|
2010-07-28 17:01:28 +02:00
|
|
|
|
2007-12-13 17:52:37 +01:00
|
|
|
o ARM (arch/arm/)
|
|
|
|
^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: IMPROVED ARM INTERRUPT HANDLING
|
2009-06-13 15:39:16 +02:00
|
|
|
Description: ARM interrupt handling performance could be improved in some
|
|
|
|
ways. One easy way is to use a pointer to the context save
|
2008-11-08 17:28:00 +01:00
|
|
|
area in current_regs instead of using up_copystate so much.
|
2013-07-24 15:47:51 +02:00
|
|
|
|
|
|
|
This approach is already implemented for the ARM Cortex-M0,
|
|
|
|
Cortex-M3, Cortex-M4, and Cortex-A5 families. But still needs
|
|
|
|
to be back-ported to the ARM7 and ARM9 (which are nearly
|
2013-07-30 19:37:09 +02:00
|
|
|
identical to the Cortex-A5 in this regard). The change is
|
|
|
|
*very* simple for this architecture, but not implemented.
|
|
|
|
Status: Open. But complete on all ARM platforms except ARM7 and ARM9.
|
|
|
|
Priority: Low.
|
2008-11-08 17:28:00 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: IMPROVED ARM INTERRUPT HANDLING
|
2014-01-14 21:06:02 +01:00
|
|
|
Description: The ARM and Cortex-M3 interrupt handlers restores all registers
|
2009-06-13 15:39:16 +02:00
|
|
|
upon return. This could be improved as well: If there is no
|
|
|
|
context switch, then the static registers need not be restored
|
2008-11-13 01:15:41 +01:00
|
|
|
because they will not be modified by the called C code.
|
|
|
|
(see arch/sh/src/sh1/sh1_vector.S for example)
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2012-01-23 18:19:43 +01:00
|
|
|
Title: CORTEX-M3 STACK OVERFLOW
|
|
|
|
Description: There is bit bit logic inf up_fullcontextrestore() that executes on
|
|
|
|
return from interrupts (and other context switches) that looks like:
|
|
|
|
|
|
|
|
ldr r1, [r0, #(4*REG_CPSR)] /* Fetch the stored CPSR value */
|
|
|
|
msr cpsr, r1 /* Set the CPSR */
|
|
|
|
|
|
|
|
/* Now recover r0 and r1 */
|
|
|
|
|
|
|
|
ldr r0, [sp]
|
|
|
|
ldr r1, [sp, #4]
|
|
|
|
add sp, sp, #(2*4)
|
|
|
|
|
|
|
|
/* Then return to the address at the stop of the stack,
|
|
|
|
* destroying the stack frame
|
|
|
|
*/
|
|
|
|
|
|
|
|
ldr pc, [sp], #4
|
|
|
|
|
2013-07-30 19:37:09 +02:00
|
|
|
Under conditions of excessively high interrupt conditions, many
|
2014-01-14 21:06:02 +01:00
|
|
|
nested interrupts can occur just after the 'msr cpsr' instruction.
|
2012-01-23 18:19:43 +01:00
|
|
|
At that time, there are 4 bytes on the stack and, with each
|
|
|
|
interrupt, the stack pointer may increment and possibly overflow.
|
|
|
|
|
|
|
|
This can happen only under conditions of continuous interrupts.
|
|
|
|
See this email thread: http://tech.groups.yahoo.com/group/nuttx/message/1261
|
|
|
|
On suggested change is:
|
|
|
|
|
|
|
|
ldr r1, [r0, #(4*REG_CPSR)] /* Fetch the stored CPSR value */
|
|
|
|
msr spsr_cxsf, r1 /* Set the CPSR */
|
|
|
|
ldmia r0, {r0-r15}^
|
|
|
|
|
|
|
|
But this has not been proven to be a solution.
|
2013-07-30 19:37:09 +02:00
|
|
|
|
|
|
|
UPDATE: Other ARM architectures have a similer issue.
|
|
|
|
|
2012-01-23 18:19:43 +01:00
|
|
|
Status: Open
|
2014-01-14 21:06:02 +01:00
|
|
|
Priority: Low. The conditions of continuous interrupts is really the problem.
|
|
|
|
If your design needs continuous interrupts like this, please try
|
2012-01-23 18:19:43 +01:00
|
|
|
the above change and, please, submit a patch with the working fix.
|
2012-08-07 22:18:56 +02:00
|
|
|
|
2013-07-23 22:47:16 +02:00
|
|
|
Title: STACK ALIGNMENT IN INTERRUPT HANDLERS
|
|
|
|
Description: The EABI standard requires that the stack always have a 32-byte
|
2014-01-14 21:06:02 +01:00
|
|
|
alignment. There is no guarantee at present that the stack will be
|
2013-07-23 22:47:16 +02:00
|
|
|
so aligned in an interrupt handler. Therefore, I would expect some
|
|
|
|
issues if, for example, floating point or perhaps long long operations
|
|
|
|
were performed in an interrupt handler.
|
|
|
|
|
|
|
|
This issue exists for ARM7, ARM9, Cortex-M0, Cortex-M3, and
|
|
|
|
Cortex-M4 but has been addressed for the Cortex-A5. The fix
|
|
|
|
is really simple can cannot be incorporated without some
|
|
|
|
substantial testing. For ARM, the fix is the following logic
|
|
|
|
arround each call into C code from assembly:
|
|
|
|
|
|
|
|
mov r4, sp /* Save the SP in a preserved register */
|
2014-01-14 21:06:02 +01:00
|
|
|
bic sp, sp, #7 /* Force 8-byte alignment */
|
2013-07-23 22:47:16 +02:00
|
|
|
bl cfunction /* Call the C function */
|
|
|
|
mov sp, r4 /* Restore the possibly unaligned stack pointer */
|
|
|
|
|
|
|
|
This same issue applies to the interrupt stack which is, I think
|
|
|
|
improperly aligned in almost all cases (except Cortex-A5).
|
|
|
|
|
|
|
|
Status: Open
|
|
|
|
Priority: Low for me because I never do floating point operations in
|
|
|
|
interrupt handlers.
|
|
|
|
|
2007-12-13 17:52:37 +01:00
|
|
|
o ARM/C5471 (arch/arm/src/c5471/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: UART RECONFIGURATION
|
2008-01-28 23:32:40 +01:00
|
|
|
Description: UART re-configuration is untested and conditionally compiled out.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium. ttyS1 is not configured, but not used; ttyS0 is configured
|
|
|
|
by the bootloader
|
|
|
|
|
2007-12-13 17:52:37 +01:00
|
|
|
o ARM/DM320 (arch/arm/src/dm320/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: DEBUG ISSUES
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: config/ntos-dm320: It seems that when a lot of debug statements
|
|
|
|
are added, the system no longer boots. This is suspected to be
|
|
|
|
a stack problem: Making the stack bigger or removing arrays on
|
|
|
|
the stack seems to fix the problem (might also be the
|
|
|
|
bootloader overwriting memory)
|
|
|
|
Status: Open
|
2008-01-28 23:32:40 +01:00
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: USB DEVICE DRIVER UNTESTED
|
2008-10-10 20:14:24 +02:00
|
|
|
Description: A USB device controller driver was added but has never been tested.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: FRAMEBUFFER DRIVER UNTESTED
|
2008-11-26 18:58:02 +01:00
|
|
|
Description: A framebuffer "driver" was added, however, it remains untested.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: VIDEO ENCODER DRIVER
|
2008-11-26 18:58:02 +01:00
|
|
|
Description: In order to use the framebuffer "driver" additional video encoder
|
2014-01-14 21:06:02 +01:00
|
|
|
logic is required to setup composite video output or to interface
|
2008-11-26 18:58:02 +01:00
|
|
|
with an LCD.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium (high if you need to use the framebuffer driver)
|
|
|
|
|
2009-04-12 21:58:58 +02:00
|
|
|
o ARM/i.MX (arch/arm/src/imx/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: PORT IS INCOMPLETE
|
2014-01-14 21:06:02 +01:00
|
|
|
Description: The basic port of the i.MX1 architecture was never finished. The port
|
2009-04-12 21:58:58 +02:00
|
|
|
is incomplete (as of this writing, is still lacks a timer, interrupt
|
|
|
|
decoding, USB, network) and untested.
|
2011-05-07 18:59:20 +02:00
|
|
|
Status: Open
|
2009-04-12 21:58:58 +02:00
|
|
|
Priority: Medium (high if you need i.MX1/L support)
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SPI METHODS ARE NOT THREAD SAFE
|
2009-04-26 20:58:49 +02:00
|
|
|
Description: SPI methods are not thread safe. Needs a semaphore to protect from re-entrancy.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium -- Will be very high if you do SPI access from multiple threads.
|
|
|
|
|
2010-07-18 17:30:23 +02:00
|
|
|
o ARM/LPC17xx (arch/arm/src/lpc17xx/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: USB DMA INCOMPLETE
|
2010-12-04 18:35:19 +01:00
|
|
|
Description: USB DMA not fully implemented. Partial logic is in place but it is
|
|
|
|
fragmentary and bogus. (Leveraged from the lpc214x)
|
2010-07-18 17:30:23 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SSP DRIVER IMPROVEMENTS
|
2010-07-18 17:30:23 +02:00
|
|
|
Description: a) At present the SSP driver is polled. Should it be interrupt driven?
|
|
|
|
Look at arch/arm/src/imx/imx_spi.c -- that is a good example of an
|
|
|
|
interrupt driven SPI driver. Should be very easy to part that architecture
|
|
|
|
to the LPC.
|
|
|
|
b) See other SSP (SPI) driver issues listed under ARM/LPC214x. The LPC17xx
|
|
|
|
driver is a port of the LPC214x driver and probably has the same issues.
|
|
|
|
b) Other SSP driver improvements: Add support for multiple devices on the
|
|
|
|
SSP bus, use DMA data transfers
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: NOKIA LCD DRIVER NONFUNCTIONAL
|
2011-02-10 21:15:42 +01:00
|
|
|
Description: An LCD driver for the Olimex LPC1766STK has been developed. However, that
|
|
|
|
driver is not yet functional on the board: The backlight comes on, but
|
|
|
|
nothing is visible on the display.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium-Low (unless you need the display on the LPC1766STK!)
|
|
|
|
|
2007-12-13 17:52:37 +01:00
|
|
|
o ARM/LPC214x (arch/arm/src/lpc214x/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: VECTOR INTERRUPTS
|
2008-10-09 14:48:21 +02:00
|
|
|
Description: Should use Vector Interrupts
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: USB DMA INCOMPLETE
|
2008-10-11 21:39:46 +02:00
|
|
|
Description: USB DMA not fully implemented. Partial logic is in place but it is
|
|
|
|
fragmentary and bogus.
|
2008-10-09 14:48:21 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
2007-12-13 17:52:37 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: USB SERIAL DRIVER REPORTS WRONG ERROR
|
2008-10-09 17:10:37 +02:00
|
|
|
Description: USB Serial Driver reports wrong error when opened before the
|
|
|
|
USB is connected (reports EBADF instead of ENOTCONN)
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SPI DRIVER IMPROVEMENTS
|
2008-10-28 18:22:01 +01:00
|
|
|
Description: At present the SPI driver is polled. Should it be interrupt driven?
|
2009-04-26 20:58:49 +02:00
|
|
|
Look at arch/arm/src/imx/imx_spi.c -- that is a good example of an
|
|
|
|
interrupt driven SPI driver. Should be very easy to part that architecture
|
|
|
|
to the LPC.
|
2008-10-28 18:22:01 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SPI METHODS ARE NOT THREAD SAFE
|
2009-04-26 20:58:49 +02:00
|
|
|
Description: SPI methods are not thread safe. Needs a semaphore to protect from re-entrancy.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium -- Will be very high if you do SPI access from multiple threads.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SPI DRIVER DELAYS
|
2008-11-11 23:01:06 +01:00
|
|
|
Description: At present the SPI driver is polled -AND- there is a rather large, arbitrary,
|
|
|
|
delay in one of the block access routines. The purpose of the delay is to
|
|
|
|
avoid a race conditions. This begs for a re-design -OR- at a minimum, some
|
2014-01-14 21:06:02 +01:00
|
|
|
optimization of the delay time.
|
2008-11-11 23:01:06 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: 2GB SD CARD ISSUES
|
2009-05-29 17:36:48 +02:00
|
|
|
Desription: I am unable to initialize a 2Gb SanDisk microSD card (in adaptor) on the
|
|
|
|
the mcu123 board. The card fails to accept CMD0. Doesn't seem like a software
|
|
|
|
issue, but if anyone else sees the problem, I'd like to know.
|
2011-03-04 17:24:51 +01:00
|
|
|
Related: Fixes were recently made for the SDIO-based MMC/SD driver to
|
2014-01-14 21:06:02 +01:00
|
|
|
support 2Gb cards -- the block size was forced to 512 in all cases. The SPI-
|
2011-03-04 17:24:51 +01:00
|
|
|
based driver may also have this problem (but I don't think this would have
|
2011-12-18 14:53:58 +01:00
|
|
|
anything to do with CMD0).
|
2009-05-29 17:36:48 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: Uncertain
|
|
|
|
|
2012-02-02 20:42:55 +01:00
|
|
|
Title: USB BROKEN?
|
|
|
|
Description: I tried to bring up the new configuration at configs/mcu123-214x/composite,
|
2013-07-23 22:47:16 +02:00
|
|
|
and Linux failed to enumerate the device. I don't know if this is
|
2012-02-02 20:42:55 +01:00
|
|
|
a problem with the lpc214x USB driver (bit rot), or due to recent
|
2012-02-03 17:41:28 +01:00
|
|
|
changed (e.g., -r4359 is suspicious), or an incompatibility between the
|
2012-02-02 20:42:55 +01:00
|
|
|
Composite driver and the LPC214x USB driver. It will take more work
|
|
|
|
to find out which -- like checking if the other USB configurations are
|
|
|
|
also broken.
|
|
|
|
Status: Open
|
|
|
|
Priority: It would be high if the LPC2148 were a current, main stream architecture.
|
|
|
|
I am not aware of anyone using LPC2148 now so I think the priority has
|
|
|
|
to be low.
|
|
|
|
|
2012-08-05 00:00:18 +02:00
|
|
|
o ARM/LPC31xx (arch/arm/src/lpc31xx/)
|
2010-09-13 17:57:14 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: PLATFORM-SPECIFIC LOGIC
|
2010-09-13 17:57:14 +02:00
|
|
|
Description: arch/arm/src/lpc313x/lpc313x_spi.c contains logic that is specific to the
|
2010-10-02 02:55:32 +02:00
|
|
|
Embedded Artist's ea3131 board. We need to abstract the assignment of SPI
|
2010-09-13 17:57:14 +02:00
|
|
|
chip selects and logic SPI functions (like SPIDEV_FLASH). My thoughts are:
|
|
|
|
- Remove lpc313x_spiselect and lpc313x_spistatus from lpc313x_internal.h
|
|
|
|
- Remove configs/ea3131/src/up_spi.c
|
|
|
|
- Add configurations CONFIG_LPC3131x_CSOUT1DEV, CONFIG_LPC3131x_CSOUT2DEV,
|
|
|
|
and CONFIG_LPC3131x_CSOUT3DEV that maps the lpc313x SPI chip selects to
|
|
|
|
SPIDEV_* values.
|
|
|
|
- Change arch/arm/src/lpc313x/lpc313x_spi.c to use those configuration
|
|
|
|
settings.
|
|
|
|
Status: Open
|
|
|
|
Priority: High if you want to use SPI on any board other than the ea3131.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SPI DRIVER
|
2010-10-02 02:55:32 +02:00
|
|
|
Description: arch/arm/src/lpc313x/lpc313x_spi.c may or may not be functional. It was
|
|
|
|
reported to be working, but I was unable to get it working with the
|
|
|
|
Atmel at45dbxx serial FLASH driver.
|
|
|
|
Status: Open
|
|
|
|
Priority: High if you need to use SPI.
|
|
|
|
|
2012-08-05 00:00:18 +02:00
|
|
|
o ARM/LPC43x (arch/arm/src/lpc43xx/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2008-11-01 18:05:38 +01:00
|
|
|
o ARM/STR71x (arch/arm/src/str71x/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: UNVERIFIED MMC SUPPORT
|
2009-06-13 15:39:16 +02:00
|
|
|
Description: Verify SPI driver and integrate with MMC support. This effort is stalled
|
2009-06-08 16:59:15 +02:00
|
|
|
at the moment because the slot on the Olimex board only accepts MMC card;
|
2009-06-13 15:39:16 +02:00
|
|
|
I have no MMC cards, only SD cards which won't fit into the slot.
|
2008-11-01 18:05:38 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: NO USB DRIVER
|
2009-06-08 16:59:15 +02:00
|
|
|
Description: Develop a USB driver and integrate with existing USB serial and storage
|
|
|
|
class drivers.
|
2008-11-01 18:05:38 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SPI METHODS ARE NOT THREAD SAFE
|
2009-04-26 20:58:49 +02:00
|
|
|
Description: SPI methods are not thread safe. Needs a semaphore to protect from re-entrancy.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium -- Will be very high if you do SPI access from multiple threads.
|
|
|
|
|
2013-01-08 21:56:40 +01:00
|
|
|
o ARM/LM3S6918 (arch/arm/src/lm/)
|
2009-05-19 22:14:44 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: I2C DRIVER
|
2009-05-24 01:37:25 +02:00
|
|
|
Description: Still need to implement I2C
|
2009-05-19 22:14:44 +02:00
|
|
|
Status: Open
|
2009-05-24 01:37:25 +02:00
|
|
|
Priority: Low
|
2009-05-19 22:14:44 +02:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SSI OVERRUNS
|
2009-05-28 22:36:04 +02:00
|
|
|
Description: Should terminate SSI/SPI transfer if an Rx FIFO overrun occurs.
|
|
|
|
Right now, if an Rx FIFO overrun occurs, the SSI driver hangs.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium, If the transfer is properly tuned, then there should not
|
|
|
|
be any Rx FIFO overruns.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: THTTPD BUGS
|
2009-12-20 15:55:07 +01:00
|
|
|
Description: There are some lingering bugs in THTTPD, possibly race conditions. This
|
|
|
|
is covered above under Network Utilities, but is duplicated here
|
|
|
|
to point out that the LM3S suffers from this bug.
|
2009-12-20 16:48:24 +01:00
|
|
|
Status: Open.
|
|
|
|
UPDATE: I have found that increasing the size of the CGI program stack
|
|
|
|
from 1024 to 2048 (on the LM3S) eliminates the problem. So the most
|
|
|
|
likely cause is probably a stack overflow, not a hard sofware bug.
|
|
|
|
Priority: Probably Low
|
2009-12-20 15:55:07 +01:00
|
|
|
|
2014-01-29 01:59:11 +01:00
|
|
|
o ARM/SAMA5D3 ((arch/arm/src/sama5/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Issues related to the SAMA5D3 port are in configs/sama5d3x-ek/README.txt.
|
|
|
|
|
2009-10-20 16:05:56 +02:00
|
|
|
o ARM/STM32 (arch/arm/src/stm32/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: USBSERIAL ISSUES
|
2009-11-04 21:54:18 +01:00
|
|
|
Description A USB device-side driver is in place but not well tested. At
|
2011-03-20 19:18:19 +01:00
|
|
|
present, the apps/examples/usbserial test sometimes fails. The situation
|
2009-11-04 21:54:18 +01:00
|
|
|
that causes the failure is:
|
|
|
|
|
|
|
|
- Host-side of the test started after the target side sends the
|
|
|
|
first serial message.
|
|
|
|
|
|
|
|
The general failure is as follows:
|
|
|
|
|
|
|
|
- The target message pends in the endpoint packet memory
|
|
|
|
- When the host-side of the test is stated, it correctly
|
|
|
|
reads this pending data.
|
|
|
|
- an EP correct transfer interrupt occurs and the next
|
|
|
|
pending outgoing message is setup
|
|
|
|
- But, the host never receives the next message
|
|
|
|
|
|
|
|
If the host-side driver is started before the first target message
|
|
|
|
is sent, the driver works fine.
|
2009-10-20 16:05:56 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: Medium-High
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2013-04-30 20:37:34 +02:00
|
|
|
Title: DMA EXTENSIONS F1/3
|
2009-11-27 14:09:55 +01:00
|
|
|
Description: DMA logic needs to be extended. DMA2, Channel 5, will not work
|
|
|
|
because the DMA2 channels 4 & 5 share the same interrupt.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low until someone needs DMA1, Channel 5 (ADC3, UART4_TX, TIM5_CH1, or
|
|
|
|
TIM8_CH2).
|
|
|
|
|
2012-02-21 23:00:28 +01:00
|
|
|
Title: F4 SDIO MULTI-BLOCK TRANSFER FAILURES
|
|
|
|
Description: If you use a large I/O buffer to access the file system, then the
|
|
|
|
MMCSD driver will perform multiple block SD transfers. With DMA
|
|
|
|
ON, this seems to result in CRC errors detected by the hardware
|
2012-02-27 20:50:35 +01:00
|
|
|
during the transfer. Workaround: CONFIG_MMCSD_MULTIBLOCK_DISABLE=y.
|
2012-02-21 23:00:28 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
|
|
|
Title: DMA BOUNDARY CROSSING
|
|
|
|
Description: I see this statement in the reference manual: "The burst
|
|
|
|
configuration has to be selected in order to respect the AHB protocol,
|
|
|
|
where bursts must not cross the 1 KB address boundary because the
|
|
|
|
minimum address space that can be allocated to a single slave
|
|
|
|
is 1 KB. This means that the 1 KB address boundary should not be crossed
|
|
|
|
by a burst block transfer, otherwise an AHB error would be generated,
|
|
|
|
that is not reported by the DMA registers."
|
|
|
|
|
|
|
|
The implication is that there may be some unenforced alignment
|
|
|
|
requirements for some DMAs. There is nothing in the DMA driver to
|
|
|
|
prevent this now.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low (I am not even sure if this is a problem yet).
|
|
|
|
|
2012-11-22 22:21:48 +01:00
|
|
|
Title: DMA FROM EXTERNAL, FSMC MEMORY
|
|
|
|
Description: I have seen a problem on F1 where all SDIO DMAs work exist for
|
|
|
|
write DMAs from FSMC memory (i.e., from FSMC memory to SDIO).
|
|
|
|
Read transfers work fine (SDIO to FSMC memory). The failure is
|
|
|
|
a data underrun error with zero bytes of data transferred. The
|
2014-01-14 21:06:02 +01:00
|
|
|
workaround for now is to use DMA buffers allocated from internal
|
2012-11-22 22:21:48 +01:00
|
|
|
SRAM.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-06-17 02:16:16 +02:00
|
|
|
o AVR (arch/avr)
|
|
|
|
^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: AMBER WEB SERVER UNTESTED
|
2011-06-17 02:16:16 +02:00
|
|
|
Description: There is a port for the Amber Web Server ATMega128, however this is
|
|
|
|
completely untested due to the lack to compatible, functional test
|
|
|
|
equipment.
|
|
|
|
Status: Open
|
|
|
|
Priority: The priority might as well be low since there is nothing I can do about
|
|
|
|
it anyway.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: STRINGS IN RAM
|
2011-06-17 17:17:28 +02:00
|
|
|
Description: Many printf-intensive examples (such as the OS test) cannot be executed
|
|
|
|
on most AVR platforms. The reason is because these tests/examples
|
|
|
|
generate a lot of string data. The build system currently places all
|
|
|
|
string data in RAM and the string data can easily overflow the tiny
|
|
|
|
SRAMs on these parts. A solution would be to put the string data
|
|
|
|
into the more abundant FLASH memory, but this would require modification
|
|
|
|
to the printf logic to access the strings from program memory.
|
2011-06-17 02:16:16 +02:00
|
|
|
Status: Open
|
2011-06-17 17:17:28 +02:00
|
|
|
Priority: Low. The AVR is probably not the architecuture that you want to use
|
|
|
|
for extensive string operations.
|
2011-06-17 02:16:16 +02:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SPI AND USB DRIVERS UNTESTED
|
2011-08-05 04:31:59 +02:00
|
|
|
Description: An SPI driver and a USB device driver exist for the AT90USB (as well
|
|
|
|
as a USB mass storage example). However, this configuration is not
|
|
|
|
fully debugged as of the NuttX-6.5 release.
|
|
|
|
Update 7/11: (1) The SPI/SD driver has been verified, however, (2) I
|
2013-09-05 16:07:03 +02:00
|
|
|
believe that the current teensy/usbmsc configuration uses too
|
2011-08-05 04:31:59 +02:00
|
|
|
much SRAM for the system to behave sanely. A lower memory footprint
|
|
|
|
version of the mass storage driver will be required before this can
|
|
|
|
be debugged
|
2011-06-20 21:07:22 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: Medium-High.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: AVR32 PORT IS NOT FULLY TESTED
|
2011-08-05 04:31:59 +02:00
|
|
|
Description: A complete port for the AVR32 is provided and has been partially
|
|
|
|
debugged. There may still be some issues with the serial port
|
|
|
|
driver.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-03-13 20:04:32 +01:00
|
|
|
o Intel x86 (arch/x86)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-02-25 01:00:04 +01:00
|
|
|
o 8051 / MCS51 (arch/8051/)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
2007-12-13 17:52:37 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: STACK OVERFLOWS DURING INTERRUPT HANDLING
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: Current status:
|
|
|
|
- Basic OS task management seems OK
|
|
|
|
- Fails when interrupts enabled. The stack pointer is around
|
|
|
|
0x6e before the failure occurs. It looks like some issue
|
|
|
|
when the stack pointer moves from the directly to indirectly
|
|
|
|
addressable region (0x80 boundary).
|
|
|
|
- Work on the 8052 is temporarily on hold
|
|
|
|
Status: Open
|
|
|
|
Priority: Low, 8051 is a tough platform because of the tiny stack.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: TIMER 0 AS SYSTEM TIMER
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: Use timer 0 as system timer. Timer 2 is needed for second UART.
|
|
|
|
Logic is implemented, but there needs to be a system
|
|
|
|
configuration to change the ticks-per-second value to match the
|
|
|
|
timer interrupt rate
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: OVERFLOWS DURING BUILD
|
2007-12-13 17:52:37 +01:00
|
|
|
Description: During build, there are several integer overflows reported:
|
2007-12-31 00:34:20 +01:00
|
|
|
sched/gmtime_r.c aroud lines 184 and 185
|
|
|
|
sched/clock_initialize.c at line 107
|
|
|
|
sched/pthread_create.c at 330
|
2011-03-20 19:18:19 +01:00
|
|
|
apps/examples/ostest/barrier.c around lines 53 and 74
|
|
|
|
apps/examples/ostest/sighand.c at 225 and 244
|
2008-01-01 00:52:53 +01:00
|
|
|
driver/serial.c in usleep calls around 347 and 354
|
2009-12-13 19:01:46 +01:00
|
|
|
Status: Open. Update: These were reviewed during the hcs12 port. The
|
|
|
|
hcs12 also has 16-bit integer types (if -mshort is in the CFLAGS).
|
|
|
|
I believe that the warnings in most of the above have been fixed
|
|
|
|
but this has not been verified on this platform).
|
2007-12-13 17:52:37 +01:00
|
|
|
Priority: Medium
|
2007-06-10 04:24:53 +02:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: DATA INITIALIZATION
|
2007-12-31 20:05:45 +01:00
|
|
|
Description Global data is not being initialized. Logic like that of SDCCs
|
|
|
|
crt0*.s needs to be incorporated into the system boot logic
|
|
|
|
Status: Open
|
|
|
|
Priority: Low -- only because there as so many other issues with 8051
|
|
|
|
|
2012-12-16 22:15:27 +01:00
|
|
|
Title: 8051 BUILD BROKEN
|
2014-01-14 21:06:02 +01:00
|
|
|
Description: The last time I tried to build the pjrc-8051 configuration using
|
2012-12-16 22:15:27 +01:00
|
|
|
the SDCC 3.2.1 toolchain (for Windows). I got compilation
|
|
|
|
errors in sched/os_bringup.c. It complained about type
|
|
|
|
mis-matches. What I gather from Googling, this is a problem
|
|
|
|
with the --stack-auto option. At any rate, this problem will
|
|
|
|
need to be fixed if you want to resurrect the 8051 NuttX port.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low -- I don't think anyone uses the 8051 port.
|
|
|
|
|
2012-03-19 18:56:15 +01:00
|
|
|
o MIPS/PIC32(arch/mips)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Title: PIC32 USB DRIVER DOES NOT WORK WITH MASS STORAGE CLASS
|
2012-06-03 22:05:44 +02:00
|
|
|
UPDATE: ** ONLY USING RAM DISK FOR EXPORTED VOLUME ***
|
2012-03-19 18:56:15 +01:00
|
|
|
Description: The PIC32 USB driver either crashes or hangs when used with
|
|
|
|
the mass storage class when trying to write files to the target
|
|
|
|
storage device. This usually works with debug on, but does not
|
|
|
|
work with debug OFF (implying some race condition?)
|
|
|
|
|
|
|
|
Here are some details of what I see in debugging:
|
|
|
|
|
|
|
|
1. The USB MSC device completes processing of a read request
|
|
|
|
and returns the read request to the driver.
|
|
|
|
2. Before the MSC device can even begin the wait for the next
|
|
|
|
driver, many packets come in at interrupt level. The MSC
|
|
|
|
device goes to sleep (on pthread_cond_wait) with all of the
|
|
|
|
read buffers ready (16 in my test case).
|
|
|
|
3. The pthread_cond_wait() does not wake up. This implies
|
|
|
|
a problem with pthread_con_wait(?). But in other cases,
|
|
|
|
the MSC device does wake up, but then immediately crashes
|
|
|
|
because its stack is bad.
|
|
|
|
4. If I force the pthread_cond_wait to wake up (by using
|
|
|
|
pthread_cond_timedwait instead), then the thread wakes
|
|
|
|
up and crashes with a bad stack.
|
|
|
|
|
|
|
|
So far, I have no clue why this is failing.
|
2012-06-21 02:05:20 +02:00
|
|
|
|
2012-06-03 22:05:44 +02:00
|
|
|
UPDATE: This bug was recorded using the PIC32 Ethernet
|
|
|
|
Starter kit with a RAM disk (that board has no SD card slot).
|
2014-01-14 21:06:02 +01:00
|
|
|
However, using the USB mass storage device with the
|
2012-06-03 22:05:44 +02:00
|
|
|
Mikroelektronika using a real SD card, there is no such
|
2012-06-21 02:05:20 +02:00
|
|
|
problem -- the mass storage device seems quite stable.
|
|
|
|
|
2014-01-14 21:06:02 +01:00
|
|
|
UPDATE: Hmmm.. retesting with the Mikroelektronika board
|
2012-06-21 02:05:20 +02:00
|
|
|
shows problems again. I think that there are some subtle
|
|
|
|
timing bugs whose effects can very from innocuous to severe.
|
2012-06-03 22:05:44 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: Originally, High BUT reduced to very Low based on the
|
|
|
|
UPDATED comments.
|
|
|
|
|
|
|
|
Title: PIC32 USB MASS STORAGE DEVICE FAILS TO RE-CONNECT
|
|
|
|
Description: Found using configuration configs/pic32mx7mmb/nsh.
|
|
|
|
In this configuratin, the NSH 'msconn' command will connect the
|
|
|
|
mass storage device to the host; the 'msdis' command will
|
|
|
|
disconnect the device. The first 'msconn' works perfectly.
|
|
|
|
However, when attempting to re-connect, the second 'msconn'
|
|
|
|
command does not command properly: Windows reports an
|
|
|
|
unrecognized device. Apparently, some state is being properly
|
|
|
|
reset when the mass storage device is disconnected. Shouldn't
|
|
|
|
be hard to fix.
|
2012-03-19 18:56:15 +01:00
|
|
|
Status: Open
|
2012-06-03 22:05:44 +02:00
|
|
|
Priority: Medium
|
2012-03-19 18:56:15 +01:00
|
|
|
|
2012-06-06 23:51:03 +02:00
|
|
|
Title: POSSIBLE INTERRUPT CONTROL ISSUE
|
|
|
|
Description: There is a kludge in the file arch/mips/src/common/up_idle.c.
|
|
|
|
Basically, if there is nothing else going on in the IDLE loop,
|
|
|
|
you have to disable then re-enable interrupts. Logically nothing
|
|
|
|
changes, but if you don't do this interrupts will be be disabled
|
|
|
|
in the IDLE loop which is a very bad thing to happen.
|
|
|
|
|
|
|
|
Some odd behavior in the interrupt setup on the IDLE loop is
|
|
|
|
not really a big concern, but what I do not understand is if
|
|
|
|
this behavior is occurring on all threads after all context
|
|
|
|
switches: Are interrupts always disabled until re-enabled?
|
|
|
|
This requires some further investigation at some point; it
|
|
|
|
may be nothing but may also be a symptom of some changes
|
|
|
|
required to the interrupt return logic (perhaps some CP0
|
|
|
|
status hazard?)
|
|
|
|
Status: Open
|
|
|
|
Priority: Low. Puzzling and needs some investigation, but there there
|
|
|
|
is no known misbehavior.
|
|
|
|
|
2009-02-17 03:53:24 +01:00
|
|
|
o Hitachi/Renesas SH-1 (arch/sh/src/sh1)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2008-11-13 21:16:42 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SH-1 IS UNUSABLE
|
2008-11-13 21:16:42 +01:00
|
|
|
Description: There are instabilities that make the SH-1 port un-usable. The
|
|
|
|
nature of these is not understood; the behavior is that certain SH-1
|
|
|
|
instructions stop working as advertised. I have seen the following
|
|
|
|
examples:
|
|
|
|
|
|
|
|
412b jmp @r1 - Set a return address in PR, i.e., it behaved like
|
|
|
|
410b jsr @r1. Normally 412b works correctly, but in the failure
|
|
|
|
condition, it reliably set the PR.
|
|
|
|
69F6 mov.l @r15+,r9 - wrote the value of R1 to @r15+. This behavior
|
|
|
|
does not correspond to any known SH-1 instruction
|
|
|
|
|
|
|
|
This could be a silicon problem, some pipeline issue that is not
|
|
|
|
handled properly by the gcc 3.4.5 toolchain (which has very limit
|
|
|
|
SH-1 support to begin with), or perhaps with the CMON debugger. At
|
|
|
|
any rate, I have exhausted all of the energy that I am willing to put
|
|
|
|
into this cool old processor for the time being.
|
2012-04-27 18:20:32 +02:00
|
|
|
|
|
|
|
Update: This bug will probably never be addressed now. I just
|
|
|
|
cleaned house and my old SH-1 was one of the things that went.
|
|
|
|
|
2008-11-13 21:16:42 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low -- because the SH-1, SH7032, is very old and only of historical
|
|
|
|
interest.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
o Renesas M16C/26 (arch/sh/src/m16c)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2009-02-21 01:49:52 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: M16C DOES NOT BUILD
|
2013-07-23 22:47:16 +02:00
|
|
|
Description: The M16C target cannot be built. The GNU m16c-elf-ld link fails with
|
2009-02-21 01:49:52 +01:00
|
|
|
the following message:
|
|
|
|
|
|
|
|
m32c-elf-ld: BFD (GNU Binutils) 2.19 assertion fail /home/Owner/projects/nuttx/buildroot/toolchain_build_m32c/binutils-2.19/bfd/elf32-m32c.c:482
|
|
|
|
|
|
|
|
Where the reference line is:
|
|
|
|
|
|
|
|
/* If the symbol is out of range for a 16-bit address,
|
|
|
|
we must have allocated a plt entry. */
|
|
|
|
BFD_ASSERT (*plt_offset != (bfd_vma) -1);
|
|
|
|
|
|
|
|
No workaround is known at this time.
|
|
|
|
Status: Open
|
|
|
|
Priority: High -- this is a show stopper for M16C.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: M16C PORT UNTESTED
|
2009-02-17 03:53:24 +01:00
|
|
|
Description: Coding of the initial port is complete, but is untested.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: NO SERIAL CONNECTOR
|
2009-02-17 03:53:24 +01:00
|
|
|
Description: Serial drivers were developed for the M16C, however, the SKP16C26
|
2009-02-21 01:49:52 +01:00
|
|
|
StarterKit has no serial connectors.
|
2009-02-17 03:53:24 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: UNIMPLEMENTED M16C DRIVERS
|
2009-02-21 01:49:52 +01:00
|
|
|
Description: Should implement SPI, I2C, Virual EEPROM, FLASH, RTC drivers
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2013-01-24 00:11:13 +01:00
|
|
|
o z80/z8/ez80/z180 (arch/z80)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2007-12-31 00:34:20 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SDCC INTEGER OVERFLOWS
|
2009-12-13 19:01:46 +01:00
|
|
|
Description: The SDCC version the same problems with integer overflow during
|
2008-02-11 20:16:45 +01:00
|
|
|
compilation as described for pjrc-8051. At typical cause is code like
|
2009-12-13 19:01:46 +01:00
|
|
|
usleep(500*1000) which exceeds the range of a 16-bit integer.
|
|
|
|
Status: See pjrc-8051. These have probably been fixed but have not yet
|
|
|
|
been verified on these platforms.
|
2008-01-01 15:54:10 +01:00
|
|
|
Priority: See pjrc-8051
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: Z80 SIMULATED CONSOLE
|
2008-02-11 20:16:45 +01:00
|
|
|
Description: The simulated Z80 serial console (configs/z80sim/src/z80_serial.c +
|
2008-01-01 15:54:10 +01:00
|
|
|
driver/serial.c) does not work. This is because there are
|
|
|
|
no interrupts in the simulation so there is never any serial
|
|
|
|
traffic.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low -- the simulated console is not critical path and the designs
|
|
|
|
to solve the problem are complex.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: ZDS-II LIBRARIAN WARNINGS
|
2008-02-11 20:16:45 +01:00
|
|
|
Description: ZDS-II Librarian complains that the source for the .obj file
|
|
|
|
is not in the library.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low, thought to be cosmetic. I think this is a consequence of
|
|
|
|
replacing vs. inserting the library.
|
2008-02-17 01:23:49 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: ZDS-II COMPILER PROBLEMS
|
2008-02-12 15:37:55 +01:00
|
|
|
Description: The ZDS-II compiler (version 4.10.1) fails with an internal error
|
2013-03-08 19:29:56 +01:00
|
|
|
while compiling mm/mm_initialize.c. This has been reported as
|
2008-02-12 15:37:55 +01:00
|
|
|
incident 81509.
|
2008-02-13 15:19:16 +01:00
|
|
|
|
|
|
|
I have found the following workaround that I use to build for the
|
|
|
|
time being:
|
|
|
|
|
2011-03-09 04:41:34 +01:00
|
|
|
--- mm/mm_initialize.c.SAVE 2008-02-13 08:06:46.833857700 -0600
|
|
|
|
+++ mm/mm_initialize.c 2008-02-13 08:07:26.367608900 -0600
|
2008-02-13 15:19:16 +01:00
|
|
|
@@ -94,8 +94,11 @@
|
|
|
|
{
|
|
|
|
int i;
|
2008-02-17 01:23:49 +01:00
|
|
|
|
2008-02-13 15:19:16 +01:00
|
|
|
+#if 0 /* DO NOT CHECK IN */
|
|
|
|
CHECK_ALLOCNODE_SIZE;
|
|
|
|
CHECK_FREENODE_SIZE;
|
|
|
|
+#endif
|
2008-02-17 01:23:49 +01:00
|
|
|
|
2008-02-13 15:19:16 +01:00
|
|
|
/* Set up global variables */
|
2008-02-17 01:23:49 +01:00
|
|
|
|
2008-02-12 15:37:55 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: High
|
2007-12-31 00:34:20 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: EZ8 PRIORITY INTERRUPTS
|
2008-02-17 01:23:49 +01:00
|
|
|
Description: Add support for prioritized ez8 interrupts. Currently logic supports
|
|
|
|
only nominal interrupt priority.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: Z8ENCORE ONLY VERIFIED ON SIMULATOR
|
2008-03-09 15:49:22 +01:00
|
|
|
Description: The z8Encore! port has only been verified on the ZDS-II instruction
|
|
|
|
set simulator.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: XTRS CLEAN
|
2008-11-13 23:26:54 +01:00
|
|
|
Description: The XTRS target (configs/xtrs) has a clean problem. The clean
|
|
|
|
rule removes .asm files. This works because there are no .asm
|
|
|
|
files except in sub-directories that are provided from 'make clean' --
|
|
|
|
except for XTRS: It has a .asm file in its src/ directory that
|
2014-01-14 21:06:02 +01:00
|
|
|
gets removed every time clean is performd.
|
2008-11-13 23:26:54 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: High if you happen to be working with XTRS.
|
2008-09-01 22:35:41 +02:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SPI/I2C UNTESTED
|
2009-04-04 22:53:06 +02:00
|
|
|
Description: A "generic" SPI and I2C drivers have been coded for the eZ80Acclaim!
|
|
|
|
However, these remains untested since I have no SPI or I2C devices for
|
|
|
|
the board (yet).
|
|
|
|
Status: Open
|
|
|
|
Priority: Med
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SPI METHODS ARE NOT THREAD SAFE
|
2009-04-26 20:58:49 +02:00
|
|
|
Description: SPI methods are not thread safe. Needs a semaphore to protect from re-entrancy.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium -- Will be very high if you do SPI access from multiple threads.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: I2C UNTESTED
|
2009-04-04 22:53:06 +02:00
|
|
|
Description: A "generic" I2C driver has been coded for the eZ8Encore!
|
|
|
|
However, this remains untested since I have no I2C devices for
|
2009-03-29 22:34:58 +02:00
|
|
|
the board (yet).
|
|
|
|
Status: Open
|
|
|
|
Priority: Med
|
|
|
|
|
2013-01-24 00:11:13 +01:00
|
|
|
Title: UNFINISHED Z180 LOGIC NEEDED BY THE P112 BOARD
|
2014-01-14 21:06:02 +01:00
|
|
|
Description: 1) Need to revisit the start-up logic. Looking at the P112 Bios
|
2013-01-24 00:11:13 +01:00
|
|
|
(Bios.mcd), I see that quite of bit of register setup is done
|
|
|
|
there.
|
|
|
|
2) Finish ESCC driver logic.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low (at least until I get P112 hardware)
|
|
|
|
|
2008-01-23 23:11:59 +01:00
|
|
|
o z16 (arch/z16)
|
|
|
|
^^^^^^^^^^^^^^^^
|
2007-12-31 00:34:20 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: ZDS-II LIBRARIAN WARNINGS
|
2008-01-23 23:11:59 +01:00
|
|
|
Description: ZDS-II Librarian complains that the source for the .obj file
|
|
|
|
is not in the library.
|
|
|
|
Status: Open
|
2008-01-28 15:59:21 +01:00
|
|
|
Priority: Low, thought to be cosmetic. I think this is a consequence of
|
|
|
|
replacing vs. inserting the library.
|
2008-01-29 21:13:18 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: SYSTEM DELAYS
|
2008-01-31 23:19:53 +01:00
|
|
|
Description: The system delays do not appear to be correct with the
|
2011-03-20 19:18:19 +01:00
|
|
|
apps/examples/ostest/timedmqueue.c test.
|
2008-01-30 01:59:17 +01:00
|
|
|
Status: Open
|
2008-01-31 23:19:53 +01:00
|
|
|
Priority: Medium-High
|
2008-01-31 23:44:19 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: PROBLEMS WHEN DEBUG DISABLED
|
2008-01-31 23:44:19 +01:00
|
|
|
Description: At present, the z16f port does not run properly when CONFIG_DEBUG
|
2008-02-02 17:25:19 +01:00
|
|
|
is disabled: The obvious symptom is that there is no printf()
|
|
|
|
output. I have isolated with problem to errors in optimization.
|
|
|
|
With -reduceopt on the command line, I can get the printf output.
|
|
|
|
However, there are still errors in the compiled code -- specifically
|
|
|
|
in sched/timer_create.c.
|
2008-02-17 01:23:49 +01:00
|
|
|
|
2008-02-02 17:25:19 +01:00
|
|
|
I have submitted a bug report to ZiLOG for this (support incident
|
|
|
|
81400). You can see the status of the bug report (and lots more
|
|
|
|
technical detail) here:
|
|
|
|
http://support.zilog.com/support/incident/incident_support.asp?iIncidentId=81400&iSiteId=1&chLanguageCode=ENG
|
2008-02-17 01:23:49 +01:00
|
|
|
|
2008-02-12 15:37:55 +01:00
|
|
|
Summary of ZiLOG analysis: "This is a ZNEO compiler problem. ... [a] workaround
|
|
|
|
is to replace:
|
|
|
|
if ( !timerid || (clockid != 0) )
|
|
|
|
By:
|
|
|
|
if ((clockid != 0) || !timerid)"
|
2008-02-05 23:45:03 +01:00
|
|
|
|
|
|
|
Status: Open
|
2008-02-12 15:37:55 +01:00
|
|
|
Priority: Medium-High
|
2008-02-05 23:45:03 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: PASCAL ADD-ON
|
2008-02-07 01:41:05 +01:00
|
|
|
Description: The pascal add-on does not work with the z16f (that is
|
|
|
|
configuration z16f2800100zcog/pashello). This appears to be
|
|
|
|
another ZDS-II error: when executing the instruction
|
|
|
|
SYSIO 0, WRITESTR a large case statement is executed. This
|
|
|
|
involves a call into the ZiLOG runtime library to __uwcase().
|
|
|
|
__uwcase is passed a pointer to a structure containing jump
|
|
|
|
information. The cause of the failure appears to be that
|
|
|
|
the referenced switch data is bad.
|
2014-01-14 21:06:02 +01:00
|
|
|
This is submitted as ZiLOG support incident 81459.
|
2008-02-12 15:37:55 +01:00
|
|
|
|
|
|
|
Summary of ZiLOG analysis: "This is a ZNEO run time library problem.
|
|
|
|
One workaround is to replace the line 58 in uwcase.asm
|
|
|
|
|
|
|
|
From:
|
|
|
|
ADD R9,#4 ; Skip handler
|
|
|
|
To:
|
|
|
|
ADD R9,#2 ; Skip handler
|
|
|
|
|
|
|
|
And add uwcase.asm to the project.
|
|
|
|
|
|
|
|
If the customer does not want to modify uwcase.asm then the other
|
|
|
|
workaround is to add a dummy case and make it same as default:
|
|
|
|
|
|
|
|
case 0x8000:
|
|
|
|
default:
|
|
|
|
|
|
|
|
This will make sure that uwcase is not called but ulcase is called."
|
2008-02-12 21:35:38 +01:00
|
|
|
Status: Open. Due to licensing issues, I cannot include the modified
|
|
|
|
uwcase in the NuttX code base.
|
2008-02-07 01:41:05 +01:00
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: USE SPOV
|
2008-02-07 02:48:15 +01:00
|
|
|
Description: Add support to maintain SPOV in context switching. This
|
|
|
|
improvement will provide protection against stack overflow
|
|
|
|
and make a safer system solution.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: PRIORITIZED INTERRUPTS
|
2008-02-17 01:23:49 +01:00
|
|
|
Description: Add support for prioritized interrupts. Currently logic supports
|
|
|
|
only nominal interrupt priority.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: ZDS-II COMPILER PROBLEMS
|
2009-12-17 20:18:25 +01:00
|
|
|
Description: The file drivers/mmcsd/mmcsd_sdio.c generates an internal compiler
|
|
|
|
error like:
|
2013-07-23 22:47:16 +02:00
|
|
|
|
2009-12-17 20:18:25 +01:00
|
|
|
mmcsd\mmcsd_sdio.c
|
|
|
|
Internal Error(0503) On line 2504 of "MMCSD\MMCSD_SDIO.C"
|
|
|
|
File <c3>, Args(562,46)
|
|
|
|
|
2012-12-16 22:15:27 +01:00
|
|
|
Status: Open. Recommended workaround: remove mmcsd_sdio.c from
|
|
|
|
drivers/mmcsd/Make.defs. There is no SDIO support for the Z16 anyway
|
|
|
|
Priority: Low
|
|
|
|
|
|
|
|
Title: NATIVE BUILD PROBLEMS
|
|
|
|
Description: When last tested (ca.12/12), there were some missing .obj files in
|
|
|
|
arch/z16/src. A little additional TLC will be needed to get a
|
2014-01-14 21:06:02 +01:00
|
|
|
reliable Windows native build.
|
2012-12-16 22:15:27 +01:00
|
|
|
Status: Open
|
2014-01-02 14:53:27 +01:00
|
|
|
Priority: Low -- I don't think anyone uses the Z16 port with the native build.
|
2009-12-17 20:18:25 +01:00
|
|
|
|
2014-01-14 21:06:02 +01:00
|
|
|
Title: COMPILER BUG
|
|
|
|
Description: There is a bug in the ZDS II 5.0.1 compiler. It generates incorrect
|
|
|
|
code when calling through a function pointer if (1) the function
|
|
|
|
pointer is a field in a structure, and (2) the function pointer has
|
|
|
|
a variable number of arguments.
|
|
|
|
|
|
|
|
The exact name of the bug is this: Normally, when a function is
|
|
|
|
called, parameters are passed in registers. When calling a
|
|
|
|
function with a variable number of arguments, parameters must
|
|
|
|
instead be passed on the stack. In this failure case3, parameters
|
|
|
|
are erroneously passed in registers while the receive function
|
|
|
|
expects the parameters on the stack. This usually results in a
|
|
|
|
crash.
|
|
|
|
|
|
|
|
Unfortunately, NSH does have this exact kind of function call and
|
|
|
|
because of this compiler bug, NSH cannot be used with the ZNEO
|
|
|
|
Status: The bug has been reported to ZiLOG and they have reproduced the
|
|
|
|
problem. There is, however, no schedule for correction of the bug.
|
|
|
|
Priority: High if you are using ZNEO
|
|
|
|
|
2009-12-13 19:01:46 +01:00
|
|
|
o mc68hc1x (arch/hc)
|
|
|
|
^^^^^^^^^^^^^^^^^^
|
2009-12-18 23:36:24 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: BANKED MODE
|
2009-12-18 23:36:24 +01:00
|
|
|
Description: There is no script for building in banked mode (more correctly, there
|
|
|
|
is a script, but logic inside the script has not yet been implemented).
|
|
|
|
It would be necessary to implement banked mode to able to access more
|
2012-08-08 01:51:47 +02:00
|
|
|
the 48K of FLASH.
|
2009-12-18 23:36:24 +01:00
|
|
|
Status: Open.
|
2011-03-19 22:04:13 +01:00
|
|
|
Priority: Medium/Low
|
|
|
|
|
|
|
|
o Network Utilities (apps/netutils/)
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: UIP RESOLVER
|
2011-03-19 22:04:13 +01:00
|
|
|
Description: One critical part of netutils/ apps is untested: The uIP
|
|
|
|
resolver in netutils/resolv. The webclient code has been
|
|
|
|
tested on host using gethosbyname(), but still depends on the
|
|
|
|
untested resolve logic.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium, Important but not core NuttX functionality
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: PPP PORT
|
2011-03-19 22:04:13 +01:00
|
|
|
Description: Port PPP support from http://contiki.cvs.sourceforge.net/contiki/contiki-2.x/backyard/core/net/ppp/
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: UNVERIFIED THTTPD FEATURES
|
2011-03-19 22:04:13 +01:00
|
|
|
Description: Not all THTTPD features/options have been verified. In particular, there is no
|
|
|
|
test case of a CGI program receiving POST input. Only the configuration of
|
2011-03-20 19:18:19 +01:00
|
|
|
apps/examples/thttpd has been tested.
|
2011-03-19 22:04:13 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: THE ARP ISSUES AGAIN
|
2011-03-19 22:04:13 +01:00
|
|
|
Description: The first GET received by THTTPD is not responded to. Refreshing the page
|
2013-07-23 22:47:16 +02:00
|
|
|
from the browser solves the problem and THTTPD works fine after thatg. I
|
2011-03-19 22:04:13 +01:00
|
|
|
believe that this is the duplicate of another bug: "Outgoing [uIP] packets are dropped
|
|
|
|
and overwritten by ARP packets if the destination IP has not been mapped to a MAC."
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: THTTPD WARNINGS
|
2011-03-19 22:04:13 +01:00
|
|
|
Description: If the network is enabled, but THTTPD is not configured, it spews out lots
|
|
|
|
of pointless warnings. This is kind of annoying and unprofessional; needs to
|
|
|
|
be fixed someday.
|
|
|
|
Status: Open. An annoyance, but not a real problem.
|
|
|
|
Priority: Low
|
|
|
|
|
|
|
|
o NuttShell (NSH) (apps/nshlib)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: WGET UNTESTED
|
2011-03-19 22:04:13 +01:00
|
|
|
Description: The wget command has been incorporated into NSH, however
|
|
|
|
it is still untested as of this writing (only because I
|
|
|
|
have not had the correct network setup for the testing
|
|
|
|
yet). Since wget depends on the also untest uIP resolv/
|
|
|
|
logic, it is like non-functional.
|
|
|
|
Status: Open
|
|
|
|
Priority: Med-High
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: IFCONFIG AND MULTIPLE NETWORK INTERFACES
|
2011-06-15 18:09:23 +02:00
|
|
|
Descripton: The ifconfig command will not behave correctly if an interface
|
2011-05-28 23:42:18 +02:00
|
|
|
is provided and there are multiple interfaces. It should only
|
|
|
|
show status for the single interface on the command line; it will
|
|
|
|
still show status for all interfaces.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low (multiple network interfaces not fully supported yet anyway).
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: RUN NXFLAT PROGRAMS
|
2011-03-19 22:04:13 +01:00
|
|
|
Description: Add support to NSH to run NXFLAT programs from a ROMFS file system
|
|
|
|
Status: Open
|
|
|
|
Priority: Low (enhancement)
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: ARP COMMAND
|
2011-03-19 22:04:13 +01:00
|
|
|
Description: Add an ARP command so that we can see the contents of the ARP table.
|
|
|
|
Status: Open
|
|
|
|
Priority: Low (enhancement)
|
|
|
|
|
2012-02-01 20:07:57 +01:00
|
|
|
o System libraries apps/system (apps/system)
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Title: READLINE IMPLEMENTATION
|
|
|
|
Description: readline implementation does not use C-buffered I/O, but rather
|
|
|
|
talks to serial driver directly via read(). It includes VT-100
|
|
|
|
specific editting commands. A more generic readline() should be
|
2012-08-05 00:00:18 +02:00
|
|
|
implemented using termios' tcsetattr() to put the serial driver
|
|
|
|
into a "raw" mode.
|
2012-02-01 20:07:57 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Low (unless you are using mixed C-buffered I/O with readline and
|
|
|
|
fgetc, for example).
|
|
|
|
|
2011-03-20 19:18:19 +01:00
|
|
|
o Other Applications & Tests (apps/examples/)
|
2012-02-01 20:07:57 +01:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2011-03-20 19:18:19 +01:00
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: EXAMPLES/PIPE ON CYGWIN
|
2011-03-20 19:18:19 +01:00
|
|
|
Description: The redirection test (part of examples/pipe) terminates
|
|
|
|
incorrectly on the Cywgin-based simulation platform (but works
|
|
|
|
fine on the Linux-based simulation platform).
|
|
|
|
Status: Open
|
|
|
|
Priority: Low
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: EXAMPLES/WGET UNTESTED
|
2011-03-20 19:18:19 +01:00
|
|
|
Description: examples/wget is untested on the target (it has been tested
|
|
|
|
on the host, but not in the target using the uIP resolv logic).
|
|
|
|
Status: Open
|
|
|
|
Priority: Med
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: EXAMPLES/SENDMAIL UNTESTED
|
2011-03-20 19:18:19 +01:00
|
|
|
Description: examples/sendmail is untested on the target (it has been tested
|
2012-08-05 00:00:18 +02:00
|
|
|
on the host, but not on the target).
|
2011-03-20 19:18:19 +01:00
|
|
|
Status: Open
|
|
|
|
Priority: Med
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: EXAMPLES/NX FONT CACHING
|
2011-07-09 14:53:12 +02:00
|
|
|
Description: The font caching logic in examples/nx is incomplete. Fonts are
|
|
|
|
added to the cache, but never removed. When the cache is full
|
|
|
|
it stops rendering. This is not a problem for the examples/nx
|
|
|
|
code because it uses so few fonts, but if the logic were
|
|
|
|
leveraged for more general purposes, it would be a problem.
|
2011-07-09 18:01:00 +02:00
|
|
|
Update: see examples/nxtext for some improved font cache handling.
|
2011-07-09 14:53:12 +02:00
|
|
|
Status: Open
|
|
|
|
Priority: Low. This is not really a problem becauses examples/nx works
|
|
|
|
fine with its bogus font caching.
|
|
|
|
|
2011-12-18 14:53:58 +01:00
|
|
|
Title: EXAMPLES/NXTEXT ARTIFACTS
|
2011-07-24 14:36:21 +02:00
|
|
|
Description: examples/nxtext. Artifacts when the pop-up window is opened.
|
|
|
|
There are some artifacts that appear in the upper left hand
|
|
|
|
corner. These seems to be related to window creation. At
|
|
|
|
tiny artifact would not be surprising (the initial window
|
|
|
|
should like at (0,0) and be of size (1,1)), but sometimes
|
|
|
|
the artifact is larger.
|
|
|
|
Status: Open
|
|
|
|
Priority: Medium.
|