Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

can't see the information when uclinux start

when i start the uclinux,the iformation is:

Welcome To Altera SOPC Builder

Version 4.10, Built Wed Apr 7 10:42:15 PDT 2004

------------------------------------------------

------------------------------------------------

Welcome to the Nios II Development Kit

Version 1.0, Built Tue Apr 27 22:05:27 PDT 2004

Example designs can be found in

/cygdrive/d/altera/kits/nios2/examples

------------------------------------------------

(Executing user startup script: d:/altera/kits/nios2/user.bashrc)

------------------------------------------------

Microtronix Linux Extensions

Version 1.2, Built Wed Jul 27 3:46pm EST 2004

------------------------------------------------

------------------------------------------------

Welcome To Nios Development Kit

Version 3.10, Built Fri Aug 8 11:39:01 PDT 2003

Example designs can be found in

/cygdrive/d/altera/kits/nios/examples

------------------------------------------------

(You may add a startup script: d:/altera/kits/nios/user.bashrc)

/cygdrive/d/altera/kits/nios2/examples

[SOPC Builder]$ nios2-terminal

nios2-terminal: connected to hardware target using JTAG UART on cable

nios2-terminal: "ByteBlasterII [LPT1]", device 1, instance 0

nios2-terminal: Warning: The JTAG cable you are using is not supported for Nios

nios2-terminal: II systems. You may experience intermittent JTAG communication

nios2-terminal: failures with this cable. Please use a USB Blaster revision B

nios2-terminal: cable or another supported cable. Please refer to the file

nios2-terminal: errata.txt included in the Nios II development kit documents

nios2-terminal: directory for more information.

nios2-terminal: starting in terminal mode only (Control-C exits)

/etc/issue www.microtronix.com July 2004

Welcome to Linux on the Nios II

Nios2 login:

please tell me how to configure the kernel so that i can see the information like that:

Linux version 2.6.9-uc0 (skut@skut-xp2) (gcc version 3.4.1 (Altera Nios II 1.1

b137))# 5 Wed Mar 9 12:02:52 JST 2005

uClinux/Nios II

Altera Nios II support © 2004 Microtronix Datacom Ltd.

Built 1 zonelists

Kernel command line: root=/dev/mtdblock0 ro

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: 14336k/16384k RAM, 0k/0k ROM (1548k kernel code, 309k data)

Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

NET: Registered protocol family 16 request

NIOS serial driver version 0.0 1.2 MBving up.

ttyS0 (irq = 4) is a builtin NIOS UARToad Address: 00000000

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksizeing Checksum ... Bad Data CRC

smc_probe: 50000 Khz Nios

12872

Using anticipatory io scheduler

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 4 MTD partitions on "Altera NDK flash (AMD)":

0x00200000-0x00600000 : "romfs/jffs2"

0x00000000-0x00200000 : "loader/kernel"

0x00600000-0x00700000 : "User configuration"

0x00700000-0x00800000 : "safe configuration"

NET: Registered protocol family 2

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 1024 bind 2048)

NET: Registered protocol family 1

NET: Registered protocol family 17

VFS: Mounted root (romfs filesystem) readonly.

Freeing unused kernel memory: 48k freed (0x11b2000 - 0x11bd000)

expand: from=/ramfs.img to=/dev/ram0

expand: from=/ramfs.img to=/dev/ram1

thanks!!!!

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm not really the Linux guy here, but I think these are the kernel configuration options:

    Device Drivers --->
      Character devices --->
        Serial Drivers --->
           <*> Altera JTAG UART support
                 Support for console on Altera JTAG UART

    If you have Nios serial support selected (on the same settings page) make sure that "Support for console on Nios UART" is not selected. You should have only one device selected as the kernel console, this is where the kernel prints out its messages (boot messages, etc).

    Dennis Scott

    Microtronix Datacom Ltd.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    it`s ok ! thank you very much!!! serial has 4 choice , i ticked 1 3 4 .