14 Sep, 2018
6 commits
-
Currently the baseboards do not offer a way to autodetect which one is
in use, so we ask the user if no value has been set.Signed-off-by: Otavio Salvador
-
Due the changes in previous commits, we need to resync the defconfig
to reduce noise in next commits.Signed-off-by: Otavio Salvador
-
The 'bmode' command is helpful for switching the boot media.
In the case of pico-imx6ul there are two possible boot media:
eMMC or USB.To boot from eMMC:
=> bmode emmc
To boot from USB (via Serial Download Protocol):
=> bmode usb
Signed-off-by: Fabio Estevam
Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador -
fastboot tool is a convenient way to flash the eMMC, so
add support for it.Examples of usages:
On the pico-imx6ul U-Boot prompt:
=> fastboot 0
On the Linux PC connected via USB:
1. Retrieving the U-Boot version
$ sudo fastboot getvar bootloader-version -i 0x0525
bootloader-version: U-Boot 2018.07-rc2-00130-g0881835-dirty
finished. total time: 0.000s2. Resetting the board
$ sudo fastboot reboot -i 0x0525
(this causes the pico-imx6ul to reboot)
Signed-off-by: Fabio Estevam
Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador -
There are two versions of imx6ul pico SOMs: one with 256MB and another
one with 512MB of RAM.Convert to SPL so that both versions can be supported. This patch
doesn't rework the clock initialization to avoid changing the behavior
in this same patch, so it will be cleaned up in future.Currently only the 256MB is tested/supported.
Signed-off-by: Fabio Estevam
Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador -
Instead of keeping a custom environment, use a more generic approach
by switching to distro config.Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador
11 Sep, 2018
7 commits
-
Add initial defconfig support for AM65x that runs on A53.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla -
Now that CONFIG_SYS_MONITOR_LEN increased, we have room for enabling
more options again.Signed-off-by: Masahiro Yamada
-
This patch enables DM_SERIAL for the pandora board. Verified that
the default kernel can still be booted with this.Signed-off-by: Grazvydas Ignotas
-
Add support for loading U-Boot on the Broadcom 7260 SoC. This port
assumes Broadcom's BOLT bootloader is acting as the second stage
bootloader, and U-Boot is acting as the third stage bootloader, loaded
as an ELF program by BOLT.Signed-off-by: Thomas Fitzsimmons
Reviewed-by: Florian Fainelli
Cc: Florian Fainelli -
Change the configured serial console index to reflect that it is the
first physical UART, reorder some defconfig lines and move some
environment configuration from bcmstb.h to bcm7445.h.Signed-off-by: Thomas Fitzsimmons
Cc: Florian Fainelli -
Activate the serial rx buffer.
Prepare console MUX activation with vidconsole, and avoid console
performance issue (missing character for copy-paste).Signed-off-by: Patrick Delaunay
05 Sep, 2018
3 commits
-
Minor changes for ARC
1. Fix CPU clock value in HSDK's .dts so time is counted properly.
2. Enable bootelf command on EMDK -
Signed-off-by: Alexey Brodkin
04 Sep, 2018
6 commits
-
CONFIG_CMD_MII is set without CONFIG_MII, build is broken.
Signed-off-by: Stefano Babic
-
Convert the codes and configurations to enable DM drivers in u-boot for
modules: i2c, PMIC, regulator, USB, Ethernet, SD/MMC, GPIO and QSPIThis patch does not change SPL, so it still uses non-DM driver for
UART, GPIO and SD/MMC.Signed-off-by: Ye Li
-
On iMX7D SabreSD board, the QSPI has pins conflict with EPDC (default).
To use QSPI, users have to rework the board (de-populate R388-R391, R396-R399
populate R392-R395, R299, R300). So we add new DTS file and new defconfig
dedicated for QSPI.Other changes to support the DM QSPI:
- Add QSPI node and alias spi0.
- Modify spi4 (spi-gpio) node and add alias spi5 for it to avoid req
conflict
- Add EPDC node in imx7d.dtsi and disable it in imx7d-sdb-qspi.dts to
align with kernel and also present the conflict.
- Add -u-boot.dtsi to modify compatible string of mx25l51245g@0 to
"spi-flash"
- Remove iomux settings of qspi in board codes which is not needed
for DM driver.Signed-off-by: Ye Li
-
To support DM QSPI driver:
- Add -u-boot.dtsi to modify n25q256a@0 and n25q256a@1 compatible string
to "spi-flash" and add "num-cs" property.
- Enable DM SPI and DM SPI FLASH configurations
- Remove iomux settings of qspi1 in board codes which is not needed
for DM driver.Signed-off-by: Ye Li
-
To support DM QSPI driver
- Add spi0 and spi1 alias for qspi1 and qspi2.
- Add -u-boot.dtsi to modify n25q256a@0 and n25q256a@1 compatible string
to "spi-flash" and add "num-cs" property.
- Enable DM SPI/QSPI relavent configurations
- Remove iomux settings of qspi2 in board codes which is not needed
for DM driver.
- Add sf default settings. So running "sf probe" can detect the flashSigned-off-by: Ye Li
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
27 Aug, 2018
1 commit
-
beagleboard x15 is the first supported platform variant of am57xx
in AOSP (android open source project) now.changing board name to stay in consistent with aosp target name.
Signed-off-by: Praneeth Bajjuri
25 Aug, 2018
3 commits
-
This code now is regarded as dead one and hence shall be removed.
Signed-off-by: Lukasz Majewski
24 Aug, 2018
1 commit
-
Switch the Arria10 from ad-hoc hardcoded timer to timer framework
and the DW APB timer driver. This allows the A10 to extract timer
information, like timer rate, from clock framework and thus DT
instead of having it hardcoded in U-Boot configuration files.Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Ley Foon Tan
21 Aug, 2018
3 commits
-
In some cases it can be useful to be able to bind a device to a driver from
the command line.
The obvious example is for versatile devices such as USB gadget.
Another use case is when the devices are not yet ready at startup and
require some setup before the drivers are bound (ex: FPGA which bitsream is
fetched from a mass storage or ethernet)usage example:
bind usb_dev_generic 0 usb_ether
unbind usb_dev_generic 0 usb_ether
or
unbind eth 1bind /ocp/omap_dwc3@48380000/usb@48390000 usb_ether
unbind /ocp/omap_dwc3@48380000/usb@48390000Signed-off-by: Jean-Jacques Hiblot
20 Aug, 2018
5 commits
-
A20 OLinuXino Micro eMMC board has emmc with mmc2 slot
so use proper dts, sun7i-a20-olinuxino-micro-emmc.dtsCc: Stefan Mavrodiev
Cc: Hans de Goede
Acked-by: Maxime Ripard
Signed-off-by: Jagan Teki -
The SPL space is limited. In order to try to enable DM in SPL,
we need more space. When combined wtih TINY_PRINTF, this reduces
the size of SPL by 6.5kOriginal:
text data bss dec hex filename
20760 1216 80 22056 5628 spl/u-boot-splTiny Printf
text data bss dec hex filename
17947 1216 80 19243 4b2b spl/u-boot-splMalloc Simple + Tiny Printf
text data bss dec hex filename
15187 176 28 15391 3c1f spl/u-boot-splSigned-off-by: Adam Ford
-
The SPL space is limited. In order to try to enable DM in SPL,
we need more space. This reduces the size of SPL by ~2.7Kbefore:
text data bss dec hex filename
20760 1216 80 22056 5628 spl/u-boot-spl
after:
text data bss dec hex filename
17947 1216 80 19243 4b2b spl/u-boot-splSigned-off-by: Adam Ford
-
Since using DM_I2C_COMPAT throws a warning during compilation,
and it isn't really needed any longer, so this patch removes
this feature and shrinks the code a bit.from:
text data bss dec hex filename
343326 13388 123448 480162 753a2 u-bootto:
text data bss dec hex filename
342924 13380 123440 479744 75200 u-bootSigned-off-by: Adam Ford
-
Currently building U-Boot as the coreboot payload requires user
to change the build configuration for a specific board during
menuconfig process. This uses the board's native device tree
to configure the hardware. For example, the device tree provides
PCI address range for the PCI host controller and U-Boot will
re-program all PCI devices' BAR to be within this range. In order
to make sure we don't mess up the hardware, we should guarantee
the range matches what coreboot programs the chipset.But we really should make the coreboot payload support easier.
Just like EFI payload, we can create a generic coreboot payload
for all x86 boards as well. The payload is configured to include
as many generic drivers as possible. All stuff that touches low
level initialization are not allowed as such is the coreboot's
responsibility. Platform specific drivers (like gpio, spi, etc)
are not included.Signed-off-by: Bin Meng
Reviewed-by: Christian Gmeiner
18 Aug, 2018
5 commits
-
This converts the following to Kconfig:
CONFIG_SYS_I2C_DAVINCISigned-off-by: Adam Ford
-
After creating CONS_INDEX and migrating a bunch of boards to it,
there are a bunch of defined references to CONFIG_SERIALx which
are not referenced in any C code or #ifdef, so they can now be
removedSigned-off-by: Adam Ford
-
This converts the following to Kconfig:
CONFIG_TWL4030_LED
CONFIG_TWL4030_INPUTThis also removes dead references to:
CONFIG_TWL4030_KEYPADSigned-off-by: Adam Ford
-
This converts the following to Kconfig:
CONFIG_VIDEO_OMAP3Signed-off-by: Adam Ford
-
This converts the following to Kconfig:
CONFIG_MISC_INIT_RSigned-off-by: Adam Ford
[trini: Update the defaults logic slightly]
Signed-off-by: Tom Rini