24 Feb, 2018
1 commit
-
With the contents of config_distro_defaults.h migrated to Kconfig,
we can remove this header file completelySigned-off-by: Adam Ford
13 Dec, 2017
2 commits
-
This symbol enables some library code used by various SATA drivers,
so make this a non-user-visible symbol select'ed by the respective
drivers, and let moveconfig handle the rest.Signed-off-by: Tuomas Tynkkynen
-
Signed-off-by: Tuomas Tynkkynen
18 Nov, 2017
1 commit
-
We first introduce CONFIG_USE_BOOTCOMMAND, similar to
CONFIG_USE_BOOTARGS. We then migrate CONFIG_BOOTCOMMAND for most
CONFIG_DISTRO_DEFAULT users. In some cases platforms have a complex
scheme around this usage, and these have been defered for the moment so
that platform maintainers can work on a migration plan.Signed-off-by: Tom Rini
Reviewed-by: Lukasz Majewski
31 Oct, 2017
1 commit
-
Add support for the latest MX6QP wandboard variant.
Based on Richard Hu's work from Technexion's U-Boot tree.
Signed-off-by: Fabio Estevam
12 Oct, 2017
1 commit
-
Latest wandboard hardware revision is revd1, which brings the following
new features:- PFUZE100 PMIC
- AR8035 Ethernet PHY
- Upgrade Wifi/BT chip to BCM4339/BCM43430.The detection mechanism is to probe the PMIC and when it is
found, then the revision of the board is revd1.As the detection is done via PMIC, we need to print the board version
at a later stage via CONFIG_DISPLAY_BOARDINFO_LATE and also need
to disable CONFIG_DISPLAY_BOARDINFO, which is done much earlier.Make the necessary adjustments for the AR8035 PHY to work on revd1.
Based on Richard Hu's work from Technexion's U-Boot tree.
Signed-off-by: Fabio Estevam
11 Sep, 2017
1 commit
-
MX6Q/QP IPU operates at 264MHz and MX6DL IPU at 198MHz.
When running a SPL target, which supports multiple MX6 variants we cannot
properly setup the IPU clock frequency via CONFIG_IPUV3_CLK option as
such decision is done in build-time currently.Remove the CONFIG_IPUV3_CLK option and let the IPU clock frequency be
configured in run-time on mx6.Reported-by: Eric Nelson
Signed-off-by: Fabio Estevam
Reviewed-by: Eric Nelson
Reviewed-by: Stefano Babic
[agust: fixed #endif in cgtqmx6eval.h]
Signed-off-by: Anatolij Gustschin
17 Aug, 2017
1 commit
-
Update pfla02 for setenv changes and PHYLIB/etc migration to Kconfig.
Signed-off-by: Tom Rini
08 Aug, 2017
1 commit
-
Signed-off-by: Alexandru Gagniuc
Acked-by: Joe Hershberger
28 Jul, 2017
1 commit
-
Enable booting from SATA on the wandboard.
Sata support was already enabled, but distro_bootcmd is not configured
to boot from it.Signed-off-by: Vagrant Cascadian
Reviewed-by: Fabio Estevam
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
2 commits
-
Currently the rootfs location is passed via mmcblk number and the
problem with this approach is that the mmcblk number for the eMMC
changes depending on the kernel version.In order to avoid such issue, use UUID method to specify the rootfs
location.This change was made based on U-Boot commit:
- ca4f338e2efece5196eb2178e5f7d07be828da6e
Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador
Reviewed-by: Fabio Estevam -
This converts the following to Kconfig:
CONFIG_CMD_SATASigned-off-by: Simon Glass
Reviewed-by: Bin Meng
23 May, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_CMD_HDMIDETECTNote that we cannot do 'default y if VIDEO' because this option is only
enabled for a small subset of mx6 boards. Also this command is is not a
great implementation (it doesn't use driver model).Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
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
30 Apr, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_CMD_BMODESigned-off-by: Simon Glass
[trini: Make this default y and depend on mx5/6/7]
Signed-off-by: Tom Rini
29 Jan, 2017
1 commit
-
With the latest mach-types values we have many instances where we no
longer need to define a value and a few cases where the name (but not
value) have changed slightly.Signed-off-by: Tom Rini
26 Jan, 2017
1 commit
-
This converts the following to Kconfig:
CONFIG_BOARD_EARLY_INIT_FSigned-off-by: Simon Glass
22 Jan, 2017
1 commit
-
Cc: Tom Rini
Signed-off-by: Jagan Teki
29 Nov, 2016
1 commit
-
When I tried to deactivate VIDEO support for the Wandboard, it still
tried to initialize the Framebuffer and so on. That is the reason for
the added ifdefs. CONFIG_VIDEO is enabled in the configuration as default
and therefore nothing changes for the default user.The structs mx6dl_i2c2_pad_info and mx6q_i2c2_pad_info are only available
when CONFIG_IPUV3 are set and should not be tried to access, when that
define is not defined.Signed-off-by: Sven Ebenfeld
24 Oct, 2016
5 commits
-
This converts the following to Kconfig:
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINESigned-off-by: Simon Glass
Reviewed-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_VGA_AS_SINGLE_DEVICEOnce we migrate to driver model for video, we should be able to drop this
option.Signed-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_CFB_CONSOLESigned-off-by: Simon Glass
-
This converts the following to Kconfig:
CONFIG_SYS_CONSOLE_IS_IN_ENV
CONFIG_CONSOLE_MUXSigned-off-by: Simon Glass
[trini: Re-order, re-migrate]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_VIDEOSigned-off-by: Simon Glass
Reviewed-by: Tom Rini
Reviewed-by: Jagan Teki
04 Oct, 2016
1 commit
-
The videoargs script is kernel version dependent and since wandboard
uses distro config, there is no need to handle videoargs locally.In case such video related settings are needed, then the proper
location would be the distro extlinux.conf or boot.scr files.So remove 'videoargs' script.
Signed-off-by: Fabio Estevam
17 Sep, 2016
2 commits
-
Move this option to Kconfig and tidy up existing uses.
Signed-off-by: Simon Glass
-
Move this option to Kconfig and tidy up existing uses.
Signed-off-by: Simon Glass
10 Sep, 2016
1 commit
-
In some cases we were missing CONFIG_USB=y so enable that when needed.
Reviewed-by: Masahiro Yamada
Signed-off-by: Tom Rini
20 Jul, 2016
1 commit
-
Recently I started to notice that u-boot.img built for Wandboard
by some toolchains becomes so large that it basically overlaps with
U-Boot environment area on SD-card.According to
http://wiki.wandboard.org/index.php/Boot-process#sdcard_boot_data_layout
Wandboard's SD-card layout is as follows:
------------------------------>8---------------------------
Acked-by: Otavio Salvador
Acked-by: Fabio Estevam==========================================================
1. 0x00000000 Reserved For MBR
2. 0x00000200 512 Secondary Image Table (optional)
3. 0x00000400 1024 uBoot Image (Starting From IVT)
4. 0x00060000 393216 start of uboot env (size:8k)
5. 0x00062000 end of uboot env
6. 0x00100000 1048576 Linux kernel start
7. 0x0076AC00 7777280 start of partition 1
------------------------------>8---------------------------So for U-Boot we have 383kB (392192 bytes).
But in up to date U-Boot for Wandboard we build separately
a) SPL
b) u-boot.imgwhich gives us a bit more detailed SD-card layout:
------------------------------>8---------------------------
==========================================================
1. 0x00000000 Reserved For MBR
2. 0x00000200 512 Secondary Image Table (optional)
3. 0x00000400 1024 SPL
4. 0x00011400 70656 u-boot.img
5. 0x00060000 393216 start of uboot env (size:8k)
6. 0x00062000 end of uboot env
...
------------------------------>8--------------------------->From that layout we may calculate amount of space reserved for
u-boot.img. It's just 315kb (322560 bytes).Now if I build U-Boot with Sourcery CodeBench ARM 2014.05 produced
u-boot.img is already more than we expected
(323840 bytes instead of "< 322560"):
------------------------------>8---------------------------
ls -la u-boot.img
-rw-rw-r-- 1 user user 323840 Jul 5 07:38 u-boot.img
------------------------------>8---------------------------Funny enough if I rebuild U-Boot with ARM toolchain available in
my Fedora 23 distro u-boot.img becomes a little bit smaller:
------------------------------>8---------------------------
ls -la u-boot.img
-rw-rw-r-- 1 user user 322216 Jul 5 07:39 u-boot.img
------------------------------>8---------------------------What's worse this problem might not affect people most of the time
because what happens people would just copy u-boot.img on SD-card and
live in happiness with it... well until somebody attempts to save
environment in U-Boot with "saveenv" command which will simply
overwrite the very end of u-boot.img.
That will lead to unusable SD-card until user dd u-boot.img on
SD-card again.I may foresee this issue in the future to become more visible once we
add more features in U-Boot for Wandboard or just existing code base
becomes bulkier and people will consistently get larger u-boot.img
files produced.IMHO there's an obvious solution for all that - just move U-Boot's env
to the very end of the gap between U-Boot and the first real partition
on the SD-card. This patch will follow
8fb9eea5653796 ("mx6sabre_common: Fix U-Boot corruption after 'saveenv'").
So env is still not in the very end of the gap (obviously 256kb is way
too much for U-Boot's env) but at least we have now the same
partitioning for i.MX6 boards.Signed-off-by: Alexey Brodkin
Cc: Fabio Estevam
Cc: Otavio Salvador
Cc: Peter Robinson
Cc: Tom Rini
Cc: Peter Korsgaard
Cc: Wolfgang Denk
12 Jul, 2016
1 commit
-
Signed-off-by: Gilles Chanteperdrix
26 Apr, 2016
2 commits
-
Update the config.h and defconfig files for the commands that 8e3c036
converted over to KconfigSigned-off-by: Tom Rini
-
This syncs up the current cmd/Kconfig and include/configs/ files with the
only exception being CMD_NAND. Due to how we have used this historically
we need to take further care here when converting.Signed-off-by: Tom Rini
03 Feb, 2016
1 commit
-
All boards that support PXE booting use the pxefile_addr_r variable. Standardise
wandboard with this variable as pxe_addr_r isn't used anywhere else so it's a
typo.Signed-off-by: Peter Robinson
Acked-by: Fabio Estevam
13 Nov, 2015
2 commits
-
wandboard and mx6cuboxi have warnings because BOOT_DELAY
is defined twice.Signed-off-by: Stefano Babic
CC: Vagrant Cascadian
CC: Otavio Salvador
CC: Fabio Estevam -
This allows for more flexible and standardized boot across multiple
platforms.Remove redundant legacy boot environment.
Signed-off-by: Vagrant Cascadian
02 Oct, 2015
1 commit
-
The driver assumed that I2C1 and I2C2 were always enabled,
and if they were not, then an asynchronous abort was (silently)
raised, to be caught much later on in the Linux kernel.Fix this by making I2C1 and I2C2 optional just like I2C3 and I2C4
are.To make the change binary-invariant, declare I2C1 and I2C2 in
every include/configs/ file which defines CONFIG_SYS_I2C_MXC.Also, while updating README about CONFIG_SYS_I2C_MXC_I2C1 and
CONFIG_SYS_I2C_MXC_I2C2, add missing descriptions for I2C4 speed
(CONFIG_SYS_MXC_I2C4_SPEED) and slave (CONFIG_SYS_MXC_I2C4_SLAVE)
config options.Signed-off-by: Albert ARIBAUD (3ADEV)
10 Jul, 2015
1 commit
-
According to README.mxc_ocotp the OCOTP is a stanard i.MX6 SoC feature
so centralise the config in mx6_common.h so functionality is standard
across all boardsSigned-off-by: Peter Robinson
Acked-by: Stefano Babic