From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Kuehn Date: Wed, 17 Dec 2008 09:26:10 +0100 Subject: [Buildroot] fopen fails due to subsequent ioctl call Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Good Morning! (to whome it may concern) Anyway, I try to integrate openocd (svn:1248) into buildroot (svn:24436) with uClibc-0.9.30 for an at91sam9263 box. strace outputs this and finally hangs: ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbee45080) = -1 ENOTTY (Inappropriate ioctl for device) brk(0xe7000) = 0xe7000 close(3) = 0 open("jtagA9263.cfg", O_RDONLY) = 3 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbee45774) = -1 ENOTTY (Inappropriate ioctl for device) brk(0xe8000) = 0xe8000 read(3, "#################################"..., 1024) = 1024 read(3, "t_delay 20\njtag_ntrst_delay 20\n\n\n"..., 1024) = 1024 read(3, "\tmww 0xFFFFFC28 0x2018BF02 # CK"..., 1024) = 1024 read(3, "size> \n## MIPS: Meaningless Indicator of Processor Speed.