
Hello,
So I just took a quick relook at boards other then the 925 based one I'm using, and you would really expect all pxa's to have a problem if they do a malloc. The other working ARM targets init up the _armboot_real_end in cpu.c (to just past the stack above the text), this is what gets used in board.c to init up the malloc area. For the pxa this is commented out, so the default value will be badcode.
Why it works for your board like the cradle..... And not some others like the innokom..... Perhaps is a side effect of the buggy bss initialization, the pxa/start.S uses some linker symbols to clear the bss (bss_start/end), these symbols are ABOVE the text address range not below it, the sp was just set up a couple instructions before, then it goes about clearing who knows what. Look at your System.map file or trace it.
or the fact the innokom has two! _TEXT_BASE symbols defined (again check its System.map), choose your context, cut and paste of .S files I suppose.
Regards,
Richard W.
-----Original Message----- From: u-boot-users-admin@lists.sourceforge.net [mailto:u-boot-users-admin@lists.sourceforge.net] On Behalf Of Kyle Harris Sent: Wednesday, November 12, 2003 1:53 PM To: Anders Larsen; wd@denx.de Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] [PATCH] fix the ARM memory layout
On Wednesday 12 November 2003 12:23 pm, Anders Larsen wrote:
Hi,
here's a fresh version of my rather intrusive patch from the 17.th sept. to rearrange the ARM memory layout to bring it in
line with the
README.
This has the positive side-effect of actually allow U-Boot to run on PXA- and IXP-based targets; the current implementation sets up the heap using bogus addresses causing u-boot to crash (this
even applies
to the recently added board "ixdp425").
I don't disagree that memory layout for ARM is broken. But, I've never seen a crash on any of my Xscale boards, including a couple of new ones based on ixdp425 and cradle.
Kyle.
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users