Age | Commit message (Collapse) | Author |
|
This is hard-coded to ARM at present, but really should be getting the correct
architecture from the lds file, however unpleasant this is.
BUG=chromium-os:19353
TEST=build for Seaboard
Change-Id: I7974b742a286efb3fd80b84cd47713fb3fc29c9e
Reviewed-on: http://gerrit.chromium.org/gerrit/6256
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
|
|
We want to build device tree source files from /u-boot/dts, so we must
make them build both inside and outside the U-Boot tree. This requires that
we remove the relative paths from the front of *.dts files.
Also we should keep the convention that include files end with .dtsi
It would be more convenient to add a -I option to dtc to specify a list
of include directories to search.
BUG=chromium-os:17192
TEST=emerge U-Boot, emerge tegra2-fdt, see that both succeed
Change-Id: I2ac65296cd19ee92e02837c9b418c8a630ef3075
Reviewed-on: http://gerrit.chromium.org/gerrit/3667
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
|
|
This was unfortunately broken by the external device tree building, and the
fault was not noticed until now.
BUG=chromium-os:11623
TEST=build with CONFIG_OF_EMBED defined; see that build succeeds and boots
on Seaboard
Change-Id: Iedc950577b63ffda5c4d8334662151836f33dd29
Reviewed-on: http://gerrit.chromium.org/gerrit/3262
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
|
|
This adds support for an FDT to be concatenated to the u-boot-bin binary.
This is located at run-time by U-Boot.
BUG=chromium-os:11623
TEST=Either emerge with http://gerrit.chromium.org/gerrit/2961
or build manually:
make ... DEV_TREE_SEPARATE=true
and check that u-boot.dtb is built.
Change-Id: I7c8b1315d721bc957ef3fd07f167d86345868036
Reviewed-on: http://gerrit.chromium.org/gerrit/2962
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
|
|
Previously the build error was cryptic if CONFIG_OF_EMBED is defined but
CONFIG_DEFAULT_DEVICE_TREE is not. This corrects that, and also makes
sure that no device tree is compiled unless CONFIG_OF_EMBED is defined.
BUG=chromium-os:11623
TEST=build with and without each of CONFIG_DEFAULT_DEVICE_TREE, CONFIG_OF_EMBED
Change-Id: I7c2ec307cc9c3c0326ae6b5733daf7b2eb6ccde2
Reviewed-on: http://gerrit.chromium.org/gerrit/2808
Tested-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
|
|
The default device tree used by the make system is
board/nvidia/seaboard/tegra2-seaboard.dts, it is expected to be
defined in the main config file used by the related targets. If
'DEV_TREE_SRC' is defined in the environment, the file
board/nvidia/seaboard/${DEV_TREE_SRC} is used as the device tree
source instead. ./mkconfig is being restored to remove the device
tree related changes.
BUG=chromium-os:834
TEST=manual
Change-Id: I2232c5f4413b719057ec3def77ca03a78068c3c9
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/2776
Reviewed-by: Simon Glass <sjg@chromium.org>
|
|
The device tree compiler output should be placed in the $(obj)
rooted tree. Since $(OBJCOPY) insists on adding the path to the
generated symbol names, to ensure consistency it should be
invoked from the directory where the .dtb file is located and
given the input file name without the path.
BUG=chromium-os:13082
TEST=build the image for seaboard out of tree (using the
O=/tmp/dir make parameter)
Change-Id: I8aabae757072c937a42c4dd85e43fdc1309f3dc3
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/2371
Reviewed-by: Simon Glass <sjg@chromium.org>
|
|
This new option allows U-Boot to embed a binary device tree into its image
to allow run-time control of peripherals. This device tree is for U-Boot's
own use and is not necessarily the same one as is passed to the kernel.
BUG=chromium-os:11623
TEST=build and boot U-Boot on Seaboard
Change-Id: I024d01079a44395e122a8b53e3901ba9a007dc5a
Reviewed-on: http://gerrit.chromium.org/gerrit/621
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
|
|
These files are from the device tree mailing list. So far they
are very basic.
BUG=chromium-os:11623
TEST=(none, this just adds files)
Change-Id: I201110f58bf63e4b2d0728355cdfceb68455f0f0
Reviewed-on: http://gerrit.chromium.org/gerrit/618
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
|