- Sep 20, 2019
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchipTom Rini authored
- Fix rk3288 tinker and evb SPL boot fail - Enable get sn from cpuid for rk3399 rockpro64 board
-
Tom Rini authored
- Coding style corrections in some RTC drivers. - Small doc updates. - Regression fix in part_test_dos() - Regression fix on TI OMAP WDTs. - Document deadline for CONFIG_DM migration. - Switch Travis-CI to "xenial" release.
-
- Sep 19, 2019
-
-
Heinrich Schuchardt authored
For many sub-systems we already require the driver model to be used. Yet there is still a handful of boards that do not have CONFIG_DM enabled. We should make CONFIG_DM compulsory with release v2020.01 Conversion dates for CONFIG_DM_SPL and CONFIG_DM_TPL are yet to be defined. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Suniel Mahesh authored
AM335X based beaglebone black target gets reset by DM converted watchdog if booted from emmc around 60sec. Fixed this by moving driver's private struct variable initialization at different places in the driver to driver's probe. Tested on Beaglebone Black. Cc: Grygorii Strashko <grygorii.strashko@ti.com> Fixes: 7659ea32 ("watchdog: omap_wdt: Convert watchdog driver to use DT and DM") Reported-by:
Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by:
Suniel Mahesh <sunil.m@techveda.org> Acked-by:
Grygorii Strashko <grygorii.strashko@ti.com> Reviewed-by:
Sam Protsenko <semen.protsenko@linaro.org>
-
Tom Rini authored
The README.scrapyard file has been inconsistently updated. While well intentioned, bad data is worse than no data, and in this case a pointer to use the history that git provides. Remove the current content and the script that would update it from time to time as well. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Faiz Abbas authored
The blk_dread() following the mbr allocation reads one block from the device. This will lead to overflow if block size is greater than the size of legacy_mbr. Fix this by allocating at least one block size. Signed-off-by:
Faiz Abbas <faiz_abbas@ti.com> Acked-by:
Alexey Brodkin <abrodkin@synopsys.com>
-
Lukasz Majewski authored
This patch adds some commit info for CONFIG_IS_ENABLED(FOO) when used in TPL context. Signed-off-by:
Lukasz Majewski <lukma@denx.de>
-
Lukasz Majewski authored
The of-plat.rst file till this change has been using This is at best misleading as SPL_OF_PLATDATA is always defined when we want to use this SPL tinification feature (also in U-Boot proper). As a result the OF_PLATDATA SPL specific code is also compiled in when U-Boot proper is build. Signed-off-by:
Lukasz Majewski <lukma@denx.de> Reviewed-by:
Peng Fan <peng.fan@nxp.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Biwen Li authored
The patch fixes coding style Signed-off-by:
Biwen Li <biwen.li@nxp.com>
-
Ramon Fried authored
trusty is getting old, move to xenial (16.04) to get updated gcc and other tools. Signed-off-by:
Ramon Fried <rfried.dev@gmail.com>
-
Kever Yang authored
We need a new STACK in SDRAM instead of SRAM so that the EMMC controller can work properly. The EMMC/SD controller's master is not able to access SRAM area, it can only access DRAM area. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
SPL_TEXT_BASE is 0x0 by default, based on the kconfig definition move in below commit. "configs: move CONFIG_SPL_TEXT_BASE to Kconfig" (sha1: f89d6133) So, don't define it explicitly. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Jagan Teki authored
Increase bootm length to 64MB satisfy max gunzip size, even other rockchip and know SoC are following same length check. Reported-by:
Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Michael Trimarchi authored
Tinker board needs to mux all the sdmmc gpio and activate the regulator connected to bank 7. Remove all the bank that are not in use and mark them as dm,spl so-that it would initialize at SPL. Signed-off-by:
Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Reviewed-by:
Kever <Yang<kever.yang@rock-chips.com>
-
Jagan Teki authored
SPL sets up SDRAM while in its board_init_f() function, it is possible for the stack to move there before board_init_r() is reached. So it is required to reserve the stack for SDRAM, with a proper location and size otherwise any operations during SPL handoff would leads to failure. On, this particular context tinker-rk3288 SPL is failing to launch U-Boot proper on SDRAM due to lack of stack. U-Boot SPL 2019.10-rc3-00297-g5ba8b12543 (Sep 12 2019 - 08:50:36 +0530) Trying to boot from MMC1 spl: mmc init failed with error: -110 SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### So, enable SPL_STACK_R_ADDR and it's related-config items for SDRAM, SPL stack to setup properly. Reported-by:
Jagan Teki <jagan@amarulasolutions.com> Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Reviewed-by:
Kever <Yang<kever.yang@rock-chips.com>
-
Jagan Teki authored
SPL_TEXT_BASE is 0x0 by default, based on the kconfig definition move in below commit. "configs: move CONFIG_SPL_TEXT_BASE to Kconfig" (sha1: f89d6133) So, don't define it explicitly. Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Reviewed-by:
Kever <Yang<kever.yang@rock-chips.com>
-
Jagan Teki authored
newline \n was missed in fdt_path_offset, error loop. Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Reviewed-by:
Kever <Yang<kever.yang@rock-chips.com>
-
Jagan Teki authored
Few of the rk3288 boards like tinker, vyasa are using TPL, SPL bootchain so the dram initialization must needed during TPL stage. So add proper ifconstruct to satisfy both TPL, SPL and SPL-only bootchain boards. This eventually fixing TPL to SPL handoff, otherwise missing dram initilaztion at TPL stage would leads to SPL hang. Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Reviewed-by:
Kever <Yang<kever.yang@rock-chips.com>
-
Jagan Teki authored
The initial Vyasa-rk3288 TPL implementation is to reuse the SPL_TEXT_BASE for TPL and SPL as 0x0 and 0xff704000 respectively. But the below commit implements the reverse way of using TEXT_BASE's like 0xff704000 for TPL and 0x0 for SPL and which indeed update the SPL_TEXT_BASE for vyasa-rk3288 board. "rockchip: Kconfig: enable TPL support for rk3328" (sha1: 3f47db02) So, fix by dropping the legacy SPL_TEXT_BASE and it will reassign 0x0 by default based on Kconfig definition. Reported-by:
Jagan Teki <jagan@amarulasolutions.com> Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Reviewed-by:
Kever <Yang<kever.yang@rock-chips.com>
-
Jagan Teki authored
ROCKCHIP_BROM_HELPER is selected as if TPL/SPL ROCKCHIP_BACK_TO_BROM has been defined, so drop the explicit enablement for vyasa board. This change is supposed to missed during config move to other locations, and missed to drop the same. Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Reviewed-by:
Kever <Yang<kever.yang@rock-chips.com>
-
Hugh Cole-Baker authored
This enables reading the cpuid from e-fuse, and deriving a static MAC address from it. Without this, the ethernet interface on the rockpro64 can't be used to boot. Signed-off-by:
Hugh Cole-Baker <sigmaris@gmail.com> Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
- Sep 16, 2019
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriqTom Rini authored
- Add emmc hs200 support - Few bug fixes related to serdes, I2C, ethernet, etc
-
https://gitlab.denx.de/u-boot/custodians/u-boot-spiTom Rini authored
- fix mvebu_a3700_spi clock prescale (Marek Behún) - unmark MXS_SPI, DEPRECATED (Lukasz) - add spi_write_then_read (Jagan) - fix SST26* flash ICs (Eugeniy) - fix soft_spi data abort (Christophe)
-
Jagan Teki authored
Update SPI drivers, driver model conversion status for v2019.10 release. Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com>
-
Eugeniy Paltsev authored
Commit c4e88623 (mtd: spi: Switch to new SPI NOR framework) performs switch from previous 'spi_flash' infrastructure without proper testing/investigations which results in a regressions for SST26 flash series. Enable protection ops for SST26 flash series which were previously enabled by Commit 3d4fed87 (mtd: sf: Add support of sst26wf* flash ICs protection ops) Signed-off-by:
Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com>
-
Eugeniy Paltsev authored
Commit c4e88623 (mtd: spi: Switch to new SPI NOR framework) performs switch from previous 'spi_flash' infrastructure without proper testing/investigations which results in a regressions for SST26 flash series. Add missing SST26* flash IC protection ops which were introduced previously by Commit 3d4fed87 (mtd: sf: Add support of sst26wf* flash ICs protection ops) Signed-off-by:
Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com>
-
Jagan Teki authored
spi_write_then_read, will manage to do the respective spi_xfer based on the tx_buf, rx_buf so drop the legacy spi_flash_read/write/cm code. Tested-by: Adam Ford <aford173@gmail.com> #da850-evm Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com>
-
Jagan Teki authored
Now, we have spi_write_then_read routine that would handle spi_xfer handling based on the tx_buf and rx_buf parameters. So, replace individual flash read/write/cmd transfer call with spi_write_then_read. Cc: Egnite GmbH <info@egnite.de> Cc: Daniel Gorsulowski <daniel.gorsulowski@esd.eu> Cc: Ilko Iliev <iliev@ronetix.at> Cc: Marek Vasut <marex@denx.de> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Cc: Alison Wang <alison.wang@nxp.com> Tested-by: Adam Ford <aford173@gmail.com> #da850-evm Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com>
-
Jagan Teki authored
Add support for SPI synchronous write followed by read, this is common interface call from spi-nor to spi drivers. Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Tested-by: Adam Ford <aford173@gmail.com> #da850-evm
-
Lukasz Majewski authored
MXS_SPI driver now partially converted into driver-model, so unmark the DEPRECATED option for the same. Signed-off-by:
Lukasz Majewski <lukma@denx.de> [jagan: update the commit message] Signed-off-by:
Jagan Teki <jagan@amarulasolutions.com> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com>
-
Christophe Kerello authored
In case spi_get_bus_and_cs callback is used, spi bus is first probed then slave devices are probed. To avoid a data abort in soft_spi probe function, we need to check that (slave != NULL). If slave is NULL, cs_flags and clk_flags will be initialized with respectively GPIOD_ACTIVE_LOW and 0. Signed-off-by:
Christophe Kerello <christophe.kerello@st.com> Signed-off-by:
Patrice Chotard <patrice.chotard@st.com> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com>
-
Marek Behún authored
The prescaler value computation can yield wrong result if given 0x1f at the beginning: the value is computed to be 0x20, but the maximum value the register can hold 0x1f, so the actual stored value in this case is 0, which is obviously wrong. Set the upper bound of the value to 0x1f with the min macro. Signed-off-by:
Marek Behún <marek.behun@nic.cz> Reviewed-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com>
-
git://git.denx.de/u-boot-shTom Rini authored
-
- Sep 14, 2019
-
-
-
Tom Rini authored
- Assorted K3 bugfixes. - Assorted DM enablements, dead code removal.
-
Marek Vasut authored
Enable the "dhcp" command as a minor convenience. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Marek Vasut authored
Add missing PCI range for translating DRAM to bus addresses. This fixes e.g. PCI NIC interface and allows network to work in QEMU. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Marek Vasut authored
Pass -m4 instead of -m4-nofpu to GCC versions which do not support the -m4-nofpu option. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Marek Vasut authored
Since binutils 2.30 , the resulting U-Boot binary was incorrectly linked against address 0 instead of text base, fix it. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
- Sep 13, 2019
-
-
Andrew F. Davis authored
HS devices use the FIT post processing step to authenticate boot images. Set the configured boot command to load FIT by default. Signed-off-by:
Andrew F. Davis <afd@ti.com>
-