- 14 8月, 2018 3 次提交
-
-
由 Marek Vasut 提交于
The restructuring of the SPL dropped registration of the FPGA in SPL, readd it. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Chin Liang See <chin.liang.see@intel.com> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Ley Foon Tan <ley.foon.tan@intel.com> Fixes: c859f2a7 ("arm: socfpga: Restructure the SPL file")
-
由 Simon Goldschmidt 提交于
Some of the code for low level system initialization in SPL's board_init_f() and U-Boot's arch_early_init_r() is the same, so let's combine it into a single function called from both. Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
由 Simon Goldschmidt 提交于
Device trees need to have the serial console device available before relocation and require a stdout-path in chosen at least for SPL to have a console. Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
- 13 8月, 2018 3 次提交
-
-
由 Simon Goldschmidt 提交于
If CONFIG_DEBUG_UART is enabled, correctly initialize the debug uart before console is initialized to debug early boot problems in SPL. Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
由 Simon Goldschmidt 提交于
In spl_gen5's board_init_f(), gd->malloc_base is manually assigned at the end of the function to point to sdram. This code is outdated as by now, the heap is switched to sdram by the common function spl_relocate_stack_gd() if the appropriate defines are set. As it was, the value assigned manually was directly overwritten by this common code, so remove the manual assignment. Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
由 Simon Goldschmidt 提交于
There were NULL pointers dereferenced because DM was used too early without correct initialization: - malloc_simple returned NULL when called from preloader_console_init() because gd->malloc_limit was 0 - uclass_add dereferenced gd->uclass_root members which were NULL because dm_init (or one of its relatives) has not been called. All this is fixed by calling spl_early_init before calling preloader_console_init. This fixes commit 73172753 ("ARM: socfpga: Convert to DM serial") Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
- 11 8月, 2018 16 次提交
-
-
由 Stephen Warren 提交于
Travis CI now supports giving jobs an explicit name. Do this for all jobs. This allows more direct control over jobs names than the previous automatic or implicit naming based on the environment variables or script text. Signed-off-by: NStephen Warren <swarren@nvidia.com> [trini: Update names for jobs added/changed since posting] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Rob Bracero 提交于
This update adds PPC64 ELF V1 ABI support to bootelf for both the program header and section header options. Elf64 support was already present for the program header option, but it was not handling the PPC64 ELF V1 ABI case. For the PPC64 ELF V1 ABI, the e_entry field of the elf header must be treated as function descriptor pointer instead of a function address. The first doubleword of the function descriptor is the function's entry address. Signed-off-by: NRob Bracero <robbracero@gmail.com> [trini: Fix whitespace issues] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Ramon Fried 提交于
Call the MSM DRAM detection and fixup function to support dynamic detection of onboard memory. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
Fixup the Linux FDT with the detection of onboard DRAM as provided by SBL (Secondary boot loader) by reading the shared-memory region. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Sam Protsenko 提交于
Underlying API should already print some meaningful error message, so this one is just brings more noise. E.g. we can see log like this: MMC: no card present ** Bad device mmc 0 ** Obviously, second error message is unwanted. Let's only print it in case when DEBUG is defined to keep log short and clear. Signed-off-by: NSam Protsenko <semen.protsenko@linaro.org>
-
由 Sam Protsenko 提交于
"Failed" error message from env_load() only clutters the log with unnecessary details, as we already have all needed warnings by that time. Example: Loading Environment from FAT... MMC: no card present ** Bad device mmc 0 ** Failed (-5) Let's only print it in case when DEBUG is defined to keep log clear. Signed-off-by: NSam Protsenko <semen.protsenko@linaro.org>
-
由 Christian Gmeiner 提交于
Fixes the following checkstyle warning: WARNING: Missing a blank line after declarations + int tmp = smbios_write_funcs[i]((ulong *)&addr, handle++); + max_struct_size = max(max_struct_size, tmp); Signed-off-by: NChristian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Christian Gmeiner 提交于
Fixes the following chechpatch -f error: ERROR: "(foo*)" should be "(foo *)" + strncpy((char*)t->uuid, serial_str, sizeof(t->uuid)); Signed-off-by: NChristian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Goldschmidt 提交于
Compressed images should have their compression property set to "none" if U-Boot should leave them compressed. This is especially the case for compressed ramdisks that should be uncompressed by the kernel only. Signed-off-by: NSimon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
-
由 Adam Ford 提交于
For these boards, the GPMC timings are more determined by processor speed/type than the NAND/PoP memory. This code is never invoked, so disable the config option, so it doesn't take the time to compile it in. Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Adam Ford 提交于
CONFIG_SYS_NAND_ADDR is defined and never referenced. This patch removes the dead code. Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Heinrich Schuchardt 提交于
The Sphinx documentation system uses restructured text. Make the README.iscsi file compatible. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Heinrich Schuchardt 提交于
Create separate html pages for linker lists, the serial subsystem, and the EFI subsystem. Add a table of content. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Heinrich Schuchardt 提交于
Describe the interface of environment variable callback functions. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Heinrich Schuchardt 提交于
Add parameter description. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Adam Ford 提交于
The console index for SPL should be 1 not 3 in order to see text during SPL. Fixes: 6f6b7cfa ("Convert all of CONFIG_CONS_INDEX to Kconfig") Signed-off-by: NAdam Ford <aford173@gmail.com>
-
- 10 8月, 2018 7 次提交
-
-
由 Troy Kisky 提交于
sata_probe returns 1 for failure, so don't checkout for < 0 fixes: f19f1ecb dm: sata: Support driver model with the 'sata' command Signed-off-by: NTroy Kisky <troy.kisky@boundarydevices.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Patrick Delaunay 提交于
Initialize the led with the default state defined in device tree in board_init and solve issue with test for led default state. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
由 Patrick Delaunay 提交于
Initialize the led with the default state defined in device tree. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
由 Patrick Delaunay 提交于
This patch save common LED property "default-state" value in post bind of LED uclass. The configuration for this default state is only performed when led_default_state() is called; It can be called in your board_init() or it could added in init_sequence_r[] in future. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
由 Patrick Delaunay 提交于
This reverts commit bc882f5d. because this patch adds the probe of LED driver during the binding phasis. It is not allowed in driver model because the drivers (clock, pincontrol) needed by the LED driver can be also probed before the binding of all the device and it is a source of problems. Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
由 Patrick Delaunay 提交于
This patch add the 4 LED available on the ED1 board and activated gpio led driver. Reviewed-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
-
- 09 8月, 2018 11 次提交
-
-
由 Tom Rini 提交于
Add an initial MAINTAINERS file based on author of the code. Cc: Philippe Reynes <philippe.reynes@softathome.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
-
-
由 Sam Protsenko 提交于
It might be useful for user to see some human-readable root cause message in addition to "configuration failed" message, so that the issue can be fixed quickly. Signed-off-by: NSam Protsenko <semen.protsenko@linaro.org>
-
由 Sam Protsenko 提交于
In case of error in dfu_init_env_entities(), env_bkp will leak. Fix it by providing single return path. Signed-off-by: NSam Protsenko <semen.protsenko@linaro.org>
-
由 Sam Protsenko 提交于
Commit 5d8fae79 ("dfu: avoid memory leak") brings a regression which described below. This patch is effectively reverting that commit, adding corresponding comment to avoid such regressions in future. In case of error in dfu_config_entities(), it frees "dfu" array, which leads to "data abort" in dfu_free_entities(), which tries to free the same array (and even tries to access it from linked list first). The issue occurs e.g. when partition table on device does not match $dfu_alt_info layout: => dfu 0 mmc 1 Couldn't find part #2 on mmc device #1 DFU entities configuration failed! data abort To fix this issue, do not free "dfu" array in dfu_config_entities(). It will be freed later in dfu_free_entities(). Tested on BeagleBone Black (where this regression was originally found). Signed-off-by: NSam Protsenko <semen.protsenko@linaro.org>
-
由 Alberto Panizzo 提交于
As well as in K_FW_LBA_READ_10 and K_FW_LBA_ERASE_10 take device's block size from f_rkusb->desc->blksz instead of the fixed 512 bytes. Keep original behaviour of retry probing assigned block device on every host request to manage late SDCard plugs. Signed-off-by: NAlberto Panizzo <alberto@amarulasolutions.com>
-
由 Alberto Panizzo 提交于
Workstation tool was happy while console on device were printing random numbers.. Signed-off-by: NAlberto Panizzo <alberto@amarulasolutions.com>
-
由 Alberto Panizzo 提交于
While downloading or uploading megabytes of data we had thousands of printf in console like: transfer 0x10000 bytes done OR Uploading 0x1000 bytes This because transfers are chunked and there is no way on target side to know the overall transfer size (to print one string per overall transfer). All these prints on serial console do slow down significantly the transfer and does not offer a significant information to the developer: rkdeveloptool and Rockchip original tool do use small chunks read/writes on big transfers. This allows on workstation to print percentage of transfer complete and as well offers to developer the information about: transfer is running OK. On error, either the percentage will stop or an error will be shown on workstation console. Signed-off-by: NAlberto Panizzo <alberto@amarulasolutions.com>
-
由 Alberto Panizzo 提交于
This command is part of the write partition sequence performed by rkdeveloptool: one partition is first completely erased and than wrote. Signed-off-by: NAlberto Panizzo <alberto@amarulasolutions.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Alberto Panizzo 提交于
This patch implement reading blocks form selected device with LBA addressing. Corresponding command on workstation is: rkdeveloptool rl <start_blk> <blk_cnt> <file> While we support reading more than one blocks per K_FW_LBA_READ_10 request, rkdeveloptool and original rockchip tool do perform chunk reads limiting the maximum size per chunk far lower than max int values. Signed-off-by: NAlberto Panizzo <alberto@amarulasolutions.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-