- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been trying to get a RS232 console to work for a couple of days now. The kernel I have works great, but I can only use USB-Blaster as terminal. I though it would be as simple as enabling the "Support for console on Nios UART" in the Device Driver -> Character Dev -> Serial Drivers. When I select this, the kernel will build properly, but neither the USB-Blaster or the RS232 dumb terminal worked. Any help would be appreciated.
Thanks, rppolicyLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by rppolicy@Oct 27 2006, 03:18 PM i have been trying to get a rs232 console to work for a couple of days now. the kernel i have works great, but i can only use usb-blaster as terminal. i though it would be as simple as enabling the "support for console on nios uart" in the device driver -> character dev -> serial drivers. when i select this, the kernel will build properly, but neither the usb-blaster or the rs232 dumb terminal worked. any help would be appreciated.
thanks,
rppolicy
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18958)
--- quote end ---
--- Quote End --- Hi, u have to do another configuration : in your file system, edit /etc/inittab and : --> comment line begining by ttyJ0 --> uncomment line begining by ttyS0 your file should look like the following :
# inittab for uClinux# Format:# ttyline:termcap-entry:getty-command
ttyS0:vt100:/bin/agetty 115200 ttyS0# ttyS1:vt100:/bin/agetty 115200 ttyS1# ttyJ0:vt100:/bin/agetty 115200 ttyJ0
Regards. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! Only one problem... I don't have "inittab" anywhere on the file system. Could this be why I can't inlcude "init" in my file system? How can I get the builder to make one or where can I get a template?
Thanks,- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by rppolicy@Oct 28 2006, 02:24 AM thanks! only one problem... i don't have "inittab" anywhere on the file system. could this be why i can't inlcude "init" in my file system? how can i get the builder to make one or where can i get a template?
thanks,
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18965)
--- quote end ---
--- Quote End --- Relax. Life is easier on Linux. Throw the Microtronix's uClinux guide away. Take some time browing the nios wiki for uClinux. And try out the pre-build image.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page