[U-Boot] [PATCH] bootcount: Migrate CONFIG_SYS_BOOTCOUNT_ADDR

2018-02-24 Thread Tom Rini
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

Re: [U-Boot] [PATCH 1/2] Makefile: add u-boot-elf.srec if CONFIG_REMAKE_ELF is defined

2018-02-24 Thread Tom Rini
On Sat, Feb 24, 2018 at 08:49:38PM +0100, Marek Vasut wrote: > On 02/24/2018 08:15 PM, Tom Rini wrote: > > On Sat, Feb 24, 2018 at 12:24:17PM +0100, Marek Vasut wrote: > > > >> From: Masaru Nagai > >> > >> The u-boot-elf.srec is needed for some platforms,

[U-Boot] [PATCH 3/3] wget.c, wget.h and modified tftp.c.

2018-02-24 Thread DH
From: Duncan Hare Modified tftp.c can be used to verify integrity of wget download by setting compile directive and performing a second file transfer with tftp transfer. 1 waring from patman about maintainers. How should this be handled? Signed-off-by: Duncan Hare

[U-Boot] [PATCH 2/3] TCP code. All is new.

2018-02-24 Thread DH
From: Duncan Hare Passed through patman, which does not like packed headers. But, packed headers are a requirement to meet protocol header standards. Signed-off-by: Duncan Hare --- net/Makefile | 3 +- net/tcp.c| 723

[U-Boot] [PATCH 1/3] Interface changes for adding TCP

2018-02-24 Thread DH
From: Duncan Hare This code has passed through patman. Signed-off-by: Duncan Hare --- include/net.h | 32 ++ net/Kconfig | 5 +++ net/net.c | 102 +++--- net/ping.c|

Re: [U-Boot] [PATCH 2/2] ARM: rmobile: Build u-boot-elf.srec on Gen3

2018-02-24 Thread Marek Vasut
On 02/24/2018 08:16 PM, Tom Rini wrote: > On Sat, Feb 24, 2018 at 12:24:18PM +0100, Marek Vasut wrote: > >> From: Masaru Nagai >> >> The u-boot-elf.srec is needed for the minimon update on Gen3 SoCs, >> conveniently generate this file. >> >> Signed-off-by: Marek

Re: [U-Boot] [PATCH 1/2] Makefile: add u-boot-elf.srec if CONFIG_REMAKE_ELF is defined

2018-02-24 Thread Marek Vasut
On 02/24/2018 08:15 PM, Tom Rini wrote: > On Sat, Feb 24, 2018 at 12:24:17PM +0100, Marek Vasut wrote: > >> From: Masaru Nagai >> >> The u-boot-elf.srec is needed for some platforms, conveniently generate this >> file. >> >> Signed-off-by: Masaru Nagai

Re: [U-Boot] [U-Boot, v2] env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it

2018-02-24 Thread Tom Rini
On Sat, Feb 24, 2018 at 09:58:45PM +0100, Wolfgang Denk wrote: > Dear Tom, > > In message <20180220220328.GC4311@bill-the-cat> you wrote: > > > > > We need to make sure that the MMC sub-system is ready in even a non-MMC > > > boot case. > > > > > > Therefore, initialize mmc before loading

Re: [U-Boot] [U-Boot, v2] env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it

2018-02-24 Thread Wolfgang Denk
Dear Tom, In message <20180220220328.GC4311@bill-the-cat> you wrote: > > > We need to make sure that the MMC sub-system is ready in even a non-MMC > > boot case. > > > > Therefore, initialize mmc before loading environment from it. > > > > Signed-off-by: Faiz Abbas > >

Re: [U-Boot] [RFC] Make U-Boot log great again

2018-02-24 Thread Wolfgang Denk
Dear Lukasz, In message <20180220105933.7d402043@jawa> you wrote: > > > That patch intent was to keep the current behaviour as is for all > > users, so the fact that you now have the FAT environment enabled is an > > unwanted side-effect. > > The same situation is on Beagle Bone Black. Even

Re: [U-Boot] [PATCH v2 0/3] ARM: omap3: beagle, evm: synchronize common setup

2018-02-24 Thread Tom Rini
On Sat, Feb 24, 2018 at 01:39:45PM -0600, Derald Woods wrote: > On Sat, Feb 24, 2018 at 02:12:32PM -0500, Tom Rini wrote: > > On Sat, Feb 24, 2018 at 09:29:02AM -0600, Derald D. Woods wrote: > > > On Sat, Feb 24, 2018 at 09:35:43AM -0500, Tom Rini wrote: > > > > On Sat, Feb 24, 2018 at 08:09:39AM

Re: [U-Boot] [PATCH v2 0/3] ARM: omap3: beagle, evm: synchronize common setup

2018-02-24 Thread Derald Woods
On Sat, Feb 24, 2018 at 02:12:32PM -0500, Tom Rini wrote: > On Sat, Feb 24, 2018 at 09:29:02AM -0600, Derald D. Woods wrote: > > On Sat, Feb 24, 2018 at 09:35:43AM -0500, Tom Rini wrote: > > > On Sat, Feb 24, 2018 at 08:09:39AM -0600, Derald D. Woods wrote: > > > > > > > This short series is an

Re: [U-Boot] [PATCH 2/2] ARM: rmobile: Build u-boot-elf.srec on Gen3

2018-02-24 Thread Tom Rini
On Sat, Feb 24, 2018 at 12:24:18PM +0100, Marek Vasut wrote: > From: Masaru Nagai > > The u-boot-elf.srec is needed for the minimon update on Gen3 SoCs, > conveniently generate this file. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro

Re: [U-Boot] [PATCH 1/2] Makefile: add u-boot-elf.srec if CONFIG_REMAKE_ELF is defined

2018-02-24 Thread Tom Rini
On Sat, Feb 24, 2018 at 12:24:17PM +0100, Marek Vasut wrote: > From: Masaru Nagai > > The u-boot-elf.srec is needed for some platforms, conveniently generate this > file. > > Signed-off-by: Masaru Nagai > Signed-off-by: Hiroyuki

Re: [U-Boot] [PATCH v2 0/3] ARM: omap3: beagle, evm: synchronize common setup

2018-02-24 Thread Tom Rini
On Sat, Feb 24, 2018 at 09:29:02AM -0600, Derald D. Woods wrote: > On Sat, Feb 24, 2018 at 09:35:43AM -0500, Tom Rini wrote: > > On Sat, Feb 24, 2018 at 08:09:39AM -0600, Derald D. Woods wrote: > > > > > This short series is an attempt to make this set of boards use the same > > > default

Re: [U-Boot] [PULL][Update] Please pull u-boot-imx

2018-02-24 Thread Stefano Babic
On 24/02/2018 16:58, Stefano Babic wrote: > Hi Tom, > > some fixes, please pull from u-boot-imx, thanks! > Two fixes (Jagan's and Fabio's) were missing, new PR includes them: The following changes since commit 02b0895c215e252cff50d9edf53a972d2bbbfd30: Merge git://git.denx.de/u-boot-sh

Re: [U-Boot] [PATCH v3] imx: spl: Partially revert "spl: eMMC/SD: Provide one __weak spl_boot_mode() function"

2018-02-24 Thread Stefano Babic
On 24/02/2018 19:22, Tom Rini wrote: > On Sat, Feb 24, 2018 at 02:46:23PM -0300, Breno Matheus Lima wrote: >> 2018-02-15 12:41 GMT-02:00 Fabio Estevam : >>> Commit d695d6627803 ("spl: eMMC/SD: Provide one __weak spl_boot_mode() >>> function") breaks the boot on several i.MX6

Re: [U-Boot] [PATCH v3] imx: spl: Partially revert "spl: eMMC/SD: Provide one __weak spl_boot_mode() function"

2018-02-24 Thread Tom Rini
On Sat, Feb 24, 2018 at 02:46:23PM -0300, Breno Matheus Lima wrote: > 2018-02-15 12:41 GMT-02:00 Fabio Estevam : > > Commit d695d6627803 ("spl: eMMC/SD: Provide one __weak spl_boot_mode() > > function") breaks the boot on several i.MX6 boards, > > such as cuboxi and

Re: [U-Boot] [PATCH v3] imx: spl: Partially revert "spl: eMMC/SD: Provide one __weak spl_boot_mode() function"

2018-02-24 Thread Breno Matheus Lima
2018-02-15 12:41 GMT-02:00 Fabio Estevam : > Commit d695d6627803 ("spl: eMMC/SD: Provide one __weak spl_boot_mode() > function") breaks the boot on several i.MX6 boards, > such as cuboxi and wandboard: > > U-Boot SPL 2018.03-rc1-00212-g48914fc119 (Feb 10 2018 - 11:04:33

Re: [U-Boot] [PATCH v2 11/20] sunxi: spl: deassert the NAND controller reset line

2018-02-24 Thread Miquel Raynal
Hi Maxime, On Thu, 22 Feb 2018 14:53:35 +0100, Maxime Ripard wrote: > On Thu, Feb 22, 2018 at 02:33:41PM +0100, Miquel Raynal wrote: > > Ensure the NAND controller reset line is deasserted before use. > > > > Signed-off-by: Miquel Raynal >

Re: [U-Boot] [PATCH] ARM: dts: i.MX6QDL: icore-rqs: Fix eMMC detection during SPL

2018-02-24 Thread Stefano Babic
On 24/02/2018 17:15, Jagan Teki wrote: > Stefano, > > On Wed, Feb 21, 2018 at 6:35 PM, Jagan Teki wrote: >> usdhc4 has eMMC on icore-rqs boards, SPL is not detecting >> it becuase of u-boot,dm-spl flag so add it to make eMMC working. >> >> Signed-off-by: Jagan Teki

Re: [U-Boot] [PATCH] ARM: dts: i.MX6QDL: icore-rqs: Fix eMMC detection during SPL

2018-02-24 Thread Jagan Teki
Stefano, On Wed, Feb 21, 2018 at 6:35 PM, Jagan Teki wrote: > usdhc4 has eMMC on icore-rqs boards, SPL is not detecting > it becuase of u-boot,dm-spl flag so add it to make eMMC working. > > Signed-off-by: Jagan Teki > --- >

[U-Boot] [PULL] Please pull u-boot-imx

2018-02-24 Thread Stefano Babic
Hi Tom, some fixes, please pull from u-boot-imx, thanks! The following changes since commit 02b0895c215e252cff50d9edf53a972d2bbbfd30: Merge git://git.denx.de/u-boot-sh (2018-02-17 16:06:59 -0500) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for you

Re: [U-Boot] [PATCH v2 0/3] ARM: omap3: beagle, evm: synchronize common setup

2018-02-24 Thread Derald D. Woods
On Sat, Feb 24, 2018 at 09:35:43AM -0500, Tom Rini wrote: > On Sat, Feb 24, 2018 at 08:09:39AM -0600, Derald D. Woods wrote: > > > This short series is an attempt to make this set of boards use the same > > default configuration items where possible. This was prompted by an > > investigation into

Re: [U-Boot] [PATCH v2 0/3] ARM: omap3: beagle, evm: synchronize common setup

2018-02-24 Thread Tom Rini
On Sat, Feb 24, 2018 at 08:09:39AM -0600, Derald D. Woods wrote: > This short series is an attempt to make this set of boards use the same > default configuration items where possible. This was prompted by an > investigation into enabling SERIAL_SEARCH_ALL on omap3_evm. This feature > now works

[U-Boot] [PATCH v2 2/3] ARM: omap3: beagle: Enable DM_SERIAL, update distro usage and NAND layout

2018-02-24 Thread Derald D. Woods
This commit does the following for BeagleBoard{-xM}: - Enable DM_SERIAL which also enables SPL_DM_SERIAL - Misc. config updates in support of DM_SERIAL - Use CONFIG_ENV_IS_IN_FAT because BeagleBoard-xM has no NAND - Use updated NAND layout (BeagleBoard): device nand0 , # parts = 6

[U-Boot] [PATCH v2 1/3] ARM: omap3: beagle: Set 'mtdids' and 'mtdparts' in board file

2018-02-24 Thread Derald D. Woods
BeagleBoard 'xM' does not really have NAND. CONFIG_MTDIDS_DEFAULT and CONFIG_MTDPARTS_DEFAULT can/should be empty for 'xM'. This commit sets the defined values if they exist. Signed-off-by: Derald D. Woods --- board/ti/beagle/beagle.c | 8 1 file changed, 8

[U-Boot] [PATCH v2 3/3] ARM: omap3: evm: Sync with omap3_beagle configuration

2018-02-24 Thread Derald D. Woods
This commit does the following for OMAP3 EVM: - Track omap3_beagle changes where possible - Remove CONFIG_SYS_MPUCLK and CONFIG_MTD which are not needed for the default board configuration to work. - Remove CONFIG_SPL_SYS_MALLOC_SIMPLE and CONFIG_SYS_MALLOC_F_LEN from default config.

[U-Boot] [PATCH v2 0/3] ARM: omap3: beagle, evm: synchronize common setup

2018-02-24 Thread Derald D. Woods
This short series is an attempt to make this set of boards use the same default configuration items where possible. This was prompted by an investigation into enabling SERIAL_SEARCH_ALL on omap3_evm. This feature now works for omap3_evm after this series. The series changes the default NAND

Re: [U-Boot] Please pull u-boot-video/master

2018-02-24 Thread Tom Rini
On Sat, Feb 24, 2018 at 12:39:01AM +0100, Anatolij Gustschin wrote: > Hi Tom, > > please pull this series, it fixes the regression (HDMI output) on the > RK3399 with some boards moved to live tree. > > The following changes since commit f0f6917188ad660cf002c10095f46ecf748b8f58: > > Prepare

Re: [U-Boot] [U-Boot,V2,2/2] Remove config_distro_defaults.h

2018-02-24 Thread Tom Rini
On Tue, Feb 06, 2018 at 07:49:32AM -0600, Adam Ford wrote: > With the contents of config_distro_defaults.h migrated to Kconfig, > we can remove this header file completely > > Signed-off-by: Adam Ford With a few tweaks: - Re-did the deletion with sed and cleaned up empty

Re: [U-Boot] [U-Boot, V2, 1/2] Convert CONFIG_BOOTP_BOOTPATH et al to Kconfig

2018-02-24 Thread Tom Rini
On Tue, Feb 06, 2018 at 07:58:59AM -0600, Adam Ford wrote: > 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 >

[U-Boot] [RFC][PATCH] cmd: fdt: Fix fdt address information after the movement

2018-02-24 Thread Marek Vasut
From: Hiroyuki Yokoyama This patch fixes the address information of fdt. wrong case: => fdt addr 0x4800 => fdt move 0x4800 0x4100 0xa000 => fdt addr The address of the fdt is 4800 Active address in this case is 0x4100. Signed-off-by: