Re: [U-Boot] [PULL] u-boot-usb/master

2017-09-25 Thread Bin Meng
Hi Marek, On Tue, Sep 26, 2017 at 12:41 AM, Marek Vasut wrote: > The following changes since commit 1f6049e2501b5c35c61435dbc05ba96743202674: > > tools/mkimage: Make the path to the dtc binary that mkimage calls > configurable (2017-09-24 07:33:03 -0400) > > are available in the

Re: [U-Boot] DDR training code for Armada 38x

2017-09-25 Thread Chris Packham
For the internet historians, On Thu, Sep 21, 2017 at 4:25 PM, Chris Packham wrote: > On Wed, Sep 20, 2017 at 5:31 PM, Stefan Roese wrote: >> Hi Chris, >> >> On 19.09.2017 20:58, Chris Packham wrote: >>> >>> When you did the port from Marvell's source did

Re: [U-Boot] [PULL] u-boot-usb/master

2017-09-25 Thread Tom Rini
On Tue, Sep 26, 2017 at 07:10:21AM +0800, Bin Meng wrote: > Hi Marek, > > On Tue, Sep 26, 2017 at 12:41 AM, Marek Vasut wrote: > > The following changes since commit 1f6049e2501b5c35c61435dbc05ba96743202674: > > > > tools/mkimage: Make the path to the dtc binary that mkimage

Re: [U-Boot] ZynqMP qspi

2017-09-25 Thread Jagan Teki
On Tue, Sep 26, 2017 at 9:07 AM, Liam Beguin wrote: > > Resending with proper CC since the email came back. > > On 24/09/17 09:36 PM, Liam Beguin wrote: >> Hi, >> >> I'm testing a new Xilinx zynqmp dev board and was not able to probe the >> qspi with the latest mainline

Re: [U-Boot] [PATCH] ARM: mvebu: add SAR frequency values for 1.8/2.0GHz

2017-09-25 Thread Stefan Roese
Hi Chris, On 26.09.2017 00:21, Chris Packham wrote: On Tue, Sep 5, 2017 at 5:03 PM, Chris Packham wrote: The Armada-38x has 1.8GHz and 2.0GHz variants. Add entries for these variants to the sar_freq_tab. Signed-off-by: Chris Packham ---

Re: [U-Boot] [PATCH v2 14/19] arm: socfpga: Enable build for DDR Arria 10

2017-09-25 Thread Chee, Tien Fong
On Isn, 2017-09-25 at 11:20 +0200, Marek Vasut wrote: > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This patch is for enabling the DDR support on Arria 10. > > > > Signed-off-by: Tien Fong Chee

Re: [U-Boot] [PATCH V4 11/12] imx: mx6sabresd: enable dm drivers

2017-09-25 Thread Peng Fan
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Monday, September 25, 2017 10:12 PM > To: Peng Fan ; sba...@denx.de > Cc: van.free...@gmail.com; u-boot@lists.denx.de; Fabio Estevam > > Subject: Re: [PATCH V4

[U-Boot] [PATCH] linux/bitfield.h: import from Linux 4.13

2017-09-25 Thread Masahiro Yamada
Copied from Linux 4.13. Commit log of 3e9b3112ec74 of Linux explains well why this header is useful. Signed-off-by: Masahiro Yamada --- In order to use this header, http://patchwork.ozlabs.org/patch/814471/ must be applied. is highly dependent on

Re: [U-Boot] [PATCH v2 15/19] arm: socfpga: Add support to memory allocation in SPL

2017-09-25 Thread Chee, Tien Fong
On Isn, 2017-09-25 at 11:21 +0200, Marek Vasut wrote: > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Add support to memory allocation in SPL for preparation to enable > > FAT > > in SPL. Memory allocation is needed by FAT

Re: [U-Boot] [PATCH v2] sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation

2017-09-25 Thread Jagan Teki
On Mon, Sep 25, 2017 at 4:10 PM, Lukasz Majewski wrote: > The content of Bank Address Register (BAR) is volatile. It is cleared > after power cycle or reset command (RESET F0h). > > Some memories (like e.g. s25fl256s) use it to access memory larger than > 0x100 (16 MiB). > >

Re: [U-Boot] [PATCH v2 8/8] dm: define dev_*() log functions in DM header

2017-09-25 Thread Masahiro Yamada
Hi Simon, 2017-09-25 11:15 GMT+09:00 Simon Glass : > On 15 September 2017 at 23:10, Masahiro Yamada > wrote: >> Many drivers use dev_err, dev_info, etc. for logging. Currently, >> we are relying on , but I guess the best home is >> , taking

Re: [U-Boot] DDR training code for Armada 38x

2017-09-25 Thread Stefan Roese
Hi Chris, On 26.09.2017 00:29, Chris Packham wrote: For the internet historians, On Thu, Sep 21, 2017 at 4:25 PM, Chris Packham wrote: On Wed, Sep 20, 2017 at 5:31 PM, Stefan Roese wrote: Hi Chris, On 19.09.2017 20:58, Chris Packham wrote: When you

Re: [U-Boot] [PATCH v2 16/19] arm: socfpga: Enhance Intel SoCFPGA program header to support Arria 10

2017-09-25 Thread Chee, Tien Fong
On Isn, 2017-09-25 at 11:23 +0200, Marek Vasut wrote: > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Enhance preloader header with both additional program length and > > program > > entry offset attributes, which offset

Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot

2017-09-25 Thread Łukasz Majewski
Hi York, If you don't mind, I would like to ask you for some help and clarification regarding your work. Add jump_to_image_linux() for arm64. Add "noreturn" flag to armv8_switch_to_el2(). Add hooks to fsl-layerscape to enable falcon boot. I'm trying to do the same on imx6q board (armv7).

Re: [U-Boot] [PATCH 5/6] apalis_imx6: Avoid calling setup_display() from SPL code

2017-09-25 Thread Stefano Babic
Hi Fabio, On 23/09/2017 17:11, Fabio Estevam wrote: > On Sat, Sep 23, 2017 at 10:01 AM, Fabio Estevam wrote: >> Hi Stefano, >> >> On Sat, Sep 23, 2017 at 5:43 AM, Stefano Babic wrote: >> >>> Max has already fixed apalis / colibri, see for example >>>

Re: [U-Boot] [PATCH V4 01/12] scripts: spl: fix typo

2017-09-25 Thread Stefano Babic
On 30/08/2017 08:14, Peng Fan wrote: > Typo fix: CONIFG->CONFIG > > Signed-off-by: Peng Fan > Cc: Tom Rini > --- > > V2: new > V3: none > V4: none > > scripts/Makefile.uncmd_spl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [U-Boot] [PATCH V4 1/5] arm: dts: da850: Migrate da850-evm DTS files from Linux 4.13-RC5

2017-09-25 Thread Adam Ford
On Sep 25, 2017 3:11 AM, "Jagan Teki" wrote: On Mon, Sep 18, 2017 at 7:13 AM, Adam Ford wrote: > A few small additional items are needed to support DM_SPI and > DM_SERIAL, so those were added to da850-evm-u-boot.dtsi > > Signed-off-by: Adam Ford

Re: [U-Boot] [PATCH 5/6] apalis_imx6: Avoid calling setup_display() from SPL code

2017-09-25 Thread Stefano Babic
On 24/09/2017 13:27, Max Krummenacher wrote: > Hi > > > I propose to drop my patches in favor of  Fabio's solution. > > Agree, I will merge them. Regards, Stefano > Reviewed-by: Max Krummenacher > > > Max > >

Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot

2017-09-25 Thread Marek Vasut
On 09/25/2017 04:17 PM, Łukasz Majewski wrote: Nit -- Eanble in subject . ^^ Enable Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH V4 11/12] imx: mx6sabresd: enable dm drivers

2017-09-25 Thread Stefano Babic
Hi Peng, On 30/08/2017 08:14, Peng Fan wrote: > Enable DM MMC/I2C/PMIC/GPIO/REGULATOR. > > Signed-off-by: Peng Fan > Cc: Fabio Estevam > Cc: Stefano Babic > --- > > V2->V4: none > > board/freescale/mx6sabresd/mx6sabresd.c | 326 >

Re: [U-Boot] [PATCH v2 2/9] serial: stm32x7: add STM32H7 support

2017-09-25 Thread Patrice CHOTARD
Hi Vikas On 09/19/2017 12:40 AM, Vikas Manocha wrote: > Hi Patrice, > > On 09/13/2017 09:00 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> STM32F7 and STM32H7 shares the same UART block, add >> STM32H7 compatible string. >> >> Signed-off-by: Patrice

Re: [U-Boot] [PATCH v2 3/9] dm: clk: add clk driver support for stm32h7 SoCs

2017-09-25 Thread Patrice CHOTARD
Hi Vikas On 09/20/2017 03:39 AM, Vikas Manocha wrote: > Hi Patrice, > > On 09/13/2017 09:00 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> This driver implements basic clock setup, only clock gating >> is implemented. >> >> This driver doesn't implement

[U-Boot] Pull request: u-boot-spi/master

2017-09-25 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit 1f6049e2501b5c35c61435dbc05ba96743202674: tools/mkimage: Make the path to the dtc binary that mkimage calls configurable (2017-09-24 07:33:03 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH 0/5] Follow the Linux Kernel in building dtc as needed

2017-09-25 Thread Wolfgang Denk
Dear Tom, In message <1506263222-7080-1-git-send-email-tr...@konsulko.com> you wrote: > > The following series has been applied. I am posting this for the record. Argghhh... This is not the way things should be done. I am definitely unhappy here - not so much about the patches, but about the

Re: [U-Boot] Make Menuconfig Fails

2017-09-25 Thread Łukasz Majewski
Hi Duncan, make menuconfig HOSTCC scripts/kconfig/mconf.o In file included from scripts/kconfig/mconf.c:23:0: scripts/kconfig/lxdialog/dialog.h:26:20: fatal error: curses.h: No such file or directory #include CURSES_LOC It seems like you are missing ncurses5-dev package. Appears

Re: [U-Boot] [PATCH 0/5] Follow the Linux Kernel in building dtc as needed

2017-09-25 Thread Marek Vasut
On 09/24/2017 07:28 PM, Tom Rini wrote: > On Sun, Sep 24, 2017 at 06:50:01PM +0200, Marek Vasut wrote: >> On 09/24/2017 04:26 PM, Tom Rini wrote: >>> The following series has been applied. I am posting this for the record. >>> >>> For the record, I do not believe that using git submodules is a

[U-Boot] [PATCH] rockchip: rk3188: ram: add support for 16bit row address

2017-09-25 Thread Kever Yang
RK3188 using the same ddr_conf for both 15 bit and 16 bit row address. Signed-off-by: Kever Yang --- drivers/ram/rockchip/sdram_rk3188.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/ram/rockchip/sdram_rk3188.c

Re: [U-Boot] [PATCH] sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation

2017-09-25 Thread Łukasz Majewski
Hi Jagan, On Wed, Sep 13, 2017 at 3:09 PM, Lukasz Majewski wrote: The content of Bank Address Register (BAR) is volatile. It is cleared after power cycle or reset command (RESET F0h). Some memories (like e.g. s25fl256s) use it to access memory larger than 0x100 (16 MiB).

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-09-25 Thread Tim Harvey
On Fri, Sep 22, 2017 at 7:00 AM, David Müller (ELSOFT AG) wrote: > Hello > > Does the code below really work? Hi Dave, This patch does work to resolve the issue stated in the commit log which was to fix failing to boot on a 4.11+ kernel which stems from the fact that we

[U-Boot] u-boot-usb/master sandbox unit test failure

2017-09-25 Thread Stephen Warren
Marek, The latest u-boot-usb master branch breaks the following unit tests for the sandbox target (as run by test/py): 8 failed ... test_ut[ut_dm_blk_usb] ... test_ut[ut_dm_usb_flash] ... test_ut[ut_dm_usb_keyb] ... test_ut[ut_dm_usb_multi] ... test_ut[ut_dm_usb_remove] ...

Re: [U-Boot] [PATCH v2 5/7] armv8: layerscape: Eanble falcon boot

2017-09-25 Thread York Sun
On 09/25/2017 07:17 AM, Łukasz Majewski wrote: > Hi York, > > If you don't mind, I would like to ask you for some help and > clarification regarding your work. > >> Add jump_to_image_linux() for arm64. Add "noreturn" flag to >> armv8_switch_to_el2(). Add hooks to fsl-layerscape to enable falcon

Re: [U-Boot] [PATCH] board/ls2080ardb: Add mcmemsize variable in default env

2017-09-25 Thread York Sun
On 08/29/2017 02:50 AM, Priyanka Jain wrote: > For most of ls2080ardb use-cases, mc private DRAM block is required > to be of 1.75GB. > Henc set mcmemsize=0x7000 in default env > > Signed-off-by: Priyanka Jain > --- Applied to fsl-qoriq mater. Thanks. York

Re: [U-Boot] [v2] armv8: ls1043a: disable IFC in SPL only when QSPI is used

2017-09-25 Thread York Sun
On 09/14/2017 07:09 PM, Yangbo Lu wrote: > Current u-boot disables IFC support for SD boot on all ls1043a > boards. Actually IFC only conflicts with QSPI on ls1043a hardware. > Only when QSPI is used, IFC should be disabled. Otherwise, > the u-boot with ls1043aqds_sdcard_ifc_defconfig would not

Re: [U-Boot] [PATCH] armv8: ls1046ardb: disable PPA loading during SPL stage for SD boot

2017-09-25 Thread York Sun
On 09/18/2017 12:16 AM, Yangbo Lu wrote: > PPA loading during SPL stage is not required for nornal > SD boot scenario. > > Signed-off-by: Yangbo Lu > --- Applied to fsl-qoriq mater. Thanks. York ___ U-Boot mailing list

Re: [U-Boot] [PULL] u-boot-usb/master

2017-09-25 Thread Marek Vasut
The following changes since commit 1f6049e2501b5c35c61435dbc05ba96743202674: tools/mkimage: Make the path to the dtc binary that mkimage calls configurable (2017-09-24 07:33:03 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes

Re: [U-Boot] u-boot-usb/master sandbox unit test failure

2017-09-25 Thread Stephen Warren
On 09/25/2017 10:40 AM, Marek Vasut wrote: On 09/25/2017 06:13 PM, Stephen Warren wrote: Marek, +CC Bin I will drop the xhci patchset and hope to get a fixed one from him. The latest branch content (0184c6fb34b4 "usb: dwc2: Align size of invalidating dcache before starting DMA") passes

Re: [U-Boot] [PATCH] armv7: ls1021a: Fix marco CONFIG_LS102XA

2017-09-25 Thread York Sun
On 09/14/2017 12:53 PM, York Sun wrote: > Commit a8ecb39e accidentally reverted config macro CONFIG_ARCH_LS1021A > to CONFIG_LS102XA. > > Signed-off-by: York Sun > --- Applied to fsl-qoriq mater. York ___ U-Boot mailing list

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Put SATA code under SATA configs

2017-09-25 Thread York Sun
On 08/17/2017 10:24 PM, Ashish Kumar wrote: > It is not necessary for every SoC to have 2 SATA controller. > So put SATA1, SATA2 code under respective defines. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Ashish Kumar > --- Applied to

Re: [U-Boot] [PATCH 1/1] board/ls2080ardb: Remove CONFIG_DISPLAY_BOARDINFO_LATE

2017-09-25 Thread York Sun
On 08/18/2017 02:47 AM, Santan Kumar wrote: > CONFIG_DISPLAY_BOARDINFO_LATE config is used to delay > the prints of boardinfo late in cycle during uboot boot. > This feature is not required in case of QSPI_BOOT. > > Signed-off-by: Santan Kumar > Signed-off-by: Priyanka Jain

Re: [U-Boot] [PATCH] pci: layerscape: Fixup iommu-map for LS208xA

2017-09-25 Thread York Sun
On 08/31/2017 12:59 AM, Bharat Bhushan wrote: > "pci: layerscape: Fixup device tree node for ls2088a" added > support for LS208xA devices but fixing iommu-map property > is missing. This patch adds support for fixing iommu-map. > > Signed-off-by: Bharat Bhushan >

Re: [U-Boot] [PATCH] armv8: fsl: ifc: Put IFC related code under CONFIG_FSL_IFC

2017-09-25 Thread York Sun
On 09/04/2017 03:14 AM, Sriram Dash wrote: > IFC code is put under CONFIG_FSL_IFC > > Signed-off-by: Sriram Dash > --- Applied to fsl-qoriq mater. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] armv8: fsl: i2c: Put I2C related code under CONFIG_SYS_I2C

2017-09-25 Thread York Sun
On 09/04/2017 03:15 AM, Sriram Dash wrote: > I2C code is put under CONFIG_SYS_I2C > > Signed-off-by: Sriram Dash > --- Applied to fsl-qoriq mater. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/2] disk: Provide API to get partition by name for specific type

2017-09-25 Thread Sam Protsenko
Hi Simon, On 24 September 2017 at 19:14, Simon Glass wrote: > Hi Sam, > > On 21 September 2017 at 16:51, Sam Protsenko > wrote: >> There is already existing function part_get_info_by_name(). >> But sometimes user is particularly interested in

Re: [U-Boot] u-boot-usb/master sandbox unit test failure

2017-09-25 Thread Marek Vasut
On 09/25/2017 06:13 PM, Stephen Warren wrote: > Marek, +CC Bin I will drop the xhci patchset and hope to get a fixed one from him. > The latest u-boot-usb master branch breaks the following unit tests for > the sandbox target (as run by test/py): > > 8 failed > ... test_ut[ut_dm_blk_usb] > ...

Re: [U-Boot] [PATCH] mmc: uniphier-sd: Add vqmmc regulator support

2017-09-25 Thread Marek Vasut
On 09/15/2017 09:10 PM, Marek Vasut wrote: > Add initial support for setting the vqmmc regulator. Since we do not > support 1V8 modes, set the regulator to 3V3 and enable it. > > Signed-off-by: Marek Vasut > Cc: Masahiro Yamada > Cc:

Re: [U-Boot] [PATCH 1/1] board/ls2081ardb: Update QSPI flash type from n25q512a to s25fs512s

2017-09-25 Thread York Sun
On 08/18/2017 02:47 AM, Santan Kumar wrote: > As per updated board design, different QSPI flash > is connected on boards, hence change QSPI flash type > from Micron n25q512a device to spansion s25fs512s > device in dts and config. > > Signed-off-by: Santan Kumar >

Re: [U-Boot] [PATCH][v3]board/ls2080ardb: Update board env based on SoC

2017-09-25 Thread York Sun
On 09/14/2017 09:49 PM, Priyanka Jain wrote: > As per current implementation, default value of board env is > based on board filename i.e ls2080ardb. > > With distro support changes, this env is used to decide upon > kernel dtb which is different for other SoCs (ls2088a, ls2081a) > combination

Re: [U-Boot] [PATCH] armv8: ls1043ardb: disable PPA loading during SPL stage for SD boot

2017-09-25 Thread York Sun
On 09/18/2017 12:16 AM, Yangbo Lu wrote: > PPA loading during SPL stage is not required for nornal > SD boot scenario. > > Signed-off-by: Yangbo Lu > --- Applied to fsl-qoriq mater. Thanks. York ___ U-Boot mailing list

[U-Boot] Issues with mx6 (cubox/wandboard) with 2017.09

2017-09-25 Thread Peter Robinson
Hi Fabio, I'm seeing some issues with some of the i.MX6 devices with the latest stable release. It loads the SPL and then just seems to loop: U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1 U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) Trying to boot from MMC1 U-Boot SPL

[U-Boot] [PATCH v2 3/4] fs/fat: Fix pathnames using '..' that lead to the root directory

2017-09-25 Thread Tuomas Tynkkynen
If we end up back in the root directory via a '..' directory entry, set itr->is_root accordingly. Failing to do that gives spews like "Invalid FAT entry" and being unable to access directory entries located past the first cluster of the root directory. Fixes: 8eafae209c35 ("fat/fs: convert to

[U-Boot] [PATCH v2 4/4] fs-test: Add test for a filename using '..' to go back to the root

2017-09-25 Thread Tuomas Tynkkynen
The previous commit fixed a problem in FAT code where going back to the root directory using '..' wouldn't work correctly on FAT12 or FAT16. Add a test to exercise this case (which was once fixed in commit 18a10d46f26 "fat: handle paths that include ../" but reintroduced due to the directory

[U-Boot] [PATCH v2 2/4] fs-test: Add FAT16 support

2017-09-25 Thread Tuomas Tynkkynen
Currently we can only test FAT32 which is the default FAT version that mkfs.vfat creates by default. Instead make it explicitly create either a FAT16 or a FAT32 volume. This allows us to exercise more code, for instance the root directory handling is done differently in FAT32 than the older FATs.

[U-Boot] [PATCH v2 1/4] fs/ext4: Fix group descriptor checksum calculation

2017-09-25 Thread Tuomas Tynkkynen
The current code doesn't compute the group descriptor checksum correctly for the filesystems that e2fsprogs 1.43.4 creates (they have 'Group descriptor size: 64' as reported by tune2fs). Extend the checksum calculation to be done as ext4_group_desc_csum() does in Linux. This fixes these errors in

[U-Boot] [PATCH] mx6: toradex: Remove custom CONFIG_SPL_PAD_TO definition

2017-09-25 Thread Fabio Estevam
From: Fabio Estevam CONFIG_SPL_PAD_TO is already defined inside "imx6_spl.h", so there is no need to redefine it in the board config files. Signed-off-by: Fabio Estevam --- include/configs/apalis_imx6.h | 1 - include/configs/colibri_imx6.h | 1 -

Re: [U-Boot] Issues with mx6 (cubox/wandboard) with 2017.09

2017-09-25 Thread Fabio Estevam
Hi Peter, On Mon, Sep 25, 2017 at 3:54 PM, Peter Robinson wrote: > Hi Fabio, > > I'm seeing some issues with some of the i.MX6 devices with the latest > stable release. It loads the SPL and then just seems to loop: > > U-Boot SPL 2017.09 (Sep 25 2017 - 18:42:10) > Trying to

Re: [U-Boot] [PATCH 0/4] cl-som-imx7: initial support

2017-09-25 Thread Fabio Estevam
Hi Uri, On Sun, Sep 24, 2017 at 3:00 AM, Uri Mashiach wrote: > This patch series adds support for CompuLab CL-SOM-iMX7, SBC-iMX7, > SBC-IOT-iMX7 > and IOT-GATE-iMX7. > > CL-SOM-iMX7 is a miniature System-on-Module (SoM) based on > NXP i.MX7 processor family. > >

[U-Boot] [PATCH v3 8/8] dm: define dev_*() log functions in DM header

2017-09-25 Thread Masahiro Yamada
Many drivers had started to use dev_err, dev_info, etc. for log functions. Currently, we are relying on , but I guess the best home is , taking into account that Linux defines them in . For now, I am leaving the ones in because lots of Linux-originated code uses dev_*(), but the first argument

Re: [U-Boot] [PATCH v2 19/19] arm: socfpga: Enable SPL loading U-boot to DDR and booting U-boot

2017-09-25 Thread Chee, Tien Fong
On Isn, 2017-09-25 at 11:24 +0200, Marek Vasut wrote: > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Enable SPL loading U-boot from SDMMC to DDR and booting U-boot. > This patch seems to be doing more than just one thing

Re: [U-Boot] [PATCH v2 17/19] arm: socfpga: Adding clock frequency info for U-boot

2017-09-25 Thread Chee, Tien Fong
On Isn, 2017-09-25 at 11:23 +0200, Marek Vasut wrote: > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Clock frequency info is required in U-boot. > > > > Signed-off-by: Tien Fong Chee > I want a

[U-Boot] [PATCH 1/2] video: test: Helper for writing strings

2017-09-25 Thread Rob Clark
I'll need some more of this, let's not just copy-pasta the vidconsole_put_char() loop. Named to match vidconsole_put_char() in case that is ever useful outside of the tests. Signed-off-by: Rob Clark --- test/dm/video.c | 24 1 file changed, 12

[U-Boot] [PATCH 2/2] ARM: rmobile: Enable pinconf

2017-09-25 Thread Marek Vasut
Enable pinconf since it's now implemented and used in the DTs. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 1 + configs/r8a7795_ulcb_defconfig | 1 + configs/r8a7796_salvator-x_defconfig

Re: [U-Boot] u-boot Boot issue about rk3188

2017-09-25 Thread Andy Yan
Hi Heiko: On 2017年09月22日 13:56, Heiko Stuebner wrote: Am Freitag, 22. September 2017, 08:50:49 CEST schrieb Andy Yan: Hi Heiko: On 2017年09月22日 08:24, Andy Yan wrote: Hi Heiko: On 2017年09月21日 22:55, Heiko Stübner wrote: Hi Andy, Am Donnerstag, 21. September 2017, 22:03:32 CEST schrieb

Re: [U-Boot] [PATCH v2 01/19] ARM: socfpga: add bindings doc for arria10 fpga manager

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:39 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This DT binding doc is porting from Linux DT binding doc. > commit 1adcbea4201a6852362aa5ece573f1f169b28113 > > Add a device tree bindings document for the SoCFPGA Arria10 > FPGA Manager

Re: [U-Boot] [PATCH v2 02/19] doc: dtbinding: Description on FPGA RBF properties at Arria 10 FPGA manager

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:39 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This patch adds description on properties about location of FPGA RBFs are > stored, type and functionality of RBF used to configure FPGA. > > Signed-off-by: Tien Fong Chee

Re: [U-Boot] [PATCH v2 04/19] arm: socfpga: Add Arria 10 SoCFPGA programming interface

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Add code necessary into the FPGA driver framework in U-Boot > so it can be used via the 'fpga' command for programing Arria 10 > SoCFPGA. > > Signed-off-by: Tien Fong Chee

Re: [U-Boot] [PATCH v2 02/19] doc: dtbinding: Description on FPGA RBF properties at Arria 10 FPGA manager

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:39 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This patch adds description on properties about location of FPGA RBFs are > stored, type and functionality of RBF used to configure FPGA. > > Signed-off-by: Tien Fong Chee

Re: [U-Boot] [PATCH v2 10/19] arm: socfpga: Rename the gen5 sdram driver to more specific name

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Current sdram driver is only applied to gen5 device, hence it is better > to rename sdram driver to more specific name which is related to gen5 > device. > > Signed-off-by: Tien Fong

Re: [U-Boot] [PATCH v2 07/19] fdt: Add compatible strings for Arria 10

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Add compatible strings for Intel Arria 10 SoCFPGA device. > > Signed-off-by: Tien Fong Chee Applied, thanks > --- > include/fdtdec.h | 2 ++ > lib/fdtdec.c

Re: [U-Boot] [PATCH v2 09/19] arm: socfpga: Add drivers for programing FPGA from flash

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > These drivers handle FPGA program operation from flash loading > RBF to memory and then to program FPGA. > > Signed-off-by: Tien Fong Chee Did you run

Re: [U-Boot] [PATCH v2 11/19] arm: socfpga: Add DRAM bank size initialization function

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Add function for both multiple DRAM bank and single DRAM bank size > initialization. This common functionality could be used by every single > SOCFPGA board. > > Signed-off-by: Tien Fong

Re: [U-Boot] [PATCH v2 16/19] arm: socfpga: Enhance Intel SoCFPGA program header to support Arria 10

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Enhance preloader header with both additional program length and program > entry offset attributes, which offset is relative to the start of program > header. > > Signed-off-by: Tien

Re: [U-Boot] [PATCH v2 12/19] arm: socfpga: Add DDR driver for Arria 10

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Add DDR driver suppport for Arria 10. > > Signed-off-by: Tien Fong Chee > --- > arch/arm/mach-socfpga/include/mach/sdram.h | 2 + >

Re: [U-Boot] [PATCH v2 05/19] arm: socfpga: Enhance FPGA program write rbf data with size >= 4 bytes

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Existing FPGA program write is always assume RBF data >= 32 bytes, so > any rbf data less than 32 bytes writing to FPGA would be failed. > This patch enhances the FPGA program write to

Re: [U-Boot] [PATCH v2 14/19] arm: socfpga: Enable build for DDR Arria 10

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This patch is for enabling the DDR support on Arria 10. > > Signed-off-by: Tien Fong Chee > --- > drivers/ddr/altera/Makefile | 1 + > 1 file changed, 1

Re: [U-Boot] [PATCH v2 17/19] arm: socfpga: Adding clock frequency info for U-boot

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Clock frequency info is required in U-boot. > > Signed-off-by: Tien Fong Chee I want a TB on Gen 5 > --- > arch/arm/mach-socfpga/board.c | 6 ++ > 1

Re: [U-Boot] [PATCH v2 19/19] arm: socfpga: Enable SPL loading U-boot to DDR and booting U-boot

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Enable SPL loading U-boot from SDMMC to DDR and booting U-boot. This patch seems to be doing more than just one thing ... > Signed-off-by: Tien Fong Chee >

Re: [U-Boot] [PATCH] drivers: pci: imx: add imx_pcie_remove function

2017-09-25 Thread Marek Vasut
On 09/25/2017 11:05 AM, David Müller (ELSOFT AG) wrote: > Marek Vasut wrote: > >> On 09/22/2017 04:00 PM, David Müller (ELSOFT AG) wrote: >>> On my custom MX6Q board, the code hangs on the read of the >>> "PCIE_PL_PFLR". Please note that this code sequence is not entered >>> the first time after

Re: [U-Boot] [PATCH v2 15/19] arm: socfpga: Add support to memory allocation in SPL

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Add support to memory allocation in SPL for preparation to enable FAT > in SPL. Memory allocation is needed by FAT to work properly. > > Signed-off-by: Tien Fong Chee

Re: [U-Boot] [PATCH v2 08/19] fs: Enable generic filesystems interface support in SPL.

2017-09-25 Thread Marek Vasut
On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Enable generic filesystem interface drivers(fs.c and fat/) build > for SPL. This would allow generic filesystem being used in SPL. > > Signed-off-by: Tien Fong Chee

Re: [U-Boot] [PATCH] sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation

2017-09-25 Thread Jagan Teki
On Wed, Sep 13, 2017 at 3:09 PM, Lukasz Majewski wrote: > The content of Bank Address Register (BAR) is volatile. It is cleared > after power cycle or reset command (RESET F0h). > > Some memories (like e.g. s25fl256s) use it to access memory larger than > 0x100 (16 MiB). > >

Re: [U-Boot] [PATCH V4 1/5] arm: dts: da850: Migrate da850-evm DTS files from Linux 4.13-RC5

2017-09-25 Thread Jagan Teki
On Mon, Sep 18, 2017 at 7:13 AM, Adam Ford wrote: > A few small additional items are needed to support DM_SPI and > DM_SERIAL, so those were added to da850-evm-u-boot.dtsi > > Signed-off-by: Adam Ford > --- > V4: Re-sync with latest master > V3: New to

Re: [U-Boot] [PATCH] SPL: SPI: sunxi: add SPL FIT image support

2017-09-25 Thread Maxime Ripard
On Fri, Sep 22, 2017 at 09:57:22PM +, Andre Przywara wrote: > The sunxi-specific SPI load routine only knows how to load a legacy > U-Boot image. > Teach it how to handle FIT images as well, simply by providing the > existing SPL FIT loader with the right loader routine to access the SPI > NOR

Re: [U-Boot] [PATCH 10/10] efi_selftest: check notification of ExitBootServices

2017-09-25 Thread Heinrich Schuchardt
On 09/25/2017 04:12 AM, Simon Glass wrote: > Hi Heinrich, > > On 15 September 2017 at 02:06, Heinrich Schuchardt wrote: >> Check that the notification function of an >> EVT_SIGNAL_EXIT_BOOT_SERVICES event is called >> exactly once. >> >> Signed-off-by: Heinrich Schuchardt

[U-Boot] [PATCH v3 0/3] STiH410-B2260: update environment/configuration settings

2017-09-25 Thread patrice.chotard
From: Patrice Chotard Update the CONFIG_EXTRA_ENV_SETTINGS, BOOT_TARGET_DEVICES and CONFIG_BOOTARGS Fix SDRAM size v3: fix typo in patch 2 v2: rebase on v2017.09 Lee Jones (1): board: STiH410-B2260: set ramdisk_addr_r to 0x4800 Nicolas Le Bayon (1): board:

Re: [U-Boot] [PATCH] sf: Fix S25FL116K entry

2017-09-25 Thread Jagan Teki
On Fri, Sep 15, 2017 at 2:45 AM, Marek Vasut wrote: > The flash chip is 2 MiB , organized as 32 x 64 kiB sectors . > Rectify the entry to match the datasheet, reality and Linux SNOR IDs. > > Signed-off-by: Marek Vasut > Cc: Jagan Teki Applied

Re: [U-Boot] [PATCH] GPT: fix memory leaks identified by Coverity

2017-09-25 Thread Łukasz Majewski
On 09/25/2017 02:37 AM, ali...@peloton-tech.com wrote: From: Alison Chaiken Create a common exit for most of the error handling code in do_rename_gpt_parts. Delete the list elements in disk_partitions before calling INIT_LIST_HEAD from get_gpt_info() a second time. The

[U-Boot] [PATCH v2 01/19] ARM: socfpga: add bindings doc for arria10 fpga manager

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee This DT binding doc is porting from Linux DT binding doc. commit 1adcbea4201a6852362aa5ece573f1f169b28113 Add a device tree bindings document for the SoCFPGA Arria10 FPGA Manager driver. Signed-off-by: Alan Tull

[U-Boot] [PATCH v2 02/19] doc: dtbinding: Description on FPGA RBF properties at Arria 10 FPGA manager

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee This patch adds description on properties about location of FPGA RBFs are stored, type and functionality of RBF used to configure FPGA. Signed-off-by: Tien Fong Chee ---

[U-Boot] [PATCH v2 00/19] Add FPGA, SDRAM, SPL loads U-boot & booting to console

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee This patchset adding FPGA and SDRAM drivers, enable fpga loadfs to program FPGA , SPL loading U-boot and booting to U-boot console. This version mainly resolved comments from Marek in [v1]. This series is working on top of u-boot.git -

[U-Boot] [PATCH v2 05/19] arm: socfpga: Enhance FPGA program write rbf data with size >= 4 bytes

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee Existing FPGA program write is always assume RBF data >= 32 bytes, so any rbf data less than 32 bytes writing to FPGA would be failed. This patch enhances the FPGA program write to support rbf data with size >= 4 bytes. Signed-off-by: Tien Fong

[U-Boot] [PATCH v2 04/19] arm: socfpga: Add Arria 10 SoCFPGA programming interface

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee Add code necessary into the FPGA driver framework in U-Boot so it can be used via the 'fpga' command for programing Arria 10 SoCFPGA. Signed-off-by: Tien Fong Chee --- cmd/fpga.c| 2 +- drivers/fpga/altera.c

[U-Boot] [PATCH v2 03/19] dts: Add FPGA bitstream properties to Arria 10 DTS

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee These FPGA bitstream properties would help bootloader to understand how to configure FPGA and where to look the FPGA RBF files during booting. Signed-off-by: Tien Fong Chee --- arch/arm/dts/socfpga_arria10.dtsi | 3 +++

[U-Boot] [PATCH v2 14/19] arm: socfpga: Enable build for DDR Arria 10

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee This patch is for enabling the DDR support on Arria 10. Signed-off-by: Tien Fong Chee --- drivers/ddr/altera/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ddr/altera/Makefile

[U-Boot] [PATCH v2 12/19] arm: socfpga: Add DDR driver for Arria 10

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee Add DDR driver suppport for Arria 10. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/include/mach/sdram.h | 2 + arch/arm/mach-socfpga/include/mach/sdram_arria10.h | 103 ++-

[U-Boot] [PATCH v2 10/19] arm: socfpga: Rename the gen5 sdram driver to more specific name

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee Current sdram driver is only applied to gen5 device, hence it is better to rename sdram driver to more specific name which is related to gen5 device. Signed-off-by: Tien Fong Chee ---

[U-Boot] [PATCH v2 07/19] fdt: Add compatible strings for Arria 10

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee Add compatible strings for Intel Arria 10 SoCFPGA device. Signed-off-by: Tien Fong Chee --- include/fdtdec.h | 2 ++ lib/fdtdec.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/fdtdec.h

[U-Boot] [PATCH v2 15/19] arm: socfpga: Add support to memory allocation in SPL

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee Add support to memory allocation in SPL for preparation to enable FAT in SPL. Memory allocation is needed by FAT to work properly. Signed-off-by: Tien Fong Chee --- include/configs/socfpga_common.h | 23

[U-Boot] [PATCH v2 11/19] arm: socfpga: Add DRAM bank size initialization function

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee Add function for both multiple DRAM bank and single DRAM bank size initialization. This common functionality could be used by every single SOCFPGA board. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/board.c

[U-Boot] [PATCH v2 09/19] arm: socfpga: Add drivers for programing FPGA from flash

2017-09-25 Thread tien . fong . chee
From: Tien Fong Chee These drivers handle FPGA program operation from flash loading RBF to memory and then to program FPGA. Signed-off-by: Tien Fong Chee --- .../include/mach/fpga_manager_arria10.h| 27 ++

Re: [U-Boot] [PATCH v3 0/6] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-09-25 Thread Andy Yan
Hi Philipp, Heiko: I finally got the upstream u-boot run on a rk3188 board which can be attached by DS5 debugger, if you have some registers info want to check, please let me know. On 2017年09月21日 18:44, Heiko Stübner wrote: Am Donnerstag, 21. September 2017, 12:25:17 CEST schrieb Dr.

  1   2   >