debugging IPL + Startup

Hi,

We try to make a boot image(IPL + Startup+ OS) for our custom hardware
(powerpc 823) using the BSP-6.1.0 for 800fads. We use visionProbeII with
BMD. In order to debug our boot image we need to include the debugging
information in the boot image (800fads.elf). Does someone know how to modify
the makeFile to include the debugging information in the boot image ?

We have tried to do a 'make DEBUG="-g" ’ in the folder
usr/src/bsp-6.1.0/ppc/800fads but without success. The 800fads.elf in the
usr/src/bsp-6.1.0/ppc/800fads/images doesn’t contain the debugging
information.

Any help will be appreciated

Thank you

Tien Nghiem

“Daniel Riquier” <driquier@oerlikon.ca> wrote in message
news:a9k5ft$5tt$1@inn.qnx.com

Hi,

We try to make a boot image(IPL + Startup+ OS) for our custom hardware
(powerpc 823) using the BSP-6.1.0 for 800fads. We use visionProbeII with
BMD. In order to debug our boot image we need to include the debugging
information in the boot image (800fads.elf). Does someone know how to
modify
the makeFile to include the debugging information in the boot image ?

We have tried to do a 'make DEBUG="-g" ’ in the folder
usr/src/bsp-6.1.0/ppc/800fads but without success. The 800fads.elf in the
usr/src/bsp-6.1.0/ppc/800fads/images doesn’t contain the debugging
information.

I beleive you have to provide the [raw] option in the image definition file.
mkifs strips all debug information from the files, [raw] will prevent this.

Any help will be appreciated

Thank you

Tien Nghiem

Hi Mario,

We did try it by adding the raw in the build script:

[+raw virtual=ppcbe/elf] .bootstrap = {
startup-800fads -v -Dsmc1.57600.40000000.16
PATH=/proc/boot procnto-800
}

It doesn’t work, the 800fads.elf 's size is still the same and when we use
it with the visionPROBEII , we get the message: “no debug information found”

Thank you

Tien Nghiem


“Mario Charest” <goto@nothingness.com> wrote in message
news:a9k7ad$7dt$1@inn.qnx.com

“Daniel Riquier” <> driquier@oerlikon.ca> > wrote in message
news:a9k5ft$5tt$> 1@inn.qnx.com> …
Hi,

We try to make a boot image(IPL + Startup+ OS) for our custom hardware
(powerpc 823) using the BSP-6.1.0 for 800fads. We use visionProbeII with
BMD. In order to debug our boot image we need to include the debugging
information in the boot image (800fads.elf). Does someone know how to
modify
the makeFile to include the debugging information in the boot image ?

We have tried to do a 'make DEBUG="-g" ’ in the folder
usr/src/bsp-6.1.0/ppc/800fads but without success. The 800fads.elf in
the
usr/src/bsp-6.1.0/ppc/800fads/images doesn’t contain the debugging
information.

I beleive you have to provide the [raw] option in the image definition
file.
mkifs strips all debug information from the files, [raw] will prevent
this.


Any help will be appreciated

Thank you

Tien Nghiem

\

“Tien Nghiem” <tnghiem@oerlikon.ca> wrote in message
news:a9kftj$dgv$1@inn.qnx.com

Hi Mario,

We did try it by adding the raw in the build script:

[+raw virtual=ppcbe/elf] .bootstrap = {
startup-800fads -v -Dsmc1.57600.40000000.16
PATH=/proc/boot procnto-800
}

It doesn’t work, the 800fads.elf 's size is still the same and when we use
it with the visionPROBEII , we get the message: “no debug information
found”

I think it needs to be specify not in the boot section but rather in the
“file list section”

[…] boot = }

|

[+script] startcript = {

}

[raw]
libc.so

I could probably be better to do it on a per file basis.

Note I never done that, just guessing from what I’v read/know.

Thank you

Tien Nghiem


“Mario Charest” <> goto@nothingness.com> > wrote in message
news:a9k7ad$7dt$> 1@inn.qnx.com> …

“Daniel Riquier” <> driquier@oerlikon.ca> > wrote in message
news:a9k5ft$5tt$> 1@inn.qnx.com> …
Hi,

We try to make a boot image(IPL + Startup+ OS) for our custom hardware
(powerpc 823) using the BSP-6.1.0 for 800fads. We use visionProbeII
with
BMD. In order to debug our boot image we need to include the debugging
information in the boot image (800fads.elf). Does someone know how to
modify
the makeFile to include the debugging information in the boot image ?

We have tried to do a 'make DEBUG="-g" ’ in the folder
usr/src/bsp-6.1.0/ppc/800fads but without success. The 800fads.elf in
the
usr/src/bsp-6.1.0/ppc/800fads/images doesn’t contain the debugging
information.

I beleive you have to provide the [raw] option in the image definition
file.
mkifs strips all debug information from the files, [raw] will prevent
this.


Any help will be appreciated

Thank you

Tien Nghiem



\