26 Feb, 2018
1 commit
-
Migrate the users of CONFIG_SYS_BOOTCOUNT_ADDR to Kconfig. We can
provide a default for BOOTCOUNT_AM33XX as that's a specific part of the
RTC in use. We can also provide a default for ARCH_LS1043A and
ARCH_LS1021A as they had been previously calculated and their symbols
are in Kconfig. In the case of other QE-enabled platforms, they are not
so we must update the relevant defconfig files. The previous default
only applied in some cases, even on a specific SoC family.Reviewed-by: Lukasz Majewski
Reviewed-by: Alex Kiernan
Signed-off-by: Tom Rini
24 Feb, 2018
9 commits
-
Convert CONFIG_BOOTCOUNT_ALEN to Kconfig
Signed-off-by: Alex Kiernan -
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_EXTSigned-off-by: Alex Kiernan
-
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_I2CSigned-off-by: Alex Kiernan
Reviewed-by: Lukasz Majewski -
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_RAMSigned-off-by: Alex Kiernan
Reviewed-by: Lukasz Majewski -
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_ENVSigned-off-by: Alex Kiernan
Reviewed-by: Lukasz Majewski -
This converts the following to Kconfig:
CONFIG_BOOTCOUNT_AM33XXReviewed-by: Lukasz Majewski
Reviewed-by: Hannes Schmelzer
Acked-by: Hannes Schmelzer
Signed-off-by: Alex Kiernan -
With the contents of config_distro_defaults.h migrated to Kconfig,
we can remove this header file completelySigned-off-by: Adam Ford
-
This converts the following to Kconfig:
CONFIG_BOOTP_BOOTPATH
CONFIG_BOOTP_DNS
CONFIG_BOOTP_GATEWAY
CONFIG_BOOTP_HOSTNAME
CONFIG_BOOTP_PXE
CONFIG_BOOTP_SUBNETMASK
CONFIG_CMDLINE_EDITING
CONFIG_AUTO_COMPLETE
CONFIG_SYS_LONGHELP
CONFIG_SUPPORT_RAW_INITRD
CONFIG_ENV_VARS_UBOOT_CONFIGSigned-off-by: Adam Ford
[trini: Re-run the migration]
Signed-off-by: Tom Rini
23 Feb, 2018
2 commits
-
Drop CONFIG_SYS_MEMORY_TOP. Rename CONFIG_SYS_TEXT_ADDR to
XTENSA_SYS_TEXT_ADDR.Signed-off-by: Max Filippov
-
A number of platforms include config_distro_defaults.h but do not enable
CONFIG_DISTRO_DEFAULTS. As they plainly intended to, set that flag and
re-sync config files.Signed-off-by: Tom Rini
22 Feb, 2018
1 commit
-
Do the following to make the symbol names less confusing.
sed -i "s/\([TU][^_]\+\)_FUNCTION_DFU/DFU_OVER_\1/g" \
`git grep _FUNCTION_DFU | cut -d ":" -f 1 | sort -u`Signed-off-by: Marek Vasut
Cc: Lukasz Majewski
19 Feb, 2018
1 commit
-
Add a new API to perform iodelay recalibration without isolate
io to be used in uboot.The data manual of J6/J6 Eco recommends to set different IODELAY values
depending on the mode in which the MMC/SD is enumerated in order to
ensure IO timings are met. The MMC driver can use the new API to
set the IO delay values depending on the MMC mode.Signed-off-by: Kishon Vijay Abraham I
Signed-off-by: Jean-Jacques Hiblot
18 Feb, 2018
2 commits
-
Get rid of the SH I2C driver on Porter and enable the IIC driver
instead . The old SH I2C is completely broken on Porter anyway
and the DM/DT capable IIC driver allows access to the PMIC too.
Use the DM/DT capable driver instead.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Set those limits to inform U-Boot about FDT and initramfs placement.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
17 Feb, 2018
2 commits
16 Feb, 2018
3 commits
-
This makes the shell so much more pleasant to use, so enable it.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu -
Due to size limitations of the MERAM, switch U-Boot to SPL.
The SPL is loaded by the SPI_LOADER into MERAM and then loads
U-Boot proper into DRAM. This way U-Boot can freely grow in
size in DRAM, as there is plenty of it.Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
NOTE: To update U-Boot, first install u-boot.img to 0x140000 in SPI NOR,
then use the Minimon to flash u-boot-spl.srec using ls,2,e6304000.
To generate u-boot-spl.srec, use objcopy:
arm-linux-gnueabi-objcopy -O srec spl/u-boot-spl u-boot-spl.srec -
This makes the shell so much more pleasant to use, so enable it.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
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
1 commit
-
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