Re: Report problem

3 messages Options
Embed this post
Permalink
Rob McCammon

Re: Report problem

Reply Threaded More More options
Print post
Permalink
Hi Charles,
In the future, the best place to post this type of question is the OKL4
Developer Mail List. I am forwarding your question to that address.

Thanks,
Rob McCammon

-----Original Message-----
From: Charles Basile ROUQUETTE [mailto:[hidden email]]
Sent: Wednesday, April 22, 2009 07:40
To: [hidden email]
Subject: Report problem

Hello,

I don't know if I am sending this report at the right address but I hope
that it will be usefull...

My aim is to use the OKL4 SDK for an ARM926 architecture, so I followed
exactly the steps describing on the FrontPage Developer of your wiki :
    - Use the provided toolchain
    - Get the provided Qemu and installed it as it explained
    - Downloaded the suitable SDK for ARM926

After that, I built an example found in the "examples" directory of the
SDK, I chose the "singlecell" example. I would run it with Qemu with the
same command given on the wiki and my problem happened at this step!
The simulation seems blocked and nothing appears!

I hope (for you) that the problem comes from me, otherwise it means that
there is something wrong on your side. Besides, I tried to do exactly
the same simulation with the SDK for ARM1136 and it worked well!

If you have any idea about how to fix that, please inform me.
Sincerely yours,
Charles-Basile Rouquette


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Charles Basile ROUQUETTE

Re: Report problem

Reply Threaded More More options
Print post
Permalink
I just wanted to avoid any misunderstanding on my previous email. I did
not mean to be provocative...

Thanks for your help :)
Best regards,
Charles-Basile Rouquette


Rob McCammon a écrit :

> Hi Charles,
> In the future, the best place to post this type of question is the OKL4
> Developer Mail List. I am forwarding your question to that address.
>
> Thanks,
> Rob McCammon
>
> -----Original Message-----
> From: Charles Basile ROUQUETTE [mailto:[hidden email]]
> Sent: Wednesday, April 22, 2009 07:40
> To: [hidden email]
> Subject: Report problem
>
> Hello,
>
> I don't know if I am sending this report at the right address but I hope
> that it will be usefull...
>
> My aim is to use the OKL4 SDK for an ARM926 architecture, so I followed
> exactly the steps describing on the FrontPage Developer of your wiki :
>     - Use the provided toolchain
>     - Get the provided Qemu and installed it as it explained
>     - Downloaded the suitable SDK for ARM926
>
> After that, I built an example found in the "examples" directory of the
> SDK, I chose the "singlecell" example. I would run it with Qemu with the
> same command given on the wiki and my problem happened at this step!
> The simulation seems blocked and nothing appears!
>
> I hope (for you) that the problem comes from me, otherwise it means that
> there is something wrong on your side. Besides, I tried to do exactly
> the same simulation with the SDK for ARM1136 and it worked well!
>
> If you have any idea about how to fix that, please inform me.
> Sincerely yours,
> Charles-Basile Rouquette
>
>  


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Charles Basile ROUQUETTE

Re: Report problem

Reply Threaded More More options
Print post
Permalink
In reply to this post by Rob McCammon
Hi,

I'm still investigating the startup issue for OKL4 on versatile in QEMU.

I saw in log file from Qemu (attached) that it seems blocked when
executing the code of the "console_putc" function found in "kdb.c"
source file.
"kdb.c" located here: "sdk-okl4-arm926/kernel/arm926ejs/soc/versatile/kdb"

It seems that the "CONSOLE_PORT_SERIAL" pragma is not defined, which is
strange. Is it the default behaviour ?

Thanks,
Charles-Basile Rouquette



Rob McCammon a écrit :

> Hi Charles,
> In the future, the best place to post this type of question is the OKL4
> Developer Mail List. I am forwarding your question to that address.
>
> Thanks,
> Rob McCammon
>
> -----Original Message-----
> From: Charles Basile ROUQUETTE [mailto:[hidden email]]
> Sent: Wednesday, April 22, 2009 07:40
> To: [hidden email]
> Subject: Report problem
>
> Hello,
>
> I don't know if I am sending this report at the right address but I hope
> that it will be usefull...
>
> My aim is to use the OKL4 SDK for an ARM926 architecture, so I followed
> exactly the steps describing on the FrontPage Developer of your wiki :
>     - Use the provided toolchain
>     - Get the provided Qemu and installed it as it explained
>     - Downloaded the suitable SDK for ARM926
>
> After that, I built an example found in the "examples" directory of the
> SDK, I chose the "singlecell" example. I would run it with Qemu with the
> same command given on the wiki and my problem happened at this step!
> The simulation seems blocked and nothing appears!
>
> Besides, I tried to do exactly
> the same simulation with the SDK for ARM1136 and it worked well!
>
> If you have any idea about how to fix that, please inform me.
> Sincerely yours,
> Charles-Basile Rouquette
>
>  

----------------
IN:
0x07900000:  msr CPSR_fc, #211 ; 0xd3

----------------
IN:
0x07900004:  mov r0, #120 ; 0x78
0x07900008:  mcr 15, 0, r0, cr1, cr0, {0}

----------------
IN:
0x0790000c:  mrc 15, 0, pc, cr7, cr14, {3}
0x07900010:  bne 0x790000c

----------------
IN:
0x07900014:  mov r0, #0 ; 0x0
0x07900018:  mcr 15, 0, r0, cr7, cr10, {4}

----------------
IN:
0x0790001c:  mov r0, #0 ; 0x0
0x07900020:  mcr 15, 0, r0, cr7, cr5, {0}

----------------
IN:
0x07900024:  mov r0, #0 ; 0x0
0x07900028:  mcr 15, 0, r0, cr8, cr7, {0}

----------------
IN:
0x0790002c:  ldr sp, [pc, #8] ; 0x790003c
0x07900030:  add sp, sp, #1016 ; 0x3f8
0x07900034:  bl 0x7900040

----------------
IN:
0x07900040:  add r0, pc, #4 ; 0x4
0x07900044:  bl 0x79269b4

----------------
IN:
0x079269b4:  ldr fp, [pc, #1144] ; 0x7926e34
0x079269b8:  cmp fp, #-251658240 ; 0xf1000000
0x079269bc:  ldrcc r3, [r0, #4]
0x079269c0:  ldrcs r3, [r0]
0x079269c4:  addcc r3, r3, fp
0x079269c8:  addcs r3, r3, fp
0x079269cc:  addcc r5, r3, #268435456 ; 0x10000000
0x079269d0:  addcs r5, r3, #251658240 ; 0xf000000
0x079269d4:  mov r4, #0 ; 0x0
0x079269d8:  mov r3, #4080 ; 0xff0
0x079269dc:  sub sp, sp, #20 ; 0x14
0x079269e0:  mov r6, r0
0x079269e4:  add r3, r3, #15 ; 0xf
0x079269e8:  mov r2, r4
0x079269ec:  str r2, [r5, r4, lsl #2]
0x079269f0:  add r4, r4, #1 ; 0x1
0x079269f4:  cmp r4, r3
0x079269f8:  bls 0x79269ec

----------------
IN:
0x079269ec:  str r2, [r5, r4, lsl #2]
0x079269f0:  add r4, r4, #1 ; 0x1
0x079269f4:  cmp r4, r3
0x079269f8:  bls 0x79269ec

----------------
IN:
0x079269fc:  ldr r0, [pc, #1076] ; 0x7926e38
0x07926a00:  ldr r2, [pc, #1076] ; 0x7926e3c
0x07926a04:  cmp r0, r2
0x07926a08:  bls 0x7926ac0

----------------
IN:
0x07926a0c:  cmp r2, #-251658240 ; 0xf1000000
0x07926a10:  ldrcc r3, [r6, #4]
0x07926a14:  ldrcs r3, [r6]
0x07926a18:  addcc r3, r3, r2
0x07926a1c:  addcs r3, r3, r2
0x07926a20:  addcc r3, r3, #268435456 ; 0x10000000
0x07926a24:  addcs r3, r3, #251658240 ; 0xf000000
0x07926a28:  cmp r0, #-251658240 ; 0xf1000000
0x07926a2c:  lsr r1, r3, #20
0x07926a30:  ldrcs r2, [pc, #1024] ; 0x7926e38
0x07926a34:  ldrcc r3, [r6, #4]
0x07926a38:  ldrcs r3, [r6]
0x07926a3c:  lsl r1, r1, #20
0x07926a40:  addcc r3, r3, r0
0x07926a44:  addcs r3, r3, r2
0x07926a48:  addcc r7, r3, #268435456 ; 0x10000000
0x07926a4c:  addcs r7, r3, #251658240 ; 0xf000000
0x07926a50:  mov r4, r1
0x07926a54:  cmp r7, r4
0x07926a58:  bls 0x7926ac0

----------------
IN:
0x07926a5c:  ldr ip, [r6]
0x07926a60:  ldr r0, [r6, #4]
0x07926a64:  cmp ip, r0
0x07926a68:  movls r3, #0 ; 0x0
0x07926a6c:  movhi r3, #1 ; 0x1
0x07926a70:  cmp r4, ip
0x07926a74:  movcs r3, #0 ; 0x0
0x07926a78:  rsb r2, r0, r4
0x07926a7c:  cmp r3, #0 ; 0x0
0x07926a80:  add r1, r2, #-268435456 ; 0xf0000000
0x07926a84:  bne 0x7926aa8

----------------
IN:
0x07926a88:  cmp ip, r0
0x07926a8c:  movcs r3, #0 ; 0x0
0x07926a90:  movcc r3, #1 ; 0x1
0x07926a94:  cmp r4, r0
0x07926a98:  movcc r3, #0 ; 0x0
0x07926a9c:  cmp r3, #0 ; 0x0
0x07926aa0:  rsb r3, ip, r4
0x07926aa4:  addeq r1, r3, #-251658240 ; 0xf1000000
0x07926aa8:  mov r2, r4
0x07926aac:  mov r0, r5
0x07926ab0:  mov r3, #3 ; 0x3
0x07926ab4:  add r4, r4, #1048576 ; 0x100000
0x07926ab8:  bl 0x7926928

----------------
IN:
0x07926928:  lsr r2, r2, #20
0x0792692c:  and r3, r3, #3 ; 0x3
0x07926930:  lsl r2, r2, #20
0x07926934:  orr r2, r2, r3, lsl #2
0x07926938:  lsr r1, r1, #20
0x0792693c:  orr r2, r2, #2 ; 0x2
0x07926940:  str r2, [r0, r1, lsl #2]
0x07926944:  bx lr

----------------
IN:
0x07926abc:  b 0x7926a54

----------------
IN:
0x07926a54:  cmp r7, r4
0x07926a58:  bls 0x7926ac0

----------------
IN:
0x07926ac0:  mov r0, r5
0x07926ac4:  mov r1, r6
0x07926ac8:  bl 0x7926948

----------------
IN:
0x07926948:  push {r4, r5, r6, r7, lr}
0x0792694c:  mov r7, r0
0x07926950:  mov r6, r1
0x07926954:  mov r5, #-268435456 ; 0xf0000000
0x07926958:  cmp r5, #-251658240 ; 0xf1000000
0x0792695c:  ldrcc r3, [r6, #4]
0x07926960:  ldrcs r3, [r6]
0x07926964:  addcc r3, r3, r5
0x07926968:  addcs r3, r3, r5
0x0792696c:  addcc r4, r3, #268435456 ; 0x10000000
0x07926970:  addcs r4, r3, #251658240 ; 0xf000000
0x07926974:  mov r1, r5
0x07926978:  mov r0, r7
0x0792697c:  mov r2, r4
0x07926980:  mov r3, #3 ; 0x3
0x07926984:  bl 0x7926900

----------------
IN:
0x07926900:  and r3, r3, #3 ; 0x3
0x07926904:  lsl r3, r3, #2
0x07926908:  lsr r2, r2, #20
0x0792690c:  orr r3, r3, #1024 ; 0x400
0x07926910:  lsl r2, r2, #20
0x07926914:  orr r3, r3, #2 ; 0x2
0x07926918:  orr r3, r3, r2
0x0792691c:  lsr r1, r1, #20
0x07926920:  str r3, [r0, r1, lsl #2]
0x07926924:  bx lr

----------------
IN:
0x07926988:  ldr r1, [r6]
0x0792698c:  rsb r1, r1, r4
0x07926990:  add r5, r5, #1048576 ; 0x100000
0x07926994:  add r1, r1, #-201326592 ; 0xf4000000
0x07926998:  mov r2, r4
0x0792699c:  mov r0, r7
0x079269a0:  mov r3, #2 ; 0x2
0x079269a4:  bl 0x7926900

----------------
IN:
0x079269a8:  cmn r5, #201326593 ; 0xc000001
0x079269ac:  bls 0x7926958

----------------
IN:
0x07926958:  cmp r5, #-251658240 ; 0xf1000000
0x0792695c:  ldrcc r3, [r6, #4]
0x07926960:  ldrcs r3, [r6]
0x07926964:  addcc r3, r3, r5
0x07926968:  addcs r3, r3, r5
0x0792696c:  addcc r4, r3, #268435456 ; 0x10000000
0x07926970:  addcs r4, r3, #251658240 ; 0xf000000
0x07926974:  mov r1, r5
0x07926978:  mov r0, r7
0x0792697c:  mov r2, r4
0x07926980:  mov r3, #3 ; 0x3
0x07926984:  bl 0x7926900

----------------
IN:
0x079269b0:  pop {r4, r5, r6, r7, pc}

----------------
IN:
0x07926acc:  mov r3, #1 ; 0x1
0x07926ad0:  mcr 15, 0, r3, cr3, cr0, {0}

----------------
IN:
0x07926ad4:  mcr 15, 0, r5, cr2, cr0, {0}

----------------
IN:
0x07926ad8:  ldr r9, [pc, #864] ; 0x7926e40
0x07926adc:  cmp r9, #-251658240 ; 0xf1000000
0x07926ae0:  ldrcc r3, [r6, #4]
0x07926ae4:  ldrcs r3, [r6]
0x07926ae8:  ldr sl, [pc, #852] ; 0x7926e44
0x07926aec:  addcc r3, r3, r9
0x07926af0:  addcs r3, r3, r9
0x07926af4:  addcc r3, r3, #268435456 ; 0x10000000
0x07926af8:  addcs r3, r3, #251658240 ; 0xf000000
0x07926afc:  cmp sl, #-251658240 ; 0xf1000000
0x07926b00:  lsr r1, r3, #20
0x07926b04:  ldrcc r3, [r6, #4]
0x07926b08:  ldrcs r3, [r6]
0x07926b0c:  lsl r1, r1, #20
0x07926b10:  addcc r3, r3, sl
0x07926b14:  addcs r3, r3, sl
0x07926b18:  addcc r7, r3, #268435456 ; 0x10000000
0x07926b1c:  addcs r7, r3, #251658240 ; 0xf000000
0x07926b20:  mov r4, r1
0x07926b24:  cmp r7, r4
0x07926b28:  bls 0x7926b48

----------------
IN:
0x07926b2c:  mov r1, r4
0x07926b30:  mov r2, r4
0x07926b34:  mov r0, r5
0x07926b38:  mov r3, #0 ; 0x0
0x07926b3c:  add r4, r4, #1048576 ; 0x100000
0x07926b40:  bl 0x7926900

----------------
IN:
0x07926b44:  b 0x7926b24

----------------
IN:
0x07926b24:  cmp r7, r4
0x07926b28:  bls 0x7926b48

----------------
IN:
0x07926b48:  mov r3, #339968 ; 0x53000
0x07926b4c:  add r3, r3, #380 ; 0x17c
0x07926b50:  add r3, r3, #1 ; 0x1
0x07926b54:  mcr 15, 0, r3, cr1, cr0, {0}

----------------
IN:
0x07926b58:  ldm r6, {r2, r3}
0x07926b5c:  rsb r2, r2, #-251658240 ; 0xf1000000
0x07926b60:  rsb r3, r3, #-268435456 ; 0xf0000000
0x07926b64:  add sp, sp, r2
0x07926b68:  add r0, pc, r3
0x07926b6c:  mov pc, r0

----------------
IN: init_memory
0xf0026b70:  mov r0, r6
0xf0026b74:  bl 0xf00268bc

----------------
IN: init_arm_globals
0xf00268bc:  ldr r3, [r0]
0xf00268c0:  mov r1, #-251658240 ; 0xf1000000
0xf00268c4:  str r3, [r1, #40]
0xf00268c8:  mov r3, #0 ; 0x0
0xf00268cc:  ldr r2, [r0, #4]
0xf00268d0:  strb r3, [r1, #36]
0xf00268d4:  ldr r3, [pc, #24] ; 0xfffffffff00268f4
0xf00268d8:  str r2, [r1, #44]
0xf00268dc:  str r3, [r1, #8]
0xf00268e0:  ldr r2, [pc, #16] ; 0xfffffffff00268f8
0xf00268e4:  ldr r3, [pc, #16] ; 0xfffffffff00268fc
0xf00268e8:  str r2, [r1, #12]
0xf00268ec:  str r3, [r1, #28]
0xf00268f0:  bx lr

----------------
IN: init_memory
0xf0026b78:  mov r0, #0 ; 0x0
0xf0026b7c:  bl 0xf0025534

----------------
IN: _Z15run_init_scriptm
0xf0025534:  push {r4, r5, r6, r7, r8, r9, sl, fp, lr}
0xf0025538:  cmp r0, #0 ; 0x0
0xf002553c:  sub sp, sp, #52 ; 0x34
0xf0025540:  mov r9, #0 ; 0x0
0xf0025544:  str r9, [sp, #40]
0xf0025548:  bne 0xf00255e0

----------------
IN: _Z15run_init_scriptm
0xf002554c:  ldr r3, [pc, #3376] ; 0xfffffffff0026284
0xf0025550:  ldr r4, [r3]
0xf0025554:  ldr r0, [pc, #3372] ; 0xfffffffff0026288
0xf0025558:  mov r1, r4
0xf002555c:  bl 0xf0023804

----------------
IN: printf
0xf0023804:  push {r0, r1, r2, r3}
0xf0023808:  push {lr} ; (str lr, [sp, #-4]!)
0xf002380c:  ldr r0, [sp, #4]
0xf0023810:  add r1, sp, #8 ; 0x8
0xf0023814:  bl 0xf0023428

----------------
IN: _Z9do_printfPKcPv
0xf0023428:  push {r4, r5, r6, r7, r8, r9, sl, lr}
0xf002342c:  mov r6, #0 ; 0x0
0xf0023430:  subs r4, r0, #0 ; 0x0
0xf0023434:  sub sp, sp, #12 ; 0xc
0xf0023438:  mov r5, r1
0xf002343c:  mov r9, r6
0xf0023440:  beq 0xf0023604

----------------
IN: _Z9do_printfPKcPv
0xf0023444:  ldrb r0, [r4]
0xf0023448:  cmp r0, r6
0xf002344c:  beq 0xf0023604

----------------
IN: _Z9do_printfPKcPv
0xf0023450:  mov sl, r6
0xf0023454:  cmp r0, #37 ; 0x25
0xf0023458:  bne 0xf00235ec

----------------
IN: _Z9do_printfPKcPv
0xf00235ec:  bl 0xf00214bc

----------------
IN: _Z4putcc
0xf00214bc:  and r0, r0, #255 ; 0xff
0xf00214c0:  b 0xf0015ae4

----------------
IN: soc_console_putc
0xf0015ae4:  and r0, r0, #255 ; 0xff
0xf0015ae8:  b 0xf0015aa0

----------------
IN: console_putc
0xf0015aa0:  push {r4, lr}
0xf0015aa4:  and r4, r0, #255 ; 0xff
0xf0015aa8:  cmp r4, #10 ; 0xa
0xf0015aac:  mov r0, #13 ; 0xd
0xf0015ab0:  beq 0xf0015adc

----------------
IN: console_putc
0xf0015ab4:  mov r2, #2 ; 0x2
0xf0015ab8:  mov r3, #3072 ; 0xc00
0xf0015abc:  cmp r3, #0 ; 0x0
0xf0015ac0:  beq 0xf0015ad8

----------------
IN: console_putc
0xf0015ac4:  sub r3, r3, #1 ; 0x1
0xf0015ac8:  mrc 14, 0, r1, cr0, cr0, {0}


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer