toolchain update

Stefan Sperling stsp at
Mon Jun 25 18:14:29 CEST 2007

On Mon, Jun 25, 2007 at 04:20:08PM +0100, Malcolm wrote:
> On 6/25/07, Stefan Sperling <stsp at> wrote:
> > I've then tried building an NDS build. It does compile fine
> > and creates a responsive keyboard but does not print anything
> > to the top screen, not even with the text console enabled and
> > the framebuffer console disabled.
> The NDS build has printk disabled.

Uuuuhh bummer.

OK now I can see:

<6>Freeing init memory: 104K
BINFMT_FLAT: Loading file /sbin/init
Mapping is 222ab2c, Entry point is 50, data_start is 6960
Load /sbin/init: TEXT=222ab6c-223148c DATA=2300004-2300bd4 BSS=2300bd4-2312634
<1>Data abort: pc=0x022f2014
<1>            lr=0x02195778
<1>            sp=0x0232ff3c
<1>Possible stack trace:
01: 02170e24
02: 02170ef8
03: 02170be8
04: 0219ee90
05: 0218ebc4
06: 0219ee98

on an NDS build compiled with a toolchain _without_ 8bit write
workaround, so this has nothing to do with me messing up the
8bit write stuff :-/


Init's symbols range from 4 to 18f50:

         w __h_errno_location
         w __pthread_initialize_minimal
00000000 N __stack_start
00000004 T _stext
00000010 T _start
00000058 T hup_handler

00018f50 B _ebss
00018f50 B _end
00018f50 B end

But pc=0x022f2014 - offset=0x222ab6c equals 0xc74a8
And 0xc74a8 > 0x18f50   :*(

The stack trace does not make sense either, giving negative numbers:

0x02170e24 - 0x222ab6 = -0xb9d48

What is going on?
stefan                                         PGP Key: 0xF59D25F0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : 

More information about the dslinux-devel mailing list