Mike Kinghan
2010-11-22 10:05:04 UTC
Hi Mike
I;d like to try to build the beagle on linux with GCC.. Follow the
instructions from
http://developer.symbian.org/wiki/How_to_build_and_run_a_Symbian_QEMU_ROM_with_GNU/Linux_tools
I can't find how to build the image.. but from below I can see that you've
done it.
On Linux, the GCC Raptor build will generate the beagle ROM image itself, asI;d like to try to build the beagle on linux with GCC.. Follow the
instructions from
http://developer.symbian.org/wiki/How_to_build_and_run_a_Symbian_QEMU_ROM_with_GNU/Linux_tools
I can't find how to build the image.. but from below I can see that you've
done it.
it should. On Windows, the Raptor rom build fails because rom_sbs.pl fails
to find the tshell.oby file.
You can quickly get the Windows rom build to work like this:-
In epoc32\tools\makefile_templates\base\rom.flm, change:
ifeq ($(OSTYPE),unix)
rombuilder := $(EPOCROOT)/epoc32/rom/tools/romnibus.pl
else
+ rombuilder := $(EPOCROOT)/epoc32/rom/tools/romnibus.pl
- rombuilder := $(EPOCROOT)/sf/os/kernelhwsrv/kernel/eka/rombuild/
rom_sbs.pl
endif
i.e. you use the same rom builder for Windows as for Linux.
I have just merged few fixes from 'generic_fixes_and_updated' branch back
to default.. one of which fixes assertions you've listed below
( *Bug 3923* <http://developer.symbian.org/bugs/show_bug.cgi?id=3923> - medstaticrd
is crashing the board during bootup )
..and the other one ( *Bug 3913*<http://developer.symbian.org/bugs/show_bug.cgi?id=3913>- beagleboard
crashes on cold boot-up ) - the annoying 'cold boot crash'
Anyway - with these fixes GCC build might actually boot - and I'd give it a
try.. :)
The GCC beagle tshell ROM already boots fine, both Linux and Windows builds,to default.. one of which fixes assertions you've listed below
( *Bug 3923* <http://developer.symbian.org/bugs/show_bug.cgi?id=3923> - medstaticrd
is crashing the board during bootup )
..and the other one ( *Bug 3913*<http://developer.symbian.org/bugs/show_bug.cgi?id=3913>- beagleboard
crashes on cold boot-up ) - the annoying 'cold boot crash'
Anyway - with these fixes GCC build might actually boot - and I'd give it a
try.. :)
but I will merge your latest default tip back to the GCC_SURGE branch and
see how that goes.
DO you think it's OK to merge GCC_SURGE to default? I've also merged the
two other branches I was using. This might help / easy moving the repo /
sources to some other location (i.e. in case only sources were moved to the
new repository in some extreme case) - and also to move some 'work' back to
default.
I'd love to do that consolidation. It would put us in a strong position fortwo other branches I was using. This might help / easy moving the repo /
sources to some other location (i.e. in case only sources were moved to the
new repository in some extreme case) - and also to move some 'work' back to
default.
moving to GCC as the official compiler.
However, before doing that I would like to see that we can build and boot a
beagle tshell rom from the GCC_SURGE branches of beagleboard and kernelhwsrv
with *RVCT4* and PDK 3.0.4 binaries (i.e. the GCC_SURGE branches are
compatible with the status quo). I have tried that. The rom build works, but
the ROM crashes on boot:
OMAP3 beagleboard.org # go 0x81000000
## Starting application at 0x81000000 ...
MODE_USR:
R0=c80c0000 R1=dededec6 R2=1c1c1c1c R3=1c1c1c1c
R4=1c1c1c1c R5=1c1c1c1c R6=1c1c1c1c R7=1c1c1c1c
R8=1c1c1c1c R9=1c1c1c1c R10=c808fc80 R11=c808fc60
R12=00dedbdb R13=00000000 R14=00000000 R15=8000b12c
CPSR=20000113
MODE_FIQ:
R8=c80834e4 R9=ffffffff R10=00000004 R11=00000002
R12=81001bcc R13=c003c000 R14=81000960 SPSR=00000000
MODE_IRQ:
R13=c003a000 R14=00000000 SPSR=00000000
MODE_SVC:
R13=c808eb80 R14=8007b1c8 SPSR=00000000
MODE_ABT:
R13=c003fc00 R14=8000b12c SPSR=20000113
MODE_UND:
R13=c003e000 R14=4020ffcc SPSR=00000000
TEEHBR=00000000 CPACR=00f00000
SCTLR=30c5387f ACTLR=00000072 PRRR=000a00a4 NMRR=00400040
DACR=00000001 TTBR0=80000018 TTBR1=80000018 TTBCR=00000001
VBAR=00014000 FCSEID=00000000 CTXIDR=00000000
Thread ID RWRW=00000000 RWRO=00000000 RWNO=00000000
DFSR=00000807 DFAR=c80c0000 IFSR=00000000 IFAR=00000000
ADFSR=00000000 AIFSR=00000000
FPEXC 0000000a
ExcCode 00000001
FAULT: Exception 0x10000000 (268435456)
This is a data abort at DFAR=c80c0000. That's as far as I've got. I'll do a
catchup and see if its still there before anything else.
I recall that the RVCT build emitted numerous warnings like "target of
branch is a data address". Might be relevant.
Also, an important difference between the GCC rom and the RVCT rom is that
the GCC build excludes hardware vfp math support and the RVCT build includes
it.
Thanks
Lukasz.
--Lukasz.
Send Wild-ducks mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
http://developer.symbian.org/mailman/listinfo/wild-ducks
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Wild-ducks digest..."
1. GCC_SURGE catchup (Mike Kinghan)
---------- Wiadomo¶æ przekazana dalej ----------
Date: Wed, 17 Nov 2010 11:15:51 +0000
Subject: [Wild-ducks] GCC_SURGE catchup
The GCC_SURGE branch of beagleboard was 3.5 months stale. I have merged it
up to the default tip, with necessary fixes for Linux portability and for
GCCE's lack of vfp math support. The ROM builds but I haven't tried to boot
it yet - next.
--
Mike Kinghan,
Test Lead, Symbian
+44(0)776 5222 793
Symbian Foundation Limited is a Company Limited by Guarantee and not having Share Capital
We're registered in England and Wales - Companies House knows us by the number 6683783
Our address is 1 Boundary Row, Southwark, London SE1 8HP.
_______________________________________________
Wild-ducks mailing list
http://developer.symbian.org/mailman/listinfo/wild-ducks
To subscribe or unsubscribe via the World Wide Web, visit
http://developer.symbian.org/mailman/listinfo/wild-ducks
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Wild-ducks digest..."
1. GCC_SURGE catchup (Mike Kinghan)
---------- Wiadomo¶æ przekazana dalej ----------
Date: Wed, 17 Nov 2010 11:15:51 +0000
Subject: [Wild-ducks] GCC_SURGE catchup
The GCC_SURGE branch of beagleboard was 3.5 months stale. I have merged it
up to the default tip, with necessary fixes for Linux portability and for
GCCE's lack of vfp math support. The ROM builds but I haven't tried to boot
it yet - next.
--
Mike Kinghan,
Test Lead, Symbian
+44(0)776 5222 793
Symbian Foundation Limited is a Company Limited by Guarantee and not having Share Capital
We're registered in England and Wales - Companies House knows us by the number 6683783
Our address is 1 Boundary Row, Southwark, London SE1 8HP.
_______________________________________________
Wild-ducks mailing list
http://developer.symbian.org/mailman/listinfo/wild-ducks
Mike Kinghan,
Test Lead, Symbian
+44(0)776 5222 793
Some facts about Symbian that we are legally obliged to tell you:
Symbian Foundation Limited is a Company Limited by Guarantee and not having Share Capital
We're registered in England and Wales - Companies House knows us by the number 6683783
Our address is 1 Boundary Row, Southwark, London SE1 8HP.