- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I've got a problem on my board. Whereas I selected in Device Drivers-> Character devices -> Serial drivers : [*] Bypass output when no connection My uClinux freeze after 5 minutes of perfectly running. When I plug the JTAG and do a " nios2-terminal " on my computer, all the " dmesg " is printed on the console and the uClinux comes backs to life. It looks like a fifo full and as soon as I empty the the fifo everything is fine. Does anybody got an idea ? Thanks in advance.Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I didn't found what to do ...
Does anybody can help me. Nobody got this problem ? Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
JTAG serial ports having this type of problems. xilinx does the same without linux also. the option "Bypass output when no connection" should actually solve this problem, I do not know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you neolux.
Does a Guru have solution for my problem ? Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just ran into this problem too. It works most of the time, when only the normal boot messages get printed to the console. But if something happens that prints out a lot of messages, such as the OOM killer, Linux hangs until I connect with a nios2-terminal. I'm looking through the altera_jtaguart source to try to track down the problem, but any help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please tell me what solution did you found to solve this problem !
Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nobody has an idea ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello guys,
i had this problem either but without using uCLinux. The same problem appears when using the µC/OS-II operating system. There the problem lies within the altera hal. I could fix it, using the following defines symbols (for the preprocessor): ALTERA_AVALON_JTAG_UART_BUF_LEN=8192 This increases the buffer. And within the source-code i used this ioctl to setup the non-blocking mode: fcntl(STDOUT_FILENO, F_SETFL, O_NONBLOCK); fcntl(STDERR_FILENO, F_SETFL, O_NONBLOCK); I don't know if this sollution can be ported to uCLinux?!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was running into this problem with JTAG, and Linux wouldn't boot from flash without a console, so I am now using a netconsole to work around the problems.
menuconfig > Device Driver > Network Device Support > Network console logging support see linux-2.6/Documentation/networking/netconsole.txt- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
nice I will check !
Thanks ykozlov- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page