2010-10-03 07:10:41     adeos/xenomai hangs

Document created by Aaronwu Employee on Aug 23, 2013
Version 1Show Document
  • View in full screen mode

2010-10-03 07:10:41     adeos/xenomai hangs

Javier Herrero (SPAIN)

Message: 94156   

 

Hello,

 

I'm testing 2010R1-RC1 downloaded from svn tag on our BF532-based H8606 board, and when trying to build with Xenomai, it builds ok but uClinux hangs on startup. I've compiled it with all the settings as default. Any ideas where to start looking? Below is the startup sequence.

 

Thanks! Best regards,

 

Javier

 

## Booting image at 01000000 ...

   Image Name:   bf533-2.6.34.7-ADI-2010R1

   Created:      2010-10-03  11:01:09 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    1163505 Bytes =  1.1 MB

   Load Address: 00001000

   Entry Point:  0020c9cc

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 20c9cc

Linux version 2.6.34.7-ADI-2010R1 (javier@VenusShine.hvsistemas.es) (gcc version 4.1.2 (ADI svn)) #20 Sun Oct 3 13:01:04 CEST 2010

register early platform devices

Board Memory: 32MB

Kernel Managed Memory: 32MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x00169e98

  rodata    = 0x00169e98-0x001d394c

  bss       = 0x001d4000-0x001f7e60

  data      = 0x001f7e60-0x0020a000

    stack   = 0x00208000-0x0020a000

  init      = 0x0020a000-0x00220000

  available = 0x00220000-0x01f00000

  DMA Zone  = 0x01f00000-0x02000000

Hardware Trace Active and Enabled

Boot Mode: 6

Blackfin support (C) 2004-2010 Analog Devices, Inc.

Compiled for ADSP-BF532 Rev 0.5

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 400 MHz core clock and 133 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

Data Cache Enabled for CPU0

  External memory: cacheable (write-back) in data cache

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 7874

Kernel command line: root=/dev/mtdblock3 rw rootfstype=jffs2 console=ttyBF0,115200 ip=192.168.0.220:192.168.0.34:192.168.0.1:255.255.255.0:HVSistemas_H8606:eth0:off

PID hash table entries: 128 (order: -3, 512 bytes)

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

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

Memory available: 29280k/32768k RAM, (88k init code, 1443k kernel code, 641k data, 1024k dma, 292k reserved)

Hierarchical RCU implementation.

RCU-based detection of stalled CPUs is enabled.

NR_IRQS:81

Configuring Blackfin Priority Driven Interrupts

I-pipe 1.14-02: pipeline enabled.

console [ttyBF0] enabled

Calibrating delay loop... 794.62 BogoMIPS (lpj=1589248)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Instruction SRAM: 32 KB (20 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

HV Sistemas H8606 board support by   www.hvsistemas.com

H8606_init(): registering device resources

bio: create slab <bio-0> at 0

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@5

Switching to clocksource bfin_cs_cycles

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 1024 (order: 1, 8192 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 1024 bind 1024)

TCP reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

I-pipe: Domain Xenomai registered.

Xenomai: hal/blackfin started.

Xenomai: scheduling class idle registered.

Xenomai: scheduling class rt registered.

Xenomai: real-time nucleus v2.5.3 (Hordes Of Locusts) loaded.

Xenomai: starting native API services.

Xenomai: starting POSIX services.

Xenomai: starting RTDM services.

JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

msgmni has been set to 57

Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

io scheduler noop registered

io scheduler cfq registered (default)

bfin_sport: registered sport0

bfin_sport: registered sport1

Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART

brd: module loaded

m25p80 spi0.2: m25p64 (8192 Kbytes)

Creating 4 MTD partitions on "m25p80":

0x000000000000-0x000000040000 : "bootloader (spi)"

0x000000040000-0x000000070000 : "fpga (spi)"

0x000000070000-0x0000001c0000 : "linux kernel (spi)"

0x0000001c0000-0x000000800000 : "jffs2 root file system (spi)"

dm9000 Ethernet Driver, V1.31

eth0: dm9000a at 20300000,20300004 IRQ 43 MAC: ca:fe:99:99:99:99 (chip)

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-04 01:40:38 UTC (265238)

eth0: link down

 

 

From this point, no more messages in console, although eth0 seems up (link LED is on), but not responsive to pings.

QuoteReplyEditDelete

 

 

2010-10-09 06:20:08     Re: adeos/xenomai hangs

Sonic Zhang (CHINA)

Message: 94356   

 

Did you update the uboot  to 2010R1 as well? And toolchain?

QuoteReplyEditDelete

 

 

2010-10-09 07:41:38     Re: adeos/xenomai hangs

Aaron Wu (CHINA)

Message: 94358   

 

I tried on my side with a BF533 EZKIT board and it's working fine. I do not have a 532 board on hand and 533 are 532 are quite similar to each other. My Linux version is 2010R1 and the uboot is pretty old 2009R1-rc3.  May you double check. Without xenomai in your case it's working fine?

Attachments

    Outcomes