Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2012 15:20:23 -0800
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
To:        Rafal Jaworowski <raj@semihalf.com>
Cc:        Tim Kientzle <tim@kientzle.com>, embedded@freebsd.org
Subject:   FDT code fixes for ubldr
Message-ID:  <50B54AB7.8080301@bluezbox.com>

next in thread | raw e-mail | index | archive | help
Hi guys,

Here is a patch for FDT support in ubldr:
http://people.freebsd.org/~gonzo/patches/fdt.diff
Reviews are appreciated

I also plan to add merge of memreserve and memory regions as a part of 
memory fixup process.

Changes:
- Implement "fdt mres" sub-command that prints reserved memory regions
- Add "fdt addr" subcommand that lets you specify preloaded blob address
- Do not pre-initialize blob for "fdt addr"
- Do not try to load dtb every time fdt subcommand is issued,
     do it only once
- Change the way DTB is passed to kernel. With introduction of "fdt addr"
     actual blob address can be not virtual but physical or reside in
     area higher then 64Mb. ubldr should create copy of it in kernel area
     and pass pointer to this newly allocated buffer which is guaranteed 
to work
     in kernel after switching on MMU.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B54AB7.8080301>