- Aug 31, 2015
-
-
Masahiro Yamada authored
This driver actually does nothing but test pinctrl uclass, and demonstrate how things work. To try this driver, uncomment /* #define DEBUG */ in the drivers/pinctrl/pinctrl-sandbox.c, and debug messages will be displayed. DRAM: 128 MiB sandbox pinmux: group = 1 (serial_a), function = 1 (serial) Using default environment In: cros-ec-keyb Out: lcd Err: lcd Net: Net Initialization Skipped eth0: eth@10002000, eth1: eth@80000000, eth5: eth@90000000 => i2c dev 0 Setting bus to 0 sandbox pinmux: group = 0 (i2c), function = 0 (i2c) sandbox pinconf: group = 0 (i2c), param = 3, arg = 1 Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Convert the sandbox TPM driver to use driver model. Add it to the device tree so that it can be found on start-up. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Christophe Ricard <christophe-h.ricard@st.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
- Jun 04, 2015
-
-
Simon Glass authored
Sort this by node name for easier browsing. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- May 15, 2015
-
-
Przemyslaw Marczak authored
This commit adds dtsi file for Sandbox PMIC. It fully describes the PMIC by: - i2c emul node - with a default settings of 16 registers - 2x buck regulator nodes - 2x ldo regulator nodes The default register settings are set with preprocessor macros: - VAL2REG(min[uV/uA], step[uV/uA], val[uV/uA]) - VAL2OMREG(mode id) Both defined in file: - include/dt-bindings/pmic/sandbox_pmic.h The Voltage ranges of each regulator can be found in: - include/power/sandbox_pmic.h The new file is included into: - sandbox.dts - test.dts Signed-off-by:
Przemyslaw Marczak <p.marczak@samsung.com> Acked-by:
Simon Glass <sjg@chromium.org> Tested on sandbox: Tested-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Increase the LCD size to 1366x768. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- May 06, 2015
-
-
Simon Glass authored
Add an emulated RTC device for sandbox, so that the 'date' command can be used. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Apr 18, 2015
-
-
Simon Glass authored
These allow basic testing of the USB functionality within sandbox. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Simon Glass authored
The U-Boot device trees are slightly different in a few places. Adjust them to remove most of the differences. Note that U-Boot does not support the concept of interrupts as distinct from GPIOs, so this difference remains. For sandbox, use the same keyboard file as for ARM boards and drop the host emulation bus which seems redundant. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Joe Hershberger authored
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 <joe.hershberger@ni.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Joe Hershberger authored
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 <joe.hershberger@ni.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Joe Hershberger authored
The sandbox driver will now generate response traffic to exercise the ping command even when no network exists. This allows the basic data pathways of the DM to be tested. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Joe Hershberger authored
Add basic network support to sandbox which includes a network driver. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Apr 17, 2015
-
-
Simon Glass authored
Add the required header information, device tree nodes and I/O accessor functions to support PCI on sandbox. All devices are emulated by drivers which can be added as required for testing or development. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We should have a size value for these. Add one in each case. This will be needed for PCI. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
- Jan 30, 2015
-
-
Simon Glass authored
The other boards got updated to the standard binding. Update sandbox as well. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a new 'demo light' command which uses GPIOs to control imaginary lights. Each light is assigned a bit number in the overall value. This provides an example driver for using the new GPIO API. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Dec 11, 2014
-
-
Simon Glass authored
Add an I2C bus to the device tree, with an EEPROM emulator attached to one of the addresses. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Oct 22, 2014
-
-
Simon Glass authored
Add a SPI device which can be used for testing SPI flash features in sandbox. Also add a cros_ec device since with driver model the Chrome OS EC emulation will not otherwise be available. Reviewed-by:
Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Sep 10, 2014
-
-
Simon Glass authored
If the sandbox device tree is provided to U-Boot (with the -d flag) then it will use the device tree version in preference to the built-in device. The only difference is the colour. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Sep 01, 2014
-
-
Simon Glass authored
Add a bank of GPIOs for sandbox which can be used for testing this functionality. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Mar 18, 2014
-
-
Simon Glass authored
Add an LCD display and keyboard to the sandbox device tree so that these features can be used. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Mar 04, 2014
-
-
Simon Glass authored
Add support for building a device tree for sandbox's CONFIG_OF_HOSTFILE option to make it easier to use device tree with sandbox. This adjusts the Makefile to build a u-boot.dtb file which can be passed to sandbox U-Boot with: ./u-boot -d u-boot.dtb Signed-off-by:
Simon Glass <sjg@chromium.org>
-