| /rk3399_rockchip-uboot/arch/sandbox/dts/ |
| H A D | test.dts | 4 model = "sandbox"; 5 compatible = "sandbox"; 65 compatible = "sandbox,phy"; 70 compatible = "sandbox,phy"; 139 compatible = "sandbox,clk"; 144 compatible = "sandbox,clk-test"; 152 compatible = "sandbox,eth"; 158 compatible = "sandbox,eth"; 164 compatible = "sandbox,eth"; 170 compatible = "sandbox,eth"; [all …]
|
| H A D | sandbox.dts | 8 model = "sandbox"; 23 compatible = "google,cros-ec-sandbox"; 37 /* Information for sandbox */ 51 compatible = "sandbox,eth"; 57 compatible = "sandbox,eth-raw"; 63 compatible = "sandbox,eth-raw"; 70 compatible = "sandbox,gpio"; 78 compatible = "sandbox,gpio"; 94 compatible = "sandbox,i2c"; 102 compatible = "sandbox,i2c-eeprom"; [all …]
|
| /rk3399_rockchip-uboot/arch/sandbox/include/asm/ |
| H A D | clk.h | 15 * enum sandbox_clk_id - Identity of clocks implemented by the sandbox clock 28 * enum sandbox_clk_test_id - Identity of the clocks consumed by the sandbox 42 * sandbox_clk_query_rate - Query the current rate of a sandbox clock. 44 * @dev: The sandbox clock provider device. 50 * sandbox_clk_query_enable - Query the enable state of a sandbox clock. 52 * @dev: The sandbox clock provider device. 59 * sandbox_clk_test_get - Ask the sandbox clock test device to request its 62 * @dev: The sandbox clock test (client) devivce. 67 * sandbox_clk_test_get_bulk - Ask the sandbox clock test device to request its 70 * @dev: The sandbox clock test (client) devivce. [all …]
|
| H A D | state.h | 17 * If Ctrl-C is processed by U-Boot, then the only way to quit sandbox is with 62 const char *state_fname; /* File containing sandbox state */ 63 void *state_fdt; /* Holds saved state for sandbox */ 64 bool read_state; /* Read sandbox state on startup */ 65 bool write_state; /* Write sandbox state on exit */ 86 * struct sandbox_state_io - methods to saved/restore sandbox state 115 * sandbox, it might not be worth using individual properties for everything. 127 * SANDBOX_STATE_IO - Declare sandbox state to read/write 129 * Sandbox permits saving state from one run and restoring it in another. This 155 * Read the sandbox state from the supplied device tree file [all …]
|
| H A D | gpio.h | 2 * This is the interface to the sandbox GPIO driver for test code which 27 * Return the simulated value of a GPIO (used only in sandbox test code) 36 * Set the simulated value of a GPIO (used only in sandbox test code) 46 * Set or reset the simulated open drain mode of a GPIO (used only in sandbox 58 * sandbox test code) 66 * Return the simulated direction of a GPIO (used only in sandbox test code) 75 * Set the simulated direction of a GPIO (used only in sandbox test code)
|
| /rk3399_rockchip-uboot/board/sandbox/ |
| H A D | MAINTAINERS | 1 SANDBOX BOARD 4 F: board/sandbox/ 5 F: include/configs/sandbox.h 11 F: board/sandbox/ 12 F: include/configs/sandbox.h 15 SANDBOX SPL BOARD 18 F: board/sandbox/ 22 SANDBOX FLAT TREE BOARD 25 F: board/sandbox/ 26 F: include/configs/sandbox.h
|
| H A D | README.sandbox | 10 The 'sandbox' architecture is designed to allow U-Boot to run under Linux on 15 of the sandbox U-Boot. The purpose of running U-Boot under Linux is to test 21 The board name is 'sandbox' but the vendor name is unset, so there is a 22 single board in board/sandbox. 33 To run sandbox U-Boot use something like: 41 build sandbox without SDL (i.e. no display/keyboard support) by removing 42 the CONFIG_SANDBOX_SDL line in include/configs/sandbox.h or using: 49 include/configs/sandbox.h and change CONFIG_SANDBOX_BITS_PER_LONG to 32. 51 U-Boot will start on your computer, showing a sandbox emulation of the serial 66 not supported you can add it to include/configs/sandbox.h. [all …]
|
| /rk3399_rockchip-uboot/arch/sandbox/ |
| H A D | Kconfig | 1 menu "Sandbox architecture" 2 depends on SANDBOX 5 default "sandbox" 8 default "sandbox" 11 default "sandbox" 14 bool "Enable SPL for sandbox" 19 default "sandbox" if !SANDBOX_SPL
|
| H A D | Makefile | 5 head-y := arch/sandbox/cpu/start.o 7 libs-y += arch/sandbox/cpu/ 8 libs-y += arch/sandbox/lib/
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/pmic/ |
| H A D | sandbox.txt | 1 Sandbox pmic 4 - drivers/power/pmic/sandbox.c (for parent device) 5 - drivers/power/regulator/sandbox.c (for child regulators) 10 - doc/device-tree-bindings/regulator/sandbox.txt 13 - compatible: "sandbox,pmic" 17 - compatible: "sandbox,i2c-pmic" 28 compatible = "sandbox,pmic"; 33 compatible = "sandbox,i2c-pmic";
|
| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | test.py | 60 '''In file included from %(basedir)sarch/sandbox/cpu/cpu.c:9:0: 61 %(basedir)sarch/sandbox/include/asm/state.h:44:0: warning: "xxxx" redefined [enabled by default] 62 %(basedir)sarch/sandbox/include/asm/state.h:43:0: note: this is the location of the previous defini… 63 %(basedir)sarch/sandbox/cpu/cpu.c: In function 'do_reset': 64 %(basedir)sarch/sandbox/cpu/cpu.c:27:1: error: unknown type name 'blah' 65 %(basedir)sarch/sandbox/cpu/cpu.c:28:12: error: expected declaration specifiers or '...' before num… 66 make[2]: *** [arch/sandbox/cpu/cpu.o] Error 1 67 make[1]: *** [arch/sandbox/cpu] Error 2 70 %(basedir)sarch/sandbox/include/asm/state.h:44:0: warning: "xxxx" redefined [enabled by default] 71 %(basedir)sarch/sandbox/include/asm/state.h:43:0: note: this is the location of the previous defini… [all …]
|
| /rk3399_rockchip-uboot/tools/dtoc/ |
| H A D | dtoc_test_simple.dts | 16 compatible = "sandbox,spl-test"; 29 compatible = "sandbox,spl-test"; 41 compatible = "sandbox,spl-test"; 47 compatible = "sandbox,spl-test.2"; 51 compatible = "sandbox,i2c-test"; 56 compatible = "sandbox,pmic-test";
|
| /rk3399_rockchip-uboot/doc/SPI/ |
| H A D | README.sandbox-spi | 1 Sandbox SPI/SPI Flash Implementation 4 U-Boot supports SPI and SPI flash emulation in sandbox. This must be enabled 9 $ make O=sandbox sandbox_config 10 $ make O=sandbox 11 $ ./sandbox/u-boot --spi_sf 0:0:W25Q128:b/chromeos_peach/out/image.bin 23 $ ./b/sandbox/u-boot --spi_sf 0:0:W25Q128:b/chromeos_peach/out/image.bin \ 63 Note that the sandbox SPI implementation was written by Mike Frysinger
|
| /rk3399_rockchip-uboot/test/ |
| H A D | README | 11 To run most tests on sandbox, type this: 19 Sandbox 22 allows test to be executed without needing target hardware. The 'sandbox' 30 either on sandbox or on real hardware. It relies on the U-Boot console to 34 You can run the tests on sandbox with: 36 ./test/py/test.py --bd sandbox --build 38 This will produce HTML output in build-sandbox/test-log.html 80 - If you are adding a new uclass, add a sandbox driver and a test that uses it
|
| H A D | run | 3 # Run all tests that the standard sandbox build can support 4 ./test/py/test.py --bd sandbox --build 9 # Run tests for the flat DT version of sandbox
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/serial/ |
| H A D | sandbox-serial.txt | 1 Sandbox serial 3 The sandbox serial device is an emulated device which displays its output 7 compatible: "sandbox,serial" 10 sandbox,text-colour: If present, this is the colour of the console text.
|
| /rk3399_rockchip-uboot/test/dm/ |
| H A D | usb.c | 21 /* Test that sandbox USB works correctly */ 143 " | sandbox hub 2345\n" 146 " | sandbox flash flash-stick@0\n" 149 " | sandbox flash flash-stick@1\n" 152 " | sandbox flash flash-stick@2\n" 155 " sandbox keyboard keyb@3\n" 180 " | sandbox hub 2345\n" 183 " | sandbox flash flash-stick@0\n" 186 " | sandbox flash flash-stick@2\n" 189 " sandbox keyboard keyb@3\n" [all …]
|
| /rk3399_rockchip-uboot/test/py/tests/ |
| H A D | test_sandbox_exit.py | 9 @pytest.mark.boardspec('sandbox') 12 """Test that the "reset" command exits sandbox process.""" 17 @pytest.mark.boardspec('sandbox') 19 """Test that sending SIGINT to sandbox causes it to exit."""
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/regulator/ |
| H A D | sandbox.txt | 1 Sandbox, PMIC regulators 4 - drivers/power/pmic/sandbox.c (as parent I/O device) 5 - drivers/power/regulator/sandbox.c (for child regulators) 10 - doc/device-tree-bindings/pmic/sandbox.txt 16 The sandbox PMIC can support: ldo1, ldo2, buck1, buck2.
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/spmi/ |
| H A D | spmi-sandbox.txt | 1 Sandbox SPMI emulated arbiter. 3 This is bus driver for Sandbox. It includes part of emulated pm8916 pmic. 6 - compatible: "sandbox,spmi" 13 compatible = "sandbox,spmi";
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/timer/ |
| H A D | sandbox_timer.txt | 1 Sandbox timer 3 The sandbox timer device is an emulated device which gets time from 7 compatible: "sandbox,timer"
|
| /rk3399_rockchip-uboot/test/py/tests/vboot/ |
| H A D | sandbox-u-boot.dts | 4 model = "Sandbox Verified Boot Test"; 5 compatible = "sandbox"; 8 compatible = "sandbox,reset";
|
| /rk3399_rockchip-uboot/test/py/ |
| H A D | u_boot_console_sandbox.py | 6 # Logic to interact with the sandbox port of U-Boot, running as a sub-process. 13 """Represents a connection to a sandbox U-Boot console, executed as a sub- 32 A new sandbox process is created, so that U-Boot begins running from 58 """Send a specific Unix signal to the sandbox process. 71 """Determine whether the sandbox process has exited.
|
| /rk3399_rockchip-uboot/drivers/usb/emul/ |
| H A D | Kconfig | 3 depends on DM_USB && SANDBOX 5 Since sandbox does not have access to a real USB bus, it is possible 7 stack on sandbox without needing a real device, or any host machine
|
| /rk3399_rockchip-uboot/arch/sandbox/cpu/ |
| H A D | state.c | 12 /* Main state record for the sandbox */ 53 printf("Cannot find sandbox state file '%s'\n", fname); in state_read_file() 58 puts("No memory to read sandbox state\n"); in state_read_file() 63 printf("Cannot open sandbox state file '%s'\n", fname); in state_read_file() 68 printf("Cannot read sandbox state file '%s'\n", fname); in state_read_file() 93 * @state: Sandbox state 167 debug("Read sandbox state from '%s'%s\n", fname, in sandbox_read_state() 183 * @state: Sandbox state 272 printf("Could not write sandbox state\n"); in sandbox_write_state() 285 printf("Cannot open sandbox state file '%s'\n", fname); in sandbox_write_state() [all …]
|