Forum Discussion

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

spi write/read time out

to what occurrence of these lines can be connected at loading a nucleus?

whether there was a similar situation at someone else?

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

Linux version 2.6.11-uc0 (SFx@lab1p4) (gcc version 3.4.1 (Altera Nios II 5.0 b73))# 5 Thu Aug 25 14:07:58 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)

spi_write time out

spi_read write address time out

spi_read write address time out

spi_read write address time out

spi_read write address time out

spi_read write address time out

spi_read write address time out

Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Memory available: 14740k/16384k RAM, 0k/0k ROM (1196k kernel code, 255k data)

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

Linux NoNET1.0 for Linux 2.6

SPI: Nios SPI bus device version 0.1

NIOS serial driver version 0.0

ttyS0 (irq = 4) is a builtin NIOS UART

Serial: JTAG UART driver $Revision: 1.4 $

ttyJ0 at MMIO 0x80920820 (irq = 1) 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

Microtronix map: Found 1 x16 devices at 0x0 in 16-bit bank

Amd/Fujitsu Extended Query Table at 0x0040

Microtronix map: 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

Searching for RedBoot partition table in Microtronix map at offset 0x7f0000

No RedBoot partition table detected in Microtronix map

Using Microtronix development partition definition

Creating 4 MTD partitions on "Microtronix map":

0x00200000-0x00700000 : "romfs"

0x00000000-0x00200000 : "loader/kernel"

0x00500000-0x00580000 : "usersapace"

0x00580000-0x00600000 : "other"

blkmtd: version $Revision: 1.5 $

blkmtd: error: missing `device' name

block2mtd: version $Revision: 1.1.1.1 $

VFS: Mounted root (romfs filesystem) readonly.

Freeing unused kernel memory: 52k freed (0x114a000 - 0x1156000)

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

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

SIOCSIFADDR=-1: 9

SIOCGIFFLAGS = -1: Bad file descriptor (9)

SIOCADDRT=-1: 9

/bin/inetd: not found

/bin/boa: not found

/etc/issue www.microtronix.com June 2005

Welcome to Linux on the Nios II

Nios2 login:

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

if such lines appear that spi interface does not work in uclinux.

thanks for the help!

1 Reply

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

    Please check the hardware first,

    is the SPI device fall to work or the lines of SPI not connected properly.