[U-Boot] [PATCH] imx6q_logic: Enable MMC booting from SPL

2018-12-27 Thread Adam Ford
The MMC booting wasn't previously fitting into the codespace. This patch enables MMC booting from the baseboard by reducing some DM overhead during SPL. Signed-off-by: Adam Ford diff --git a/board/logicpd/imx6/imx6logic.c b/board/logicpd/imx6/imx6logic.c index ce1c8a5d6b..696f5c4183 100644 ---

[U-Boot] Nokia N900: Broken comment after commit 278b90ce (configs: Migrate CONFIG_SYS_TEXT_BASE)

2018-12-27 Thread Pali Rohár
Hi! Now I spotted that CONFIG_SYS_TEXT_BASE was moved/removed in commit 278b90ce786f73faf29aa522d5d101e1da006378 from include/configs/nokia_rx51.h file, but comment which described value for that macro is still on old place. See diff:

Re: [U-Boot] Nokia N900: MTDPARTS_DEFAULT was removed in 43ede0bc (Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT)

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 08:09:56PM +0100, Pali Rohár wrote: > On Thursday 27 December 2018 13:57:59 Tom Rini wrote: > > On Thu, Dec 27, 2018 at 07:52:54PM +0100, Pali Rohár wrote: > > > > > Hello, it seems that MTD partition definitions for Nokia N900 were > > > removed in commit

Re: [U-Boot] Nokia N900: Broken comment after commit 278b90ce (configs: Migrate CONFIG_SYS_TEXT_BASE)

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 08:05:38PM +0100, Pali Rohár wrote: > On Thursday 27 December 2018 13:56:57 Tom Rini wrote: > > On Thu, Dec 27, 2018 at 07:45:15PM +0100, Pali Rohár wrote: > > > > > Hi! Now I spotted that CONFIG_SYS_TEXT_BASE was moved/removed in commit > > >

Re: [U-Boot] Nokia N900: Broken comment after commit 278b90ce (configs: Migrate CONFIG_SYS_TEXT_BASE)

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 08:21:58PM +0100, Pali Rohár wrote: > On Thursday 27 December 2018 14:10:26 Tom Rini wrote: > > On Thu, Dec 27, 2018 at 08:05:38PM +0100, Pali Rohár wrote: > > > On Thursday 27 December 2018 13:56:57 Tom Rini wrote: > > > > On Thu, Dec 27, 2018 at 07:45:15PM +0100, Pali

Re: [U-Boot] Nokia N900: Broken comment after commit 278b90ce (configs: Migrate CONFIG_SYS_TEXT_BASE)

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 08:49:22PM +0100, Pali Rohár wrote: > On Thursday 27 December 2018 14:27:45 Tom Rini wrote: > > On Thu, Dec 27, 2018 at 08:21:58PM +0100, Pali Rohár wrote: > > > On Thursday 27 December 2018 14:10:26 Tom Rini wrote: > > > > On Thu, Dec 27, 2018 at 08:05:38PM +0100, Pali

[U-Boot] [PATCH 2/5] omap3: igep00x0: Remove USB support due DM_USB deadline

2018-12-27 Thread Enric Balletbo i Serra
The USB support for this board was never really tested, in fact, the presence of these options are more a copy & paste error from the Beagleboard than a feature that really was used. As doesn't work, remove for now. If someone at some point want to add this support he'll need to migrate the board

[U-Boot] [PATCH 3/5] omap3: igep00x0: Switch to using TI_COMMON_CMD_OPTION

2018-12-27 Thread Enric Balletbo i Serra
Enable TI_COMMON_CMD_OPTIONS and remove similar options from the defconfig. Signed-off-by: Enric Balletbo i Serra --- board/isee/igep00x0/Kconfig | 2 ++ configs/igep00x0_defconfig | 7 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/board/isee/igep00x0/Kconfig

[U-Boot] [PATCH 09/11] sound: tegra: Add a sound driver

2018-12-27 Thread Simon Glass
Add a sound driver for tegra devices. This connects the audio hub, I2S controller and audio codec to allow sound output. Signed-off-by: Simon Glass --- drivers/sound/Makefile | 2 +- drivers/sound/tegra_sound.c | 100 2 files changed, 101

[U-Boot] [PATCH 08/11] tegra: sound: Add an I2S driver

2018-12-27 Thread Simon Glass
Add a driver which supports transmitting digital sound to an audio codec. This uses fixed parameters as a device-tree binding is not currently defined. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-tegra/tegra_i2s.h | 206 drivers/sound/Makefile

[U-Boot] [PATCH 05/11] tegra: Correct tegra124 clock name

2018-12-27 Thread Simon Glass
The first clock type appears to have and incorrect setting for out of the mux outputs. It should be CLK_M, not OSC. Fix it and its only user. Signed-off-by: Simon Glass --- arch/arm/mach-tegra/tegra124/clock.c | 2 +- board/nvidia/nyan-big/nyan-big.c | 2 +- 2 files changed, 2

[U-Boot] [PATCH 02/11] sound: samsung: Fix 'regiter' typo

2018-12-27 Thread Simon Glass
Fix a typo that appears many times in this file. Signed-off-by: Simon Glass --- drivers/sound/samsung-i2s.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/sound/samsung-i2s.c b/drivers/sound/samsung-i2s.c index c19e08e7e30..104584073af 100644 ---

[U-Boot] [PATCH 5/5] omap3: igep00x0: Add Device Tree Support and DM_MMC driver

2018-12-27 Thread Enric Balletbo i Serra
This adds device tree for OMAP3 IGEP based boards and the DM_MMC driver. Signed-off-by: Enric Balletbo i Serra --- arch/arm/dts/Makefile | 3 + arch/arm/dts/omap3-igep.dtsi| 250 ++ arch/arm/dts/omap3-igep0020-common.dtsi | 264

[U-Boot] [PATCH 4/5] omap3: igep00x0: Switch to simple malloc in SPL

2018-12-27 Thread Enric Balletbo i Serra
To save more space, switch to simple malloc here. Signed-off-by: Enric Balletbo i Serra --- configs/igep00x0_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/igep00x0_defconfig b/configs/igep00x0_defconfig index 2c2da1e385..b806f23fa5 100644 --- a/configs/igep00x0_defconfig

[U-Boot] [PATCH] am335x: sl50: Add Device Tree Support and DM_MMC driver

2018-12-27 Thread Enric Balletbo i Serra
This adds device tree and the DM_MMC driver for the SL50 board. Signed-off-by: Enric Balletbo i Serra --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/am335x-sl50.dts | 549 ++ configs/am335x_sl50_defconfig | 3 + 3 files changed, 554 insertions(+), 1

Re: [U-Boot] [PATCH] test: Use single quote consistently

2018-12-27 Thread Heinrich Schuchardt
On 12/27/18 4:11 PM, Simon Glass wrote: > Some tests have ended up using double quotes where single quotes could be > used. Adjust this for consistency with the rest of U-Boot's Python code. > > Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt

Re: [U-Boot] Nokia N900: Broken comment after commit 278b90ce (configs: Migrate CONFIG_SYS_TEXT_BASE)

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 07:45:15PM +0100, Pali Rohár wrote: > Hi! Now I spotted that CONFIG_SYS_TEXT_BASE was moved/removed in commit > 278b90ce786f73faf29aa522d5d101e1da006378 from include/configs/nokia_rx51.h > file, but comment which described value for that macro is still on old > place. See

Re: [U-Boot] Nokia N900: MTDPARTS_DEFAULT was removed in 43ede0bc (Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT)

2018-12-27 Thread Pali Rohár
On Thursday 27 December 2018 13:57:59 Tom Rini wrote: > On Thu, Dec 27, 2018 at 07:52:54PM +0100, Pali Rohár wrote: > > > Hello, it seems that MTD partition definitions for Nokia N900 were > > removed in commit 43ede0bca7fc1590b623832b743213b818257a27 (Kconfig: > > Migrate MTDIDS_DEFAULT /

Re: [U-Boot] Nokia N900: Broken comment after commit 278b90ce (configs: Migrate CONFIG_SYS_TEXT_BASE)

2018-12-27 Thread Pali Rohár
On Thursday 27 December 2018 14:10:26 Tom Rini wrote: > On Thu, Dec 27, 2018 at 08:05:38PM +0100, Pali Rohár wrote: > > On Thursday 27 December 2018 13:56:57 Tom Rini wrote: > > > On Thu, Dec 27, 2018 at 07:45:15PM +0100, Pali Rohár wrote: > > > > > > > Hi! Now I spotted that CONFIG_SYS_TEXT_BASE

Re: [U-Boot] Nokia N900: Broken comment after commit 278b90ce (configs: Migrate CONFIG_SYS_TEXT_BASE)

2018-12-27 Thread Pali Rohár
On Thursday 27 December 2018 14:27:45 Tom Rini wrote: > On Thu, Dec 27, 2018 at 08:21:58PM +0100, Pali Rohár wrote: > > On Thursday 27 December 2018 14:10:26 Tom Rini wrote: > > > On Thu, Dec 27, 2018 at 08:05:38PM +0100, Pali Rohár wrote: > > > > On Thursday 27 December 2018 13:56:57 Tom Rini

[U-Boot] [PATCH 10/11] tegra: nyan-big: Enable sound

2018-12-27 Thread Simon Glass
Enable sound output. With this, 'sound play 1000 400' emits a simple beep. Signed-off-by: Simon Glass --- configs/nyan-big_defconfig | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/nyan-big_defconfig b/configs/nyan-big_defconfig index ae6d76dfb20..b91da5b36d6

Re: [U-Boot] Nokia N900: MTDPARTS_DEFAULT was removed in 43ede0bc (Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT)

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 08:32:56PM +0100, Pali Rohár wrote: > On Thursday 27 December 2018 14:12:35 Tom Rini wrote: > > On Thu, Dec 27, 2018 at 08:09:56PM +0100, Pali Rohár wrote: > > > On Thursday 27 December 2018 13:57:59 Tom Rini wrote: > > > > On Thu, Dec 27, 2018 at 07:52:54PM +0100, Pali

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

2018-12-27 Thread Fabio Estevam
Hi Tom, On Wed, Dec 26, 2018 at 9:27 PM Tom Rini wrote: > There's the list of boards that it might be. Doing a for B in ...;do > make O=/tmp/$B ${B}_defconfig oldconfig and I see that yup, ids8313 > trips on the new symbols without having a value. So those two bootcount > patches from Denis

Re: [U-Boot] Nokia N900: MTDPARTS_DEFAULT was removed in 43ede0bc (Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT)

2018-12-27 Thread Pali Rohár
On Thursday 27 December 2018 14:12:35 Tom Rini wrote: > On Thu, Dec 27, 2018 at 08:09:56PM +0100, Pali Rohár wrote: > > On Thursday 27 December 2018 13:57:59 Tom Rini wrote: > > > On Thu, Dec 27, 2018 at 07:52:54PM +0100, Pali Rohár wrote: > > > > > > > Hello, it seems that MTD partition

[U-Boot] [PATCH 03/11] sound: i2s: Tidy up a few comments

2018-12-27 Thread Simon Glass
Fix a struct typo and drop a comment (and function prototype) which is not actually used. Signed-off-by: Simon Glass --- include/i2s.h | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/include/i2s.h b/include/i2s.h index 28f6184811c..7760aab7c46 100644 ---

[U-Boot] [PATCH 00/11] sound: Add sound support for Nyan

2018-12-27 Thread Simon Glass
This series adds sound support for Nyan. It allows simple beeps to be generated in U-Boot. This requires the addition of an I2S driver, an audio hub driver and a sound driver to pull things together. An existing audio codec (MAX98090) is used. Simon Glass (11): misc: Allow child devices

[U-Boot] [PATCH 01/11] misc: Allow child devices

2018-12-27 Thread Simon Glass
Allow misc devices to have children, so that we can use this uclass for cases where a child device (e.g. I2S) needs to access a misc driver for transferring data. Signed-off-by: Simon Glass --- drivers/misc/misc-uclass.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] Nokia N900: MTDPARTS_DEFAULT was removed in 43ede0bc (Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT)

2018-12-27 Thread Pali Rohár
On Thursday 27 December 2018 20:32:56 Pali Rohár wrote: > On Thursday 27 December 2018 14:12:35 Tom Rini wrote: > > On Thu, Dec 27, 2018 at 08:09:56PM +0100, Pali Rohár wrote: > > > On Thursday 27 December 2018 13:57:59 Tom Rini wrote: > > > > On Thu, Dec 27, 2018 at 07:52:54PM +0100, Pali Rohár

Re: [U-Boot] Nokia N900: MTDPARTS_DEFAULT was removed in 43ede0bc (Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT)

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 10:01:43PM +0100, Pali Rohár wrote: > On Thursday 27 December 2018 15:53:06 Tom Rini wrote: > > On Thu, Dec 27, 2018 at 08:32:56PM +0100, Pali Rohár wrote: > > > On Thursday 27 December 2018 14:12:35 Tom Rini wrote: > > > > On Thu, Dec 27, 2018 at 08:09:56PM +0100, Pali

[U-Boot] [PATCH v2] net: macb: fix mapping of registers

2018-12-27 Thread Ramon Fried
Some architectures (MIPS) needs mapping to access IOMEM. Fix that. Fixes: f1dcc19b213d ("net: macb: Convert to driver model") Signed-off-by: Ramon Fried --- v2: add casting to phys_addr_t to prevent warning from compiler. drivers/net/macb.c | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [U-Boot] Nokia N900: Broken comment after commit 278b90ce (configs: Migrate CONFIG_SYS_TEXT_BASE)

2018-12-27 Thread Pali Rohár
On Thursday 27 December 2018 13:56:57 Tom Rini wrote: > On Thu, Dec 27, 2018 at 07:45:15PM +0100, Pali Rohár wrote: > > > Hi! Now I spotted that CONFIG_SYS_TEXT_BASE was moved/removed in commit > > 278b90ce786f73faf29aa522d5d101e1da006378 from include/configs/nokia_rx51.h > > file, but comment

[U-Boot] [PATCH 07/11] tegra: sound: Add an audio hub driver

2018-12-27 Thread Simon Glass
Add a driver for the audio hub. This is modelled as a misc device which supports writing audio data from I2S. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-tegra/tegra_ahub.h | 475 +++ drivers/sound/Kconfig| 9 + drivers/sound/Makefile

Re: [U-Boot] [linux-sunxi] A20-olinuxino-micro hangs in U-boot if powered from MINI-USB only.

2018-12-27 Thread John S
On Monday, 24 December 2018, 21:37:01 GMT, Nikolai Zhubr wrote: >>24.12.2018 22:54, John S: >> Isn't it caused by the software as stated above, i.e. nothing to do with >> Olimex? > Well, IMHO is has to do with Olimex because they designed this specific > circuitry, and the circuitry is such

Re: [U-Boot] please pull u-boot-samsung master

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 12:49:53PM +0900, Minkyu Kang wrote: > Dear Tom, > > The following changes since commit 1f2e948d6d53f77a2ddb2dde3531b0d5bc2815ad: > > Prepare v2019.01-rc2 (2018-12-17 20:25:24 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-samsung

Re: [U-Boot] [U-Boot, 01/11] mt7623: fix a typo in include/configs/mt7623.h

2018-12-27 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:49PM +0800, Weijie Gao wrote: > Fix typo: neede -> needed > > Signed-off-by: Weijie Gao Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 02/11] mt7629: use linux kernel compatible SMP initialization

2018-12-27 Thread Tom Rini
On Thu, Dec 20, 2018 at 04:12:50PM +0800, Weijie Gao wrote: > This patch changes mt7629 to use the compatible platform SMP initialization > method of linux kernel. > > Signed-off-by: Weijie Gao Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] power: regulator: Return success on attempt to disable an always-on regulator

2018-12-27 Thread Tom Rini
On Mon, Dec 24, 2018 at 04:37:41PM +0530, Lokesh Vutla wrote: > commit 4f86a724e82c0 ("power: regulator: denied disable on always-on > regulator") throws an error when requested to disable an always-on > regulator. It is right that an always-on regulator should not be > attempted to be disabled.

[U-Boot] Nokia N900: MTDPARTS_DEFAULT was removed in 43ede0bc (Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT)

2018-12-27 Thread Pali Rohár
Hello, it seems that MTD partition definitions for Nokia N900 were removed in commit 43ede0bca7fc1590b623832b743213b818257a27 (Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT). See diff:

[U-Boot] [PATCH 04/11] sound: Allow audio codecs to be used by other SoCs

2018-12-27 Thread Simon Glass
At present there is still some samsung-specific code in the audio codecs. Remove it so that these can be used by other SoCs. Signed-off-by: Simon Glass --- drivers/sound/Kconfig | 8 drivers/sound/max98088.c | 7 --- drivers/sound/max98090.c | 7 ---

[U-Boot] [PATCH 06/11] tegra: Add a delay in clock_start_periph_pll()

2018-12-27 Thread Simon Glass
This function enables a peripheral clock and then immediately sets its divider. Add a delay to allow the clock to settle first. This matches the delay in other places which do a similar thing. Without this, the I2S device on Nyan does not init properly. Signed-off-by: Simon Glass ---

[U-Boot] [PATCH 11/11] tegra: nyan: Add a README

2018-12-27 Thread Simon Glass
Add a short note about how to boot U-Boot on Nyan-big using tegrarcm. Signed-off-by: Simon Glass --- board/nvidia/nyan-big/README | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 board/nvidia/nyan-big/README diff --git a/board/nvidia/nyan-big/README

Re: [U-Boot] [PATCH 5/5] omap3: igep00x0: Add Device Tree Support and DM_MMC driver

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 05:03:30PM +0100, Enric Balletbo i Serra wrote: > This adds device tree for OMAP3 IGEP based boards and the DM_MMC driver. > > Signed-off-by: Enric Balletbo i Serra Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

[U-Boot] [PATCH] imx8mq_evk_defconfig: Move file system options to Kconfig

2018-12-27 Thread Fabio Estevam
Chris Spencer reports that when enabling ext4 read support without also enabling write support the following error is seen: fs/fs.c:198:12: error: 'ext4_write_file' undeclared here (not in a function); did you mean 'ext4_read_file'? .write = ext4_write_file, ^~~ Fix

Re: [U-Boot] Nokia N900: MTDPARTS_DEFAULT was removed in 43ede0bc (Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT)

2018-12-27 Thread Pali Rohár
On Thursday 27 December 2018 15:53:06 Tom Rini wrote: > On Thu, Dec 27, 2018 at 08:32:56PM +0100, Pali Rohár wrote: > > On Thursday 27 December 2018 14:12:35 Tom Rini wrote: > > > On Thu, Dec 27, 2018 at 08:09:56PM +0100, Pali Rohár wrote: > > > > On Thursday 27 December 2018 13:57:59 Tom Rini

Re: [U-Boot] arm: K3: Fix usage of CONFIG_SYS_K3_KEY

2018-12-27 Thread Tom Rini
On Wed, Dec 19, 2018 at 12:53:31PM +0530, Lokesh Vutla wrote: > For signing the tiboot3.bin image, an optional KEY file can be passed > using CONFIG_SYS_K3_KEY. Right now, Makefile scripts directly takes > the config value and uses it for signing. This is okay if the build > directory is a

Re: [U-Boot] [U-Boot,1/1] doc: README.commands: sub-commands

2018-12-27 Thread Tom Rini
On Fri, Dec 21, 2018 at 02:57:03AM +0100, Heinrich Schuchardt wrote: > Describe the implementation of sub-commands. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] api: storage: Fix enumeration of storage devices

2018-12-27 Thread Tom Rini
On Tue, Dec 18, 2018 at 08:03:49PM +0200, Cristian Ciocaltea wrote: > dev_stor_get() is not able to find the next available device in the current > storage group when the previous enumerated device belongs to a different > group or class (e.g. network). > > The root cause is the device group

Re: [U-Boot] [U-Boot, V2] ARM: mach-omap2: omap3: Fix GPIO clocking in SPL

2018-12-27 Thread Tom Rini
On Fri, Dec 14, 2018 at 04:28:30PM -0600, Adam Ford wrote: > OMAP3_GPIO_x is needed to enable each GPIO bank on the OMAP3 > boards. At one point, the #ifdef's were replaced with > if CONFIG_IS_ENABLED but this won't work for people who need > OMAP3_GPIO_x in SPL since the SPL prefix for this

[U-Boot] [PATCH 1/5] omap3: igep00x0: Remove unmaintained IGEP0032 defconfig

2018-12-27 Thread Enric Balletbo i Serra
The IGEP0032 board was never officially pushed upstream and actually I don't have access to this hardware, unless someone with the hardware wants to start working on this doesn't makes sense have this defconfig here. So remove it. Signed-off-by: Enric Balletbo i Serra ---

Re: [U-Boot] [U-Boot,v1] scripts/check-config.sh: Add usage()

2018-12-27 Thread Tom Rini
On Tue, Dec 11, 2018 at 06:22:28PM +0200, Andy Shevchenko wrote: > When arguments are not supplied the error message is misleading and > doesn't tell what exactly has to be done. > > Fix this by adding usage() and call it if above circumstance occurs. > > Signed-off-by: Andy Shevchenko >

Re: [U-Boot] [U-Boot, v2, 1/1] tests: enable DT overlay tests by default

2018-12-27 Thread Tom Rini
On Fri, Dec 14, 2018 at 10:43:48PM +0100, Heinrich Schuchardt wrote: > Enable device tree overlay tests by default if unit tests are selected > and the runtime is configured via device tree. > > Overlays have been mainlined in the device tree compiler so there is no > reason anymore to disable

Re: [U-Boot] phy: Fix u-boot coruption when fixed-phy is used

2018-12-27 Thread Tom Rini
On Wed, Dec 19, 2018 at 04:57:38PM +0100, Michal Simek wrote: > When fixed-link phy is used subnode offset is used as phy address. This > number is bigger then space allocated for bus structure (allocated via > mdio_alloc). > bus->phymap[] array has PHY_MAX_ADDR size (32). > That's why writing

Re: [U-Boot] dm: pinctrl: Prevent (re-)configuring pins when already done before relocation

2018-12-27 Thread Tom Rini
On Tue, Dec 18, 2018 at 12:30:50PM +0100, Lukasz Majewski wrote: > This commit prevents from re-configuring pins if those were configured > before relocation. > > Some pins - like UART or DDR must be setup before relocation > (as they have 'u-boot,dm-pre-reloc' property set in DTS). Without this

Re: [U-Boot] Nokia N900: MTDPARTS_DEFAULT was removed in 43ede0bc (Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT)

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 07:52:54PM +0100, Pali Rohár wrote: > Hello, it seems that MTD partition definitions for Nokia N900 were > removed in commit 43ede0bca7fc1590b623832b743213b818257a27 (Kconfig: > Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT). > > See diff: >

[U-Boot] [PATCH 1/4] rockchip: rk3288: Add i2s pinctrl and clock support

2018-12-27 Thread Simon Glass
Add support for setting pinctrl and clock for I2S on rk3288. This allows the sound driver to operate. These settings were created by rkmux.py Signed-off-by: Simon Glass --- .../include/asm/arch-rockchip/cru_rk3288.h| 8 ++ .../include/asm/arch-rockchip/grf_rk3288.h| 96

[U-Boot] [PATCH 4/4] sound: rockchip: Add sound support for jerry

2018-12-27 Thread Simon Glass
Jerry uses a max98090 audio codec and the internal SoC I2S peripheral. Enable sound support and add the required device-tree pieces. Signed-off-by: Simon Glass --- arch/arm/dts/rk3288-veyron-jerry.dts | 12 arch/arm/dts/rk3288-veyron.dtsi | 1 + arch/arm/dts/rk3288.dtsi

[U-Boot] [PATCH 2/4] rockchip: Add an I2S driver

2018-12-27 Thread Simon Glass
Add a driver for I2S which allows audio data to be sent from the SoC to the audio codec. The sample rate and other settings are hard-coded for now as there is no suitable device-tree binding available. Signed-off-by: Simon Glass --- drivers/sound/Kconfig| 9 +++

[U-Boot] [PATCH 3/4] rockchip: Add a sound driver

2018-12-27 Thread Simon Glass
Add a sound driver for rk3288 supporting chromebook_jerry. This uses the I2S driver, and existing audio codec and the clock/pinmux support. Signed-off-by: Simon Glass --- drivers/sound/Makefile | 2 +- drivers/sound/rockchip_sound.c | 132 + 2 files

Re: [U-Boot] U-Boot 2018.09 imx6ull mass storage issue

2018-12-27 Thread Lukasz Majewski
Hi Michał, > Hi Lukasz, > > On 27.12.2018 00:17, Lukasz Majewski wrote: > > Hi Michał, > > > >> Hello, > >> > >> I try to load some images from USB flash drive. When issuing/usb > >> start/with the flash drive on to the first USB I get some following > >> information: > >> > >> U-Boot

Re: [U-Boot] please pull u-boot-samsung master

2018-12-27 Thread Minkyu Kang
Dear Guillaume GARDET, On 28/12/18 00:41, Tom Rini wrote: > On Thu, Dec 27, 2018 at 12:49:53PM +0900, Minkyu Kang wrote: > >> Dear Tom, >> >> The following changes since commit 1f2e948d6d53f77a2ddb2dde3531b0d5bc2815ad: >> >> Prepare v2019.01-rc2 (2018-12-17 20:25:24 -0500) >> >> are available

Re: [U-Boot] [PATCH] power: regulator: Return success on attempt to disable an always-on regulator

2018-12-27 Thread Lokesh Vutla
Hi Simon, On 28/12/18 3:57 AM, Simon Glass wrote: Hi Lokesh, On Mon, 24 Dec 2018 at 04:08, Lokesh Vutla wrote: commit 4f86a724e82c0 ("power: regulator: denied disable on always-on regulator") throws an error when requested to disable an always-on regulator. It is right that an always-on

Re: [U-Boot] [PATCH] fdt: Add warning about CONFIG_OF_EMBED

2018-12-27 Thread Simon Glass
Hi Lukasz, On Wed, 19 Dec 2018 at 03:11, Lukasz Majewski wrote: > > Dear Simon and Simon, > > > Am 05.12.2018 um 14:57 schrieb Simon Glass: > > > This option has crept into use with some boards. Add a warning to > > > try to prevent this. > > > > > > As an example: > > >

Re: [U-Boot] [PULL 2019.01] efi patch queue 2018-12-27

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 09:27:01AM +0100, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi against v2019.01. Please pull. > > Alex > > > The following changes since commit 1f2e948d6d53f77a2ddb2dde3531b0d5bc2815ad: > > Prepare v2019.01-rc2 (2018-12-17 20:25:24

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2018-12-27 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, December 27, 2018 4:21 PM > To: Ooi, Joyce ; Joe Hershberger > > Cc: See, Chin Liang ; Ong, Hean Loong > ; Priyanka Jain ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2018-12-27 Thread Ooi, Joyce
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, December 27, 2018 2:55 AM > To: Ooi, Joyce ; Joe Hershberger > > Cc: See, Chin Liang ; Ong, Hean Loong > ; Priyanka Jain ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS

Re: [U-Boot] [PATCH] rsa: read out public_exponent value based on 32-bit alignment

2018-12-27 Thread Ooi, Joyce
Hi Marek, Any comments about this? Thanks, Joyce Ooi > -Original Message- > From: Ooi, Joyce > Sent: Saturday, December 8, 2018 4:18 PM > To: Marek Vasut ; Michal Simek ; > Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Ooi, Joyce ; See, Chin Liang > ; Chee, Tien Fong ; Tan, >

Re: [U-Boot] [linux-sunxi] A20-olinuxino-micro hangs in U-boot if powered from MINI-USB only.

2018-12-27 Thread Nikolai Zhubr
Hi, 27.12.2018 23:48, 'John S' via linux-sunxi: Well, IMHO is has to do with Olimex because they designed this specific circuitry, and the circuitry is such that 5V voltage constantly applied to the micro-usb connector might essentially become disconnected (at the board side) by programming --

Re: [U-Boot] [PATCH] ARM: at91: Convert SPL_GENERATE_ATMEL_PMECC_HEADER to Kconfig

2018-12-27 Thread Derald Woods
On Sat, Dec 15, 2018 at 1:37 AM Derald D. Woods wrote: > This commit converts the following items to Kconfig: > > CONFIG_ATMEL_NAND_HWECC > CONFIG_ATMEL_NAND_HW_PMECC > CONFIG_PMECC_CAP > CONFIG_PMECC_SECTOR_SIZE > CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER > > [PMECC References] >

Re: [U-Boot] [PATCH] rockchip: sdram-common: fix size for 4GB in 32bit SoC

2018-12-27 Thread Kever Yang
On 12/27/2018 07:56 PM, Philipp Tomsich wrote: > Kever, > >> On 27.12.2018, at 02:07, Kever Yang wrote: >> >> System will get size '0' in 32bit system if the size is 4GB >> for the address is 32bit only, return the max space available >> instead of actual DDR size in rockchip_sdram_size(). >>

[U-Boot] [PATCH v2] rockchip: sdram-common: fix wrong size for 4GB in 32bit SoC

2018-12-27 Thread Kever Yang
This is workaround for issue we can't get correct size for 4GB ram in 32bit system and available before we really need ram space out of 4GB, eg.enable ARM LAPE(rk3288 supports 8GB ram). The size of 4GB is '0x1 ', and this value will be truncated to 0 in 32bit system, and system can not get

[U-Boot] [PATCH 0/4] rockchip: sound: Add support for sound on chromebook_jerry

2018-12-27 Thread Simon Glass
Sound support for jerry was never included in the initial port. Now that sound has been converted to driver model it seems like a good opportunity to fill this gap. Jerry uses an audio codec that is already supported by U-Boot. Add the required drivers and enable the config so that 'sound play

[U-Boot] [PATCH 2/3] video: Add a default TrueType font

2018-12-27 Thread Simon Glass
At present it is possible to enable TrueType support but not include any fonts. This results in a blank display. Select Nimbus as the default font to avoid this. Signed-off-by: Simon Glass --- drivers/video/fonts/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 1/3] video: Add information about using TrueType fonts

2018-12-27 Thread Simon Glass
U-Boot supports using TrueType fonts on the console, which is useful for presenting a nice UI to users, e.g. for system recovery. Add information about how to compile this on ARM platforms, since this is not obvious. Signed-off-by: Simon Glass --- doc/README.video | 20 1

[U-Boot] [PATCH 3/3] video: rockchip: Use TrueType fonts with jerry

2018-12-27 Thread Simon Glass
As an example of how to enable TrueType fonts, move chromebook_jerry over to use these. Signed-off-by: Simon Glass --- configs/chromebook_jerry_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/chromebook_jerry_defconfig

[U-Boot] [v2] arm64: lx2160ardb: enable DM support for sata

2018-12-27 Thread Peng Ma
Enable related configs to support sata DM feature. Signed-off-by: Peng Ma --- Changed for v2: - used moveconfig.py -s -d to sync lx2160ardb_tfa_SECURE_BOOT_defconfig configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 72 1 file changed, 27 insertions(+), 45

[U-Boot] [PULL 2019.01] efi patch queue 2018-12-27

2018-12-27 Thread Alexander Graf
Hi Tom, This is my current patch queue for efi against v2019.01. Please pull. Alex The following changes since commit 1f2e948d6d53f77a2ddb2dde3531b0d5bc2815ad: Prepare v2019.01-rc2 (2018-12-17 20:25:24 -0500) are available in the git repository at: git://github.com/agraf/u-boot.git

[U-Boot] [PATCH] arm64: lx2160ardb: enable DM support for sata

2018-12-27 Thread Peng Ma
Enable related configs to support sata DM feature. Signed-off-by: Peng Ma --- Depends on: - https://patchwork.ozlabs.org/patch/1013298/ configs/lx2160ardb_tfa_SECURE_BOOT_defconfig |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git

Re: [U-Boot] [PATCH 1/6] mips: mscc_sgpio: Add the MSCC serial GPIO device (SIO)

2018-12-27 Thread Lars.Povlsen
Hi Daniel! Thank you for the input. I am about to have a new v2 ready. Comments below. ---Lars > -Original Message- > From: Daniel Schwierzeck > Sent: Thursday, December 20, 2018 21:53 > To: Lars Povlsen - M31675 ; u- > b...@lists.denx.de > Cc: gregory.clem...@bootlin.com; Horatiu

Re: [U-Boot] [PATCH] rockchip: sdram-common: fix size for 4GB in 32bit SoC

2018-12-27 Thread Philipp Tomsich
Kever, > On 27.12.2018, at 02:07, Kever Yang wrote: > > System will get size '0' in 32bit system if the size is 4GB > for the address is 32bit only, return the max space available > instead of actual DDR size in rockchip_sdram_size(). > > Signed-off-by: Kever Yang Reviewed-by: Philipp

Re: [U-Boot] [PATCH v3] net: phy: add TSE PCS support to dwmac-socfpga

2018-12-27 Thread Marek Vasut
On 12/27/18 7:16 AM, Ooi, Joyce wrote: >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Thursday, December 27, 2018 2:55 AM >> To: Ooi, Joyce ; Joe Hershberger >> >> Cc: See, Chin Liang ; Ong, Hean Loong >> ; Priyanka Jain ; u- >> b...@lists.denx.de >> Subject:

[U-Boot] [PATCH] arm64: lx2160ardb: enable DM support for sata

2018-12-27 Thread Peng Ma
Enable related configs to support sata DM feature. Signed-off-by: Peng Ma --- configs/lx2160ardb_tfa_SECURE_BOOT_defconfig |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig b/configs/lx2160ardb_tfa_SECURE_BOOT_defconfig

Re: [U-Boot] [U-Boot,v2] net: macb: fix mapping of registers

2018-12-27 Thread Ramon Fried
On Thu, Dec 27, 2018 at 4:35 AM Tom Rini wrote: > > On Tue, Dec 18, 2018 at 10:49:03PM +0200, Ramon Fried wrote: > > > Some architectures (MIPS) needs mapping to access IOMEM. > > Fix that. > > > > Fixes: f1dcc19b213d ("net: macb: Convert to driver model") > > > > Signed-off-by: Ramon Fried > >

Re: [U-Boot] [PATCH v3 5/8] rockchip: rk3399: Add improved pinctrl driver.

2018-12-27 Thread David Wu
Hi Christoph, I once submitted a series of patches that they can support all Socs' Pinctrl and how do you feel about using them. http://patchwork.ozlabs.org/patch/868849/ 在 2018/12/27 上午9:11, Kever Yang 写道: Add David to review the pinctrl driver. Thanks, - Kever On 12/17/2018 09:30 PM,

[U-Boot] [PATCH v2 6/6] mips: ocelot: Enable use of serial gpio for LED

2018-12-27 Thread Lars Povlsen
This enables the use of the MSCC serial GPIO driver to control the LEDs on the MSCC VCoreIII 'ocelot' pcb123 and pcb120. Signed-off-by: Lars Povlsen --- board/mscc/ocelot/ocelot.c| 6 ++ configs/mscc_ocelot_defconfig | 3 +++ 2 files changed, 9 insertions(+) diff --git

[U-Boot] [PATCH v2 1/3] include: configs: Add gunzip size for HiKey board

2018-12-27 Thread Manivannan Sadhasivam
From: Manivannan Sadhasivam Default 8MB gunzip size is not enough to load the release kernel, hence fix 64MB size for uncompressing the kernel. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Simon Glass --- Changes in v2: Added Simon's Reviewed-by tag. include/configs/hikey.h | 2 ++ 1

Re: [U-Boot] [PATCH v2 3/3] arm: dts: Add MMC nodes for HiKey board

2018-12-27 Thread Tom Rini
On Thu, Dec 27, 2018 at 07:04:05PM +0530, Manivannan Sadhasivam wrote: > From: Manivannan Sadhasivam > > Add MMC nodes for HiKey board based on HI6220 SoC. There are three MMC > controllers in this SoC, first one used for eMMC, second one used > for SD card and third one is not used by u-boot.

[U-Boot] [PATCH] Add a github template telling people to not use pull requests there

2018-12-27 Thread Tom Rini
On our mirror account on github we have gotten a handful of pull requests. At this time github does not allow you to disable pull requests on a project. The generally suggested work-around is to add a pull request template that tells people to not use that workflow. Add one here that points to

Re: [U-Boot] [PATCH v3 5/8] rockchip: rk3399: Add improved pinctrl driver.

2018-12-27 Thread Philipp Tomsich
David, > On 27.12.2018, at 13:49, David Wu wrote: > > Hi Christoph, > > I once submitted a series of patches that they can support all Socs' Pinctrl > and how do you feel about using them. > > http://patchwork.ozlabs.org/patch/868849/ Which reminds me that I am still waiting for a newer

[U-Boot] [PATCH v2 2/6] mips: mscc_sgpio: Add DT bindings documentation

2018-12-27 Thread Lars Povlsen
From: Lars Povlsen This add device tree binding documentation for the MSCC serial GPIO driver. Signed-off-by: Lars Povlsen --- doc/device-tree-bindings/gpio/mscc_sgpio.txt | 45 1 file changed, 45 insertions(+) create mode 100644

[U-Boot] [PATCH v2 1/6] mips: mscc_sgpio: Add the MSCC serial GPIO device (SIO)

2018-12-27 Thread Lars Povlsen
This add support for the the MSCC serial GPIO driver in MSCC VCoreIII-based SOCs. By using a serial interface, the SIO controller significantly extends the number of available GPIOs with a minimum number of additional pins on the device. The primary purpose of the SIO controller is to connect

[U-Boot] [PATCH v2 0/6] mips: mscc: gpio: Add MSCC serial GPIO driver

2018-12-27 Thread Lars Povlsen
This patch series add the GPIO device (SIO) in the MSCC VCoreIII-based SOCs, and enables it on the supported platforms. By using a serial interface, the SIO controller significantly extends the number of available GPIOs with a minimum number of additional pins on the device. The primary purpose

[U-Boot] [PATCH v2 3/6] mips: luton: DT: Enable use of serial gpio

2018-12-27 Thread Lars Povlsen
From: Lars Povlsen This enables the use of the MSCC serial GPIO driver, and add gpio-leds nodes to the 'luton' pcb090 and pcb091 DT. Signed-off-by: Lars Povlsen --- arch/mips/dts/luton_pcb090.dts | 21 + arch/mips/dts/luton_pcb091.dts | 27 +++

[U-Boot] [PATCH v2 4/6] mips: luton: Enable use of serial gpio for LED

2018-12-27 Thread Lars Povlsen
This enables the use of the MSCC serial GPIO driver to control the LEDs on the MSCC VCoreIII 'luton' SoC. Signed-off-by: Lars Povlsen --- board/mscc/luton/luton.c | 6 ++ configs/mscc_luton_defconfig | 3 +++ 2 files changed, 9 insertions(+) diff --git a/board/mscc/luton/luton.c

[U-Boot] [PATCH v2 5/6] mips: ocelot: DT: Enable use of serial gpio

2018-12-27 Thread Lars Povlsen
From: Lars Povlsen This enables the use of the MSCC serial GPIO driver on the MSCC VCoreIII 'ocelot' SOC, and add gpio-leds nodes to the pcb123 and pcb120 DT. Signed-off-by: Lars Povlsen --- arch/mips/dts/mscc,ocelot.dtsi | 23 ++ arch/mips/dts/ocelot_pcb120.dts | 76

Re: [U-Boot] [PATCH v3 5/8] rockchip: rk3399: Add improved pinctrl driver.

2018-12-27 Thread Christoph Müllner
Hi David, On 12/27/18 1:49 PM, David Wu wrote: > Hi Christoph, > > I once submitted a series of patches that they can support all Socs' > Pinctrl and how do you feel about using them. Thank's for pointing to that. Your driver looks good, but I don't like the huge amount of duplication in it

Re: [U-Boot] [PATCH 3/3] arm: dts: Add MMC nodes for HiKey board

2018-12-27 Thread Manivannan Sadhasivam
Hi Tom, On Wed, Dec 26, 2018 at 09:36:25AM -0500, Tom Rini wrote: > On Thu, Dec 20, 2018 at 06:37:02PM +0530, Manivannan Sadhasivam wrote: > > > Add MMC nodes for HiKey board based on HI6220 SoC. There are two MMC > > controllers in this SoC, first one used for eMMC and second one used > > for

[U-Boot] [PATCH v2 2/3] mmc: Convert HI6220 MMC driver to driver model

2018-12-27 Thread Manivannan Sadhasivam
From: Manivannan Sadhasivam Convert HiSilicon HI6220 MMC driver based on DWMMC IP to driver model. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Simon Glass --- Changes in v2: Added Simon's Reviewed-by tag. configs/hikey_defconfig | 1 + drivers/mmc/hi6220_dw_mmc.c | 100

[U-Boot] [PATCH v2 3/3] arm: dts: Add MMC nodes for HiKey board

2018-12-27 Thread Manivannan Sadhasivam
From: Manivannan Sadhasivam Add MMC nodes for HiKey board based on HI6220 SoC. There are three MMC controllers in this SoC, first one used for eMMC, second one used for SD card and third one is not used by u-boot. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Simon Glass --- Changes in

Re: [U-Boot] u-boot-rockchip: firefly-rk3288 hangs on: Loading Environment from MMC

2018-12-27 Thread Philipp Tomsich
> On 27.12.2018, at 02:00, Kever Yang wrote: > > Hi Vagrant, > > On 12/25/2018 12:14 AM, Vagrant Cascadian wrote: >> I'm not so lucky. 2019.01-rc2 hangs even earlier without detecting the >> ram (on a 4GB ram model):: >> >> U-Boot SPL 2019.01-rc2+dfsg-1~20181219~2 (Dec 19 2018 - 23:12:56

Re: [U-Boot] [PATCH v2 1/1] avb: add support for named persistent values

2018-12-27 Thread Igor Opaniuk
Hi Simon, Could you please point me to the update test you mean? (I assume it's "test_avb.py"?) Thanks BR, Igor On Sat, 22 Dec 2018 at 22:52, Simon Glass wrote: > > Hi Igor, > > On Fri, 14 Dec 2018 at 10:45, Igor Opaniuk wrote: > > > > AVB version 1.1 introduces support for named

  1   2   >