Re: [U-Boot] [PATCH] rtc: mc146818: Correct alarm message for day alarm

2017-10-24 Thread Bin Meng
Hi Tom, On Tue, Oct 17, 2017 at 11:19 PM, Bin Meng wrote: > RTC_CONFIG_D register contains the day within the month to generate > an alarm, not the month. This corrects the printf to indicate it. > > Signed-off-by: Bin Meng > --- > > drivers/rtc/mc146818.c | 2 +- > 1 file changed, 1 insertion(

Re: [U-Boot] [PATCH v3 0/2] sunxi: Fix boot of Cubietruk and al.

2017-10-24 Thread Maxime Ripard
On Fri, Oct 20, 2017 at 02:16:12PM +0200, Maxime Ripard wrote: > Hi > > Most featureful boards, such as the Cubietruck, have been broken since > the release 2017.09 (the two variants of the Olinuxino-Lime2 and the > cubietruck at least, possibly more since then). > > This is due to a size increas

Re: [U-Boot] Build failure in u-boot-mmc/master: undefined reference to error

2017-10-24 Thread Jaehoon Chung
On 10/24/2017 12:22 AM, Stephen Warren wrote: > On 10/22/2017 08:53 PM, Jaehoon Chung wrote: >> Dear Stephen, >> >> On 10/21/2017 12:47 AM, Stephen Warren wrote: >>> With the latest content of u-boot-mmc/master, 41dc35a149b3 "drivers: mmc: >>> Avoid memory leak in case of failure", all Tegra board

Re: [U-Boot] [PATCH] mmc: replace the printf() instead of error()

2017-10-24 Thread Jaehoon Chung
On 10/24/2017 11:38 AM, Masahiro Yamada wrote: > Hi Jaehoon > > 2017-10-23 13:49 GMT+09:00 Jaehoon Chung : >> On 10/23/2017 01:46 PM, Jaehoon Chung wrote: >>> Replace the printf() instead of error(). >>> It is occurred the compiler error with "undefined reference to 'error'". >>> >>> Fixes: e0079f

Re: [U-Boot] [GIT PULL] Please pull u-boot-mmc master

2017-10-24 Thread Jaehoon Chung
Dear Tom, On 10/23/2017 01:54 PM, Jaehoon Chung wrote: > Dear Tom, > > Could you pull these patches to u-boot/master? > To develop the supporting HS200 mode, each host driver also needs to > implement something. > First step is the applying JJ's patches. Discard this PR. After checking more, i

Re: [U-Boot] [RFC] mmc: fsl_esdhc: Do not set high speed mode on MX25 and MX51

2017-10-24 Thread Fabio Estevam
Hi Benoît, On Mon, Oct 23, 2017 at 8:45 PM, Benoît Thébaudeau wrote: > The issue is the timeout in esdhc_setup_data() on line 309. If I > revert e978a31b and fb823981, then everything works fine. However, the > latest calculation is correct, so reverting these commits is not the > fix. Indeed, f

Re: [U-Boot] [PATCH v2] DW SPI: Get clock value from Device Tree

2017-10-24 Thread Jagan Teki
On Tue, Oct 24, 2017 at 11:38 AM, Marek Vasut wrote: > On 10/23/2017 01:43 PM, Eugeniy Paltsev wrote: >> On Thu, 2017-10-19 at 13:20 -0500, Dinh Nguyen wrote: >>> >>> On 10/19/2017 10:51 AM, Marek Vasut wrote: On 10/19/2017 05:36 PM, Eugeniy Paltsev wrote: > On Tue, 2017-10-17 at 20:32 +0

[U-Boot] [UBOOT PATCH 2/2] zynqmp: zcu102: Add qspi driver support for ZynqMP ZCU102 board

2017-10-24 Thread Siva Durga Prasad Paladugu
This patch adds qspi driver support for ZynqMP ZCU102 board. Signed-off-by: Siva Durga Prasad Paladugu --- configs/xilinx_zynqmp_zcu102_revB_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/xilinx_zynqmp_zcu102_revB_defconfig b/configs/xilinx_zynqmp_zcu102_revB_defcon

[U-Boot] [UBOOT PATCH 1/2] spi: zynqmp_qspi: Add support for ZynqMP qspi driver

2017-10-24 Thread Siva Durga Prasad Paladugu
This patch adds qspi driver support for ZynqMP SoC. This driver is responsible for communicating with qspi flash devices. Signed-off-by: Siva Durga Prasad Paladugu --- arch/arm/cpu/armv8/zynqmp/Kconfig | 7 + drivers/spi/Makefile | 1 + drivers/spi/zynqmp_qspi.c | 817 ++

[U-Boot] qemu and baremetal arm prog

2017-10-24 Thread Anupam Datta
For a Hello world uboot project I am using https://balau82.wordpress.com/2010/03/10/u-boot-for-arm-on-qemu/ tutorial. I have used GNU ARM toolchain Downloaded Uboot source : u-boot-2017.09 Compiled it make vexpress_ca9x4_defconfig ARCH=arm CROSS_COMPILE=../gcc-arm-none-eabi-6-2017-q2-update

Re: [U-Boot] [PATCH] image-sig: use designated initializers for algorithm

2017-10-24 Thread Simon Glass
On 23 October 2017 at 03:03, Masahiro Yamada wrote: > > Designated initializers are more readable because we do not > have to check the order in the struct definitions. > > Signed-off-by: Masahiro Yamada > --- > > common/image-sig.c | 44 ++-- > 1 file cha

Re: [U-Boot] [PATCH 2/2] armv8: sec_firmware: Add support for loadables in FIT

2017-10-24 Thread York Sun
On 10/23/2017 09:21 PM, Sumit Garg wrote: >> >> Sumit, >> >> If I understand you correctly, you are parsing the secure firmware FIT image >> to >> find the loadable node and store the 64-bit load address in the scratch >> registers. How do you determine which scratch registers to use? >> >> York

Re: [U-Boot] [PATCH 0/3] sunxi: Fix boot of Cubietruk and al.

2017-10-24 Thread Dennis Gilmore
El lun, 23-10-2017 a las 09:35 +0200, Maxime Ripard escribió: > On Fri, Oct 20, 2017 at 04:33:57PM -0500, Dennis Gilmore wrote: > > El jue, 19-10-2017 a las 16:58 +0200, Maxime Ripard escribió: > > > On Thu, Oct 19, 2017 at 03:42:11PM +0100, Andre Przywara wrote: > > > > Hi, > > > > > > > > On 19/

Re: [U-Boot] [PATCH 0/3] sunxi: Fix boot of Cubietruk and al.

2017-10-24 Thread Andre Przywara
Hi, On 24/10/17 18:05, Dennis Gilmore wrote: > El lun, 23-10-2017 a las 09:35 +0200, Maxime Ripard escribió: >> On Fri, Oct 20, 2017 at 04:33:57PM -0500, Dennis Gilmore wrote: >>> El jue, 19-10-2017 a las 16:58 +0200, Maxime Ripard escribió: On Thu, Oct 19, 2017 at 03:42:11PM +0100, Andre Prz

Re: [U-Boot] [U-Boot, 2/2] mtd: remove MTDDEBUG() and CONFIG_MTD_DEBUG

2017-10-24 Thread Tom Rini
On Wed, Oct 18, 2017 at 12:10:49AM +0900, Masahiro Yamada wrote: > All users of this macro have been converted. Remove MTDDEBUG and > related CONFIG options. > > ubifs_dbg_msg_key() is kept. It is silent unless DEBUG is defined. > > I am not touching scripts/config_whitelist.txt. The deprecat

Re: [U-Boot] simple-bus: remove DECLARE_GLOBAL_DATA_PTR

2017-10-24 Thread Tom Rini
On Tue, Oct 17, 2017 at 05:37:14PM +0900, Masahiro Yamada wrote: > No global pointer is used in this file. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot, v2] chiliboard config: use CONFIG_DEFAULT_FDT_FILE as env variable

2017-10-24 Thread Tom Rini
On Tue, Oct 17, 2017 at 02:06:33PM +0200, Michal Oleszczyk wrote: > Remove hardcoded ftd file name from environment variables. > Use CONFIG_DEFAULT_FDT_FILE macro instead. > > Signed-off-by: Michal Oleszczyk Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, v3, 3/6] disk: efi: correct the overlap check on GPT header and PTE

2017-10-24 Thread Tom Rini
On Wed, Oct 18, 2017 at 03:11:05PM +0200, Patrick Delaunay wrote: > the partition starting at 0x4400 is refused with overlap error: > $> gpt write mmc 0 "name=test,start=0x4400,size=0" > Writing GPT: Partition overlap > error! > > even if the 0x4400 is the first available offset for LBA35 w

Re: [U-Boot] rtc: mc146818: Correct alarm message for day alarm

2017-10-24 Thread Tom Rini
On Tue, Oct 17, 2017 at 08:19:33AM -0700, Bin Meng wrote: > RTC_CONFIG_D register contains the day within the month to generate > an alarm, not the month. This corrects the printf to indicate it. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] tools: image: fix node name of signature node in FIT

2017-10-24 Thread Tom Rini
On Thu, Oct 19, 2017 at 07:16:21PM +0900, Masahiro Yamada wrote: > Both "conf_name" and "sig_name" point to the name of config node. > The latter should be the name of the signature node. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,v3,1/6] test/py: gpt: copy persistent file

2017-10-24 Thread Tom Rini
On Wed, Oct 18, 2017 at 03:11:03PM +0200, Patrick Delaunay wrote: > copy the persistent gpt binary file as it can be modified during the test > that avoid issue if the test fail: the test always restart with clean file > > Acked-by: Stephen Warren > Signed-off-by: Patrick Delaunay Applied to u

Re: [U-Boot] [U-Boot, v3, 2/6] test/py: gpt: add test for sub-command read and verify

2017-10-24 Thread Tom Rini
On Wed, Oct 18, 2017 at 03:11:04PM +0200, Patrick Delaunay wrote: > add sandbox test for some gpt sub-command > - gpt read / part list : read the gpt partition created by sgdisk on host > test start, size, LBA and name output > - gpt verify : verify the gpt partition create by sgdisk on host >

Re: [U-Boot] [U-Boot,1/1] Kconfig: add CONFIG_BROKEN

2017-10-24 Thread Tom Rini
On Thu, Oct 19, 2017 at 11:49:19PM +0200, Heinrich Schuchardt wrote: > Provide a Kconfig option that we can use as dependency for > features that are broken. This allows to easily disable them > without removing the code. > > As no short text is supplied the option will not appear in > menuconfig

Re: [U-Boot] [U-Boot, v3, 6/6] cmd: gpt: solve issue for swap and rename command

2017-10-24 Thread Tom Rini
On Wed, Oct 18, 2017 at 03:11:08PM +0200, Patrick Delaunay wrote: > don't use prettyprint_part_size() in create_gpt_partitions_list() > that avoid to align offset and size to 1 MiB and increase precision for > start and size. > This patch avoid the risk to change partition size and lost data durin

Re: [U-Boot] [U-Boot, v3, 4/6] test/py: gpt: add test for sub-command write

2017-10-24 Thread Tom Rini
On Wed, Oct 18, 2017 at 03:11:06PM +0200, Patrick Delaunay wrote: > + test write for one partition on all the device (size=0) > + test write with disk uuid and 2 partitions > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v3, 5/6] test/py: gpt: test start LBA for sub-command rename and swap

2017-10-24 Thread Tom Rini
On Wed, Oct 18, 2017 at 03:11:07PM +0200, Patrick Delaunay wrote: > Add test of first and last LBA in gpt for rename and swap. > Only the name is expected to change, so test 3 columns > for part command > 1: first LBA (start) > 2: last LBA (end) > 3: partition name > > After rename, the last LBA

Re: [U-Boot] doc: verified-boot: fix crypto algorithm examples

2017-10-24 Thread Tom Rini
On Thu, Oct 19, 2017 at 07:37:59PM +0900, Masahiro Yamada wrote: > As you see in crypto_algos in common/image-sig.c, the algorithm > should be either "rsa2048" or "rsa4096". "rs2048" is a typo. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --

Re: [U-Boot] test/py: fix typos in README.md

2017-10-24 Thread Tom Rini
On Thu, Oct 19, 2017 at 07:08:52PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Reviewed-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] qemu and baremetal arm prog

2017-10-24 Thread Wolfgang Denk
Dear Anupam, In message you wrote: > > printf "bootm 0x%X\n" $(expr $(stat -c%s u-boot.bin) + 65536) > bootm 0x218F20 The value 0x218F20 printed here is the offset where your image starts relative to the begin of the U-Boot binary. > **Then run :** > > qemu-system-arm -M vexpress-

Re: [U-Boot] [PATCH] ARM: SPL: FIT: fix DTC warnings on FIT generation

2017-10-24 Thread André Przywara
On 24/10/17 03:31, Masahiro Yamada wrote: Hi, > 2017-10-24 11:03 GMT+09:00 Lokesh Vutla : >> >> >> On Tuesday 24 October 2017 02:04 AM, Tom Rini wrote: >>> On Mon, Oct 23, 2017 at 11:08:57AM +0530, Lokesh Vutla wrote: On Tuesday 17 October 2017 02:43 AM, Tom Rini wrote: > On Tu

Re: [U-Boot] fsl_esdhc driver is broken with DM

2017-10-24 Thread Jagan Teki
To all guys @ELCE, Can we setup a formal meeting to discuss about ' U-Boot regression and test suit setup' Do you think? On 16-Oct-2017 10:51 PM, "Jagan Teki" wrote: On Fri, Oct 13, 2017 at 7:03 PM, Fabio Estevam wrote: > Hi Lukasz, > > On Fri, Oct 13, 2017 at 5:16 AM, Lukasz Majewski wrote:

Re: [U-Boot] [PATCH v1] spl: add support to booting with ATF

2017-10-24 Thread Peng Fan
> diff --git a/common/spl/spl_atf.c b/common/spl/spl_atf.c new file mode > 100644 index 000..ec3f675 > --- /dev/null > +++ b/common/spl/spl_atf.c > @@ -0,0 +1,92 @@ > +/* > + * Reference to the ARM TF Project, > + * plat/arm/common/arm_bl2_setup.c > + * Portions copyright (c) 2013-2016, ARM Lim

Re: [U-Boot] [PATCH 2/2] armv8: sec_firmware: Add support for loadables in FIT

2017-10-24 Thread Sumit Garg
> -Original Message- > From: York Sun > Sent: Tuesday, October 24, 2017 8:00 PM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; Z.q. Hou ; Pankaj > Gupta ; Arun Pathak ; Sahil > Malhotra > Subject: Re: [PATCH 2/2] armv8: sec_firmware: Add support for lo

Re: [U-Boot] [PATCH v2] DW SPI: Get clock value from Device Tree

2017-10-24 Thread Marek Vasut
On 10/24/2017 11:52 AM, Jagan Teki wrote: > On Tue, Oct 24, 2017 at 11:38 AM, Marek Vasut wrote: >> On 10/23/2017 01:43 PM, Eugeniy Paltsev wrote: >>> On Thu, 2017-10-19 at 13:20 -0500, Dinh Nguyen wrote: On 10/19/2017 10:51 AM, Marek Vasut wrote: > On 10/19/2017 05:36 PM, Eugeniy Pa