AnsweredAssumed Answered

BF609_MCAPI_msg_thread_i_V20130729: applet not found

Question asked by alen on Aug 2, 2013
Latest reply on Aug 2, 2013 by alen

Hi, ADI's experts

     Recently, I'm learnning dual-core communication about bf609-EZboard, Core A running linux, and Core B running bare mental core. I have compiled the code to run Core A and Core B, I can load the .dxe to Core B using "icc_loader",but when I run the other code on Core A side, A error appear. I need your help !

     I paste my boot info and error log.


root:/> dmesg

Linux version 3.5.7-ADI-2012R2 (root@louie) (gcc version 4.3.5 (ADI-2012R2-RC2) ) #24 Fri Aug 2 10:54:59 CST 2013

register early platform devices

bootconsole [early_shadow0] enabled

ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0

Board Memory: 128MB

Kernel Managed Memory: 124MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x00194738

  rodata    = 0x0019475c-0x0021744c

  bss       = 0x00218000-0x0022accc

  data      = 0x0022ace0-0x0024e000

    stack   = 0x0024c000-0x0024e000

  init      = 0x0024e000-0x00b48000

  available = 0x00b48000-0x07800000

  DMA Zone  = 0x07800000-0x07c00000

Hardware Trace active and enabled

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

Compiled for ADSP-BF609 Rev 0.0

Blackfin Linux support by

Processor Speed: 500 MHz core clock, 125 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1 and 250 MHz DCLK

boot memmap: 0000000000b48000 - 0000000007800000 (usable)

On node 0 totalpages: 30720

free_area_init_node: node 0, pgdat 0024a610, node_mem_map 00b4a000

  DMA zone: 240 pages used for memmap

  DMA zone: 0 pages reserved

  DMA zone: 30480 pages, LIFO batch:0

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

  External memory: cacheable in instruction cache

  L2 SRAM        : uncacheable in instruction cache

Data Cache Enabled for CPU0

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

  L2 SRAM        : uncacheable in data cache

pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768

pcpu-alloc: [0] 0

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

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial ,uart0,57600 console=ttyBF0,57600 mem=124M max_mem=128M icc_l2_mem=0x8000

PID hash table entries: 512 (order: -1, 2048 bytes)

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Kernel managed physical pages: 30720

Memory available: 110160k/126976k RAM, (9192k init code, 1613k kernel code, 743k data, 4096k dma, 1172k reserved)


Configuring Blackfin Priority Driven Interrupts

Console: colour dummy device 80x25

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 989.18 BogoMIPS (lpj=1978368)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

devtmpfs: initialized

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (9 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 64 KB (51 KB free)

Blackfin L2 SRAM: 256 KB (224 KB free)

NET: Registered protocol family 16

Blackfin DMA Controller

ezkit_init(): registering device resources

ezkit_init(): request emac pins failed

bio: create slab <bio-0> at 0

SCSI subsystem initialized

bfin-spi bfin-spi.0: master is unqueued, this is deprecated

bfin-spi bfin-spi.0: bfin-spi probe success

bfin-spi bfin-spi.1: master is unqueued, this is deprecated

bfin-spi bfin-spi.1: bfin-spi probe success

i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01e00

i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01f00

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <>

PTP clock support registered

NET: Registered protocol family 23

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: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

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

msgmni has been set to 215

io scheduler noop registered (default)

bfin-uart: Blackfin serial driver

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

physmap platform flash device: 01000000 at b0000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x008821

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

erase region 0: offset=0x0,size=0x8000,blocks=4

erase region 1: offset=0x20000,size=0x20000,blocks=127

Creating 3 MTD partitions on "physmap-flash.0":

0x000000000000-0x000000080000 : "bootloader(nor)"

0x000000080000-0x000000480000 : "linux kernel(nor)"

0x000000480000-0x000001000000 : "file system(nor)"

m25p80 spi0.1: w25q32 (4096 Kbytes)

Creating 3 MTD partitions on "m25p80":

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

0x000000080000-0x000000200000 : "linux kernel(spi)"

0x000000200000-0x000000400000 : "file system(spi)"

CAN device driver interface

bfin_can bfin_can.0: bfin_can device registered(&reg_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)


No HW DMA feature register supported

Enhanced/Alternate descriptors

RX IPC Checksum Offload not configured.

stmmac_dvr_probe: warning: cannot get CSR clock

stmmac: probed

eth0: PHY ID 20005c90 at 1 IRQ 0 (stmmac-0:01) active

input: bfin-rotary as /devices/platform/bfin-rotary/input/input0

i2c /dev entries driver

bfin_wdt: initialized: timeout=20 sec (nowayout=0)

icc icc.0: initialized

TCP: cubic registered

NET: Registered protocol family 17

can: controller area network core (rev 20090105 abi 8)

NET: Registered protocol family 29

dma_alloc_init: dma_page @ 0x0567e000 - 1024 pages at 0x07800000

Freeing unused kernel memory: 9192k freed

eth0: device MAC address 02:80:ad:20:31:e8

No MAC Management Counters available

PHY: stmmac-0:01 - Link is Up - 100/Full

root:/> cd bin/

root:/bin> icc_loader -l BF609_MCAPI_msg_Core1.dxe

writing to 0xff600000, 0x931a    bytes: OK

writing to 0xff500cac, 0x20a8    bytes: OK

writing to 0xff5032c0, 0xe4      bytes: OK

writing to 0xff500000, 0x59b     bytes: OK

writing to 0xff50059c, 0x34      bytes: OK

writing to 0xff5005d0, 0x6dc     bytes: OK

writing to 0xff502d54, 0x56c     bytes: OK

writing to 0xc80a802c, 0x78      bytes: OK

writing to 0xc80a8000, 0x1a      bytes: OK

writing to 0xc8088210, 0x400     bytes: OK

writing to 0xc80a801c, 0x10      bytes: OK

writing to 0x05000000, 0xe1036   bytes: OK

writing to 0x06000000, 0xe1148   bytes: OK

root:/bin> cd ../usr/bin/

root:/usr/bin> BF609_MCAPI_msg_thread_i_V20130729

BF609_MCAPI_msg_thread_i_V20130729: applet not found