17 Feb, 2018
1 commit
15 Feb, 2018
6 commits
-
All Socfpga boards from ./include/configs/socfpga_* define
CONFIG_HW_WATCHDOG.
To ease CONFIG_HW_WATCHDOG conversion to Kconfig select it in
config ARCH_SOCFPGA (arch/arm/Kconfig) section.Signed-off-by: Lukasz Majewski
Signed-off-by: Simon Goldschmidt -
This converts the following to Kconfig:
CONFIG_SYS_BOOTCOUNT_SINGLEWORDSigned-off-by: Lukasz Majewski
Tested-by: Alex Kiernan
Reviewed-by: Ian Ray -
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_LIMITSigned-off-by: Lukasz Majewski
Tested-by: Alex Kiernan
Reviewed-by: Hannes Schmelzer
Acked-by: Hannes Schmelzer -
>From DFU_ALT_INFO_EMMC (include/environment/ti/dfu.h) we can see that
rootfs will be flashed to second partition on eMMC. But at the moment we
have only one partition in $partitions environment variable. Let's add
"bootloader" partition prior to "rootfs", so that DFU works correctly.
This also fixes eMMC boot, which looks for rootfs on second partition."bootloader" partition start corresponds to "u-boot.img.raw" in DFU
eMMC info, which is 0x300 sector (384 KiB offset from eMMC start).rootfs start address can be also found from DFU eMMC info.
bootloader-related area is finished at 0x1500 sector (2688 KiB offset
from eMMC start). This should be the start address for rootfs in
$partitions environment variable.While at it, fix U-Boot environment address to be the same as for
AM57x EVM, so that it doesn't clash with other partitions.So now eMMC layout looks like this:
===============================================================
0 +------------------------+
| MBR/GPT header | 128 -
128 +------------------------+
| MLO | 256 -
384 +------------------------+
| u-boot.img | 1792 bootloader
2176 +------------------------+
| //////// hole //////// | 256 -
2432 +------------------------+
| U-Boot environment | 128 -
2560 +------------------------+
| U-Boot environment | 128 -
| (redundant) |
2688 +------------------------+
| rootfs | remaining rootfs
end +------------------------+===============================================================
"hole" area can be used further for storing U-Boot environment (like
it's done in AM57x EVM config file) or for increasing u-boot.img area
(in case u-boot.img size increased, e.g. if new dtbs were added).This commit conforms with Linux partition table from f6d245b8c56c
("arm: am57xx: Fix Linux boot from eMMC") commit, making things in
uniform way.Signed-off-by: Sam Protsenko
Reviewed-by: Lokesh Vutla
Reviewed-by: Tom Rini -
Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the
current set of options we have in Kconfig. We will need to have some
options available for SPL and !SPL_FRAMEWORK so this is important. In a
few cases we re-order existing options so that we have less escapes from
the SPL_FRAMEWORK guard.Signed-off-by: Tom Rini
-
The option CONFIG_SPL_MMC_MINIMAL is unused in code, drop it.
Signed-off-by: Tom Rini
14 Feb, 2018
9 commits
-
Signed-off-by: Tuomas Tynkkynen
-
Signed-off-by: Tuomas Tynkkynen
-
Signed-off-by: Tuomas Tynkkynen
-
Signed-off-by: Tuomas Tynkkynen
-
Signed-off-by: Tuomas Tynkkynen
-
Signed-off-by: Tuomas Tynkkynen
-
Signed-off-by: Tuomas Tynkkynen
-
Signed-off-by: Tuomas Tynkkynen
-
Remove CONFIG_BOOT_RETRY_TIME as it doesn't do much good and enable
CONFIG_HUSH_PARSER in xtfpga_defconfig.Signed-off-by: Max Filippov
13 Feb, 2018
1 commit
11 Feb, 2018
1 commit
-
On the NIOS2 and Xtensa architectures, we do not have
CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
values into the defconfig and removing them from the headers.I did not attempt to add more default values in and for now will leave
that to maintainers.Signed-off-by: Tom Rini
10 Feb, 2018
1 commit
-
Enable validation of boot.scr script prior to its execution dependent
on "secureboot" flag in environment. Enable fall back option to
qspi boot in case of secure boot.Signed-off-by: Sumit Garg
Signed-off-by: Vinitha Pillai
Reviewed-by: York Sun
09 Feb, 2018
4 commits
-
config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE
based on a list of enabled options. Moving HAVE_BLOCK_DEVICE to
Kconfig allows us to drastically shrink the logic in
config_fallbacks.hSigned-off-by: Adam Ford
[trini: Rename HAVE_BLOCK_DEVICE to CONFIG_BLOCK_DEVICE]
Signed-off-by: Tom Rini -
Migrate the base and sub-options to Kconfig. Note that we only enable
this in the base sandbox config now.Cc: Alexey Brodkin
Cc: Michal Simek
Signed-off-by: Tom Rini
---
Is this driver still used anywhere? It's fishy that it's only enabled
in sandbox anymore. -
config_fallbacks.h had some logic to automatically select
LIB_RAND if RANDOM_UUID or CMD_UUID were set if LIB_HW_RAND wasn't
already selected. By migrating LIB_HW_RAND to Kconfig, we can
remove this check from config_fallbacks.h and put it into KconfigSigned-off-by: Adam Ford
Reviewed-by: Lukasz Majewski
[trini: Turn into a choice, add NET_RANDOM_ETHADDR]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_APBH_DMA
CONFIG_APBH_DMA_BURST
CONFIG_APBH_DMA_BURST8Signed-off-by: Adam Ford
Reviewed-by: Stefan Agner
[trini: Add in MMC as well]
Signed-off-by: Tom Rini
08 Feb, 2018
9 commits
-
Enable CONFIG_ENV_VARS_UBOOT_CONFIG for all STM32 boards
It allows to retrieve the SoC name into the "soc" environment
variable.Signed-off-by: Christophe Priouzeau
Signed-off-by: Patrice Chotard
Reviewed-by: Vikas Manocha -
This converts CONFIG_NAND_MXS to Kconfig.
Signed-off-by: Stefan Agner
-
The motivation for moving MX28 selection to Kconfig is to be able
to better handle NAND MXS selection through Kconfig.This selection method also aligns with the way other i.MX SoCs are
selected in U-Boot.Signed-off-by: Stefan Agner
-
The motivation for moving MX23 selection to Kconfig is to be able
to better handle NAND MXS selection through Kconfig.This selection method also aligns with the way other i.MX SoCs are
selected in U-Boot.Signed-off-by: Stefan Agner
-
This converts the following to Kconfig:
CONFIG_MXC_GPIOSigned-off-by: Adam Ford
-
Since CONFIG_PHY_SMSC was already in Kconfig, move this from
header file to defconfigSigned-off-by: Adam Ford
-
Since CONFIG_MXC_UART is already in Kconfig, move this from
the header to imx6q_logic_defconfigSigned-off-by: Adam Ford
Reviewed-by: Stefano Babic -
This commit removes an attempt to workaround a previous compilation
warning that is is now fixed in "include/configs/ti_omap3_common.h".Signed-off-by: Derald D. Woods
Reviewed-by: Tom Rini -
This commit fixes the following compiler warnings when DM_SERIAL is
enabled.---8
Reviewed-by: Tom Rini
06 Feb, 2018
1 commit
-
These are declared in Kconfig, but some #defines have crept in.
CONFIG_FPGA
CONFIG_FPGA_ALTERA
CONFIG_FPGA_CYCLON2
CONFIG_FPGA_SOCFPGA
CONFIG_FPGA_XILINX
CONFIG_FPGA_ZYNQMPPLSigned-off-by: Tuomas Tynkkynen
04 Feb, 2018
7 commits
-
Select CONFIG_CMD_USB_MASS_STORAGE so that the 'ums' can be used.
Signed-off-by: Fabio Estevam
-
Selecting CONFIG_USB_FUNCTION_MASS_STORAGE=y in the defconfig leads to
the following error:cmd/built-in.o: In function `do_usb_mass_storage':
cmd/usb_mass_storage.c:217: undefined reference to `fsg_main_thread'
cmd/usb_mass_storage.c:170: undefined reference to `fsg_init'CONFIG_USB_FUNCTION_MASS_STORAGE option is built only for
the non-SPL case as per the logic in drivers/usb/gadget/Makefile,
so remove the incorrect CONFIG_SPL ifdefery to fix the build
failure.Signed-off-by: Fabio Estevam
Tested-by: Shawn Guo -
The board header file included a reference to the starting point
from nitrogen6x.h, but since so much changed, the file bears
little resemblance to that file.Signed-off-by: Eric Nelson
-
The initial implementation of mx6memcal reset the CPU after
running the memory calibration procedure because the generic
board has no information about which boot devices are available.Now that we have SDP support in SPL, use it to allow a full
U-Boot to be uploaded (i.e. to use "mtest").Signed-off-by: Eric Nelson
Reviewed-by: Fabio Estevam -
Validate the time at startup:
- in case rtc error add to kernel command line RTC_ERROR
- clamp date to 1-Jan-2036Signed-off-by: Nandor Han
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel -
The exact definition of a successful boot is defined by user-space.
Determine the boot partition automatically. A partition is selected if
file `/boot/bootcause/firstboot' exists (meaning that the partition has
freshly installed software) OR if file `/boot/fitImage' exists.When userspace determines that new software was successfully installed,
it must (1) delete `/boot/fitImage' on the _inactive_ partition and (2)
remove `/boot/bootcause/firstboot'.Enable video, but do not display logos or other version information.
Silence kernel console logging by default.Print a message to VGA screen in case of boot failure and reset bootcount
to allow the user to attempt boot again.Signed-off-by: Ian Ray
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel -
Change the kernel command line to mount the root filesystem read-only in
order to be able to run filesystem check on it on boot.Signed-off-by: Hannu Lounento
Signed-off-by: Martyn Welch
Signed-off-by: Sebastian Reichel