- Nov 30, 2015
-
-
Prabhakar Kushwaha authored
Management complex Firmware, DPL and DPC are depolyed during u-boot boot sequence. Add new DPAA2 commands to manage Management Complex (MC) i.e. start mc, aiop and apply DPL from u-boot command prompt. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Prabhakar Kushwaha authored
Current implementation only consider SGMIIs for dpmac initialization. XFI serdes protocols also uses dpmac. Also, fix lane protocol parsing logic to consider both XFIs and SGMIIs. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Alison Wang authored
This patch addresses a problem mentioned recently on this mailing list: [1]. In that posting a LS1021 based system was locking up at about 5 minutes after boot,but the problem was mysteriously related to the toolchain used for building u-boot.Debugging the problem reveals a stuck interrupt 29 on the GIC. It appears Freescale's LS1021 support in u-boot erroneously sets the 64-bit ARM generic PL1 physical time CompareValue register to all-ones with a 32-bit value.This causes the timer compare to fire 344 seconds after u-boot configures it.Depending on how fast u-boot gets the kernel booted,this amounts to about 5-minutes of Linux uptime before locking up. Apparently the bug is masked by some toolchains. Perhaps this is explained by default compiler options, word sizes, or binutils versions. To fix the above issue, the generic physical timer is disabled before jumping to the OS. [1] https://lists.yoctoproject.org/pipermail/meta-freescale/2015-June/014400.html Signed-off-by:
Chris Kilgour <techie@whiterocker.com> Signed-off-by:
Alison Wang <alison.wang@freescale.com> Acked-by:
Mark Rutland <mark.rutland@arm.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Alison Wang authored
This patch addresses a problem mentioned recently on this mailing list: [1]. In that posting a LS1021 based system was locking up at about 5 minutes after boot, but the problem was mysteriously related to the toolchain used for building u-boot. Debugging the problem reveals a stuck interrupt 29 on the GIC. It appears Freescale's LS1021 support in u-boot erroneously sets the 64-bit ARM generic PL1 physical time CompareValue register to all-ones with a 32-bit value. This causes the timer compare to fire 344 seconds after u-boot configures it. Depending on how fast u-boot gets the kernel booted, this amounts to about 5-minutes of Linux uptime before locking up. Apparently the bug is masked by some toolchains. Perhaps this is explained by default compiler options, word sizes, or binutils versions. At any rate this patch makes the manipulation explicitly 64-bit which alleviates the issue. [1] https://lists.yoctoproject.org/pipermail/meta-freescale/2015-June/014400.html Signed-off-by:
Chris Kilgour <techie@whiterocker.com> Signed-off-by:
Alison Wang <alison.wang@freescale.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
- Nov 23, 2015
-
-
Vignesh R authored
serial_init() reads global_data, since global_data is not yet initialized, this can cause unwanted behaviour leading to QSPI XIP boot hang. Also, since serial_init() is anyways called later from boar_init_f(), it does not make sense to do the same in s_init(). Tested on AM437x IDK EVM with QSPI XIP boot. Signed-off-by:
Vignesh R <vigneshr@ti.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Nov 22, 2015
-
-
Jelle de Jong authored
The lamobo-r1 board, sometimes called the BPI-R1 but not labelled as such on the PCB, is meant as a A20 based router board. As such the board comes with a built-in switch chip giving it 5 gigabit ethernet ports, and it has a large empty area on the pcb with mounting holes which will fit a 2.5 inch harddisk. To complete its networking features it has a Realtek RTL8192CU for WiFi 802.11 b/g/n. The dts file is identical to the one submitted upstream. Signed-off-by:
Jelle de Jong <jelledejong@powercraft.nl> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Hans de Goede authored
These files are based on the current latest upstream kernel work. The bus_gates bindings may still change, but for u-boot that does not matter as we do not (yet) use any clock info from devicetree for sunxi u-boot. Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Siarhei Siamashka authored
The 3.4 kernel from the Allwinner SDK is clocking AHB1 at 200MHz on Allwinner H3 and using PLL6 as the clock source (PLL6/3). This can be verified by reading the value of the AHB1_APB1_CFG_REG register via /dev/mem. It always reads as 0x3180 regardless of the current cpufreq operating point. So this configuration should be safe for use in U-Boot too. PLL6 also needs to be configured before it is used as the clock source, according to the "CCU / Programming Guidelines" section of the Allwinner manual. The current low AHB1 clock speed is limiting the USB transfer speed when booting via FEL. This patch can increase the FEL USB transfer speed from ~510 KB/s to ~950 KB/s. Signed-off-by:
Siarhei Siamashka <siarhei.siamashka@gmail.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Jens Kuske authored
Based on existing A23/A33 code and the original H3 boot0. Signed-off-by:
Jens Kuske <jenskuske@gmail.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Jens Kuske authored
Add initial sun8i H3 support, only uart + mmc are supported for now. Signed-off-by:
Jens Kuske <jenskuske@gmail.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Thomas Chou authored
Change to ns16550 uart for 10m50 devboard based on a new Altera release. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Thomas Chou authored
Move CONFIG_SYS_NS16550 to Kconfig, and run moveconfig.py. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw>
-
Thomas Chou authored
Unify serial_tegra, and use the generic binding. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Thomas Chou authored
Unify serial_rockchip, and use the generic binding. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Tom Rini <trini@konsulko.com> Tested-by:
Ariel D'Alessandro <ariel@vanguardiasur.com.ar> Acked-by:
Simon Glass <sjg@chromium.org>
-
Thomas Chou authored
Unify serial_ppc, and use the generic binding. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Tom Rini <trini@konsulko.com> [trini: Add TODO comment] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Nov 21, 2015
-
-
Thomas Chou authored
Unify serial_x86, and use the generic binding. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
- Nov 20, 2015
-
-
Simon Glass authored
Add a test that verifies that USB keyboards work correctly on sandbox. This verifies some additional parts of the USB stack. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a simple USB keyboard driver for sandbox. It provides a function to 'load' it with input data, which it will then stream through to the normal U-Boot input subsystem. When the input data is exhausted, the keyboard stops providing data. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add tests that this command produces the right output, even when a rescan results in a device disappearing from the bus. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When running sandbox tests, silence the console to avoid unwanted output. Also, record the console in case tests want to check it. The -v option can be used to enable stdout during tests. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The console includes a global variable and several functions that are only used by a small subset of U-Boot files. Before adding more functions, move the definitions into their own header file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Some tests are slow due to delays which are unnecessary on sandbox. The worst offender is USB where we lose two seconds. Add a way to disable time delays. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
Convert to use driver model keyboard on QEMU. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
Convert to use driver model keyboard on Intel Crown Bay. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Some boards have an i8042 device. Enable the driver for all x86 boards, and add a device tree node for those which may have this keyboard. Also adjust the configuration so that i8042 is always separate from the VGA, and rename the stdin driver accordingly. With this commit the keyboard will not work, but it is fixed in the next commit. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Thomas Chou authored
Add a sandbox timer which get time from host os and a basic test. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Adjust the cros_ec keyboard driver to support driver model. Make this the default for all Exynos boards so that those that use a keyboard will build correctly with this driver. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Adjust the tegra keyboard driver to support driver model, using the new uclass. Make this the default for all Tegra boards so that those that use a keyboard will build correctly with this driver. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Nov 19, 2015
-
-
Nathan Rossi authored
'extern inline' is not portable across various C standards. To ensure compatiblity with various standards/compilers change the functions to static inline. This is a portable construct and serves as a comparable definition to 'extern inline' from the gnu90 standard. Additionally remove the function prototypes as they are not required due to the functions being declared static and functions are correctly ordered based on dependence. Signed-off-by:
Nathan Rossi <nathan@nathanrossi.com> Cc: Michal Simek <monstr@monstr.eu> Cc: Tom Rini <trini@konsulko.com> Acked-by:
Mans Rullgard <mans@mansr.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Nathan Rossi authored
Fix various style issues in MicroBlaze header files. Specifically fixing style voilations including '__inline__', 'foo * bar' and 'void foo ('. Signed-off-by:
Nathan Rossi <nathan@nathanrossi.com> Cc: Michal Simek <monstr@monstr.eu> Cc: Tom Rini <trini@konsulko.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Put jump trampoline to TCM at 0 and setup R5 reset address to 0. Jump trampoline ensures that jump to the right location. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Nov 18, 2015
-
-
Nikita Kiryanov authored
Currently the mmc device that SPL looks at is always mmc0, regardless of the BOOT_DEVICE_MMCx value. This forces some boards to implement hacks in order to boot from other mmc devices. Make SPL take into account the correct mmc device. Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Nikita Kiryanov authored
Make spl_*_load_image() functions return a value instead of hanging if a problem is encountered. This enables main spl code to make the decision whether to hang or not, thus preparing it to support alternative boot devices. Some boot devices (namely nand and spi) do not hang on error. Instead, they return normally and SPL proceeds to boot the contents of the load address. This is considered a bug and is rectified by hanging on error for these devices as well. Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Cc: Ian Campbell <ijc@hellion.org.uk> Cc: Hans De Goede <hdegoede@redhat.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Jagan Teki <jteki@openedev.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Kipisz, Steven authored
BeagleBoard X15 (http://beagleboard.org/x15) support in u-boot does actually support two different platform configuration offered by TI. In addition to BeagleBoard X15, it also supports the TMDXEVM5728 (or more commonly known as AM5728-evm). Information about the TI AM57xx EVM can be found here http://www.ti.com/tool/tmdxevm5728 The EVM configuration is 1-1 compatible with BeagleBoard X15 with the additional support for mPCIe, mSATA, LCD, touchscreen, Camera, push button and TI's wlink8 offering. Hence, we rename the beagle_x15 directory to am57xx to support TI EVMs that use the AM57xx processor. By doing this we have common code reuse. This sets the stage to have a common u-boot image solution for multiple TI EVMs such as that already done for am335x and am437x. This sets the stage for upcoming multiple TI EVMs that share the same code base. NOTE: Commit eae7ae18 ("am437x: Add am57xx_evm_defconfig using CONFIG_DM") introduced DT support for beagle_x15 under am57xx_evm platform name. However, this ignored the potential confusion arising for users as a result. To prevent this, existing beagle_x15_defconfig is renamed as am57xx_evm_nodt_defconfig to denote that this is the "non device tree" configuration for the same platform. We still retain am57xx-beagle-x15.dts at this point, since we just require the common minimum dts. As a result of this change, users should expect changes in build procedures('make am57xx_evm_nodt_defconfig' instead of 'make beagle_x15_defconfig'). Hopefully, this would be a one-time change. Signed-off-by:
Steve Kipisz <s-kipisz2@ti.com> Signed-off-by:
Schuyler Patton <spatton@ti.com> Acked-by:
Nishanth Menon <nm@ti.com> Acked-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Thomas Chou authored
Zap ioremap(), as it is replaced by map_physmem(,,MAP_NOCACHE). Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Thomas Chou authored
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Reviewed-by:
Marek Vasut <marex@denx.de>
-
- Nov 17, 2015
-
-
Kevin Smith authored
Instead of allocating space in the driver for the serdes specification table, just allow the board file to set a pointer to it. Also, allow the board to only specify the lanes that are used instead of including unused lanes. Signed-off-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Acked-by:
Stefan Roese <sr@denx.de> Cc: Dirk Eibach <eibach@gdsys.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
-
Kevin Smith authored
Functions that do not modify the pointer passed should declare it as const. Signed-off-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Acked-by:
Stefan Roese <sr@denx.de> Cc: Dirk Eibach <eibach@gdsys.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
-
Kevin Smith authored
A lot of extra configuration information was left over in the Marvell serdes and DDR3 initialization code for boards that U-boot does not support. Remove this extra config information, and the concept of fixing up board topologies with information loaded from an EEPROM. If this needs to be done, it should be handled in the board file, not in core code. Signed-off-by:
Kevin Smith <kevin.smith@elecsyscorp.com> Acked-by:
Stefan Roese <sr@denx.de> Cc: Dirk Eibach <eibach@gdsys.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
-
Alexey Brodkin authored
With this change Synopsys DesignWare SDP board is switched to driver model for both serial port (serial_dw) and Ethernet (Designware GMAC). This simplifies include/configs/axs101.h and allows for reuse of Linux's Device Tree description. For simplicity Linux's .dts files are not blindly copied but only very few extracts of them are really used (those that are supported in U-Boot at the moment). Signed-off-by:
Alexey Brodkin <abrodkin@synopsys.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
-