- Dec 01, 2014
-
-
Soeren Moch authored
fix Kconfig for tbs2910 board to prevent crash on relocation Signed-off-by:
Soeren Moch <smoch@web.de>
-
Fabio Estevam authored
Leave the OCOTP turned on, so that we subsequent access do not fail. After enabling the thermal driver on a mx6sxsabresd board: U-Boot 2015.01-rc1-18267-g99d4189-dirty (Nov 24 2014 - 12:59:01) CPU: Freescale i.MX6SX rev1.0 at 792 MHz CPU: Temperature 48 C Reset cause: POR Board: MX6SX SABRE SDB I2C: ready DRAM: 1 GiB PMIC: PFUZE100 ID=0x10 MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 00:01.0 - 16c3:abcd - Bridge device 01:00.0 - 8086:08b1 - Network controller In: serial Out: serial Err: serial Net: (hang) As the thermal driver accesses the ocotp registers, its clock will be disabled afterwards. Then when the MAC address is read (also from ocotp registers) it will cause a hang. Do not disable the ocotp clock to prevent this problem. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
-
Fabio Estevam authored
Add thermal support so that the temperature of the chip can be displayed on boot: U-Boot 2015.01-rc1-18268-g1366c05-dirty (Nov 25 2014 - 13:02:42) CPU: Freescale i.MX6SX rev1.0 at 792 MHz CPU: Temperature 50 C Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Fabio Estevam authored
Printing the calibration data on every boot does not provide really useful information: U-Boot 2015.01-rc1-18266-ge7eb277 (Nov 24 2014 - 11:29:51) CPU: Freescale i.MX6Q rev1.2 at 792 MHz CPU: Thermal calibration data: 0x5d85067d CPU: Temperature 33 C Reset cause: POR Board: MX6-SabreSD Do not display the calibration data in order to have a cleaner boot log. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Hector Palacios authored
A previous operation may have set the error flag, which must be cleared before a new write operation can be issued. Signed-off-by:
Hector Palacios <hector.palacios@digi.com>
-
Hector Palacios authored
The write operation may fail when trying to write to a locked area. In this case the ERROR bit is set in the CTRL register. Check for that condition and return an error. Signed-off-by:
Hector Palacios <hector.palacios@digi.com> Reviewed-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Hector Palacios authored
The code may goto 'fail' upon error with 'ret' variable set to an error code, but this variable was being overwritten by a final preparation function to restore the HCLK, so success was (in general) returned even after an error was hit previously. With this change, the function may now return success even if the final preparation function fails, but it's probably enough to print a message because (if successful) the real programming of the fuses has already completed. Signed-off-by:
Hector Palacios <hector.palacios@digi.com>
-
Guillaume GARDET authored
Signed-off-by:
Guillaume GARDET <guillaume.gardet@free.fr> Cc: Stefano Babic <sbabic@denx.de> Cc: Jason Liu <r64343@freescale.com> Acked-by:
Jason Liu <r64343@freescale.com>
-
- Nov 24, 2014
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
git://git.denx.de/u-boot-armTom Rini authored
-
Rabin Vincent authored
128059b9 ("hush: fix segfault on syntax error") attempted to fix a segfault on syntax errors, but it broke Ctrl-C handling, and the assumption that it made, that rcode could not be -1, is incorrect. Revert this change. Reported-by:
Stephen Warren <swarren@wwwdotorg.org> Reported-by:
Przemyslaw Marczak <p.marczak@samsung.com> Signed-off-by:
Rabin Vincent <rabin@rab.in>
-
git://www.denx.de/git/u-boot-imxTom Rini authored
-
git://git.denx.de/u-boot-dmTom Rini authored
Conflicts: drivers/serial/serial-uclass.c Signed-off-by:
Tom Rini <trini@ti.com>
-
git://git.denx.de/u-boot-x86Tom Rini authored
Conflicts: arch/x86/cpu/Makefile Signed-off-by:
Tom Rini <trini@ti.com>
-
Fabio Estevam authored
When an invalid USDHC port is passed we should return -EINVAL instead of 0. Also, return the error immediately on fsl_esdhc_initialize() failure. Cc: Eric Benard <eric@eukrea.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Fabio Estevam authored
When an invalid USDHC port is passed we should return -EINVAL instead of 0. Also, return the error immediately on fsl_esdhc_initialize() failure. Cc: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Fabio Estevam authored
When an invalid USDHC port is passed we should return -EINVAL instead of 0. Also, return the error immediately on fsl_esdhc_initialize() failure. Cc: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Nikita Kiryanov authored
Ideally, the Linux kernel should get the hardware in its most untouched state. For the most part, U-Boot does not reset the various subsystems it touches before boot, and usually Linux deals with it, but on some boards (cm_fx6) the Linux kernel fails to detect the ssd correctly if sata is used by U-Boot. Power off sata on OS boot so that Linux will have a clean state to work with. Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de>
-
Nikita Kiryanov authored
Provide board specific implementation for sata stop command for cm_fx6. Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de>
-
Nikita Kiryanov authored
Implement sata stop command. This introduces the __sata_stop() weak function, which mirrors the weak __sata_initialize() function, giving users the option of undoing the custom steps performed in overrides of sata_initialize(). Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Cc: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@ti.com>
-
Nikita Kiryanov authored
Add reset_sata() to the sata driver interface and implement it for dwc_ahsata. This function cleans up after sata_init(), and therefore accepts a device number like sata_init() does. A dummy implementation is provided for the rest of the drivers. Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Cc: Simon Glass <sjg@chromium.org> Cc: Stefano Babic <sbabic@denx.de>
-
Nikita Kiryanov authored
Implement disable_sata_clock for mx6 SoCs. Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de>
-
Fabio Estevam authored
gw_ventana can boot from SPI or NAND and both of these interfaces boot from the same 0x400 offset. This means that we could simplify the code and replace the custom gw_ventana.cfg with the generic spl_sd.cfg, as it provides the same boot offset of 0x400. Cc: Tim Harvey <tharvey@gateworks.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Hans de Goede authored
Older Linux kernels will not properly boot in hyp mode, add support for a bootm_boot_mode environment variable, which can be set to "sec" or "nonsec" to force booting in secure or non-secure mode when build with non-sec support. The default behavior can be selected through CONFIG_ARMV7_BOOT_SEC_DEFAULT, when this is set booting in secure mode is the default. The default setting for this Kconfig option is N, preserving the current behavior of booting in non-secure mode by default when non-secure mode is supported. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Marc Zyngier <marc.zyngier@arm.com> Acked-by:
Siarhei Siamashka <siarhei.siamashka@gmail.com>
-
Hans de Goede authored
Add arch/arm/cpu/armv7/Kconfig with non-secure and virt options, this is a preparation patch for adding an env variable to choose between secure / non-secure boot on non-secure boot capable systems, specifically this prepares for adding CONFIG_ARMV7_BOOT_SEC_DEFAULT as a proper Kconfig option. Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Tom Rini authored
For similar reasons to why the Linux Kernel has an EXPERT option, we too want an option to allow for tweaking of some options that while normally should remain hidden, may need to be changed in some cases. Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
- Nov 23, 2014
-
-
Suriyan Ramasami authored
Test size/read/write commands in a sandbox environment. Signed-off-by:
Suriyan Ramasami <suriyan.r@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Suriyan Ramasami authored
The sandbox/ext4/fat/generic fs commands do not gracefully deal with files greater than 2GB. Negative values are returned in such cases. To handle this, the fs functions have been modified to take an additional parameter of type "* loff_t" which is then populated. The return value of the fs functions are used only for error conditions. Signed-off-by:
Suriyan Ramasami <suriyan.r@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org> [trini: Update board/gdsys/p1022/controlcenterd-id.c, drivers/fpga/zynqpl.c for changes] Signed-off-by:
Tom Rini <trini@ti.com>
-
Suriyan Ramasami authored
Change the internal sandbox functions to use loff_t for file offsets. Signed-off-by:
Suriyan Ramasami <suriyan.r@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Suriyan Ramasami authored
Change the internal EXT4 functions to use loff_t for offsets. Signed-off-by:
Suriyan Ramasami <suriyan.r@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org> [trini: Update common/spl/spl_ext.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
Suriyan Ramasami authored
Change the internal FAT functions to use loff_t for offsets. Signed-off-by:
Suriyan Ramasami <suriyan.r@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org> [trini: Fix fs/fat/fat.c for min3 updates] Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
A number of prototypes here are now found in <flash.h>. use. Signed-off-by:
Tom Rini <trini@ti.com>
-
Suriyan Ramasami authored
Enable md5sum to obtain the MD5 of the read and written files to check their contents for validity. Use map_sysmem() to map buffer in a sandbox environment. Signed-off-by:
Suriyan Ramasami <suriyan.r@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Daniel Schwierzeck authored
This fixes following warning when compiled with MIPS64 common/board_f.c: In function 'display_text_info': common/board_f.c:150:2: warning: format '%X' expects argument i of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] debug("U-Boot code: %08X -> %08lX BSS: -> %08lX\n", Signed-off-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Daniel Schwierzeck authored
The MIPS specific setup of the initial stack frame was not ported to generic board_f. Signed-off-by:
Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
Masahiro Yamada authored
SPL should not reference CONFIG_CMD_NAND to decide whether or not it should build drivers/mtd/nand. CONFIG_CMD_NAND should be only used to select the NAND utility command on the command parser. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Masahiro Yamada authored
This commit adds some of command entries (CONFIG_CMD_*) to cover include/config_cmd_default.h and a little extra. Because U-Boot supports lots of commands, they should be categorized according to their usage. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Masahiro Yamada authored
The README file states that the macros beginning with "CONFIG_SYS_" depend on the hardware etc. and should not be meddled with if you do not what you're doing. We have already screwed up with this policy; we have given the prefix "CONFIG_SYS_" to many user-selectable configurations. Here, "CONFIG_SYS_HUSH_PARSER" is one of them. Users can enable it if they want to use a more powerful command line parser, or disable it if they only need a simple one. This commit attempts to rename CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER and move it to Kconfig. Every board maintainer is expected to enable CONFIG_HUSH_PARSER (= add "CONFIG_HUSH_PARSER=y" to his defconfig file) and remove "#define CONFIG_SYS_HUSH_PARSER" from his header file. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
Masahiro Yamada authored
Since commit 0defddc8 (config: Add a default CONFIG_SYS_PROMPT), each board header does not need to define CONFIG_SYS_PROMPT as long as it uses the default prompt "=> ". Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-