AnsweredAssumed Answered

"icc_loader -l xxx.dxe"  error!

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

Hi, All ADI's experts

     when I run "icc_loader -l BF609_MCAPI_msg_Core1.dxe",I encountered a problem as follows

 

root:/> icc_loader -l BF609_MCAPI_msg_Core1.dxe

writing to 0xff600000, 0x93da    bytes: OK

writing to 0xff500d44, 0x20b8    bytes: OK

writing to 0xff503368, 0xe4      bytes: OK

writing to 0xff500000, 0x59b     bytes: OK

writing to 0xff50059c, 0x34      bytes: OK

writing to 0xff5005d0, 0x774     bytes: OK

writing to 0xff502dfc, 0x56c     bytes: OK

writing to 0xc80a802c, 0x278     bytes: OK

writing to 0xc80a8000, 0x1a      bytes: OK

writing to 0xc8088210, 0x400     bytes: OK

writing to 0xc80a801c, 0x10      bytes: OK

 

 

ERROR: Your destination address looks wrong: 0x6000000

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

but the destination is above that; aborting.

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

 

 

writing to 0x06000000, 0x200     bytes: FAILED

root:/>

 

In Core B, I define a globle variable where locate in sdram(0x06000000) , I think this case will cause above error. when I change the variable location to L2 or L1 or Local variables, the error disappear. by the way , I change the system.svc in cces(user external memory and customize the system heap and system stack with L3 external memory ).

 

another question:I have checked the kernel and runned "dmesg" after kernel up, I found there is a "kernel command line", but the kernel does not receive the uboot argument, what should I do ?

here is my log:

root:/> dmesg

[    0.000000] Linux version 3.5.7-ADI-2012R2 (root@louie) (gcc version 4.3.5 (ADI-2012R2-RC2) ) #217 Wed Jul 24 17:09:14 CST 2013

[    0.000000] register early platform devices

[    0.000000] bootconsole [early_shadow0] enabled

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

[    0.000000] Board Memory: 128MB

[    0.000000] Kernel Managed Memory: 128MB

[    0.000000] Memory map:

[    0.000000]   fixedcode = 0x00000400-0x00000490

[    0.000000]   text      = 0x00001000-0x0019e258

[    0.000000]   rodata    = 0x0019e27c-0x00229948

[    0.000000]   bss       = 0x0022a000-0x0023cce4

[    0.000000]   data      = 0x0023cd00-0x00264000

[    0.000000]     stack   = 0x00262000-0x00264000

[    0.000000]   init      = 0x00264000-0x0111d000

[    0.000000]   available = 0x0111d000-0x07c00000

[    0.000000]   DMA Zone  = 0x07c00000-0x08000000

[    0.000000] Hardware Trace active and enabled

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

[    0.000000] Compiled for ADSP-BF609 Rev 0.0

[    0.000000] Blackfin Linux support by http://blackfin.uclinux.org/

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

[    0.000000]  boot memmap: 000000000111d000 - 0000000007c00000 (usable)

[    0.000000] On node 0 totalpages: 31744

[    0.000000] free_area_init_node: node 0, pgdat 0025ceb0, node_mem_map 0111f000

[    0.000000]   DMA zone: 248 pages used for memmap

[    0.000000]   DMA zone: 0 pages reserved

[    0.000000]   DMA zone: 31496 pages, LIFO batch:0

[    0.000000] NOMPU: setting up cplb tables

[    0.000000] Instruction Cache Enabled for CPU0

[    0.000000]   External memory: uncacheable in instruction cache

[    0.000000]   L2 SRAM        : uncacheable in instruction cache

[    0.000000] Data Cache Enabled for CPU0

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

[    0.000000]   L2 SRAM        : uncacheable in data cache

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

[    0.000000] pcpu-alloc: [0] 0

[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 31496

[    0.000000] Kernel command line: console=ttyBF0,57600

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

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

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

[    0.000000] Kernel managed physical pages: 31744

[    0.000000] Memory available: 108284k/131072k RAM, (15076k init code, 1652k kernel code, 792k data, 4096k dma, 1172k reserved)

[    0.000000] NR_IRQS:291

[    0.000000] Configuring Blackfin Priority Driven Interrupts

[    0.000000] Console: colour dummy device 80x25

[    0.000000] console [ttyBF0] enabled, bootconsole disabled

[   40.321621] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

[   40.351580] pid_max: default: 32768 minimum: 301

[   40.361365] Mount-cache hash table entries: 512

[   40.375268] devtmpfs: initialized

[   40.389922] Blackfin Scratchpad data SRAM: 4 KB

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

[   40.408962] Blackfin L1 Data B SRAM: 16 KB (16 KB free)

[   40.419407] Blackfin L1 Instruction SRAM: 64 KB (50 KB free)

[   40.430763] Blackfin L2 SRAM: 256 KB (256 KB free)

[   40.441063] NET: Registered protocol family 16

[   40.455283] Blackfin DMA Controller

[   40.462011] ezkit_init(): registering device resources

[   40.472361] ezkit_init(): request emac pins failed

[   40.516247] bio: create slab <bio-0> at 0

[   40.527854] SCSI subsystem initialized

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

[   40.549621] bfin-spi bfin-spi.0: bfin-spi probe success

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

[   40.573831] bfin-spi bfin-spi.1: bfin-spi probe success

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

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

[   40.623344] pps_core: LinuxPPS API ver. 1 registered

[   40.633016] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

[   40.651749] PTP clock support registered

[   40.661574] NET: Registered protocol family 23

[   40.670579] Switching to clocksource bfin_cs_cycles

[   40.734992] NET: Registered protocol family 2

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

[   40.758870] TCP established hash table entries: 4096 (order: 3, 32768 bytes)

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

[   40.785779] TCP: Hash tables configured (established 4096 bind 4096)

[   40.798326] TCP: reno registered

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

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

[   40.829563] NET: Registered protocol family 1

[   45.221816] msgmni has been set to 211

[   45.229231] io scheduler noop registered (default)

[   45.239344] bfin-uart: Blackfin serial driver

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

[   45.264041] bfin-dma: initialized

[   45.279236] Blackfin hardware CRC driver

[   45.287681] bfin-crc bfin-crc.0: initialized

[   45.296847] bfin-crc bfin-crc.1: initialized

[   45.314389] physmap platform flash device: 01000000 at b0000000

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

[   45.346604] Intel/Sharp Extended Query Table at 0x010A

[   45.356866] Intel/Sharp Extended Query Table at 0x010A

[   45.367141] Intel/Sharp Extended Query Table at 0x010A

[   45.377415] Intel/Sharp Extended Query Table at 0x010A

[   45.387694] Intel/Sharp Extended Query Table at 0x010A

[   45.397962] Using buffer write method

[   45.405218] Using auto-unlock on power-up/resume

[   45.414436] cfi_cmdset_0001: Erase suspend on write enabled

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

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

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

[   45.476934] 0x000000000000-0x000000080000 : "bootloader(nor)"

[   45.491893] 0x000000080000-0x000000480000 : "linux kernel(nor)"

[   45.507115] 0x000000480000-0x000001000000 : "file system(nor)"

[   45.523295] m25p80 spi0.1: w25q32 (4096 Kbytes)

[   45.552348] Creating 3 MTD partitions on "m25p80":

[   45.561712] 0x000000000000-0x000000080000 : "bootloader(spi)"

[   45.576569] 0x000000080000-0x000000200000 : "linux kernel(spi)"

[   45.591643] 0x000000200000-0x000000400000 : "file system(spi)"

[   45.607187] CAN device driver interface

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

[   45.640611]  DWMAC100

[   45.644909]  No HW DMA feature register supported

[   45.653937]  Enhanced/Alternate descriptors

[   45.662639]  RX IPC Checksum Offload not configured.

[   45.675251] stmmac_dvr_probe: warning: cannot get CSR clock

[   45.708965] stmmac: probed

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

[   45.727987] input: bfin-rotary as /devices/platform/bfin-rotary/input/input0

[   45.743188] i2c /dev entries driver

[   45.753865] bfin_wdt: initialized: timeout=20 sec (nowayout=0)

[   45.767635] icc icc.0: initialized

[   45.775395] TCP: cubic registered

[   45.781906] NET: Registered protocol family 17

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

[   45.803278] NET: Registered protocol family 29

[   45.824431] dma_alloc_init: dma_page @ 0x02303000 - 1024 pages at 0x07c00000

[   45.846815] Freeing unused kernel memory: 15076k freed

[   46.390959] eth0: device MAC address 02:80:ad:20:31:e8

[   46.413408]  No MAC Management Counters available

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


Outcomes