- 07 7月, 2021 1 次提交
-
-
由 Alper Nebi Yasak 提交于
This patch adds a limited pulse-width modulator to sandbox's Chromium OS Embedded Controller emulation. The emulated PWM device supports multiple channels but can only set a duty cycle for each, as the actual EC doesn't expose any functionality or information other than that. Though the EC supports specifying the PWM channel by its type (e.g. display backlight, keyboard backlight), this is not implemented in the emulation as nothing in U-Boot uses this type specification. This emulated PWM device is then used to test the Chromium OS PWM driver in sandbox. Adding the required device node to the sandbox test device-tree unfortunately makes it the first PWM device, so this also touches some other tests to make sure they still use the sandbox PWM. Signed-off-by: NAlper Nebi Yasak <alpernebiyasak@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 28 6月, 2021 1 次提交
-
-
由 Tom Rini 提交于
Rsync all defconfig files using moveconfig.py Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 04 5月, 2021 1 次提交
-
-
由 Sean Anderson 提交于
This adds a test for the gpio-sysinfo driver. Signed-off-by: NSean Anderson <sean.anderson@seco.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 28 4月, 2021 1 次提交
-
-
由 Tom Rini 提交于
Rsync all defconfig files using moveconfig.py Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 27 4月, 2021 1 次提交
-
-
由 Tom Rini 提交于
Rsync all defconfig files using moveconfig.py Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 20 4月, 2021 1 次提交
-
-
由 Wasim Khan 提交于
Enable IRQ using select for sandbox architecture. Signed-off-by: NWasim Khan <wasim.khan@nxp.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NPriyanka Jain <priyanka.jain@nxp.com>
-
- 13 4月, 2021 1 次提交
-
-
由 Asherah Connor 提交于
A sandbox driver and test are added for the qfw uclass, and a test in QEMU added for qfw functionality to confirm it doesn't break in real world use. Signed-off-by: NAsherah Connor <ashe@kivikakk.ee> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
- 06 4月, 2021 1 次提交
-
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_MISC_INIT_F Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NStefan Roese <sr@denx.de>
-
- 26 3月, 2021 3 次提交
-
-
由 Simon Glass 提交于
Move sandbox_spl over to use OF_PLATDATA_INST. Create a new board to test the case when this is not enabled, since we will be keeping that code around for several months and want to avoid regressions. Skip the dm_test_of_plat_dev() test since driver info is not available for OF_PLATDATA_INST. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
With recent changes this can be supported again. Add it back. This reverts commit d85f2c4f. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The test framework reinits driver model tests before running each test. Since malloc_simple does not support free(), this eventually runs out of memory. Fix it for now by increasing the space to 32KB. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
- 12 3月, 2021 1 次提交
-
-
由 Simon Glass 提交于
As an example of an SPL test, add a new test for loading a FIT within SPL. This runs on sandbox_spl. For this to work, the text base is adjusted so that there is plenty of space available. While we are here, document struct spl_load_info properly, since this is currently ambiguous. This test only verifies the logic path. It does not actually check that the image is loaded correctly. It is not possible for sandbox's SPL to actually run u-boot.img since it currently includes u-boot.bin rather than u-boot. Further work could expand the test in that direction. The need for this was noted at: http://patchwork.ozlabs.org/project/uboot/patch/20201216000944.2832585-3-mr.nuke.me@gmail.com/Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 18 2月, 2021 1 次提交
-
-
由 Nicolas Saenz Julienne 提交于
Add test to validate dev->dma_offset is properly set on devices. Signed-off-by: NNicolas Saenz Julienne <nsaenzjulienne@suse.de> Reviewed-by: NSimon Glass <sjg@chromium.org> Tested-by: NPeter Robinson <pbrobinson@gmail.com> Signed-off-by: NMatthias Brugger <mbrugger@suse.com>
-
- 31 1月, 2021 1 次提交
-
-
由 Simon Glass 提交于
These cannot work with of-platdata since they currently need the devicetree at runtime. Disable the emulators and the sandbox I2C driver that needs them. We can enable these later, if needed for testing. Switch the of_plat_parent test over to use a simple bus instead. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
- 23 12月, 2020 1 次提交
-
-
由 Patrick Delaunay 提交于
Add CONFIG_DEBUG_UART=y for all sandbox defconfig as it is already done in sandbox_defconfig. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 01 12月, 2020 1 次提交
-
-
由 Tom Rini 提交于
Rsync all defconfig files using moveconfig.py Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 06 11月, 2020 1 次提交
-
-
由 Simon Glass 提交于
This uclass is intended to provide a way to obtain information about a U-Boot board. But the concept of a U-Boot 'board' is the whole system, not just one circuit board, meaning that 'board' is something of a misnomer for this uclass. In addition, the name 'board' is a bit overused in U-Boot and we want to use the same uclass to provide SMBIOS information. The obvious name is 'system' but that is so vague as to be meaningless. Use 'sysinfo' instead, since this uclass is aimed at providing information on the system. Rename everything accordingly. Note: Due to the patch delta caused by the symbol renames, this patch shows some renamed files as being deleted in one place and created in another. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
- 30 10月, 2020 3 次提交
-
-
由 Simon Glass 提交于
Add a simple test that we can obtain the correct parent for an I2C device. This requires updating the driver names to match the compatible strings, adding them to the devicetree and enabling a few options. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
We have a test in dtoc for this feature, but not one in U-Boot itself. Add a simple test that checks that the information comes through correctly. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
We want to run unit tests in SPL. Add a new Kconfig to control this and enable it for sandbox_spl Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 18 10月, 2020 1 次提交
-
-
由 Patrick Delaunay 提交于
Done with: ./tools/moveconfig.py VIDEO_BMP_RLE8 Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 24 8月, 2020 1 次提交
-
-
由 Simon Glass 提交于
This converts the following to Kconfig: CONFIG_SPLASH_SCREEN CONFIG_SPLASH_SCREEN_ALIGN CONFIG_SPLASHIMAGE_GUARD CONFIG_SPLASH_SOURCE Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 11 8月, 2020 1 次提交
-
-
由 Tom Rini 提交于
Rsync all defconfig files using moveconfig.py Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 31 7月, 2020 3 次提交
-
-
由 Patrick Delaunay 提交于
Add test for the erase command tested on ENV in EXT4. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
由 Patrick Delaunay 提交于
Add support of environment location with the new env command: 'env select' and 'env load' The ENV backend is selected by priority order - 0 = "nowhere" (default at boot) - 1 = "EXT4" To test EXT4 env support, this backend is selected by name: > env select EXT4 Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
由 Patrick Delaunay 提交于
Activate ENV in EXT4 support in sandbox. The sandbox behavior don't change; the default environment with the nowhere backend (CONFIG_ENV_IS_NOWHERE)is still used: the weak function env_get_location() return ENVL_NOWHERE for priority 0. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
- 29 7月, 2020 2 次提交
-
-
由 Simon Glass 提交于
At present we use the empty string to indicate that there is no FIT generator, but this doesn't allow an individual board to undefine it. Create a separate bool instead. Update the config of the boards which currently have an empty string. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Adam Ford 提交于
This converts the following to Kconfig: CONFIG_BOOTP_SEND_HOSTNAME Signed-off-by: NAdam Ford <aford173@gmail.com>
-
- 28 7月, 2020 1 次提交
-
-
由 Tom Rini 提交于
Rsync all defconfig files using moveconfig.py Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 27 7月, 2020 1 次提交
-
-
由 Patrick Delaunay 提交于
Enable support for sub command 'env info' in sandbox with CONFIG_CMD_NVEDIT_INFO. This is aimed primarily at adding unit test. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 26 7月, 2020 1 次提交
-
-
由 Dave Gerlach 提交于
Add a sandbox SOC driver, and some tests for the SOC uclass. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NDave Gerlach <d-gerlach@ti.com>
-
- 24 7月, 2020 1 次提交
-
-
git://git.denx.de/u-boot-dm由 Tom Rini 提交于
This reverts commit 5d3a21df, reversing changes made to 56d37f1c. Unfortunately this is causing CI failures: https://travis-ci.org/github/trini/u-boot/jobs/711313649Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 21 7月, 2020 1 次提交
-
-
由 Dave Gerlach 提交于
Add a sandbox SOC driver, and some tests for the SOC uclass. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NDave Gerlach <d-gerlach@ti.com>
-
- 05 7月, 2020 1 次提交
-
-
由 Heiko Schocher 提交于
currently gpio hog function is not tested with "ut dm gpio" so add some basic tests for gpio hog functionality. For this enable GPIO_HOG in sandbox_defconfig, add in DTS some gpio hog entries, and add testcase in "ut dm gpio" command. Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 26 6月, 2020 1 次提交
-
-
由 Tom Rini 提交于
This converts the following to Kconfig: CONFIG_BOOTP_DNS2 CONFIG_BOOTP_PXE_CLIENTARCH Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 30 5月, 2020 1 次提交
-
-
由 AKASHI Takahiro 提交于
As we discussed in [1], this option is not needed for sandbox build. [1] https://lists.denx.de/pipermail/u-boot/2020-February/400182.htmlSigned-off-by: NAKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 09 5月, 2020 1 次提交
-
-
由 Ashok Reddy Soma 提交于
Move below defines which are used by mtest utility to Kconfig. CONFIG_SYS_MEMTEST_START CONFIG_SYS_MEMTEST_END Signed-off-by: NAshok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com> [trini: Fix kmcoge5ne board, re-run migration as well] Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 16 4月, 2020 1 次提交
-
-
由 Heinrich Schuchardt 提交于
'bootefi hello' is used in one of the Python tests. efidebug can be used to verify the correct initialization of the UEFI sub-system. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NSimon Glass <sjg@chromum.org>
-
- 12 3月, 2020 1 次提交
-
-
由 AKASHI Takahiro 提交于
We want to always run RSA library test on sandbox build in Travis CI. Just adding CONFIG_RSA_VERIFY_WITH_PKEY would be good enough for this purpose. Signed-off-by: NAKASHI Takahiro <takahiro.akashi@linaro.org>
-
- 29 2月, 2020 1 次提交
-
-
由 Tom Rini 提交于
Rsync all defconfig files using moveconfig.py Signed-off-by: NTom Rini <trini@konsulko.com>
-