Altera_Forum
Honored Contributor
20 years agoJTAG UART error?
I'm wondering if my problem is with the JTAG device?
In my post from the 24th, I removed all of my network stuff (from the kernel and hardware). System changes that I have made are 1) increased I/D cache 2) removed my on-chip memory (using EP2C35 FPGA, so not a lot of spare internal memory) 3) put my network stuff back in. My system now makes it to the log-in; however, I still usually get login incorrect, or I can only hang out in the terminal for a short period of time before I end up back at the login prompt. I updated my rc file to set my IP address during boot up. I can telnet into my system without any problems, ping it, hang out in the terminal as long as I want, and the web server stays on-line as well. Since I can remotely login without any problems, I tend to think my problem is with the JTAG interface. I tried to increasing my jtag_uart buffer sizes, irq thresholds, and the irq value as well. Increasing the thresholds only seem to make the problem worse, and changing the irq value did not seem to have any effect at all, and the buffer size didn't seem to make any changes either. Here is a copy of what I see now. setup_arch: No persistant network settings signature at 00FF0000 Built 1 zonelists Kernel command line: root=/dev/mtdblock0 ro PID hash table entries: 1024 (order: 10, 16384 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory available: 128000k/131072k RAM, 0k/0k ROM (1420k kernel code, 289k data) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) NET: Registered protocol family 16 Serial: JTAG UART driver $Revision: 1.4 $ ttyJ0 at MMIO 0x80000860 (irq = 7) is a jtag_uart io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize smc_probe: 75000 Khz Nios SMSC LAN91C111 Driver (v2.1), (Linux Kernel 2.6) eth0: SMC91C11xFD(rev:1) at 0x8001030ÿ IRQ:3 MEMSIZE:8192b NOWAIT:0 ADDR: 00:07:ed:00:00:00 smc_probe: 75000 Khz Nios Altera NDK flash (AMD): Found 1 x8 devices at 0x0 in 8-bit bank Amd/Fujitsu Extended Query Table at 0x0040 Altera NDK flash (AMD): CFI does not contain boot bank location. Assuming top. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. cmdlinepart partition parsing not available RedBoot partition parsing not available Using Altera NDK partition definition Creating 2 MTD partitions on "Altera NDK flash (AMD)": 0x00200000-0x00600000 : "romfs/jffs2" 0x00000000-0x00200000 : "loader/kernel" NET: Registered protocol family 2 IP: routing cache hash table of TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) NET: Registered protocol family 1 NET: Registered protocol family 17 VFS: Mounted root (romfs filesystem) readonly. Freeing unused kernel memory: 60k freed (0x818c000 - 0x819a000) ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^ ^@^@^@^@^@^@^@^@expand: from=/ramfs.img to=/dev/ram0 expand: from=/ramfs.img to=/dev/ram1 eth0:PHY 100BaseT eth0:PHY Full Duplex ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^ /etc/issue www.microtronix.com June 2005 Welcome to Linux on the Nios II Nios2 login: Doug