Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Bummer, can't open /dev/tty1

Altera_Forum
Honored Contributor II
1,156 Views

Hi all 

Thanks for hippo, I have successfully built the nios2 cross compile tool chain on Fedora core 4. 

But I get some trouble in booting the kernel. 

The following is the error message 

Linux NoNET1.0 for Linux 2.6 Serial: JTAG UART driver $Revision:Uncompressing Linux... Ok, booting the kernel. Linux version 2.6.11-uc0 (warrior@OFDM) (gcc version 3.4.6)# 14 Wed May 3 15:47:31 CST 2006 uClinux/Nios II Altera Nios II support (C) 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: PID hash table entries: 128 (order: 7, 2048 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory available: 14532k/16384k RAM, 0k/0k ROM (806k kernel code, 851k data) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Linux NoNET1.0 for Linux 2.6 Serial: JTAG UART driver $Revision: 1.4 $ ttyJ0 at MMIO 0x821208d0 (irq = 1) is a jtag_uart io scheduler noop registered io scheduler deadline registered RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize mice: PS/2 mouse device common for all mice Freeing unused kernel memory: 768k freed (0x10d4000 - 0x1193000) init started:  BusyBox v1.1.2 (2006.05.03-00:14+0000) multi-call binary BINFMT_FLAT: Loading file: /etc/init.d/S20urandom Initializing random number generator... done. BINFMT_FLAT: Loading file: /etc/init.d/S40network syntax error Bummer, can't open /dev/tty1 Bummer, can't open /dev/tty2 Bummer, can't open /dev/tty3 Bummer, can't open /dev/tty1 Bummer, can't open /dev/tty2 Bummer, can't open /dev/tty3 

 

I need help.  

Thanks.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
409 Views

 

--- Quote Start ---  

originally posted by warrior@May 3 2006, 04:27 PM 

hi all 

thanks for hippo, i have successfully built the nios2 cross compile tool chain on fedora core 4. 

but i get some trouble in booting the kernel. 

the following is the error message 

linux nonet1.0 for linux 2.6 serial: jtag uart driver $revision:uncompressing linux... ok, booting the kernel. linux version 2.6.11-uc0 (warrior@ofdm) (gcc version 3.4.6)# 14 wed may 3 15:47:31 cst 2006 uclinux/nios ii altera nios ii support (c) 2004 microtronix datacom ltd. built 1 zonelists kernel command line: pid hash table entries: 128 (order: 7, 2048 bytes) dentry cache hash table entries: 4096 (order: 2, 16384 bytes) inode-cache hash table entries: 2048 (order: 1, 8192 bytes) memory available: 14532k/16384k ram, 0k/0k rom (806k kernel code, 851k data) mount-cache hash table entries: 512 (order: 0, 4096 bytes) linux nonet1.0 for linux 2.6 serial: jtag uart driver $revision: 1.4 $ ttyj0 at mmio 0x821208d0 (irq = 1) is a jtag_uart io scheduler noop registered io scheduler deadline registered ramdisk driver initialized: 16 ram disks of 4096k size 1024 blocksize mice: ps/2 mouse device common for all mice freeing unused kernel memory: 768k freed (0x10d4000 - 0x1193000) init started:  busybox v1.1.2 (2006.05.03-00:14+0000) multi-call binary binfmt_flat: loading file: /etc/init.d/s20urandom initializing random number generator... done. binfmt_flat: loading file: /etc/init.d/s40network syntax error bummer, can't open /dev/tty1 bummer, can't open /dev/tty2 bummer, can't open /dev/tty3 bummer, can't open /dev/tty1 bummer, can't open /dev/tty2 bummer, can't open /dev/tty3 

 

i need help.  

thanks. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14985)</div> 

--- Quote End ---  

 

You are very close to success. 

Use the minimal inittab, 

 

cp ~/download/inittab ~/rootfs/etc 

cd ~/linux-2.6.x 

rm usr/initramfs_list 

make ..... zImage
0 Kudos
Altera_Forum
Honored Contributor II
409 Views

Yes! I success. 

Thank you, hippo http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
0 Kudos
Reply