26 Nov, 2018
1 commit
-
We have a few things in the memory map now, so add documentation for this
to avoid confusion. Also note that it is possible to run all tests now.Signed-off-by: Simon Glass
21 Nov, 2018
3 commits
-
This function is really just a call to uclass_get_device() and there is no
reason why the caller cannot do it. Update sandbox and snow accordingly.Signed-off-by: Simon Glass
Acked-by: Minkyu Kang -
If we want to control which network interface is actually used, we have to
issue 'setenv ethrotate no'. If ethrotate is not set any interface may be
used.Signed-off-by: Heinrich Schuchardt
Reviewed-by: Simon Glass -
The command to set environment variables is setenv.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Simon Glass
30 Sep, 2018
1 commit
-
There are quite a few builds of sandbox now. Add information about these
to the README.Signed-off-by: Simon Glass
10 Aug, 2018
1 commit
-
Initialize the led with the default state defined in device tree
in board_init and solve issue with test for led default state.Reviewed-by: Simon Glass
Signed-off-by: Patrick Delaunay
07 May, 2018
2 commits
-
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.Signed-off-by: Tom Rini
-
Signed-off-by: Trevor Woerner
19 Feb, 2018
1 commit
-
To debug device tree issues involving 32- and 64-bit platforms, it is useful to
have a generic 64-bit platform available.Add a version of the sandbox that uses 64-bit integers for its physical
addresses as well as a modified device tree.Signed-off-by: Mario Six
Added CONFIG_SYS_TEXT_BASE to configs/sandbox64_defconfig
Signed-off-by: Simon Glass
15 Sep, 2017
1 commit
-
Provide a Python function that creates a small block device for the
purpose of testing the cmd/gpt.c or cmd/part.c functions in the u-boot
sandbox.Signed-off-by: Alison Chaiken
Reviewed-by: Simon Glass
12 Sep, 2017
1 commit
-
Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct
number depending on which host we are going to build and run.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
12 Jul, 2017
1 commit
-
The instructions for creating a disk image that are presently in
README.sandbox fail because sfdisk doesn't know about GPT.Signed-off-by: Alison Chaiken
Reviewed-by: Simon Glass
Tested-by: Simon Glass
01 Jun, 2017
1 commit
-
Add a sandbox board to test the non-livetree build (i.e. with
CONFIG_OF_FLAT disabled). This increases our build and test coverage.Signed-off-by: Simon Glass
19 Sep, 2016
1 commit
-
Signed-off-by: Stefan Brüns
Acked-by: Simon Glass
Changed 'Sandbox' to 'sandbox' in subject:
Signed-off-by: Simon Glass
26 Jul, 2016
1 commit
-
Sandbox is built with 64-bit ints by default. This doesn't work properly on
32-bit machines.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
15 Jul, 2016
1 commit
-
It is useful to be able to build SPL for sandbox. It provides additional
build coverage and allows SPL features to be tested in sandbox. However
it does not need worthwhile to always create an SPL build. It nearly
doubles the build time and the feature is (so far) seldom used.So for now, create a separate build target for sandbox SPL. This allows
experimentation with this new feature without impacting existing workflows.Signed-off-by: Simon Glass
28 May, 2016
1 commit
-
Remove the warning from the Makefile, since boards that do not use generic
board will no longer build. Also update documentation.Signed-off-by: Simon Glass
Reviewed-by: Andreas Bießmann
17 May, 2016
1 commit
-
While the driver-model block device support is in progress, it is useful to
build sandbox both with and without CONFIG_BLK. Add a separate board for
the latter.Signed-off-by: Simon Glass
15 Apr, 2016
1 commit
-
Update dm test command with pytest instead of ./test/dm/test-dm.sh
Cc: Tom Rini
Cc: Simon Glass
Acked-by: Stephen Warren
Signed-off-by: Jagan Teki
21 Jan, 2016
1 commit
-
Now that driver model support is available, convert sandbox over to use it.
We can remove a few of the special hooks that sandbox currently has.Signed-off-by: Simon Glass
Acked-by: Anatolij Gustschin
20 Nov, 2015
1 commit
-
Add a sandbox timer which get time from host os and a basic
test.Signed-off-by: Thomas Chou
Reviewed-by: Simon Glass
06 May, 2015
1 commit
-
Add a function that maintains an offset to include in the system timer
values returned from the lib/time.c APIs.This will allow timeouts to be skipped instantly in tests
Signed-off-by: Joe Hershberger
Acked-by: Simon Glass
19 Apr, 2015
4 commits
-
Since driver model will probe the EC when it is first used, we do not
need to init it explicitly.Signed-off-by: Simon Glass
-
The 'lo' interface on Linux doesn't support thinks like ARP or
link-layer access like we use to talk to a normal network interface.
A higher-level network API must be used to access localhost.As written, this interface is limited to not supporting ICMP since the
API doesn't allow the socket to be opened for all IP traffic and be able
to receive at the same time. UDP is far more useful to test with, so it
was selected over ICMP. Ping won't work, but things like TFTP should
work.Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass -
Implement a bridge between U-Boot's network stack and Linux's raw packet
API allowing the sandbox to send and receive packets using the host
machine's network interface.This raw Ethernet API requires elevated privileges. You can either run
as root, or you can add the capability needed like so:sudo /sbin/setcap "CAP_NET_RAW+ep" /path/to/u-boot
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass -
Add basic network support to sandbox which includes a network driver.
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
31 Jan, 2015
1 commit
-
This brings in a additional small fix which was missed in a recent update
to the README.Suggested-by: Masahiro Yamada
Signed-off-by: Simon Glass
Acked-by: Jagannadha Sutradharudu Teki
22 Sep, 2014
1 commit
-
- Use _defconfig instead of _config, but still _config is working.
- Corrected README.sandbox path in ./READMESigned-off-by: Jagannadha Sutradharudu Teki
Acked-by: Simon Glass
30 Jul, 2014
1 commit
-
We have switched to Kconfig and the boards.cfg file is going to
be removed. We have to retrieve the board status and maintainers
information from it.The MAINTAINERS format as in Linux Kernel would be nice
because we can crib the scripts/get_maintainer.pl script.After some discussion, we chose to put a MAINTAINERS file under each
board directory, not the top-level one because we want to collect
relevant information for a board into a single place.TODO:
Modify get_maintainer.pl to scan multiple MAINTAINERS files.Signed-off-by: Masahiro Yamada
Suggested-by: Tom Rini
Acked-by: Simon Glass
17 May, 2014
2 commits
-
Because sandbox is not a real hardware, setting vendor=sandbox is
almost meaningless.This commit sets sandbox's vendor field to '-'.
It is a good thing that it decreases one level directory hierarchy.
The files board/sandbox/sandbox/* have been moved to board/sandbox/*.Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
Tested-by: Simon Glass -
This reverts commit 258060905e04fe2eb509756ef3b37e23e220a2d6.
Conflicts:
boards.cfgWrong patch 25806090 was applied by accident. Revert it.
Signed-off-by: Masahiro Yamada
Cc: Simon Glass
Acked-by: Simon Glass
10 May, 2014
2 commits
-
Prior to commit 33a02da0, all boards must have board/${BOARD}/
or board/${VENDOR}/${BOARD}/ directory.
Now this rule is obsolete.It looks weird that sandbox defines "vendor" and "board" just for
meeting the old U-Boot directory structure.Signed-off-by: Masahiro Yamada
Cc: Simon Glass -
Now that sandbox has a good base of features, the README is quite out of
date. Update it, and document the new features.Signed-off-by: Simon Glass
18 Mar, 2014
2 commits
-
Add a simple LCD driver which uses SDL to display the image. We update the
image regularly, while still providing for reasonable performance.Adjust the common lcd code to support sandbox.
For command-line runs we do not want the LCD to be displayed, so add a
--show_lcd option to enable it.Tested-by: Che-Liang Chiou
Signed-off-by: Simon Glass -
Add board code to set up the Chrome OS EC on startup.
Signed-off-by: Simon Glass
05 Mar, 2014
1 commit
-
Convert sandbox over to use driver model GPIOs.
Signed-off-by: Simon Glass
25 Jan, 2014
1 commit
-
If timer_init() is made a weak stub function, then it allows us to
remove several empty timer_init functions for those boards that
already have a timer initialized when u-boot starts. Architectures
that use the timer framework may also remove the need for timer.c.Signed-off-by: Darwin Rambo
Reviewed-by: Tim Kryger
10 Dec, 2013
1 commit
-
This adds a SPI flash driver which simulates SPI flash clients.
Currently supports the bare min that U-Boot requires: you can
probe, read, erase, and write. Should be easy to extend to make
it behave more exactly like a real SPI flash, but this is good
enough to merge now.sjg@chromium.org added a README and tidied up code a little.
Added a required map_sysmem() for sandbox.Signed-off-by: Mike Frysinger
Signed-off-by: Simon Glass
09 Nov, 2013
1 commit
-
Convert sandbox to use common time functions.
Signed-off-by: Rob Herring
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
Cc: Simon Glass
Acked-by: Simon Glass