This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: [ECOS] printf does not work in user mode on Arm E7T
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Thomas BINDER <Thomas dot Binder at frequentis dot com>
- Cc: Andrew Lunn <andrew dot lunn at ascom dot ch>,Pierre Habraken <Pierre dot Habraken at imag dot fr>, newlib at sources dot redhat dot com,ecos-discuss at sources dot redhat dot com
- Date: Wed, 26 Mar 2003 16:43:05 +0000
- Subject: Re: [ECOS] printf does not work in user mode on Arm E7T
- References: <3E8162A7.57292D43@imag.fr> <20030326082037.GH18256@biferten.ma.tech.ascom.ch> <3E8186E5.2639E940@frequentis.com>
Thomas BINDER wrote:
Hi!
My guess is that you have thread safety (option CYGSEM_LIBC_STDIO_THREAD_SAFE_STREAMS) enabled, in which case printf, sprintf, fprintf use a Cyg_Mutex object for synchronization (via Cyg_StdioStream, c.f. http://sources.redhat.com/ml/ecos-discuss/2003-03/msg00194.html). Have you set up your MMU such that access to kernel objects is not allowed in user mode?
He said he was using newlib libc, not eCos libc. This isn't an eCos
application - the relevant bit is the use of RedBoot only.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine