[U-Boot] [PATCH v1 06/23] apalis_imx6: migrate to using device tree

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Migrate to using device tree required for further driver model integration. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx6-apalis.dts | 722 ++ board/toradex/apalis_imx6/MAINTAINERS | 2 + configs/apalis_imx6_defconfig |

[U-Boot] [PATCH v1 05/23] apalis_imx6: remove obsolete USB_GADGET_MASS_STORAGE configuration

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove obsolete USB_GADGET_MASS_STORAGE configuration. Signed-off-by: Marcel Ziswiler --- include/configs/apalis_imx6.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index a1ba16fc79..785ab3 100644

[U-Boot] [PATCH v1 03/23] apalis_imx6: move console in env and dfu mmc from header file to defconfig

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Move console in env and DFU MMC from header file to defconfig. While at it also update copyright year and remove spurious comments and new lines. Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 1 + include/configs/apalis_imx6.h | 4 +--- 2 files cha

[U-Boot] [PATCH v1 04/23] apalis_imx6: enable fit image, gpt, imx thermal, efi loader support

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Enbale FIT image, GPT command, i.MX thermal and EFI loader support. Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/apalis_imx6_defconfig b/configs/apalis_imx6_defconfig inde

[U-Boot] [PATCH v1 02/23] apalis_imx6: use distro defaults

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Use distro defaults and minimise default configuration again using savedefconfig. Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/configs/apalis_imx6_defconfig b/configs/ap

Re: [U-Boot] [PATCH] configs: fsl: move DDR specific defines to Kconfig

2019-02-01 Thread York Sun
On 1/31/19 9:22 PM, Rajesh Bhagat wrote: > Moves below DDR specific defines to Kconfig: > > CONFIG_FSL_DDR_BIST > CONFIG_FSL_DDR_FIRST_SLOT_QUAD_CAPABLE > CONFIG_FSL_DDR_INTERACTIVE > CONFIG_FSL_DDR_SYNC_REFRESH > > Signed-off-by: Rajesh Bhagat > --- This is a good progress. You can move other

Re: [U-Boot] imx8mq-evk: Outbound network packets lost

2019-02-01 Thread Sergey Kubushyn
On Fri, 1 Feb 2019, Chris Spencer wrote: On Thu, 31 Jan 2019 at 18:43, Sergey Kubushyn wrote: OK, it worked. The second patch is irrelevant for me because I'm working on a custom device, not MCIMX8M-EVK (I don't have that, just using its schematic from time to time as reference to its drivers

Re: [U-Boot] [PATCH 1/2] rockchip: rk3399-puma: enable SPL_ATF_NO_PLATFORM_PARAM

2019-02-01 Thread Philipp Tomsich
> On 01.02.2019, at 16:55, Philipp Tomsich > wrote: > > As we're working on the next update of our ATF (and U-Boot and the ATF > are out-of-sync), let's temporarily enable SPL_ATF_NO_PLATFORM_PARAM to > reduce compatibility issues. > > Signed-off-by: Philipp Tomsich Applied to u-boot-rockch

Re: [U-Boot] [PATCH 2/2] rockchip: rk3399: spl: ensure that debug_uart_init is called

2019-02-01 Thread Philipp Tomsich
> On 01.02.2019, at 16:55, Philipp Tomsich > wrote: > > With the latest changes to add support for the Chromebook Bob, > initialisation through debug_uart_init() did no longer get called for > other targets. > > Fix this, by moving debug_uart_init() out of the Bob-specific > > Signed-off-by:

Re: [U-Boot] [PATCH v7 1/7] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-02-01 Thread Chee, Tien Fong
On Fri, 2019-02-01 at 09:25 +0100, Marek Vasut wrote: > On 2/1/19 4:48 AM, Chee, Tien Fong wrote: > > > > On Thu, 2019-01-31 at 15:54 +0100, Marek Vasut wrote: > > > > > > On 1/31/19 3:51 PM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > > This pat

[U-Boot] [PATCH 2/2] rockchip: rk3399: spl: ensure that debug_uart_init is called

2019-02-01 Thread Philipp Tomsich
With the latest changes to add support for the Chromebook Bob, initialisation through debug_uart_init() did no longer get called for other targets. Fix this, by moving debug_uart_init() out of the Bob-specific Signed-off-by: Philipp Tomsich --- arch/arm/mach-rockchip/rk3399-board-spl.c | 4 ++-

[U-Boot] [PATCH 1/2] rockchip: rk3399-puma: enable SPL_ATF_NO_PLATFORM_PARAM

2019-02-01 Thread Philipp Tomsich
As we're working on the next update of our ATF (and U-Boot and the ATF are out-of-sync), let's temporarily enable SPL_ATF_NO_PLATFORM_PARAM to reduce compatibility issues. Signed-off-by: Philipp Tomsich --- configs/puma-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/config

Re: [U-Boot] [PATCH v3 19/20] configs: Don't use SPI_FLASH_BAR as default

2019-02-01 Thread Jagan Teki
On Thu, Jan 31, 2019 at 11:04 PM Vignesh R wrote: > > > > On 31/01/19 7:20 PM, Jagan Teki wrote: > > On Thu, 31 Jan, 2019, 7:16 PM Vignesh R > wrote: > > > > On 31/01/19 7:06 PM, Jagan Teki wrote: > > [...] > > > >> configs/xilinx_zynqmp_mini_qspi_defconf

Re: [U-Boot] [PATCH v3 16/20] mtd: spi: Add lightweight SPI flash stack for SPL

2019-02-01 Thread Jagan Teki
On Thu, Jan 31, 2019 at 11:20 PM Vignesh R wrote: > > > > On 31/01/19 5:36 PM, Jagan Teki wrote: > > On Tue, Jan 29, 2019 at 11:29 AM Vignesh R wrote: > >> > >> Add a tiny SPI flash stack that just supports reading data/images from > >> SPI flash. This is useful for boards that have SPL size cons

Re: [U-Boot] [PATCH v3 6/7] arm64: dts: ti: k3-am65: add mcu navss nodes

2019-02-01 Thread Tom Rini
On Tue, Jan 29, 2019 at 11:27:28AM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Add DT node for MCU NAVSS its components to get DMA working on AM654 > SoC. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Description: PG

Re: [U-Boot] [PATCH v3 7/7] configs: am65x_evm_a53: Enable DMA related configs

2019-02-01 Thread Tom Rini
On Tue, Jan 29, 2019 at 11:27:29AM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Enable TI K3 AM65x PSI-L, Ring Accelerator and UDMA drivers > > Signed-off-by: Grygorii Strashko > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 5/7] soc: keystone: Merge into TI specific directory

2019-02-01 Thread Tom Rini
On Tue, Jan 29, 2019 at 11:27:27AM +0530, Vignesh R wrote: > Merge drivers/soc/keystone/ into drivers/soc/ti/ > and convert CONFIG_TI_KEYSTONE_SERDES into Kconfig. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH v3 4/7] dma: ti: add driver to K3 UDMA

2019-02-01 Thread Tom Rini
On Tue, Jan 29, 2019 at 11:27:26AM +0530, Vignesh R wrote: > The UDMA-P is intended to perform similar (but significantly upgraded) > functions > as the packet-oriented DMA used on previous SoC devices. The UDMA-P module > supports the transmission and reception of various packet types. > The UDM

Re: [U-Boot] [PATCH v3 3/7] soc: ti: k3: add CPPI5 description and helpers

2019-02-01 Thread Tom Rini
On Tue, Jan 29, 2019 at 11:27:25AM +0530, Vignesh R wrote: > From: Grygorii Strashko > > Add TI Communications Port Programming Interface (CPPI) 5 > interface description and helpers > > Signed-off-by: Grygorii Strashko > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.a

Re: [U-Boot] [PATCH v3 2/7] soc: ti: k3: add navss ringacc driver

2019-02-01 Thread Tom Rini
On Tue, Jan 29, 2019 at 11:27:24AM +0530, Vignesh R wrote: > From: Grygorii Strashko > > The Ring Accelerator (RINGACC or RA) provides hardware acceleration to > enable straightforward passing of work between a producer and a consumer. > There is one RINGACC module per NAVSS on TI AM65x SoCs. >

Re: [U-Boot] [PATCH v2 6/7] fs: Add a new command to create symbolic links

2019-02-01 Thread Tom Rini
On Fri, Feb 01, 2019 at 03:33:39PM +0100, Jean-Jacques Hiblot wrote: > The command line is: > ln target linkname > > Currently symbolic links are supported only in ext4 and only if the option > CMD_EXT4_WRITE is enabled. > > Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini -- Tom

[U-Boot] [PATCH v1 0/3] toradex: common: fix/improve config block handling

2019-02-01 Thread Marcel Ziswiler
This series adds a -y parameter to cfgblock create command, unifies the behaviour when the config block is missing and fixes an off-by-one issue. Bhuvanchandra DV (1): toradex: common: unify behaviour when config block is missing Dominik Sliwa (1): toradex: configblock: add an -y parameter

[U-Boot] [PATCH v1 1/3] toradex: configblock: add an -y parameter to 'cfgblock create’

2019-02-01 Thread Marcel Ziswiler
From: Dominik Sliwa Add an optional -y parameter to 'cfgblock create’ to simplify automation. Signed-off-by: Dominik Sliwa Acked-by: Stefan Agner Acked-by: Marcel Ziswiler --- board/toradex/common/tdx-cfg-block.c | 39 ++-- 1 file changed, 26 insertions(+), 13 delet

Re: [U-Boot] [PATCH v2 4/7] fs: ext4: constify the buffer passed to write functions

2019-02-01 Thread Tom Rini
On Fri, Feb 01, 2019 at 03:33:37PM +0100, Jean-Jacques Hiblot wrote: > There is no need to modify the buffer passed to ext4fs_write_file(). > The memset() has no utility there, and comes probably from the equivalent > ext4fs_read_file() function. Can you please clarify the commit message a little

Re: [U-Boot] [PATCH 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

2019-02-01 Thread Tom Rini
On Thu, Jan 31, 2019 at 11:00:28AM +0530, Keerthy wrote: > From: Grygorii Strashko > > Use phys_addr_t for mdio_base address to avoid build warnings on arm64. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Keerthy Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signat

Re: [U-Boot] [PATCH v2 1/7] fs: ext4: do not allow writes if metadata checksum is active

2019-02-01 Thread Tom Rini
On Fri, Feb 01, 2019 at 03:33:34PM +0100, Jean-Jacques Hiblot wrote: > u-boot does not supports updating the metadata chacksums > > Signed-off-by: Jean-Jacques Hiblot > > --- > > Changes in v2: > - Prevent write access if metadata checksum is enabled > > fs/ext4/ext4_write.c | 12 ++-

Re: [U-Boot] [PATCH v2 3/7] test: fs: run fsck after on fs image after the tests are run

2019-02-01 Thread Tom Rini
On Fri, Feb 01, 2019 at 03:33:36PM +0100, Jean-Jacques Hiblot wrote: > This is to check the integrity of the FS after the test operations. > This is useful to make sure that the operations are implemented properly, > and are not going to create silent corruptions. > Currently only the integrity of

[U-Boot] [PATCH v1 3/3] tdx-cfg-block: fix off by one issue

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix toradex_modules array off by one issue potentially leading to spurious printout during boot e.g. Model: Toradex V1.2A, instead of Model: Toradex UNKNOWN MODULE V1.2A. Signed-off-by: Marcel Ziswiler Acked-by: Max Krummenacher --- board/toradex/common/tdx

Re: [U-Boot] [PATCH v2 2/7] test: fs: disable the metadata checksums on ext4 filesystems

2019-02-01 Thread Tom Rini
On Fri, Feb 01, 2019 at 03:33:35PM +0100, Jean-Jacques Hiblot wrote: > If the metadata checksums are enabled, all write operations will fail. > > Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH v2 1/7] fs: ext4: do not allow writes if metadata checksum is active

2019-02-01 Thread Tom Rini
On Fri, Feb 01, 2019 at 03:33:34PM +0100, Jean-Jacques Hiblot wrote: > u-boot does not supports updating the metadata chacksums > > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-

[U-Boot] [PATCH v1 2/3] toradex: common: unify behaviour when config block is missing

2019-02-01 Thread Marcel Ziswiler
From: Bhuvanchandra DV If the config block is missing, various things may fail or behave strangely on certain modules. This patch unifies that behaviour by using a fake MAC address, until user updates the config block. Signed-off-by: Bhuvanchandra DV Acked-by: Marcel Ziswiler --- board/tora

Re: [U-Boot] [PATCH 3/5] arm64: dts: ti: k3-am65: add mcu cpsw node

2019-02-01 Thread Tom Rini
On Thu, Jan 31, 2019 at 11:00:30AM +0530, Keerthy wrote: > From: Grygorii Strashko > > Add mcu cpsw and its components along with scm_conf node > to have ethernet functional. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Keerthy Reviewed-by: Tom Rini -- Tom signature.asc Descrip

Re: [U-Boot] [PATCH v2 5/7] fs: ext4: Add support for the creation of symbolic links

2019-02-01 Thread Tom Rini
On Fri, Feb 01, 2019 at 03:33:38PM +0100, Jean-Jacques Hiblot wrote: > Re-use the functions used to write/create a file, to support creation of a > symbolic link. > The difference with a regular file are small: > - The inode mode is flagged with S_IFLNK instead of S_IFREG > - The ext2_dirent's fil

Re: [U-Boot] [PATCH v2 1/2] fs: fat: dynamically allocate memory for temporary buffer

2019-02-01 Thread Chee, Tien Fong
On Fri, 2019-02-01 at 09:19 +0100, Marek Vasut wrote: > On 2/1/19 9:11 AM, Chee, Tien Fong wrote: > > > > On Thu, 2019-01-31 at 15:22 +0100, Marek Vasut wrote: > > > > > > On 1/31/19 1:42 PM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > > Drop the

Re: [U-Boot] [PATCH v2 7/7] test: fs: Added tests for symlinks

2019-02-01 Thread Tom Rini
On Fri, Feb 01, 2019 at 03:33:40PM +0100, Jean-Jacques Hiblot wrote: > Test cases are: > 1) basic link creation, verify it can be followed > 2) chained links, verify it can be followed > 3) replace exiting file a with a link, and a link with a link. verify it >can be followed > 4) create a bro

Re: [U-Boot] [PATCH 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-02-01 Thread Tom Rini
On Thu, Jan 31, 2019 at 11:00:29AM +0530, Keerthy wrote: > From: Grygorii Strashko > > Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW > NUSS). It has two ports and provides Ethernet packet communication for the > device and can be configured as an Ethernet switch. CP

Re: [U-Boot] [PATCH 4/5] arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs

2019-02-01 Thread Tom Rini
On Thu, Jan 31, 2019 at 11:00:31AM +0530, Keerthy wrote: > From: Grygorii Strashko > > Add mcu cpsw nuss pinmux and phy defs required by cpsw. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Keerthy Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 5/5] configs: am65x_evm_a53: enable networking

2019-02-01 Thread Tom Rini
On Thu, Jan 31, 2019 at 11:00:32AM +0530, Keerthy wrote: > From: Grygorii Strashko > > Enable TI K3 AM65x CPSW NUSS driver. > > Signed-off-by: Grygorii Strashko > Signed-off-by: Keerthy Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___

[U-Boot] [PATCH v3 1/2] dm: device: fail uclass_find_first_device() if list_empty

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler While uclass_find_device() fails with -ENODEV in case of list_empty strangely uclass_find_first_device() returns 0. Fix uclass_find_first_device() to also fail with -ENODEV instead. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v3: - Added Simo

[U-Boot] [PATCH v3 0/2] While converting SATA on Apalis iMX6 to use driver model I noticed it

2019-02-01 Thread Marcel Ziswiler
crashing in case no SATA driver is actually there: Apalis iMX6 # sata init data abort pc : [<8ff78e1a>] lr : [<8ff78e1b>] reloc pc : [<1781be1a>]lr : [<1781be1b>] sp : 8df53068 ip : 0001 fp : 0002 r10: 8df612e8 r9 : 8df5ceb0 r8 : 8ffc2b28 r7 : 8ff746ed r6 :

[U-Boot] [PATCH v1 0/3] imx: cpu.c, serial_mxc, dts fixes/improvements

2019-02-01 Thread Marcel Ziswiler
This series addresses some shortcomings concerning reset cause in SPL, serial in DTE mode and fixes some device-tree address/size-cells warnings. Marcel Ziswiler (1): ARM: dts: i.MX6Q, i.MX6QDL: fix address/size-cells warnings Max Krummenacher (2): imx: serial_mxc: disable ri and dcd irq in

[U-Boot] [PATCH v3 2/2] cmd: sata: add null pointer check for dev

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler Calling sata_scan() with a null pointer probably won't make much sense. Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - Dropped "[PATCH 2/3] dm: sata: add null pointer check for dev" as suggested by Simon. - Added Simon

[U-Boot] [PATCH v2 5/7] fs: ext4: Add support for the creation of symbolic links

2019-02-01 Thread Jean-Jacques Hiblot
Re-use the functions used to write/create a file, to support creation of a symbolic link. The difference with a regular file are small: - The inode mode is flagged with S_IFLNK instead of S_IFREG - The ext2_dirent's filetype is FILETYPE_SYMLINK instead of FILETYPE_REG - Instead of storing the conte

[U-Boot] [PATCH v2 7/7] test: fs: Added tests for symlinks

2019-02-01 Thread Jean-Jacques Hiblot
Test cases are: 1) basic link creation, verify it can be followed 2) chained links, verify it can be followed 3) replace exiting file a with a link, and a link with a link. verify it can be followed 4) create a broken link, verify it can't be followed Signed-off-by: Jean-Jacques Hiblot --- C

[U-Boot] [PATCH v1 3/3] imx: cpu.c: give access to reset cause in spl

2019-02-01 Thread Marcel Ziswiler
From: Max Krummenacher This makes get_imx_reset_cause() accessible in SPL, but keeps the SRSR register content intact so that U-Boot proper can evaluated the reset_cause again should this be needed. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- arch/arm/mach-imx/cpu.c | 27 +

[U-Boot] [PATCH v1 2/3] imx: serial_mxc: disable ri and dcd irq in dte mode

2019-02-01 Thread Marcel Ziswiler
From: Max Krummenacher If the UART is used in DTE mode the RI and DCD bits in UCR3 become irq enable bits. Both are set to enabled after reset and both likely are pending. Disable the bits to prevent an interrupt storm when Linux enables the UART interrupts. Signed-off-by: Max Krummenacher Sig

[U-Boot] [PATCH v1 1/3] ARM: dts: i.MX6Q, i.MX6QDL: fix address/size-cells warnings

2019-02-01 Thread Marcel Ziswiler
From: Marcel Ziswiler This fixes the following warnings: arch/arm/dts/imx6-apalis.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property arch/arm/dts/imx6-apalis.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips

Re: [U-Boot] [PATCH v2 04/21] vybrid: clock: Provide enable_i2c_clk() function for Vybrid

2019-02-01 Thread Stefan Agner
On 01.02.2019 15:19, Lukasz Majewski wrote: > Hi Stefan, > >> On 20.01.2019 14:34, Lukasz Majewski wrote: >> > Provide function to enable I2C2 clock for vf610 (BK4) - in the >> > generic code. >> >> Can you split this in two commits, one adding enable_i2c_clk and the >> second removing board speci

[U-Boot] [PATCH v2 3/7] test: fs: run fsck after on fs image after the tests are run

2019-02-01 Thread Jean-Jacques Hiblot
This is to check the integrity of the FS after the test operations. This is useful to make sure that the operations are implemented properly, and are not going to create silent corruptions. Currently only the integrity of EXT4 filesystems is checked. Signed-off-by: Jean-Jacques Hiblot --- Chang

Re: [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-02-01 Thread Simon Glass
Hi Kever, On Fri, 1 Feb 2019 at 03:26, Philipp Tomsich wrote: > > Kever, > > Independent of whether we revert this for the current cycle (and also > independent of > if I ever find the other patch you had been referring to — I couldn’t find it > in my local > mailing list archive) and then depr

[U-Boot] [PATCH v2 4/7] fs: ext4: constify the buffer passed to write functions

2019-02-01 Thread Jean-Jacques Hiblot
There is no need to modify the buffer passed to ext4fs_write_file(). The memset() has no utility there, and comes probably from the equivalent ext4fs_read_file() function. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None fs/ext4/ext4_common.c | 2 +- fs/ext4/ext4_common.h | 2 +- f

[U-Boot] [PATCH] board: raspberrypi: add serial and revision to the device tree

2019-02-01 Thread Gerasimov, Anton
Raspberry Pi bootloader adds this node to fdt, but if u-boot script doesn't reuse the tree provided by it, this information is lost. Revision and serial are displayed in /proc/cpuinfo after boot. Thanks to Ricardo Salveti from Foundries.io for the idea. Signed-off-by: Anton Gerasimov --- board

[U-Boot] [PATCH v2 6/7] fs: Add a new command to create symbolic links

2019-02-01 Thread Jean-Jacques Hiblot
The command line is: ln target linkname Currently symbolic links are supported only in ext4 and only if the option CMD_EXT4_WRITE is enabled. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None cmd/fs.c | 14 ++ fs/fs.c | 44 ++

[U-Boot] [PATCH v2 0/7] Add support for symlink creation in EXT4

2019-02-01 Thread Jean-Jacques Hiblot
This series adds support for the creation of symbolic links on ext4 file-systems. The motivation behind this work is to have the ability to "do" the job of update-alternatives in u-boot. Firmware on TI's platform are usually managed with update-alternatives and are thus targeted by a symbolic link

[U-Boot] [PATCH v2 2/7] test: fs: disable the metadata checksums on ext4 filesystems

2019-02-01 Thread Jean-Jacques Hiblot
If the metadata checksums are enabled, all write operations will fail. Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: None test/py/tests/test_fs/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/py/tests/test_fs/conftest.py b/test/py/tests/test_fs/conftest.py index

[U-Boot] [PATCH v2 1/7] fs: ext4: do not allow writes if metadata checksum is active

2019-02-01 Thread Jean-Jacques Hiblot
u-boot does not supports updating the metadata chacksums Signed-off-by: Jean-Jacques Hiblot --- Changes in v2: - Prevent write access if metadata checksum is enabled fs/ext4/ext4_write.c | 12 ++-- include/ext4fs.h | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --

Re: [U-Boot] [PATCH v2 04/21] vybrid: clock: Provide enable_i2c_clk() function for Vybrid

2019-02-01 Thread Lukasz Majewski
Hi Stefan, > On 20.01.2019 14:34, Lukasz Majewski wrote: > > Provide function to enable I2C2 clock for vf610 (BK4) - in the > > generic code. > > Can you split this in two commits, one adding enable_i2c_clk and the > second removing board specific clock enable? This particular commit only adds

[U-Boot] [PATCH 2/2] splash: Load internal and external data from FIT

2019-02-01 Thread Mark Jonas
From: Leo Ruan The FIT image could contain the splash data in 3 different structure: - The splash data is embedded in FIT image (internal) In this case, the property 'data' presents in FIT image header. And internal information 'start' and 'end' represent the location and size of splash dat

[U-Boot] [PATCH 1/2] splash: Use splashfile instead of location->name

2019-02-01 Thread Mark Jonas
From: Leo Ruan The splash image could be loaded from different sources (e.g. sf, mmc) with different formats (e.g. raw, file-system). These sources are structured by a board dependent object 'splash_location'. To decide where is the splash image loaded, following environment variables are used to

[U-Boot] [PATCH 0/2] Load splash from FIT image (internal, external, offset)

2019-02-01 Thread Mark Jonas
We store a splash screen in SPI-NOR. We chose to use a FIT image as a container because we want to - store more than just the splash screen in SPI-NOR, - do not create a bunch of MTD partitions, - do not waste storage space, and - avoid the overhead of a real file system. In general U-Boot

Re: [U-Boot] [PATCH v3 0/8] Add network support for Luton SoCs

2019-02-01 Thread Daniel Schwierzeck
Am 31.01.19 um 15:30 schrieb Horatiu Vultur: > This series adds network support for Luton SoCs. Currently > there is not support for Luton SoCs in Linux. > > v3-changes: > - reorder the changes of the commits and add Kconfig >in mscc_eswitch folder > > v2-changes: > - reuse functions from

Re: [U-Boot] [PATCH v2 00/21] imx: vybrid: Update BK4 and PCM052 boards to only use DM/DTS

2019-02-01 Thread Stefan Agner
On 21.01.2019 15:22, Lukasz Majewski wrote: > On Mon, 21 Jan 2019 09:33:23 +0100 > Lukasz Majewski wrote: > >> Hi Stefan, >> >> > This patch series converts PCM052 and BK4 to use Driver Model and >> > Device Tree. >> > >> > Some notable changes: >> > - The way how MAC address is read from fuses c

Re: [U-Boot] [PATCH v2 04/21] vybrid: clock: Provide enable_i2c_clk() function for Vybrid

2019-02-01 Thread Stefan Agner
On 20.01.2019 14:34, Lukasz Majewski wrote: > Provide function to enable I2C2 clock for vf610 (BK4) - in the > generic code. Can you split this in two commits, one adding enable_i2c_clk and the second removing board specific clock enable? Also our module seems to use I2C0, could you add that inst

Re: [U-Boot] [PATCH] arm: dts: am33xx: add u-boot, dm-spl to ocp bus

2019-02-01 Thread Felix Brack
Hi Hannes, On 01.02.2019 13:59, Hannes Schmelzer wrote: > > > On 2/1/19 12:15 PM, Felix Brack wrote: >> Hi Hannes, >> >> On 31.01.2019 21:18, Hannes Schmelzer wrote: >>> On 1/31/19 4:59 PM, Tom Rini wrote: On Thu, Jan 31, 2019 at 04:48:10PM +0100, Hannes Schmelzer wrote: > On 1/31/

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

2019-02-01 Thread Tom Rini
On Thu, Jan 31, 2019 at 01:36:00PM +0100, Anatolij Gustschin wrote: > Hi Tom, > > please pull some video updates for v2019.04-rc1. > > Thanks, > Anatolij > > The following changes since commit 2f41ade79e5969ebea03a7dcadbeae8e03787d7e: > > linker: Modify linker scripts to be more generic (201

Re: [U-Boot] [PATCH] arm: dts: am33xx: add u-boot, dm-spl to ocp bus

2019-02-01 Thread Tom Rini
On Fri, Feb 01, 2019 at 01:59:40PM +0100, Hannes Schmelzer wrote: > > > On 2/1/19 12:15 PM, Felix Brack wrote: > >Hi Hannes, > > > >On 31.01.2019 21:18, Hannes Schmelzer wrote: > >>On 1/31/19 4:59 PM, Tom Rini wrote: > >>>On Thu, Jan 31, 2019 at 04:48:10PM +0100, Hannes Schmelzer wrote: > >>> > >

Re: [U-Boot] [PATCH v2 08/21] ARM: DTS: vybrid: Update vf.dtsi file to descibe more vf610 hardware

2019-02-01 Thread Stefan Agner
On 20.01.2019 14:34, Lukasz Majewski wrote: > This patch allows moving vf610 based boards to a device tree and model. > Ported from Linux kernel - v4.20 (tag) > > Signed-off-by: Lukasz Majewski Reviewed-by: Stefan Agner -- Stefan > --- > > Changes in v2: None > > arch/arm/dts/vf.dtsi | 62

Re: [U-Boot] [PATCH] mips: mt76xx: Use correct timer frequency

2019-02-01 Thread Daniel Schwierzeck
Am 31.01.19 um 07:24 schrieb Stefan Roese: > Testing has shown that the timer on the MT7688 platforms does not run > correctly (too fast timeout). This patch changes > CONFIG_SYS_MIPS_TIMER_FREQ from 200MHz to 290MHz which is the correct > value, as its also used in Linux. > > Signed-off-by: Ste

Re: [U-Boot] [PATCH] MSCC: Jaguar2 enable debug uart

2019-02-01 Thread Daniel Schwierzeck
Am 29.01.19 um 10:50 schrieb Horatiu Vultur: > Enable debug uart for Jaguar2 SoC family. > > Signed-off-by: Horatiu Vultur > --- > board/mscc/jr2/jr2.c | 7 +++ > configs/mscc_jr2_defconfig | 6 ++ > 2 files changed, 13 insertions(+) > applied to u-boot-mips, thanks. -- - Dan

Re: [U-Boot] [PATCH] MSCC: Fix Jaguar2 board detection.

2019-02-01 Thread Daniel Schwierzeck
Am 29.01.19 um 10:58 schrieb Horatiu Vultur: > When power cycle the Jaguar2 boards, it couldn't read the > phys, therefore it always deduce that the board type is > pcb111. > > Add a small delay after setting the gpio pins, fix the > issue. > > Signed-off-by: Horatiu Vultur > --- > board/mscc

Re: [U-Boot] [PATCH v2 03/21] vybrid: ddr: Extend vf610-pinfunc.h with DDR pads definitions

2019-02-01 Thread Stefan Agner
On 20.01.2019 14:34, Lukasz Majewski wrote: > This patch provides definitions necessary for VF610 DDR pad configurations. > > Signed-off-by: Lukasz Majewski Reviewed-by: Stefan Agner -- Stefan > --- > > Changes in v2: None > > arch/arm/dts/vf610-pinfunc.h | 50 > ++

Re: [U-Boot] [PATCH] arm: dts: am33xx: add u-boot, dm-spl to ocp bus

2019-02-01 Thread Hannes Schmelzer
On 2/1/19 12:15 PM, Felix Brack wrote: Hi Hannes, On 31.01.2019 21:18, Hannes Schmelzer wrote: On 1/31/19 4:59 PM, Tom Rini wrote: On Thu, Jan 31, 2019 at 04:48:10PM +0100, Hannes Schmelzer wrote: On 1/31/19 3:57 PM, Tom Rini wrote: On Thu, Jan 31, 2019 at 08:03:19AM +0100, Hannes Schmelz

Re: [U-Boot] [PATCH] arm: dts: am33xx: add u-boot, dm-spl to ocp bus

2019-02-01 Thread Felix Brack
Hi Hannes, On 31.01.2019 21:18, Hannes Schmelzer wrote: > > On 1/31/19 4:59 PM, Tom Rini wrote: >> On Thu, Jan 31, 2019 at 04:48:10PM +0100, Hannes Schmelzer wrote: >> >>> On 1/31/19 3:57 PM, Tom Rini wrote: On Thu, Jan 31, 2019 at 08:03:19AM +0100, Hannes Schmelzer wrote: > commit

Re: [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-02-01 Thread Philipp Tomsich
Kever, Independent of whether we revert this for the current cycle (and also independent of if I ever find the other patch you had been referring to — I couldn’t find it in my local mailing list archive) and then deprecate it for the next release (unless converted to DM), we still have a number

Re: [U-Boot] [u-boot] [PATCH] pci: layerscape: add option to statically allocate PCI StreamIDs

2019-02-01 Thread Pankaj Bansal
Hi Laurentiu, > -Original Message- > From: u-boot-boun...@linux.nxdi.nxp.com [mailto:u-boot- > boun...@linux.nxdi.nxp.com] On Behalf Of laurentiu.tu...@nxp.com > Sent: Wednesday, 30 January, 2019 05:31 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > ; York Sun > Subject: [u-boot] [PAT

Re: [U-Boot] [PATCH v2 02/21] net: Kconfig: FEC: Add dependency on VF610

2019-02-01 Thread Stefan Agner
On 20.01.2019 14:34, Lukasz Majewski wrote: > Signed-off-by: Lukasz Majewski Reviewed-by: Stefan Agner -- Stefan > --- > > Changes in v2: None > > drivers/net/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig > index

Re: [U-Boot] [PATCH v2 01/21] net: FEC: Add compatible for vybrid (vf610) to reuse fec_mxc.c driver

2019-02-01 Thread Stefan Agner
On 20.01.2019 14:34, Lukasz Majewski wrote: > The NXP's FEC driver can be reused on vf610 device (with DM). > > Signed-off-by: Lukasz Majewski Reviewed-by: Stefan Agner -- Stefan > --- > > Changes in v2: None > > drivers/net/fec_mxc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-02-01 Thread Philipp Tomsich
> On 01.02.2019, at 10:32, Kever Yang wrote: > > Hi Philipp, > > This is not right, this patch should not merged like this!!! > > I have give my review comment in previous mail, and this will break > many boards. > > My another patch do not break anything, but you insist NAK it

Re: [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-02-01 Thread Kever Yang
Hi Philipp,     This is not right,  this patch should not merged like this!!!     I have give my review comment in previous mail, and this will break many boards.     My another patch do not break anything, but you insist NAK it without acceptable reason;     This patch definitely break other bo

Re: [U-Boot] [PATCH v7 1/7] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-02-01 Thread Marek Vasut
On 2/1/19 4:48 AM, Chee, Tien Fong wrote: > On Thu, 2019-01-31 at 15:54 +0100, Marek Vasut wrote: >> On 1/31/19 3:51 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> This patch adds description on properties about file name used for >>> both >>> peripheral bitstream and cor

Re: [U-Boot] [PATCH v7 2/7] ARM: socfpga: Add default FPGA bitstream fitImage for Arria10 SoCDK

2019-02-01 Thread Marek Vasut
On 2/1/19 4:59 AM, Chee, Tien Fong wrote: > On Thu, 2019-01-31 at 15:54 +0100, Marek Vasut wrote: >> On 1/31/19 3:51 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Add default fitImage file bundling FPGA bitstreams for Arria10. >>> >>> Signed-off-by: Tien Fong Chee >>> -

Re: [U-Boot] [PATCH v7 3/7] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-02-01 Thread Marek Vasut
On 2/1/19 5:04 AM, Chee, Tien Fong wrote: > On Thu, 2019-01-31 at 15:55 +0100, Marek Vasut wrote: >> On 1/31/19 3:51 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Add FPGA driver to support program FPGA with FPGA bitstream loading >>> from >>> filesystem. The driver are

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

2019-02-01 Thread Marek Vasut
On 2/1/19 4:45 AM, Ooi, Joyce wrote: >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Saturday, January 26, 2019 4:34 PM >> To: Ooi, Joyce ; Joe Hershberger >> >> Cc: See, Chin Liang ; Ong, Hean Loong >> ; Priyanka Jain ; u- >> b...@lists.denx.de; Tan, Ley Foon ;

Re: [U-Boot] [PATCH v2 1/2] fs: fat: dynamically allocate memory for temporary buffer

2019-02-01 Thread Marek Vasut
On 2/1/19 9:11 AM, Chee, Tien Fong wrote: > On Thu, 2019-01-31 at 15:22 +0100, Marek Vasut wrote: >> On 1/31/19 1:42 PM, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Drop the statically allocated get_contents_vfatname_block and >>> dynamically allocate a buffer only if requ

Re: [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now

2019-02-01 Thread Philipp Tomsich
> On 01.02.2019, at 09:38, Philipp Tomsich > wrote: > > Andy, > >> On 01.02.2019, at 02:32, andy@rock-chips.com wrote: >> >> Hi: >> >>> This function causes a 5-second delay and stops the display working on >>> minnie. This code should be in a driver and should only be enabled by >>> a

Re: [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now

2019-02-01 Thread Philipp Tomsich
Andy, > On 01.02.2019, at 02:32, andy@rock-chips.com wrote: > > Hi: > > > This function causes a 5-second delay and stops the display working on > > minnie. This code should be in a driver and should only be enabled by > > a device-tree property, so that it does not affect devices which do n

Re: [U-Boot] [PATCH v3 00/20] SF: Migrate to Linux SPI NOR framework

2019-02-01 Thread Vignesh R
On 31/01/19 8:15 PM, Jagan Teki wrote: > On Thu, Jan 31, 2019 at 8:12 PM Tom Rini wrote: >> >> On Thu, Jan 31, 2019 at 08:10:53PM +0530, Jagan Teki wrote: >>> On Tue, Jan 29, 2019 at 11:19 AM Vignesh R wrote: Here is the v3 of SPI NOR migration(github branch at [1]). I have retai

Re: [U-Boot] [PATCH v2 1/2] fs: fat: dynamically allocate memory for temporary buffer

2019-02-01 Thread Chee, Tien Fong
On Thu, 2019-01-31 at 15:22 +0100, Marek Vasut wrote: > On 1/31/19 1:42 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Drop the statically allocated get_contents_vfatname_block and > > dynamically allocate a buffer only if required. This saves > > 64KiB of memory. > >

Re: [U-Boot] [PATCH 1/3] x86: Change 4-level page table base address to low memory

2019-02-01 Thread Alexander Graf
> Am 01.02.2019 um 08:29 schrieb Bin Meng : > > Hi Alex, > >> On Fri, Feb 1, 2019 at 8:01 AM Alexander Graf wrote: >> >> >> >>> Am 01.02.2019 um 00:40 schrieb Bin Meng : >>> >>> Hi Alex, >>> On Fri, Feb 1, 2019 at 2:30 AM Alexander Graf wrote: > Am 31.01.2019 u

<    1   2