Forum Discussion
Altera_Forum
Honored Contributor
21 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)...
Altera_Forum
Honored Contributor
21 years agoKen,
I don't think my problem is with my rc file, but by all means take a look at it. I think my problem is with the JTAG UART. At this point, I'm not really sure. I can log into my system through the ethernet port and all works just fine. My problem seems to be the console, you can see the garbage I get out below. Sometimes it is worse, usually not better. Often when I log in through the console, I get Login Incorrect. When I am able to log in, I usually get booted out within 20 or 30 seconds. If I use the IDE to load my new kernel, I get an "m_state == STATE_DEBUG" error, usually before I get 25% of the code downloaded (it comes in at random times). Doug # !/bin/sh# # system startup. # set up the hostname /bin/hostname Nios2 # expand and mount the ramdisk /bin/expand /ramfs.img /dev/ram0 /bin/mount -t ext2 /dev/ram0 /var -n /bin/expand /ramfs.img /dev/ram1 /bin/mount -t ext2 /dev/ram1 /tmp -n # mount proc file system /bin/mount -t proc proc /proc -n # mount sysfs /bin/mount -t sysfs sysfs /sys -n # manually assign ip address (uncomment and edit as appropriate)# note: first ifattach (no args) sets local loopback# /bin/ifattach /bin/ifattach --addr 129.57.93.54 --mask 255.255.252.0 --net 129.57.92.0 --gw 129.57.92.1 --if eth0 # try and get ip address automatically...# /bin/mkdir /var/dhcpc# /bin/dhcpcd -NRY & # start up the internet superserver /bin/inetd & # start up the web server /bin/boa & # mount Linux server:# (uncomment and edit as appropriate)# /bin/mount -t nfs 192.168.1.30:/home /mnt/nfs -n -o nolock # mount master ide disk partition(s):# (uncomment and edit as appropriate)# /bin/mount /dev/hda1 /mnt/ide0 -n # that's it... success exit 0