All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: OMAP5: Set fdt_high to enable booting with Device tree
@ 2013-03-21  6:55 Sricharan R
  2013-03-21 11:59 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Sricharan R @ 2013-03-21  6:55 UTC (permalink / raw)
  To: u-boot

While booting with dtblob, if fdt_high is not set to
0xffffffff, the dt blob is relocated to a higher address,
which the kernel is not able to use without HIGHMEM.

So set it to 0xffffffff to avoid the issue.

Signed-off-by: Sricharan R <r.sricharan@ti.com>
---
 include/configs/omap5_common.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/omap5_common.h b/include/configs/omap5_common.h
index af97564..f0416df 100644
--- a/include/configs/omap5_common.h
+++ b/include/configs/omap5_common.h
@@ -143,6 +143,7 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"loadaddr=0x82000000\0" \
 	"console=ttyO2,115200n8\0" \
+	"fdt_high=0xffffffff\0" \
 	"usbtty=cdc_acm\0" \
 	"vram=16M\0" \
 	"mmcdev=0\0" \
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] ARM: OMAP5: Set fdt_high to enable booting with Device tree
  2013-03-21  6:55 [U-Boot] [PATCH] ARM: OMAP5: Set fdt_high to enable booting with Device tree Sricharan R
@ 2013-03-21 11:59 ` Tom Rini
  2013-03-22 13:01   ` Sricharan R
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2013-03-21 11:59 UTC (permalink / raw)
  To: u-boot

On Thu, Mar 21, 2013 at 12:25:17PM +0530, Sricharan R wrote:

> While booting with dtblob, if fdt_high is not set to
> 0xffffffff, the dt blob is relocated to a higher address,
> which the kernel is not able to use without HIGHMEM.
> 
> So set it to 0xffffffff to avoid the issue.
> 
> Signed-off-by: Sricharan R <r.sricharan@ti.com>

That's fine, but while we're making this DT-happy, lets add fdtaddr to
the env (so there's a good default and safe address to load the DT to)
and make the default boot commands load and pass the DT.  That means
that we need to make sure that you probably need to enable
CONFIG_ENV_VARS_UBOOT_CONFIG and perhaps
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG (and see board/ti/am335x/board.c
for an example) so that we pick out the right DT file to load.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130321/56afc72d/attachment.pgp>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] ARM: OMAP5: Set fdt_high to enable booting with Device tree
  2013-03-21 11:59 ` Tom Rini
@ 2013-03-22 13:01   ` Sricharan R
  0 siblings, 0 replies; 3+ messages in thread
From: Sricharan R @ 2013-03-22 13:01 UTC (permalink / raw)
  To: u-boot

Hi Tom,
On Thursday 21 March 2013 05:29 PM, Tom Rini wrote:
> On Thu, Mar 21, 2013 at 12:25:17PM +0530, Sricharan R wrote:
> 
>> While booting with dtblob, if fdt_high is not set to
>> 0xffffffff, the dt blob is relocated to a higher address,
>> which the kernel is not able to use without HIGHMEM.
>>
>> So set it to 0xffffffff to avoid the issue.
>>
>> Signed-off-by: Sricharan R <r.sricharan@ti.com>
> 
> That's fine, but while we're making this DT-happy, lets add fdtaddr to
> the env (so there's a good default and safe address to load the DT to)
> and make the default boot commands load and pass the DT.  That means
> that we need to make sure that you probably need to enable
> CONFIG_ENV_VARS_UBOOT_CONFIG and perhaps
> CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG (and see board/ti/am335x/board.c
> for an example) so that we pick out the right DT file to load.
> 
Thanks for the inputs. So i will have to check if we have eeprom as
in your case for runtime configuration.Even otherwise the default
should be changed as you said. Plus will also change default as zImage.
will post shortly.

Regards,
 Sricharan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-22 13:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-21  6:55 [U-Boot] [PATCH] ARM: OMAP5: Set fdt_high to enable booting with Device tree Sricharan R
2013-03-21 11:59 ` Tom Rini
2013-03-22 13:01   ` Sricharan R

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.