[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: APEX compactflash loading Problems



Adding Marc to the CC line.

* MojoMagic811 <victor.chang@analog.com> [2008-03-13 20:40]:
> 
> I have the Logic PD LH79520 SDK.  I am trying to load APEX from compactflash
> and I am running into problems.  I create 2 partitions on a 128 MB
> compactflash card.  One for the root filesystem and one for the APEX
> bootloader (I compiled apex 1.5.13 from source files downloaded from
> ftp://ftp.buici.com/pub/apex) .  The partition with the root filesystem is
> 60M and the partition with APEX is 4M.  When I turn on the board and mount
> the compactflash card here is what I get when i try the "exec" command.  
> 
> losh> mount fatfs /cf
> losh> load elf /cf/APEX521/APEX
> loading from /cf/APEX521/APEX:
> R.
> elf file type : 0x0002
> machine type: 0028  version: 1
> prog start addr : 0x20200000
> num prog headers: 1
> num sect headers: 29
> offset : 0x00008000  disk length: 0x0000a114  mem len: 0x000157f8
> phyaddr: 0x20200000  vaddr      : 0x20200000  dl addr: 0x20200000
> losh> exec
> everything went wrong, fsr: e59f00ac far: 6e77ad8a
> r00: 00000000 r01: 000003e5 r02: 200c0100 r03: 00000000
> r04: 20200000 r05: 00000000 r06: 2003e048 r07: 00000001
> r08: 00000000 r09: 2003e048 r10: 200262a4 r11: 2003e034
> r12: 2003e014 sp:  2003e014 lr:  200059c8  pc: 202002f8
> spsr:200000d3 cpsr:200000db
> bt: sp: 2003df68 (stack: 2003cdd4 - 2003e2d4)
> 0: fp:2003df90 +      40  20000388() called from: 200040c0
> 1: fp:2003dfa8 +      20  20004080() called from: 20001110
> 2: fp:2003dfc8 +      28  20001050() called from: 200002bc
> 3: fp:2003e034 +    104  200058f4() called from: 200070f8
> 4: fp:2003e098 +      96  20006f60() called from: 2000720c
> 5: fp:2003e2b8 +    540  20007194() called from: 20003bbc
> 6: fp:2003e2d0 +      20  20003b94() called from: 20003b90
> (fp:2003e2d0->8e8e8e0e, sp:2003e2d4)
> 
> Please help.  
> -- 
> View this message in context: http://www.nabble.com/APEX-compactflash-loading-Problems-tp16043820p16043820.html
> Sent from the debian-arm mailing list archive at Nabble.com.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Martin Michlmayr
http://www.cyrius.com/


Reply to: