Hello,
I am working with DM8148 evm and one of our
requirements for the 1st stage boot-loader is the ability to run from
OCMC RAM in order to ease debugging of DDR issues. I see commit
536fa0571b49372e350365b9483a61a99adae6c2 (from
<http://arago-project.org/git/projects/u-boot-omap3.git>, full
header pasted below) that the same functionality is available for
TI816x. Looking at commits affecting Makefile I think something similar
has been available for TI8148 at some point but was later removed, see
commits e76867f02d51389b49211dbb845a2025fbf3952b and
895f7d5433d5a718a7867bb523e8f654c5712b2b where CONFIG_TI814X_STACK was
respectively first introduced and later removed.
Is there a technical reason for not supporting the same feature on
TI814X? If no, are there any plans to add support for it? and finally:
if I wanted to implement it, would it be sufficient to add space for
stack and heap in front of the image, define CONFIG_SKIP_RELOCATE_UBOOT
and set TEXT_BASE to something like OCMC_BASE+STACK_SIZE+HEAP_SIZE?
Thank you in advance for you help.
Kind Regards
--
Delio Brignoli
Audioscience Inc
commit 536fa0571b49372e350365b9483a61a99adae6c2
Author: Vaibhav Bedia <vaibhav.bedia@ti.com>
Date: Mon Oct 4 01:02:14 2010 +0530
ti816x: Add target which runs out of internal memory
Having a minimal build which runs out of internal memory
is useful in debugging DDR related issues of EVMs.
This patch adds a new target name "ti8168_evm_min_ocmc"
which serves this purpose.
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
---------------------------------------------------------------------------------------------
commit 895f7d5433d5a718a7867bb523e8f654c5712b2b
Author: Vaibhav Bedia <vaibhav.bedia@ti.com>
Date: Wed Jun 29 15:28:54 2011 +0530
tiimage: Remove padding for ti814x
First stage of TI814x had a padding of 12K to accomodate the stack
when running out of internal memory.
With relocation to RAM this is no longer needed.
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
--------------------------------------------------------------------------------------------
commit 536fa0571b49372e350365b9483a61a99adae6c2
Author: Vaibhav Bedia <vaibhav.bedia@ti.com>
Date: Mon Oct 4 01:02:14 2010 +0530
ti816x: Add target which runs out of internal memory
Having a minimal build which runs out of internal memory
is useful in debugging DDR related issues of EVMs.
This patch adds a new target name "ti8168_evm_min_ocmc"
which serves this purpose.
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>