AnsweredAssumed Answered

dual-core communication between linux and cces on bf609-EZboard

Question asked by alen on Jul 17, 2013
Latest reply on Jul 25, 2013 by Aaronwu

Hi, All ADI experts

     I am learning dual-core communication between cces and linux,but when I use "icc_loader -l bf609_MCAPI_Core1.dxe" to load it to CoreB, Prompt an error!

     I paste my boot log:

    

U-Boot 2011.09 (ADI-2012R1) (May 23 2012 - 10:03:46)

 

 

CPU:   ADSP bf609-0.0 (Detected Rev: 0.0) (parallel flash boot)

Board: ADI BF609 EZ-Kit board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 25 MHz, Core: 500 MHz, System0: 100 MHz, System1: 100 MHz, Dclk: 250 MHz

RAM:   128 MiB

Flash: ## Unknown flash on Bank 1 - Size = 0x00000000 = 0 MB

0 Bytes

MMC:   Blackfin SDH: 0

In:    serial

Out:   serial

Err:   serial

KGDB:  [on serial] ready

other init

Net:   mii1

Hit any key to stop autoboot:  0

bfin>

bfin> set serverip 192.168.2.101;set ipaddr 192.168.2.102;set gatewayip 192.168.2.1;tftp 0x1000000 uImage;bootm 0x1000000

Using mii1 device

TFTP from server 192.168.2.101; our IP address is 192.168.2.102

Filename 'uImage'.

Load address: 0x1000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ################################

done

Bytes transferred = 16802537 (10062e9 hex)

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   bf609-0.0-3.5.7-ADI-2012R2

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    16802473 Bytes = 16 MiB

   Load Address: 00001000

   Entry Point:  00257aec

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 00257aec

console [ttyBF0] enabled, bootconsole disabled

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

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 (50 KB free)

Blackfin L2 SRAM: 256 KB (256 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 <giometti@linux.it>

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 211

io scheduler noop registered (default)

bfin-uart: Blackfin serial driver

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

bfin-dma: initialized

Blackfin hardware CRC driver

bfin-crc bfin-crc.0: initialized

bfin-crc bfin-crc.1: initialized

physmap platform flash device: 01000000 at b0000000

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

Support for command set 0701 not present

gen_probe: No supported Vendor Command Set found

physmap-flash physmap-flash.0: map_probe failed

m25p80 spi0.1: unrecognized JEDEC id 1f2600

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)

        DWMAC100

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 0000ffff at 1 IRQ 0 (stmmac-0:01) active

eth0: PHY ID 0000ffff at 2 IRQ 0 (stmmac-0:02)

eth0: PHY ID 0000ffff at 3 IRQ 0 (stmmac-0:03)

eth0: PHY ID 0000ffff at 4 IRQ 0 (stmmac-0:04)

eth0: PHY ID 0000ffff at 5 IRQ 0 (stmmac-0:05)

eth0: PHY ID 0000ffff at 6 IRQ 0 (stmmac-0:06)

eth0: PHY ID 0000ffff at 7 IRQ 0 (stmmac-0:07)

eth0: PHY ID 0000ffff at 8 IRQ 0 (stmmac-0:08)

eth0: PHY ID 0000ffff at 9 IRQ 0 (stmmac-0:09)

eth0: PHY ID 0000ffff at 10 IRQ 0 (stmmac-0:0a)

eth0: PHY ID 0000ffff at 11 IRQ 0 (stmmac-0:0b)

eth0: PHY ID 0000ffff at 12 IRQ 0 (stmmac-0:0c)

eth0: PHY ID 0000ffff at 13 IRQ 0 (stmmac-0:0d)

eth0: PHY ID 0000ffff at 14 IRQ 0 (stmmac-0:0e)

eth0: PHY ID 0000ffff at 15 IRQ 0 (stmmac-0:0f)

eth0: PHY ID 0000ffff at 16 IRQ 0 (stmmac-0:10)

eth0: PHY ID 0000ffff at 17 IRQ 0 (stmmac-0:11)

eth0: PHY ID 0000ffff at 18 IRQ 0 (stmmac-0:12)

eth0: PHY ID 0000ffff at 19 IRQ 0 (stmmac-0:13)

eth0: PHY ID 0000ffff at 20 IRQ 0 (stmmac-0:14)

eth0: PHY ID 0000ffff at 21 IRQ 0 (stmmac-0:15)

eth0: PHY ID 0000ffff at 22 IRQ 0 (stmmac-0:16)

eth0: PHY ID 0000ffff at 23 IRQ 0 (stmmac-0:17)

eth0: PHY ID 0000ffff at 24 IRQ 0 (stmmac-0:18)

eth0: PHY ID 0000ffff at 25 IRQ 0 (stmmac-0:19)

eth0: PHY ID 0000ffff at 26 IRQ 0 (stmmac-0:1a)

eth0: PHY ID 0000ffff at 27 IRQ 0 (stmmac-0:1b)

eth0: PHY ID 0000ffff at 28 IRQ 0 (stmmac-0:1c)

eth0: PHY ID 0000ffff at 29 IRQ 0 (stmmac-0:1d)

eth0: PHY ID 0000ffff at 30 IRQ 0 (stmmac-0:1e)

eth0: PHY ID 0000ffff at 31 IRQ 0 (stmmac-0:1f)

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 @ 0x02390000 - 1024 pages at 0x07c00000

Freeing unused kernel memory: 15320k freed

eth0: device MAC address 92:89:ef:3a:a8:59

stmmac_open: DMA initialization failed

 

 

 

 

BusyBox v1.20.2 (2013-06-09 09:32:39 CST) hush - the humble shell

 

 

root:/> cd bin/

root:/bin> icc_loader -l BF609_MCAPI_msg_Core1.dxe

writing to 0xff600000, 0xffb4    bytes: OK

writing to 0xff400458, 0x4       bytes: OK

writing to 0xff4034e0, 0x7cc     bytes: OK

writing to 0xff400000, 0x458     bytes: OK

writing to 0xff400460, 0x3080    bytes: OK

writing to 0xff40045c, 0x4       bytes: OK

writing to 0xff403cac, 0x308     bytes: OK

writing to 0xff50008c, 0xc       bytes: OK

writing to 0xff502e18, 0x7a4     bytes: OK

writing to 0xff500000, 0x8c      bytes: OK

writing to 0xff5000a0, 0x2d78    bytes: OK

writing to 0xff5035bc, 0x59b     bytes: OK

writing to 0xff500098, 0x4       bytes: OK

writing to 0xff503b58, 0x74      bytes: OK

writing to 0xff50009c, 0x0       bytes: OK

writing to 0xff50009c, 0x4       bytes: OK

writing to 0xff503bcc, 0x3e8     bytes: OK

writing to 0xff503fb4, 0x0       bytes: OK

writing to 0xc80a802c, 0x2c28    bytes: OK

writing to 0xc8088210, 0x9e4     bytes: OK

writing to 0xc80a8000, 0x1a      bytes: OK

writing to 0xc80aac54, 0x15360   bytes: OK

writing to 0xc8088bf4, 0x400     bytes: OK

writing to 0xc80a801c, 0x10      bytes: OK

 

 

ERROR: Your destination address looks wrong: 0x4000000

The max mem available on your system seems to be 0x07888000,

but the destination is above that; aborting.

(re-run with --force to skip this check)

 

 

writing to 0x04000000, 0x1e308   bytes: FAILED

 

 

ERROR: Your destination address looks wrong: 0x401e308

The max mem available on your system seems to be 0x07888000,

but the destination is above that; aborting.

(re-run with --force to skip this check)

 

 

writing to 0x0401e308, 0x2c7624  bytes: FAILED

 

 

ERROR: Your destination address looks wrong: 0x42e5940

The max mem available on your system seems to be 0x07888000,

but the destination is above that; aborting.

(re-run with --force to skip this check)

 

 

writing to 0x042e5940, 0x682588  bytes: FAILED

 

 

ERROR: Your destination address looks wrong: 0x5000000

The max mem available on your system seems to be 0x07888000,

but the destination is above that; aborting.

(re-run with --force to skip this check)

 

 

writing to 0x05000000, 0x14      bytes: FAILED

 

 

ERROR: Your destination address looks wrong: 0x5000014

The max mem available on your system seems to be 0x07888000,

but the destination is above that; aborting.

(re-run with --force to skip this check)

 

 

writing to 0x05000014, 0x394ae4  bytes: FAILED

 

 

ERROR: Your destination address looks wrong: 0x6000000

The max mem available on your system seems to be 0x07888000,

but the destination is above that; aborting.

(re-run with --force to skip this check)

 

 

writing to 0x06000000, 0x18fac   bytes: FAILED

 

 

ERROR: Your destination address looks wrong: 0x6018fac

The max mem available on your system seems to be 0x07888000,

but the destination is above that; aborting.

(re-run with --force to skip this check)

 

 

writing to 0x06018fac, 0xe4      bytes: FAILED

 

 

ERROR: Your destination address looks wrong: 0x7000000

The max mem available on your system seems to be 0x07888000,

but the destination is above that; aborting.

(re-run with --force to skip this check)

 

 

writing to 0x07000000, 0x561a    bytes: FAILED

root:/bin>

Outcomes