- Feb 26, 2016
-
-
Simon Glass authored
These are working correctly again, so re-enable them. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Jagan Teki <jteki@openedev.com> Tested-by:
Jagan Teki <jteki@openedev.com>
-
Simon Glass authored
When an error number is provided we should use it, not change it. This fixes the SPI and SPI flash tests. One of these is long-standing. The other seems to have been introduced by commit 1e90d9fd (sf: Move read_id code to sf_ops). Signed-off-by:
Simon Glass <sjg@chromium.org> Fixes: 1e90d9fd (sf: Move read_id code to sf_ops) Reviewed-by:
Jagan Teki <jteki@openedev.com> Tested-by:
Jagan Teki <jteki@openedev.com>
-
Simon Glass authored
We must not free data that is managed by driver mode. Remove this line, which is a hangover from the pre-driver-model code. This fixes a problem where 'sf probe' crashes U-Boot if the backing file for the SPI flash cannot be found. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Jagan Teki <jteki@openedev.com> Tested-by:
Jagan Teki <jteki@openedev.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
Add a little more debugging to help when things go wrong. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Jagan Teki <jteki@openedev.com> Tested-by:
Jagan Teki <jteki@openedev.com>
-
Simon Glass authored
Enable this so that tracing works with sandbox. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
This has got out of order: fix it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add support for the early timer so we can use tracing with sandbox again. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When using the early timer, we need to manually trigger setting up the real timer. This will not happen automatically. Do this immediately after starting driver model. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
In some cases the timer must be accessible before driver model is active. Examples include when using CONFIG_TRACE to trace U-Boot's execution before driver model is set up. Enable this option to use an early timer. These functions must be supported by your timer driver: timer_early_get_count() and timer_early_get_rate(). Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
A few of the functions in the timer uclass are not marked with 'notrace'. Fix this so that tracing can be used with CONFIG_TRACE. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The awk tool can be confused by return character (ASCII 13) in its input since it thinks there is a separate field. These can appear if the terminal is in raw mode, perhaps due to a previous U-Boot crash with sandbox. This is very confusing. Remove these so that the trace test passes. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This function can be called from the timer code on instrumented functions. Mark it as 'notrace' so that it doesn't cause infinite recursion. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
With min() we must use the same type for each parameter. Fix two problems in trace.c which produce compiler warnings. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
When used with a device tree, sandbox now requires a 'reset' controller. Add this to the device trees so that reset works and the tests can complete. Signed-off-by:
Simon Glass <sjg@chromium.org> Fixes: 5010d98f (sandbox: Use the reset driver to handle reset)
-
Simon Glass authored
This reverts commit 84ca65aa. On signature verification failures fit_image_verify() should NOT exit with error. Only keys marked 'required' can cause image verification failure. This logic is already there and works correctly. Add a comment to make this clear. Fixes: 84ca65aa (image-fit: Fix signature checking) Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
A recent change broke the 'bootm' command on sandbox. The root cause is using a pointer as an address. Conversion from pointer to address needs to use map_to_sysmem() so that sandbox can do the right thing. The problem was pre-existing but uncovered by a recent commit. Fix this. Also move fit_get_end() to the C file to avoid needing to include mapmem.h (and thus asm/io.h) everywhere. Fixes: 1fec3c5d (common/image.c: Make boot_get_ramdisk() perform a check for Android images) Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Stephen Warren authored
test_hush_if_test.py executes commands that require large values of CONFIG_SYS_MAXARGS. Detect cases where the configured value is too low and skip those tests. Ideally, this would be implemented inside console.run_command(). However, the command passed to that function is already a completely formed string, and determining its argument count usage would require splitting commands at ;, handling quoting to deal with arguments containing spaces, etc. Even passing the command as a list wouldn't solve all these issues, since we'd still need to split commands on ; and deal with cases like "if test ..." which consumes 0 of the argument count. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org> Acked-by:
Simon Glass <sjg@chromium.org>
-
Stephen Warren authored
Sending CTRL-C to QEMU's stdin aborts the process, even if stdin is being used as a serial port (at least in the raspi2 machine with "qemu -serial stdin"). Avoid sending CTRL-C to U-Boot to prevent it exiting. I'd originally used CTRL-C to make sure that if the character used to abort autoboot ended up being treated as part of a command as well, it'd abort command entry and return the prompt to a known state. However, this is not needed, since aborting the autoboot eats the character used to do that. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org> Acked-by:
Simon Glass <sjg@chromium.org>
-
Stephen Warren authored
This allows all the hush tests implemented in test/py to pass, under qemu at least. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Michal Simek authored
Compile DCC serial driver by default. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Enabling this driver requires some DT changes. Adding DCC to root or main bus: dcc: dcc { compatible = "arm,dcc"; u-boot,dm-pre-reloc; }; Extend alias list to link DCC: serial0 = &uart0; serial1 = &uart1; serial2 = &dcc; Change stdout-path to point to dcc port. stdout-path = "serial2:115200n8"; Also add support for debug uart to help with early debug. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Feb 25, 2016
-
-
git://git.denx.de/u-boot-dmTom Rini authored
-
Michal Simek authored
Provide user option to skip SPL signature verification for cases where u-boot is build with SPL support but full U-Boot is also verified without SPL. If you want to support this feature please add env__spl_skipped = True to your boardenv configuration file. For example Xilinx Zynq is using this feature where the same U-Boot binary is checked with SPL and without SPL(with FSBL). Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Albert ARIBAUD authored
A patman series with a 'Series-notes' section causes buildman to crash with: self.series.notes += self.section TypeError: cannot concatenate 'str' and 'list' objects Fix by initializing series.notes as a one-element array rather than a scalar. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Acked-by:
Simon Glass <sjg@chromium.org> Tested-by:
Simon Glass <sjg@chromium.org>
-
Masahiro Yamada authored
These two properties are necessary for SPL to get clocks from DT. Note: For now, only clock look-up by index is supported (clk_get_by_index() function), so "clock-names" is never parsed in U-Boot. However, we may want to support something like clk_get_by_name() in the future, so let's keep "clock-names" as well as "clocks". Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Feb 24, 2016
-
-
git://git.denx.de/u-boot-socfpgaTom Rini authored
-
git://git.denx.de/u-boot-usbTom Rini authored
-
Michal Simek authored
fdtgrep requires /chosen node to be specified or at least more nodes which stays in DTS to generate output. Error message: ./tools/fdtgrep -b u-boot,dm-pre-reloc -RT dts/dt.dtb -n /chosen -O dtb | ./tools/fdtgrep -r -O dtb - -o spl/u-boot-spl.dtb -P pinctrl-0 -P pinctrl-names -P clocks -P clock-names -P interrupt-parent Error: FDT_ERR_BADMAGIC This patch add empty chosen node to keep fdtgrep happy and pass compilation for in tree DTS file. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Fix print message to show full 64bit addresses. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Remove ARM Debug communication channel driver from the list of not converted drivers to DM. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Lubomir Rintel authored
Scrolling the simple framebuffer is really slow in Raspberry Pi to the point it delays the boot by a second or two and makes longer output inconvenient to follow (printenv, md). Signed-off-by:
Lubomir Rintel <lkundrak@v3.sk> Acked-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Lubomir Rintel authored
Gets propagated into the device tree and then into /proc/cpuinfo where users often expect it. Signed-off-by:
Lubomir Rintel <lkundrak@v3.sk> Tested-by:
Stephen Warren <swarren@wwwdotorg.org> Reviewed-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Karsten Merker authored
Fix spelling errors in the "booti" help text and bring it more in line with the bootm/bootz help texts. Signed-off-by:
Karsten Merker <merker@debian.org>
-
Bin Meng authored
Since commit 87da2690 "openrisc: updating build tools naming convention", openrisc kernel.org toolchain is out of date and cannot build U-Boot. Update buildman and moveconfig tools to refer to the new one. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
The following maintainers' email addresses are no longer valid. vipin.kumar@st.com martin.krause@tq-systems.de kim.phillips@freescale.com fgretief@spaceteq.co.za Update status of the components they used to maintain to be: S: Orphaned (Since 2016-02) Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
Nikita Kiryanov authored
Commit 755324 (configs: Use config_distro_defaults.h in ti_armv7_common.h) made ti_armv7_common.h include config_distro_defaults.h. This breaks the bootdelay feature in cm_t43 because now the - #include ti_armv7_common.h (#define CONFIG_BOOTDELAY 1) - #undef CONFIG_BOOTDELAY - #include config_distro_defaults.h (#define CONFIG_BOOTDELAY 2) dance in cm_t43.h is no longer valid and in fact leads to CONFIG_BOOTDELAY not being defined. Adapt the config file to the new inclusion hierarchy. Cc: Tom Rini <trini@konsulko.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Nikita Kiryanov authored
Update U-Boot offset and size for raw mmc boot. Cc: Tom Rini <trini@konsulko.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Nikita Kiryanov authored
During boot, U-Boot raises the CPU frequency but the CORE and MPU regulators are not updated. This is not a problem in cold boot since the default values that the pmic outputs are correct, but if Linux were to switch the module to a low power OPP, the new voltage values will be retained after a reboot and the module will likely hang once U-Boot raises the CPU frequency back up. Set both CORE and MPU regulators to to 1.1V on boot. Cc: Tom Rini <trini@konsulko.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Nikita Kiryanov authored
CM-T43 does not have a vtt regulator. Remove the function that's supposed to enable it. Cc: Tom Rini <trini@konsulko.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Reviewed-by:
Tom Rini <trini@konsulko.com>
-