- 29 11月, 2018 4 次提交
-
-
由 Ryder Lee 提交于
This adds a general board file based on MT7629 SoCs from MediaTek. Apart from the generic parts (cpu) we add some low level init codes and initialize the early clocks. Signed-off-by: NRyder Lee <ryder.lee@mediatek.com> Signed-off-by: NWeijie Gao <weijie.gao@mediatek.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Ryder Lee 提交于
This adds device tree for MT7623 development board - Bananapi R2 Detailed hardware information for BPI-R2 which could be found on http://wiki.banana-pi.org/Banana_Pi_BPI-R2. Signed-off-by: NRyder Lee <ryder.lee@mediatek.com> Tested-by: NMatthias Brugger <matthias.bgg@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Ryder Lee 提交于
This patch adds MT7629 device tree and the includes it needs. Signed-off-by: NRyder Lee <ryder.lee@mediatek.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Ryder Lee 提交于
This patch adds support for MTK boot image generation. Signed-off-by: NWeijie Gao <weijie.gao@mediatek.com> Signed-off-by: NRyder Lee <ryder.lee@mediatek.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 28 11月, 2018 1 次提交
-
-
- 27 11月, 2018 22 次提交
-
-
由 Tom Rini 提交于
- chiliboard updates - misc TI platform updates
-
由 Marcin Niestroj 提交于
DM_SERIAL is selected by TARGET_CHILIBOARD, so there is no reason to keep code that will not be built. Remove it. Signed-off-by: NMarcin Niestroj <m.niestroj@grinn-global.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Marcin Niestroj 提交于
This patch mostly enables DM drivers in board defconfig and all their dependencies. Additionally we remove ethernet platform data, as all details are in device-tree now. Signed-off-by: NMarcin Niestroj <m.niestroj@grinn-global.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Marcin Niestroj 提交于
Add that node path in u-boot overlay dtsi file for now to keep am335x-chiliboard.dts in sync with Linux. Signed-off-by: NMarcin Niestroj <m.niestroj@grinn-global.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Marcin Niestroj 提交于
Import chiliSOM and chiliboard dts files from Linux v4.19. They will be used after transition to driver model and device-tree based boot. Signed-off-by: NMarcin Niestroj <m.niestroj@grinn-global.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Chris Packham 提交于
This option is defined by a few boards but doesn't guard any code. Remove it from the boards and config_whitelist.txt. Signed-off-by: NChris Packham <judge.packham@gmail.com> Reviewed-by: NStefan Roese <sr@denx.de>
-
由 Otavio Salvador 提交于
This allow for convenient use of QEMU machine to test loading of UBI filesystem. There are a couple of changes made together of this which are required: 1) The malloc must be at least 512 KiB to allow the use of UBI filesystem. We are going to enable it in a next patch. 2) MTD_DEVICE must be enabled, otherwise we get missing symbols during the build Following configs were change: - vexpress_aemv8a_dram_defconfig - vexpress_aemv8a_juno_defconfig - vexpress_aemv8a_semi_defconfig - vexpress_ca15_tc2_defconfig - vexpress_ca5x2_defconfig - vexpress_ca9x4_defconfig Signed-off-by: NOtavio Salvador <otavio@ossystems.com.br> Acked-by: NLiviu Dudau <liviu.dudau@arm.com>
-
由 Adam Ford 提交于
When the spi_flash_probe_bus_cs() was previously called, it was called using 0's for two values where CONFIG_ENV_SPI_MAX_HZ and CONFIG_ENV_SPI_MODE are now used. When changed this caused the environment to fail the CRC check and the default was used. This patch defines both of these values back 0. Fixes: 25a17652 ("fix: env: Fix the SPI flash device setup for DM mode") Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Andrew F. Davis 提交于
Some erratum workarounds call into C code before the stack is setup, this can lead to values pushed onto the stack being lost, firewall exceptions, and other undefined behavior. Setup a temporary stack to allow these functions to work correctly. Signed-off-by: NAndrew F. Davis <afd@ti.com> Acked-by: NAndreas Dannenberg <dannenberg@ti.com> Reviewed-by: NNishanth Menon <nm@ti.com>
-
由 Jonathan Gray 提交于
stdlib.h is the header for malloc since at least c89/c90. Previously this would fail to build on OpenBSD and fallback to the wrong header: In file included from u-boot/tools/file2include.c:21: u-boot/include/malloc.h:875:5: error: function-like macro 'CONFIG_IS_ENABLED' is not defined Signed-off-by: NJonathan Gray <jsg@jsg.id.au> Reviewed-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Sam Protsenko 提交于
Recent removal of obsolete partition led to shifting of starting address of "reserved" partition (which reflects U-Boot environment). Fix its start address to keep it in sync with ENV_OFFSET and DFU environment. This patch also provides fixed start address for "reserved" partition, so that we can track when it's shifted next time. While at it, move it before "misc" partition to keep all Android partitions together. Signed-off-by: NSam Protsenko <semen.protsenko@linaro.org> Acked-By: NPraneeth Bajjuri <praneeth@ti.com>
-
由 Lokesh Vutla 提交于
Based on the MCU R5 efuse settings, R5F cores in MCU domain either work in split mode or in lock step mode. If efuse settings are in lockstep mode: ROM release R5 cores and SPL continues to run on the R5 core is lockstep mode. If efuse settings are in split mode: ROM releases both the R5 cores simultaneously and allow SPL to run on both the cores. In this case it is bootloader's responsibility to detect core 1 and park it. Else both the core will be running bootloader independently which might result in an unexpected behaviour. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Frank Wunderlich 提交于
with this patch the selected Entry in bootmenu can be set by environment-var bootmenu_default=<number> Signed-off-by: NFrank Wunderlich <frank-w@public-files.de>
-
-
-
-
由 Sven Schwermer 提交于
This fixes link issues when building the SPL without USB driver model but with USB storage support. CONFIG_BLK can be enabled and disabled independently for SPL and non-SPL builds. We leverage that existing functionality here. Signed-off-by: NSven Schwermer <sven@svenschwermer.de>
-
由 Sven Schwermer 提交于
This allows to disable the USB driver model in SPL because it checks the CONFIG_SPL_DM_USB variable for SPL builds. Nothing changes for regular non-SPL builds. Signed-off-by: NSven Schwermer <sven@svenschwermer.de>
-
由 Sven Schwermer 提交于
Common USB code is built whenever USB is enabled (in non-SPL builds). The USB uclass is built whenever (SPL_)DM_USB is enabled. Both need to be independent from CMD_USB. Signed-off-by: NSven Schwermer <sven@svenschwermer.de>
-
由 Sven Schwermer 提交于
This configuration doesn't use USB in the SPL, so we need to disable driver model for USB in the SPL. Signed-off-by: NSven Schwermer <sven@svenschwermer.de>
-
由 Sven Schwermer 提交于
This allows building the SPL without driver model for USB. Since CONFIG_SPL_DM_USB is enabled if and only if CONFIG_DM_USB was enabled before, this patch does not change the build behaviour. Signed-off-by: NSven Schwermer <sven@svenschwermer.de>
-
由 Tom Rini 提交于
- Bring in the series from Simon for SPL logging support and bloblist
-
- 26 11月, 2018 13 次提交
-
-
由 Simon Glass 提交于
There is some basic informaton that SPL normally wants to pass through to U-Boot, such as the SDRAM size and bank information. Mkae use of the new bloblist structure for this. Add a new 'handoff' blob which is set up in SPL and passed to U-Boot proper. Also adda test for sandbox_spl that checks that this works correctly and a new 'sb' command to show the information passed from SPL. Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Most architectures use jump_to_image_no_args() to jump from SPL to U-Boot. At present sandbox is special in that it jumps in its spl_board_load_image() call. This is not strictly correct, and means that sandbox misses out some parts of board_init_r(), just as calling bloblist_finish(), for example. Change spl_board_load_image() to just identify the filename to boot, and implement jump_to_image_no_args() to actually jump to it. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The current method of starting U-Boot from U-Boot adds arguments to pass the memory file through, so that memory is preserved. This is fine for a single call, but if we call from TPL -> SPL -> U-Boot the arguments build up and we have several memory files in the argument list. Adjust the implementation to filter out arguments that we want to replace with new ones. Also print a useful error if the exec() call fails. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
At present sandbox calls malloc() from various places in the OS layer and this results in calls to U-Boot's malloc() implementation. It is better to use the on in the OS layer, since it does not mix allocations with the main U-Boot code. Fix this by replacing calls with malloc() to os_malloc(), etc. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Simon Glass 提交于
At present os_jump_to_image() jumps to a given image, and this is written to a file. But it is useful to be able to jump to a file also. To avoid duplicating code, split out the implementation of os_jump_to_image() into a new function that jumps to a file. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
We support putc() in this case but not puts(), but this is more useful since it is what printf() uses. This particularly affects debugging early in SPL, where currently printf() statements result in no output. Fix this by adding a special case into puts() for sandbox, just like putc(). Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Simon Glass 提交于
The old 'sb' command was deprecated in 2015 and replaced with 'host'. It is useful to be able to access some internal sandbox state, particularly for testing. Resurrect the old command and provide a way to print some basic state information (currently just the arguments to sandbox). Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The old 'sb' command was deprecated in 2015 and replaced with 'host'. Remove the remaining users and the command, so that the name is available for other purposes. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
At present we don't have a test that of-platdata can be accessed in SPL. Add this in as a command-line option to SPL. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
It is sometimes useful to restart sandbox with some particular flags to test certain functionality. Add a new method to ConsoleSandbox to handle this, without changing the existing APIs. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NStephen Warren <swarren@nvidia.com>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
There is a strange feature to set global_data to a data-section variable early in SPL. This only works if SPL actually has access to SRAM which is not the case on x86, for eaxmple. Add a comment to this effect. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Rather than having a negative option, make this a positive option and enable it by default. This makes it easier to understand. Reviewed-by: NTom Rini <trini@konsulko.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-