13 Mar, 2019
1 commit
-
Convert to use DM_PMIC for the PFUZE3000. Since this PMIC is
under an I2C bus, conver to DM_I2C as well.Also, since I2C is not used in SPL, remove CONFIG_SPL_I2C_SUPPORT
to avoid build warnings.Signed-off-by: Fabio Estevam
Acked-by: Otavio Salvador
10 Oct, 2018
2 commits
-
This allow the use of a USB storage or PXE network booting as
fallback, allowing for example for manufacturing installation of eMMC
storage in an easy way.Reviewed-by: Fabio Estevam
Signed-off-by: Otavio Salvador -
After discussing with TechNexion about how its default setting, it is
better to install on the eMMC user partition by default, when using
DFU, so it works out of box for majority of users.Reviewed-by: Fabio Estevam
Signed-off-by: Otavio Salvador
18 Sep, 2018
1 commit
-
This adds the device tree to the DFU and bootmenu environment setting.
Signed-off-by: Otavio Salvador
14 Sep, 2018
6 commits
-
Falcon mode boots the kernel directly from SPL, without loading
the full U-Boot.As pico-imx6ul does not have a GPIO for selecting Falcon versus normal
mode, enter in Falcon mode when the customer selects the
CONFIG_SPL_OS_BOOT option in menuconfig.Signed-off-by: Otavio Salvador
-
The CONFIG_FSL_USDHC is defined inside "mx6_common.h", which is
already included in this file.Signed-off-by: Otavio Salvador
Reviewed-by: Fabio Estevam -
This rework the DFU settings so it supports the SPL and U-Boot image,
as well as the single partition layout we are using by default.Signed-off-by: Otavio Salvador
-
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
-
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
18 Aug, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_MII
CONFIG_DRIVER_TI_EMACSigned-off-by: Adam Ford
Acked-by: Jagan Teki
Acked-by: Joe Hershberger
17 Aug, 2018
1 commit
-
We have the following cases:
- CONFIG_NR_DRAM_BANKS was defined, migrate normally
- CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
- CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
2), set this to 8.Signed-off-by: Tom Rini
07 May, 2018
1 commit
-
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.Signed-off-by: Tom Rini
09 Apr, 2018
1 commit
-
Migrate the CONFIG_FSL_ESDHC option to Kconfig.
Signed-off-by: Mario Six
24 Feb, 2018
1 commit
-
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
02 Feb, 2018
1 commit
-
This commit moves USB_FUNCTION_MASS_STORAGE config to Kconfig.
Signed-off-by: Lukasz Majewski
Reviewed-by: Jaehoon Chung
20 Nov, 2017
6 commits
-
Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador -
Command run setup_emmc will create gpt partitions for mmc 0 device
based on patitions variable.Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador -
Create layout with a boot 16MiB partition and rootfs with remain
space.Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador
Reviewed-by: Fabio Estevam -
Change dfu_alt_info variable to use the following altsetting:
uboot: To flash raw U-Boot
/zImage: boot: To copy kernel image
/imx6ul-pico-hobbit.dtb: To copy dtb file
rootfs: To copy rootfsList the currently attached DFU capable USB devices running:
sudo dfu-util -lFlash U-Boot:
sudo dfu-util -D u-boot.imx -a ubootCopy boot files:
sudo dfu-util -D zImage -a /zImage
sudo dfu-util -D imx6ul-pico-hobbit.dtb -a /imx6ul-pico-hobbit.dtbFlash rootfs:
sudo dfu-util -D rootfs.ext4 -a rootfsTo copy boot files you need to have a formated mmc 0:1 partition. To
format with ext4 filesystem you can use ums.Run on target:
ums 0 mmc 0and on host:
sudo mkfs.ext4 /dev/sdx1Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador -
Currently the rootfs location is passed via mmcblk number and using
the UUID method to specify the rootfs location is a better approach
working even if mmcblk number for the eMMC changes depending on the
kernel versions.Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador
Reviewed-by: Fabio Estevam -
Create CONFIG_DFU_ENV_SETTINGS to set dfu environment settings to
improve human readable code.Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador
Reviewed-by: Lukasz Majewski
02 Sep, 2017
1 commit
-
This syncs all of the currently Kconfig'd symbols out of the headers and
into the defconfig files. This has two exceptions, first am335x_evm
needs to be converted to DM in SPL and then it can stop undef'ing
CONFIG_DM_USB. Leaving this as-is results in a build failure, and
without work, run time failure. The other case is am43xx_evm.h and in
turn am43xx_evm_usbhost_boot. The problem here is that we need DWC3 USB
host mode in SPL, but still desire to have gadget mode in U-Boot proper.Signed-off-by: Tom Rini
08 Aug, 2017
2 commits
-
Signed-off-by: Alexandru Gagniuc
Acked-by: Joe Hershberger -
Signed-off-by: Alexandru Gagniuc
Acked-by: Joe Hershberger
26 Jul, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_ENV_IS_IN_MMC
CONFIG_ENV_IS_IN_NAND
CONFIG_ENV_IS_IN_UBI
CONFIG_ENV_IS_NOWHEREIn fact this already exists for sunxi as a 'choice' config. However not
all the choices are available in Kconfig yet so we cannot use that. It
would lead to more than one option being set.In addition, one purpose of this series is to allow the environment to be
stored in more than one place. So the existing choice is converted to a
normal config allowing each option to be set independently.There are not many opportunities for Kconfig updates to reduce the size of
this patch. This was tested with./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC
And then manual updates. This is because for CHAIN_OF_TRUST boards they
can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
now.Signed-off-by: Simon Glass
Signed-off-by: Tom Rini
12 Jul, 2017
1 commit
-
Change is consistent with other SOCs and it is in preparation
for adding SOMs. SOC's related files are moved from cpu/ to
mach-imx/.This change is also coherent with the structure in kernel.
Signed-off-by: Stefano Babic
CC: Fabio Estevam
CC: Akshay Bhat
CC: Ken Lin
CC: Marek Vasut
CC: Heiko Schocher
CC: "Sébastien Szymanski"
CC: Christian Gmeiner
CC: Stefan Roese
CC: Patrick Bruenn
CC: Troy Kisky
CC: Nikita Kiryanov
CC: Otavio Salvador
CC: "Eric Bénard"
CC: Jagan Teki
CC: Ye Li
CC: Peng Fan
CC: Adrian Alonso
CC: Alison Wang
CC: Tim Harvey
CC: Martin Donnelly
CC: Marcin Niestroj
CC: Lukasz Majewski
CC: Adam Ford
CC: "Albert ARIBAUD (3ADEV)"
CC: Boris Brezillon
CC: Soeren Moch
CC: Richard Hu
CC: Wig Cheng
CC: Vanessa Maegima
CC: Max Krummenacher
CC: Stefan Agner
CC: Markus Niebel
CC: Breno Lima
CC: Francesco Montefoschi
CC: Jaehoon Chung
CC: Scott Wood
CC: Joe Hershberger
CC: Anatolij Gustschin
CC: Simon Glass
CC: "Andrew F. Davis"
CC: "Łukasz Majewski"
CC: Patrice Chotard
CC: Nobuhiro Iwamatsu
CC: Hans de Goede
CC: Masahiro Yamada
CC: Stephen Warren
CC: Andre Przywara
CC: "Álvaro Fernández Rojas"
CC: York Sun
CC: Xiaoliang Yang
CC: Chen-Yu Tsai
CC: George McCollister
CC: Sven Ebenfeld
CC: Filip Brozovic
CC: Petr Kulhavy
CC: Eric Nelson
CC: Bai Ping
CC: Anson Huang
CC: Sanchayan Maity
CC: Lokesh Vutla
CC: Patrick Delaunay
CC: Gary Bisson
CC: Alexander Graf
CC: u-boot@lists.denx.de
Reviewed-by: Fabio Estevam
Reviewed-by: Christian Gmeiner
16 May, 2017
2 commits
-
The following options are migrated over fully now:
- USB_EHCI_ATMEL
- USB_EHCI_MARVELL
- USB_EHCI_MX6
- USB_EHCI_MX7
- USB_EHCI_MSM
- USB_EHCI_ZYNQ
- USB_EHCI_GENERICThis also requires fixing the depends on USB_EHCI_MARVELL as it's used
by Orion5X and Kirkwood as well.Cc: Marek Vasut
Signed-off-by: Tom Rini
Reviewed-by: Marek Vasut -
Migrate the rest of the users of CONFIG_USB_EHCI_HCD over to Kconfig.
For a few SoCs, imply or default y this if USB is enabled. In some
cases we had not already migrated to CONFIG_USB so do that as well.Cc: Marek Vasut
Signed-off-by: Tom Rini
Reviewed-by: Marek Vasut
15 May, 2017
1 commit
-
In order to be able to migrate the various SoC EHCI CONFIG options we
first need to finish the switch from CONFIG_USB_EHCI to
CONFIG_USB_EHCI_HCD.Cc: Marek Vasut
Signed-off-by: Tom Rini
Reviewed-by: Marek Vasut
07 Apr, 2017
1 commit
-
With d53ecad92f06 some unused interrupt related code was removed.
However all of these options are currently unused. Rather than migrate
some of these options to Kconfig we just remove the code in question.The only related code changes here are that in some cases we use
CONFIG_STACKSIZE in non-IRQ related context. In these cases we rename
and move the value local to the code in question.Fixes: d53ecad92f06 ("Merge branch 'master' of git://git.denx.de/u-boot-sunxi")
Signed-off-by: Tom Rini
13 Feb, 2017
1 commit
-
We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
not completed. Finish this work by the tool.During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will
make the code more readable. Besides, negative meaning symbols do
not fit in obj-$(CONFIG_...) style Makefiles.This commit was created as follows:
[1] Edit "default n" to "default y" in the config entry in
common/Kconfig.[2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"
[3] Rename the instances in defconfigs by the following:
find . -path './configs/*_defconfig' | xargs sed -i \
-e '/CONFIG_SYS_NO_FLASH=y/d' \
-e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'[4] Change the conditionals by the following:
find . -name '*.[ch]' | xargs sed -i \
-e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
-e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
-e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
-e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'[5] Modify the following manually
- Rename the rest of instances
- Remove the description from README
- Create the new Kconfig entry in drivers/mtd/Kconfig
- Remove the old Kconfig entry from common/Kconfig
- Remove the garbage comments from include/configs/*.hSigned-off-by: Masahiro Yamada
31 Jan, 2017
1 commit
-
Now, CONFIG_GENERIC_MMC seems equivalent to CONFIG_MMC.
Let's create an entry for "config GENERIC_MMC" with "default MMC",
then convert all macro defines in headers to Kconfig. Almost all
of the defines will go away.I see only two exceptions:
configs/blanche_defconfig
configs/sandbox_noblk_defconfigThey define CONFIG_GENERIC_MMC, but not CONFIG_MMC. Something
might be wrong with these two boards, so should be checked later.Anyway, this is the output of the moveconfig tool.
This commit was created as follows:
[1] create a config entry in drivers/mmc/Kconfig
[2] tools/moveconfig.py -r HEAD GENERIC_MMC
[3] manual clean-up of garbage comments in doc/README.* and
include/configs/*.hSigned-off-by: Masahiro Yamada
Reviewed-by: Tom Rini
28 Jan, 2017
1 commit
-
Signed-off-by: Patrick Delaunay
Signed-off-by: Patrick Delaunay
26 Jan, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_BOARD_EARLY_INIT_FSigned-off-by: Simon Glass
30 Dec, 2016
1 commit
-
Commit 7a777f6d6f35 ("mmc: Add generic Kconfig option") created
a Kconfig entry for this option without any actual moves, then
commit 44c798799f66 ("sunxi: Use Kconfig CONFIG_MMC") moved
instances only for SUNXI.We generally do not like such partial moves. This kind of work
is automated by tools/moveconfig.py, so it is pretty easy to
complete this move.I am adding "default ARM || PPC || SANDBOX" (suggested by Tom).
This shortens the configs and will ease new board porting.This commit was created as follows:
[1] Edit Kconfig (remove the "depends on", add the "default",
copy the prompt and help message from Linux)[2] Run 'tools/moveconfig.py -y -s -r HEAD MMC'
Signed-off-by: Masahiro Yamada
Reviewed-by: Jaehoon Chung
26 Oct, 2016
1 commit
-
- Add DEFAULT_FDT_FILE kconfig entry
- Move CONFIG_DEFAULT_FDT_FILE from include/configs to defconfigsCc: Tom Rini
Cc: Simon Glass
Cc: Michael Trimarchi
Signed-off-by: Jagan Teki
12 Oct, 2016
2 commits
-
Create a Kconfig entry for DISPLAY_BOARDINFO and make it be the default
in certain architectures. Migrate all config files.Signed-off-by: Lokesh Vutla
Signed-off-by: Tom Rini -
Create a Kconfig entry for DISPLAY_CPUINFO and make it be the default
in certain architectures. Migrate all config files.Signed-off-by: Lokesh Vutla
Signed-off-by: Tom Rini
27 Sep, 2016
1 commit
-
Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for
CMD_DFU (as we must have the DFU command enabled to do anything DFU).
Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add
options for all of the back end choices that DFU can make use of.Cc: Lukasz Majewski
Signed-off-by: Tom Rini
Acked-by: Lukasz Majewski