/openbmc/u-boot/arch/sandbox/dts/ |
H A D | test.dts | 4 model = "sandbox"; 5 compatible = "sandbox"; 46 compatible = "sandbox,audio-codec"; 52 compatible = "google,cros-ec-sandbox"; 63 /* Information for sandbox */ 114 compatible = "sandbox,phy"; 131 compatible = "sandbox,phy"; 136 compatible = "sandbox,phy"; 217 compatible = "sandbox,clk"; 222 compatible = "sandbox,clk-test"; [all …]
|
H A D | sandbox64.dts | 8 model = "sandbox"; 22 compatible = "google,cros-ec-sandbox"; 33 /* Information for sandbox */ 50 compatible = "sandbox,eth-raw-bus"; 55 compatible = "sandbox,eth"; 62 compatible = "sandbox,gpio"; 65 sandbox,gpio-count = <20>; 70 compatible = "sandbox,gpio"; 73 sandbox,gpio-count = <10>; 86 compatible = "sandbox,i2c"; [all …]
|
H A D | sandbox.dts | 8 model = "sandbox"; 22 compatible = "sandbox,audio-codec"; 29 compatible = "google,cros-ec-sandbox"; 41 /* Information for sandbox */ 58 compatible = "sandbox,eth-raw-bus"; 63 compatible = "sandbox,eth"; 71 compatible = "sandbox,gpio"; 74 sandbox,gpio-count = <20>; 80 compatible = "sandbox,gpio"; 83 sandbox,gpio-count = <10>; [all …]
|
/openbmc/u-boot/arch/sandbox/include/asm/ |
H A D | clk.h | 14 * enum sandbox_clk_id - Identity of clocks implemented by the sandbox clock 27 * enum sandbox_clk_test_id - Identity of the clocks consumed by the sandbox 41 * sandbox_clk_query_rate - Query the current rate of a sandbox clock. 43 * @dev: The sandbox clock provider device. 49 * sandbox_clk_query_enable - Query the enable state of a sandbox clock. 51 * @dev: The sandbox clock provider device. 58 * sandbox_clk_test_get - Ask the sandbox clock test device to request its 61 * @dev: The sandbox clock test (client) devivce. 66 * sandbox_clk_test_get_bulk - Ask the sandbox clock test device to request its 69 * @dev: The sandbox clock test (client) devivce. [all …]
|
H A D | state.h | 18 * If Ctrl-C is processed by U-Boot, then the only way to quit sandbox is with 51 * When map_to_sysmem() is called with an address outside sandbox's emulated 54 * be returned, just as it would for a normal sandbox address. 80 const char *state_fname; /* File containing sandbox state */ 81 void *state_fdt; /* Holds saved state for sandbox */ 82 bool read_state; /* Read sandbox state on startup */ 83 bool write_state; /* Write sandbox state on exit */ 91 int default_log_level; /* Default log level for sandbox */ 120 * struct sandbox_state_io - methods to saved/restore sandbox state 149 * sandbox, it might not be worth using individual properties for everything. [all …]
|
H A D | gpio.h | 3 * 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)
|
/openbmc/u-boot/board/sandbox/ |
H A D | MAINTAINERS | 1 SANDBOX BOARD 4 F: board/sandbox/ 5 F: include/configs/sandbox.h 12 F: board/sandbox/ 13 F: include/configs/sandbox.h 19 F: board/sandbox/ 20 F: include/configs/sandbox.h 23 SANDBOX SPL BOARD 26 F: board/sandbox/ 30 SANDBOX FLAT TREE BOARD [all …]
|
H A D | README.sandbox | 9 The 'sandbox' architecture is designed to allow U-Boot to run under Linux on 14 of the sandbox U-Boot. The purpose of running U-Boot under Linux is to test 20 The board name is 'sandbox' but the vendor name is unset, so there is a 21 single board in board/sandbox. 26 There are two versions of the sandbox: One using 32-bit-wide integers, and one 29 default, the sandbox it built for a 32-bit host. The sandbox using 64-bit-wide 38 To run sandbox U-Boot use something like: 46 build sandbox without SDL (i.e. no display/keyboard support) by removing 47 the CONFIG_SANDBOX_SDL line in include/configs/sandbox.h or using: 52 U-Boot will start on your computer, showing a sandbox emulation of the serial [all …]
|
/openbmc/u-boot/arch/sandbox/ |
H A D | Kconfig | 1 menu "Sandbox architecture" 2 depends on SANDBOX 5 default "sandbox" 8 default "sandbox" 11 default "sandbox" 19 bool "Enable SPL for sandbox" 24 default "sandbox" if !SANDBOX_SPL 27 prompt "Run sandbox on 32/64-bit host" 30 Sandbox can be built on 32-bit and 64-bit hosts. 32 on a 64-bit host. If you want to run sandbox on
|
H A D | Makefile | 3 head-y := arch/sandbox/cpu/start.o arch/sandbox/cpu/os.o 4 head-$(CONFIG_SANDBOX_SDL) += arch/sandbox/cpu/sdl.o 5 libs-y += arch/sandbox/cpu/ 6 libs-y += arch/sandbox/lib/
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/ |
H A D | 0006-FF-A-v15-arm_ffa-introduce-sandbox-FF-A-support.patch | 4 Subject: [PATCH] FF-A v15: arm_ffa: introduce sandbox FF-A support 8 Features of the sandbox FF-A support: 14 The sandbox FF-A emulator supports only 64-bit direct messaging. 21 arch/sandbox/dts/sandbox.dtsi | 9 + 22 arch/sandbox/dts/test.dts | 9 + 23 arch/sandbox/include/asm/sandbox_arm_ffa.h | 72 ++ 28 doc/arch/sandbox/sandbox.rst | 1 + 36 create mode 100644 arch/sandbox/include/asm/sandbox_arm_ffa.h 37 create mode 100644 arch/sandbox/include/asm/sandbox_arm_ffa_priv.h 50 +F: arch/sandbox/include/asm/sandbox_arm_ffa.h [all …]
|
/openbmc/u-boot/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";
|
/openbmc/u-boot/tools/buildman/ |
H A D | test.py | 62 '''In file included from %(basedir)sarch/sandbox/cpu/cpu.c:9:0: 63 %(basedir)sarch/sandbox/include/asm/state.h:44:0: warning: "xxxx" redefined [enabled by default] 64 %(basedir)sarch/sandbox/include/asm/state.h:43:0: note: this is the location of the previous defini… 65 %(basedir)sarch/sandbox/cpu/cpu.c: In function 'do_reset': 66 %(basedir)sarch/sandbox/cpu/cpu.c:27:1: error: unknown type name 'blah' 67 %(basedir)sarch/sandbox/cpu/cpu.c:28:12: error: expected declaration specifiers or '...' before num… 68 make[2]: *** [arch/sandbox/cpu/cpu.o] Error 1 69 make[1]: *** [arch/sandbox/cpu] Error 2 72 %(basedir)sarch/sandbox/include/asm/state.h:44:0: warning: "xxxx" redefined [enabled by default] 73 %(basedir)sarch/sandbox/include/asm/state.h:43:0: note: this is the location of the previous defini… [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libcereal/files/ |
H A D | 0001-sandbox-Do-not-use-int8_t-in-std-uniform_int_distrib.patch | 4 Subject: [PATCH] sandbox: Do not use int8_t in std::uniform_int_distribution 16 …ork/core2-64-yoe-linux-musl/libcereal/1.3.2+gitAUTOINC+ebef1e9298-r0/git/sandbox/performance.cpp:2… 19 …ork/core2-64-yoe-linux-musl/libcereal/1.3.2+gitAUTOINC+ebef1e9298-r0/git/sandbox/performance.cpp:2… 27 sandbox/performance.cpp | 4 ++-- 30 diff --git a/sandbox/performance.cpp b/sandbox/performance.cpp 32 --- a/sandbox/performance.cpp 33 +++ b/sandbox/performance.cpp
|
/openbmc/u-boot/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
|
/openbmc/u-boot/test/ |
H A D | README | 11 To run most tests on sandbox, type this: 23 Sandbox 26 allows test to be executed without needing target hardware. The 'sandbox' 34 either on sandbox or on real hardware. It relies on the U-Boot console to 38 You can run the tests on sandbox with: 40 ./test/py/test.py --bd sandbox --build 42 This will produce HTML output in build-sandbox/test-log.html 84 - If you are adding a new uclass, add a sandbox driver and a test that uses it
|
H A D | run | 3 # Script to run all U-Boot tests that use sandbox. 21 # Run all tests that the standard sandbox build can support 22 run_test "sandbox" ./test/py/test.py --bd sandbox --build -m "${mark_expr}" 28 # Run tests for the flat-device-tree version of sandbox. This is a special 30 # check that functionality is the same. The standard sandbox build (above) uses
|
/openbmc/u-boot/tools/dtoc/ |
H A D | dtoc_test_simple.dts | 15 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";
|
/openbmc/u-boot/doc/device-tree-bindings/w1-eeprom/ |
H A D | eep_sandbox.txt | 1 Onewire EEPROM sandbox driver device binding - one wire protocol sandbox EEPROM 14 * compatible = "sandbox,w1-eeprom" 21 compatible = "sandbox,w1-eeprom"; 31 compatible = "sandbox,w1-eeprom";
|
/openbmc/u-boot/doc/driver-model/ |
H A D | pci-info.txt | 18 compatible = "sandbox,pci"; 111 Sandbox 114 With sandbox we need a device emulator for each device on the bus since there 123 compatible = "sandbox,swap-case"; 127 This means that there is a 'sandbox,swap-case' driver at that bus position. 141 The sandbox PCI drivers also support dynamic driver binding, allowing device 144 node. It is required a "sandbox,dev-info" property must be provided in the 148 compatible = "sandbox,pci"; 150 sandbox,dev-info = <0x08 0x00 0x1234 0x5678 154 The "sandbox,dev-info" property specifies all dynamic PCI devices on this bus.
|
/openbmc/u-boot/arch/sandbox/cpu/ |
H A D | cpu.c | 61 * is_in_sandbox_mem() - Checks if a pointer is within sandbox's emulated DRAM 63 * This provides a way to check if a pointer is owned by sandbox (and is within 65 * output sandbox, potentially with direct access to the C-library malloc() 66 * function, or the sandbox stack (which is not actually within the emulated 69 * Such pointers obviously cannot be mapped into sandbox's DRAM, so we must 74 * @return true if this is within sandbox emulated DRAM, false if not 83 * phys_to_virt() - Converts a sandbox RAM address to a pointer 85 * Sandbox uses U-Boot addresses from 0 to the size of DRAM. These index into 86 * the emulated DRAM buffer used by sandbox. This function converts such an 114 printf("%s: Cannot map sandbox address %lx (SDRAM from 0 to %lx)\n", in phys_to_virt() [all …]
|
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 …]
|
/openbmc/u-boot/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.
|
/openbmc/u-boot/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.
|
/openbmc/u-boot/drivers/smem/ |
H A D | Kconfig | 7 bool "Sandbox Shared Memory Manager (SMEM)" 8 depends on SANDBOX && DM 10 enable SMEM support for sandbox. This is an emulation of a real SMEM 12 The sandbox driver allocates a shared memory from the heap and
|