Re: [U-Boot] [PATCH v3 0/9] Bring in new I2C framework

2013-06-20 Thread Heiko Schocher
Hello Piotr, Am 20.06.2013 10:34, schrieb Piotr Wilczek: > Dear Minkyu and Heiko, > >> -Original Message----- >> From: Heiko Schocher [mailto:h...@denx.de] >> Sent: Thursday, June 20, 2013 9:14 AM >> To: Piotr Wilczek >> Cc: 'Minkyu Kang'; 

Re: [U-Boot] Not abled to upload binary using "dfu-util"

2013-06-20 Thread Heiko Schocher
Hello Sumit, Am 20.06.2013 10:44, schrieb Sumit Gemini: > Hi All, > > I am trying to upload images from dfu devices to PC, but > > "Copying data from DFU device to PC > Starting upload: [] finished! > Received a total of 1 bytes" > > error i got, > > > do not know why i getting this kind

[U-Boot] [PATCH v3] dfu, nand: before write a buffer to nand, erase the nand sectors

2013-06-20 Thread Heiko Schocher
on, if the erasing range contains bad blocks. So a limit option is added to nand_erase_opts() Signed-off-by: Heiko Schocher Cc: Scott Wood Cc: Pantelis Antoniou Cc: Lukasz Majewski Cc: Kyungmin Park Cc: Marek Vasut Cc: Tom Rini --- - changes for v2: - use opts.spread as Scott Wood

Re: [U-Boot] [PATCH] nand: Don't call adjust_size_for_badblocks for erase

2013-06-20 Thread Heiko Schocher
means that if bad blocks are present, > the "nand erase.part" and "nand erase.chip" commands will fail to erase > blocks at the end of the interval. > > Signed-off-by: Scott Wood > Cc: Harvey Chapman > --- > common/cmd_nand.c |9 +---- > 1 fi

Re: [U-Boot] [PATCH v2] gpio: omap_gpio: Fix valid gpio range for AM33XX

2013-06-21 Thread Heiko Schocher
Hello Lubomir, Am 21.06.2013 09:44, schrieb Lubomir Popov: > One more thing that perhaps seems more reasonable in general: > > These OMAP_MAX_GPIO defines could go into the corresponding .../arch-omap*.h > files, where the base addresses are defined, and the number of GPIOs is > implicitly obviou

Re: [U-Boot] [PATCH] arm, am33xx: move s_init to a common place

2013-06-24 Thread Heiko Schocher
Hello Lokesh, Am 24.06.2013 06:01, schrieb Lokesh Vutla: > Hi Heiko, > On Thursday 20 June 2013 09:22 AM, Heiko Schocher wrote: >> Hello Tom, >> >> Am 14.06.2013 16:58, schrieb Tom Rini: >>> On Fri, Jun 14, 2013 at 07:59:26AM +0200, Heiko Schocher wrote: >>&

[U-Boot] [PATCH v4] dfu, nand: before write a buffer to nand, erase the nand sectors

2013-06-24 Thread Heiko Schocher
on, if the erasing range contains bad blocks. So a limit option is added to nand_erase_opts() Signed-off-by: Heiko Schocher Cc: Scott Wood Cc: Pantelis Antoniou Cc: Lukasz Majewski Cc: Kyungmin Park Cc: Marek Vasut Cc: Tom Rini --- - changes for v2: - use opts.spread as Scott Wood

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-24 Thread Heiko Schocher
Hello Lokesh, Am 24.06.2013 15:15, schrieb Lokesh Vutla: > Locking sequence for all the dplls is same. > In the current code same sequence is done repeatedly > for each dpll. Instead have a generic function > for locking dplls and pass dpll data to that function. > > This is derived from OMAP4 bo

Re: [U-Boot] [PATCH 3/4] ARM: AM33xx: Move s_init to a common place

2013-06-24 Thread Heiko Schocher
Hello Lokesh, Am 24.06.2013 15:15, schrieb Lokesh Vutla: > From: Heiko Schocher > > s_init has the same outline for all the AM33xx based > board. So making it generic. > This also helps in addition of new Soc with minimal changes. > > Signed-off-by: Lokesh Vutla &

Re: [U-Boot] [PATCH 4/4] musb: Disable extra prints

2013-06-24 Thread Heiko Schocher
ew/musb_core.c | 18 +++--- > 1 file changed, 7 insertions(+), 11 deletions(-) Acked-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany _

Re: [U-Boot] [PATCH] ARM: OMAP: GPIO: Fix valid range and enable usage of all GPIOs on OMAP5

2013-06-24 Thread Heiko Schocher
io_count() function to get gpio > count [4] > > [1] http://lists.denx.de/pipermail/u-boot/2013-June/156980.html > [2] http://lists.denx.de/pipermail/u-boot/2013-June/156981.html > [3] http://lists.denx.de/pipermail/u-boot/2013-June/156984.html > [4] http://lists.denx.de/pipermail/u-boot/20

Re: [U-Boot] [PATCH 3/4] ARM: AM33xx: Move s_init to a common place

2013-06-24 Thread Heiko Schocher
Hello Tom, Am 24.06.2013 21:31, schrieb Tom Rini: > On 06/24/2013 03:17 PM, Heiko Schocher wrote: >> Hello Lokesh, > [snip] >>> + /* Enable RTC32K clock */ + rtc32k_enable(); > >> I tried your patches on my three boards. The board with the >> rtc32k

Re: [U-Boot] [PATCH 2/4] usb:composite: use memcpy to avoid unaligned access

2013-06-24 Thread Heiko Schocher
Hello Prafulla, just saw, that the below patch is delegated to you: (added also Marek Vasut to cc, as he is the usb maintainer) Am 10.04.2013 14:07, schrieb Piotr Wilczek: > This patch memcpy is used instead of an assignment to > avoid unaligned access execption on some ARM platforms. > > Signed

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-24 Thread Heiko Schocher
Hello Lokesh, Am 25.06.2013 05:48, schrieb Lokesh Vutla: > Hi Heiko, > On Tuesday 25 June 2013 12:42 AM, Heiko Schocher wrote: >> Hello Lokesh, >> >> Am 24.06.2013 15:15, schrieb Lokesh Vutla: >>> Locking sequence for all the dplls is same. >>> In the cur

Re: [U-Boot] [PATCH 3/4] ARM: AM33xx: Move s_init to a common place

2013-06-24 Thread Heiko Schocher
ue, Jun 25, 2013 at 1:14 AM, Heiko Schocher <mailto:h...@denx.de>> wrote: > > Hello Tom, > > Am 24.06.2013 21 :31, schrieb Tom Rini: > > On 06/24/2013 03:17 PM, Heiko Schocher wrote: > >> Hello Lokesh, > > [snip] > >>> +

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-25 Thread Heiko Schocher
Hello Lokesh, Am 25.06.2013 07:39, schrieb Lokesh Vutla: > Hi Heiko, > On Tuesday 25 June 2013 10:24 AM, Heiko Schocher wrote: >> Hello Lokesh, >> >> Am 25.06.2013 05:48, schrieb Lokesh Vutla: >>> Hi Heiko, >>> On Tuesday 25 June 2013 12:42 A

[U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Heiko Schocher
Hello, using "dfu-util -l" shows different output connecting to an am335x based board and using dfu_nand.c with current u-boot: after resetting the board I get: # dfu-util -l dfu-util 0.5 (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc. (C) 2010-2011 Tormod Volden (DfuSe support)

Re: [U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Heiko Schocher
r ... or? > Let's wait until Tom wakes up and have an authoritative answer. Ok! bye, Heiko > > Regards > > -- Pantelis > > On Jun 25, 2013, at 11:08 AM, Heiko Schocher wrote: > >> Hello, >> >> using "dfu-util -l" shows different

Re: [U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Heiko Schocher
ilitate automated flashing). Hmm... I digged into the code, but not really found a place where I have to start. Can you give me a hint where to start? So maybe, I can do it? Thanks! bye, Heiko >>> Let's wait until Tom wakes up and have an authoritative answer. >> >> Ok! &

Re: [U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Heiko Schocher
Hello Lukasz, Am 25.06.2013 12:29, schrieb Lukasz Majewski: > Hi Heiko, > >> Hello Lukasz, >> >> Am 25.06.2013 10:44, schrieb Lukasz Majewski: >>> Hi Heiko, >>> Hello Pantelis, Am 25.06.2013 10:16, schrieb Pantelis Antoniou: > Heiko, > > I don't think the gadget is init

[U-Boot] [PATCH] usb, dfu gadget: switch to dfu mode in dfu_bind

2013-06-25 Thread Heiko Schocher
hout doing a download before. See also discussion here: http://lists.denx.de/pipermail/u-boot/2013-June/157272.html Signed-off-by: Heiko Schocher Cc: Lukasz Majewski Cc: Pantelis Antoniou Cc: Tom Rini Cc: Kyungmin Park Cc: Marek Vasut Cc: Wolfgang Denk Cc: Samuel Egli --- drivers/usb/gad

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-25 Thread Heiko Schocher
Hello Lokesh, Am 25.06.2013 10:17, schrieb Lokesh Vutla: > Hi Heiko, > On Tuesday 25 June 2013 12:35 PM, Heiko Schocher wrote: >> Hello Lokesh, >> >> Am 25.06.2013 07:39, schrieb Lokesh Vutla: >>> Hi Heiko, >>> On Tuesday 25 June 2013 10:24 A

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-25 Thread Heiko Schocher
ons(-) > create mode 100644 arch/arm/cpu/armv7/am33xx/clock.c Acked-by: Heiko Schocher Tested on 3 am335x boards (no need anymore to set mpu_pll twice on this boards :-), so: Tested-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-25 Thread Heiko Schocher
ons(-) > create mode 100644 arch/arm/cpu/armv7/am33xx/clock.c Acked-by: Heiko Schocher Tested on 3 am335x boards so: Tested-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenze

Re: [U-Boot] [PATCH 2/4] ARM: AM33xx: Cleanup clocks layer

2013-06-25 Thread Heiko Schocher
es changed, 193 insertions(+), 233 deletions(-) Acked-by: Heiko Schocher Tested on 3 am335x boards, so: Tested-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

[U-Boot] U-Boot: am335x video support

2013-06-25 Thread Heiko Schocher
Hello, is in current U-Boot a lcd driver for the am335x integrated LCD controller? If yes, also with Splash screen support? Thanks! bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany _

Re: [U-Boot] U-Boot: am335x video support

2013-06-26 Thread Heiko Schocher
I flash attached. So you > probably need some commands to load the spashscreen from a flash device > and then use the 'bmp' command to display it. This should work with all > video drivers. Yep. bye, Heiko > Matthias > > On 26.06.2013 08:29, Heiko Schocher wrote: >&

Re: [U-Boot] [PATCH] dfu:function: Fix number of allocated DFU function pointers

2013-06-26 Thread Heiko Schocher
gt; With the previous code, the NULL value overwrites malloc internal data > and afterwards free(f_dfu->function) crashes. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Marek Vasut > --- > drivers/usb/gadget/f_dfu.c |2 +- > 1 file changed

[U-Boot] [PATCH] usb: fix unaligned access in device_qual()

2013-06-27 Thread Heiko Schocher
is that in the "struct usb_composite_dev" the "struct usb_device_descriptor desc;" is on an odd address, and this struct gets accessed in drivers/usb/gadget/composite.c device_qual() Fix it, by align this var "struct desc" fix to an aligned address. Signed-off-by: Heiko Scho

[U-Boot] net, phy: wrong 1000BASE detection with a lan9303 switch

2013-07-10 Thread Heiko Schocher
Hello, I have problems with a lan9303 switch on an am335x based board, which does not support 1000FD/HD modes, but as it set BMSR_ERCAP bit in BMSR and returns 0x for reads on the MII_STAT1000 and MII_CTRL1000 registers, u-boot code detects SPEED_1000 in drivers/net/phy/phy.c genphy_parse_lin

Re: [U-Boot] net, phy: wrong 1000BASE detection with a lan9303 switch

2013-07-10 Thread Heiko Schocher
Hello, Am 10.07.2013 12:09, schrieb Heiko Schocher: Hello, I have problems with a lan9303 switch on an am335x based board, which does not support 1000FD/HD modes, but as it set BMSR_ERCAP bit in BMSR and returns 0x for reads on the MII_STAT1000 and MII_CTRL1000 registers, u-boot code

Re: [U-Boot] net, phy: wrong 1000BASE detection with a lan9303 switch

2013-07-10 Thread Heiko Schocher
Hello Wolfgang, Am 10.07.2013 13:15, schrieb Wolfgang Denk: Dear Heiko, In message<51dd3d92.8050...@denx.de> you wrote: Would this be an acceptable patch for it: ... @@ -300,6 +300,10 @@ int genphy_parse_link(struct phy_device *phydev) * both PHYs in the link

[U-Boot] [PATCH 1/2] dfu, nand, ubi: add partubi alt settings for updating ubi partition

2013-07-15 Thread Heiko Schocher
erase after flashing the image into the partition, the remaining sektors. Signed-off-by: Heiko Schocher Cc: Pantelis Antoniou Cc: Tom Rini Cc: Lukasz Majewski Cc: Kyungmin Park Cc: Marek Vasut Cc: Wolfgang Denk --- - This patch is also a good starting point to fix up updating ubi, as we

[U-Boot] [PATCH v2] dfu, nand, ubi: add partubi alt settings for updating ubi partition

2013-07-15 Thread Heiko Schocher
erase after flashing the image into the partition, the remaining sektors. Signed-off-by: Heiko Schocher Cc: Pantelis Antoniou Cc: Tom Rini Cc: Lukasz Majewski Cc: Kyungmin Park Cc: Marek Vasut Cc: Wolfgang Denk --- - This patch is also a good starting point to fix up updating ubi, as we

Re: [U-Boot] [PATCH v2] dfu, nand, ubi: add partubi alt settings for updating ubi partition

2013-07-15 Thread Heiko Schocher
Hello Marek, Am 16.07.2013 07:00, schrieb Marek Vasut: Dear Heiko Schocher, updating an ubi partition needs a completely erased mtd partition, see: http://lists.infradead.org/pipermail/linux-mtd/2011-May/035416.html So, add partubi alt setting for the dfu_alt_info environment variable to

Re: [U-Boot] [PATCH v2] dfu, nand, ubi: add partubi alt settings for updating ubi partition

2013-07-16 Thread Heiko Schocher
partition as an ubi partition. In case we update an ubi partition, we erase after flashing the image into the partition, the remaining sektors. Signed-off-by: Heiko Schocher Cc: Pantelis Antoniou Cc: Tom Rini Cc: Lukasz Majewski Cc: Kyungmin Park Cc: Marek Vasut Cc: Wolfgang Denk --- - This

Re: [U-Boot] [PATCH v2] dfu, nand, ubi: add partubi alt settings for updating ubi partition

2013-07-16 Thread Heiko Schocher
Hello Tom, Am 16.07.2013 17:14, schrieb Tom Rini: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/16/2013 12:54 AM, Heiko Schocher wrote: [snip] - This patch is also a good starting point to fix up updating ubi, as we currently use "nand erase" for erasing the sektors. This

Re: [U-Boot] [PATCH 9/9] USB: gadget: added a saner gadget downloader registration API

2014-01-12 Thread Heiko Schocher
probably need to apply the whole series for testing. I applied the hole series on current top of tree and tried dfu download for the rootfs nand mtd partition on the siemens dxr2 board. Test looks good, so: Tested-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] [U-Boot, v1, 2/2] i2c: zynq: Add support for the second i2c controller

2014-01-12 Thread Heiko Schocher
Hello Michel, Am 03.01.2014 10:45, schrieb Michal Simek: From: Michael Burr Initialize the second i2c controller. Signed-off-by: Michael Burr Signed-off-by: Michal Simek --- Changes in v1: - Based on original thread from Michael Burr http://lists.denx.de/pipermail/u-boot/2013-October/16501

Re: [U-Boot] [U-Boot, v1, 2/2] i2c: zynq: Add support for the second i2c controller

2014-01-13 Thread Heiko Schocher
Hello Michael, Am 13.01.2014 08:53, schrieb Michal Simek: On 01/13/2014 08:32 AM, Heiko Schocher wrote: Hello Michel, Am 03.01.2014 10:45, schrieb Michal Simek: From: Michael Burr Initialize the second i2c controller. Signed-off-by: Michael Burr Signed-off-by: Michal Simek --- Changes in

Re: [U-Boot] [PATCH] drivers/designware_i2c - add suppor of CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW

2014-01-16 Thread Heiko Schocher
Hello Alexey, Am 15.01.2014 16:37, schrieb Alexey Brodkin: On Mon, 2013-12-16 at 15:30 +0400, Alexey Brodkin wrote: Since we agreed on legacy implementation of "eeprom_{read|write}" (http://patchwork.ozlabs.org/patch/295825/) I had to fix/make it work again DesignWare I2C driver for cases when

Re: [U-Boot] [U-Boot, v1, 2/2] i2c: zynq: Add support for the second i2c controller

2014-01-16 Thread Heiko Schocher
Hello Michal, Am 13.01.2014 09:23, schrieb Michal Simek: On 01/13/2014 09:10 AM, Heiko Schocher wrote: Hello Michael, Am 13.01.2014 08:53, schrieb Michal Simek: On 01/13/2014 08:32 AM, Heiko Schocher wrote: Hello Michel, Am 03.01.2014 10:45, schrieb Michal Simek: From: Michael Burr

Re: [U-Boot] U-boot memory test results

2014-01-17 Thread Heiko Schocher
Hello aryanlak, Am 17.01.2014 09:11, schrieb aryanlak: Hi all, I want to perform memory test (FLASH) during U-boot and read the results after the operating system (Linux) is booted up. Is it possible? If so, can anyone guide me to do so? On which plattform do you want to try this? You can ac

[U-Boot] [i2c] Pull request

2014-01-17 Thread Heiko Schocher
Hello Tom, please pull some small fixes from u-boot-i2c.git Thanks! The following changes since commit 7f673c99c2d8d1aa21996c5b914f06d784b080ca: Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-01-10 10:56:00 -0500) are available in the git repository at: git://git.denx.de/u

Re: [U-Boot] [U-Boot, v1, 2/2] i2c: zynq: Add support for the second i2c controller

2014-01-20 Thread Heiko Schocher
Hello Michal, Am 20.01.2014 10:22, schrieb Michal Simek: On 01/17/2014 07:43 AM, Heiko Schocher wrote: Hello Michal, Am 13.01.2014 09:23, schrieb Michal Simek: On 01/13/2014 09:10 AM, Heiko Schocher wrote: Hello Michael, Am 13.01.2014 08:53, schrieb Michal Simek: On 01/13/2014 08:32 AM

[U-Boot] [i2c] v2 Pull request

2014-01-20 Thread Heiko Schocher
Hello Tom Updated pull request for u-boot-i2c, as the zynq patches had problems, see: http://lists.denx.de/pipermail/u-boot/2014-January/171352.html So, here the correct pull-request: The following changes since commit 7f673c99c2d8d1aa21996c5b914f06d784b080ca: Merge branch 'master' of git:/

[U-Boot] [PATCH] common, itest: pass u-boot env variables to itest.s

2014-01-24 Thread Heiko Schocher
_ver diff => setenv tmp U-Boot 2013.10-g75eb4bc (Jan 21 2014 - 10:35:39)MPC83XX => print tmp ver tmp=U-Boot 2013.10-g75eb4bc (Jan 21 2014 - 10:35:39)MPC83XX ver=U-Boot 2013.10-g75eb4bc (Jan 21 2014 - 10:35:39)MPC83XX => run check_ub_ver equal Signed-off-by: Heiko Schocher --- commo

[U-Boot] [PATCH] common, ubi: add ubi check volumename command

2014-01-24 Thread Heiko Schocher
check with this ubi command, if a UBI volume with "volumename" exists in current ubi device. Signed-off-by: Heiko Schocher --- common/cmd_ubi.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c index 122ba7e..7c4d

[U-Boot] [PATCH] i2c, bootcount: add support for bootcounter on i2c devices

2014-01-24 Thread Heiko Schocher
add support for bootcounter on an i2c device. And add a README for all bootcounter options. Signed-off-by: Heiko Schocher --- README| 20 ++ drivers/bootcount/Makefile| 1 + drivers/bootcount/bootcount_i2c.c | 44

[U-Boot] [PATCH 6/7] tools, fit: add fit_info host command

2014-01-24 Thread Heiko Schocher
add fit_info command to the host tools. This command prints the name, offset and the len from a property from a node in a fit file. This info can be used to extract a properties data with linux tools, for example "dd". Signed-off-by: Heiko Schocher --- Makefile | 1 + tool

[U-Boot] [PATCH 2/7] fdt: add "fdt sign" command

2014-01-24 Thread Heiko Schocher
check if a fdt is correct signed pass an optional addr value. Contains the addr of the key blob Signed-off-by: Heiko Schocher Cc: Simon Glass --- common/cmd_fdt.c | 38 +- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/common/cmd_fdt.c b

[U-Boot] [PATCH 7/7] tools, fit_check_sign: verify a signed fit image

2014-01-24 Thread Heiko Schocher
add host tool "fit_check_sign" which verifies, if a fit image is signed correct. Signed-off-by: Heiko Schocher --- Makefile | 1 + common/image-sig.c | 22 ++--- include/fdt_support.h | 5 +++ include/image.h| 16 --- lib/libfdt/fdt_wip

[U-Boot] [PATCH 5/7] rsa: add sha256,rsa4096 algorithm

2014-01-24 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Cc: Simon Glass --- common/image-sig.c | 23 ++ include/image.h| 1 + include/rsa-checksum.h | 1 + include/rsa.h | 10 lib/rsa/rsa-checksum.c | 65 -- lib/rsa/rsa

[U-Boot] [PATCH 4/7] rsa: add sha256-rsa2048 algorithm

2014-01-24 Thread Heiko Schocher
based on patch from andr...@oetken.name: http://patchwork.ozlabs.org/patch/294318/ - removed checkpatch warnings - removed compiler warnings - rebased against current head Signed-off-by: Heiko Schocher Cc: Simon Glass Cc: andr...@oetken.name --- common/image-sig.c | 33

[U-Boot] [PATCH 1/7] tools/image-host: fix sign-images bug

2014-01-24 Thread Heiko Schocher
property "sign-images" is never found, fix this. Signed-off-by: Heiko Schocher Cc: Simon Glass --- tools/image-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/image-host.c b/tools/image-host.c index 0d5c88c..8e185ec 100644 --- a/tools/image-host.c +

[U-Boot] [PATCH 0/7] common, fit, rsa: enhancements

2014-01-24 Thread Heiko Schocher
used, to extract the data from a property (for example with "dd") - add hosttool "fit_check_sign". This does the same as the u-boot cmdshell tool "fdt sign". It checks, if fit image is correct signed Heiko Schocher (7): tools/image-host: fix sign-images bug fdt

[U-Boot] [PATCH 3/7] fit: add sha256 support

2014-01-24 Thread Heiko Schocher
add sha256 support to fit images Signed-off-by: Heiko Schocher Cc: Simon Glass --- common/image-fit.c | 5 + include/image.h| 9 + lib/sha256.c | 2 +- tools/Makefile | 3 +++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/common/image-fit.c b/common

[U-Boot] [PATCH 0/3] mpc83xx: add support for the ids8313 board

2014-01-24 Thread Heiko Schocher
mmand http://patchwork.ozlabs.org/patch/314122/ [U-Boot,7/7] tools, fit_check_sign: verify a signed fit image http://patchwork.ozlabs.org/patch/314123/ Heiko Schocher (3): powerpc, ids8247: create vendor board dir ids mpc8313, bootcount: mpc8313 has no qe muram mpc83xx: add ids8313 support ar

[U-Boot] [PATCH 3/3] mpc83xx: add ids8313 support

2014-01-24 Thread Heiko Schocher
add support for the ids8313 board. CPU: e300c3, MPC8313, Rev: 2.1 at 396 MHz, CSB: 132 MHz I2C: ready SPI: ready DRAM: 128 MiB (DDR2, 32-bit, ECC off, 264 MHz) Flash: 8 MiB NAND: 128 MiB Net: TSEC0, TSEC1 [PRIME] public key on NOR flash start Signed-off-by: Heiko Schocher Cc: Kim

[U-Boot] [PATCH 1/3] powerpc, ids8247: create vendor board dir ids

2014-01-24 Thread Heiko Schocher
create vendor board directory ids and move ids8247 board to it. Signed-off-by: Heiko Schocher Cc: Wolfgang Denk Cc: Kim Phillips --- board/{ => ids}/ids8247/Makefile | 0 board/{ => ids}/ids8247/ids8247.c | 0 boards.cfg| 2 +- 3 files changed, 1 insertion

[U-Boot] [PATCH 2/3] mpc8313, bootcount: mpc8313 has no qe muram

2014-01-24 Thread Heiko Schocher
mpc831x has no muram, so muram cannot be used for bootcounter function. Signed-off-by: Heiko Schocher Cc: Kim Phillips --- arch/powerpc/cpu/mpc83xx/cpu.c | 2 +- arch/powerpc/cpu/mpc83xx/fdt.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx

Re: [U-Boot] [PATCH 2/7] fdt: add "fdt sign" command

2014-01-26 Thread Heiko Schocher
Hello Simon, Am 26.01.2014 22:04, schrieb Simon Glass: Hi Heiko, On 24 January 2014 23:44, Heiko Schocher wrote: check if a fdt is correct signed pass an optional addr value. Contains the addr of the key blob Signed-off-by: Heiko Schocher Cc: Simon Glass --- common/cmd_fdt.c | 38

Re: [U-Boot] [PATCH 4/7] rsa: add sha256-rsa2048 algorithm

2014-01-26 Thread Heiko Schocher
Hello Simon, Am 26.01.2014 22:10, schrieb Simon Glass: Hi Heiko, On 24 January 2014 23:44, Heiko Schocher wrote: based on patch from andr...@oetken.name: http://patchwork.ozlabs.org/patch/294318/ Should probably add the full commit message in here. Ok, do this in v2. - removed

Re: [U-Boot] [PATCH 5/7] rsa: add sha256,rsa4096 algorithm

2014-01-26 Thread Heiko Schocher
Hello Simon, Am 26.01.2014 22:19, schrieb Simon Glass: Hi Heiko, On 24 January 2014 23:44, Heiko Schocher wrote: Signed-off-by: Heiko Schocher Cc: Simon Glass Missing commit message. Is there no way to integrate this with common/hash.c? Perhaps the start/finish part of the hashing

Re: [U-Boot] [PATCH 2/7] fdt: add "fdt sign" command

2014-01-26 Thread Heiko Schocher
Hello Wolfgang, Am 27.01.2014 07:50, schrieb Wolfgang Denk: Dear Heiko, In message<52e5fe93.2030...@denx.de> you wrote: + cfg_noffset = fit_conf_get_node(working_fdt, NULL); + if (!cfg_noffset) + return CMD_RET_FAILURE; May need to print a

Re: [U-Boot] [PATCH 1/9] arc: add architecture header files

2014-01-28 Thread Heiko Schocher
Hello Alexey, Thanks for your patches, more or less just nitpicking comments ... Am 29.01.2014 00:09, schrieb Alexey Brodkin: Signed-off-by: Alexey Brodkin No commit message, please add one. (Are this files from the Linux kernel? If so please add a comment in the commit message + add a hint w

Re: [U-Boot] [PATCH 1/9] arc: add architecture header files

2014-01-29 Thread Heiko Schocher
Hello Alexey, Am 29.01.2014 09:57, schrieb Alexey Brodkin: Hello Heiko, On Wed, 2014-01-29 at 06:44 +0100, Heiko Schocher wrote: Hello Alexey, Thanks for your patches, more or less just nitpicking comments ... Thanks for prompt review. Am 29.01.2014 00:09, schrieb Alexey Brodkin: Signed

Re: [U-Boot] [PATCH v2] designware_i2c: Enhance DesignWare I2C driver address support

2014-01-29 Thread Heiko Schocher
Hello Chin, Am 22.01.2014 16:37, schrieb Chin Liang See: Thanks Alexey. Hi Heiko, I believe this patch should be good for apply. Would need your help then. :) Thanks Chin Liang On Wed, 2014-01-15 at 15:51 +, Alexey Brodkin wrote: On Wed, 2014-01-15 at 09:45 -0600, Chin Liang See wrote:

Re: [U-Boot] [PATCH v2 1/2] i2c: zynq: Support for 0-length register address

2014-01-29 Thread Heiko Schocher
Hello Michal, Am 22.01.2014 09:46, schrieb Michal Simek: From: Michael Burr Fixed bug with alen == 0 in 'i2c_write', 'i2c_read' Further minor corrections: - Write 'address' register before 'data' register. - Write 'transfer_size' register before 'address' register. Signed-off-by: Michael Burr

Re: [U-Boot] [PATCH v2 2/2] i2c: zynq: Add support for the second i2c controller

2014-01-29 Thread Heiko Schocher
Hello Michal, Am 22.01.2014 09:46, schrieb Michal Simek: From: Michael Burr Initialize the second i2c controller. Signed-off-by: Michael Burr Signed-off-by: Michal Simek --- Changes in v2: None Changes in v1: - Based on original thread from Michael Burr http://lists.denx.de/pipermail/u-boo

Re: [U-Boot] [PATCH 1/4] blackfin: the sclk MHz in i2c driver should be divided by 1000 other than 1024

2014-01-29 Thread Heiko Schocher
Hello Sonic, Am 28.01.2014 06:53, schrieb Sonic Zhang: From: Sonic Zhang Signed-off-by: Sonic Zhang --- drivers/i2c/bfin-twi_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-i2c.git, thanks! bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] [PATCH 2/4] blackfin: add spi and i2c specific get clock functions

2014-01-29 Thread Heiko Schocher
Hello Sonic, Am 28.01.2014 06:53, schrieb Sonic Zhang: From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/include/asm/blackfin_local.h | 7 --- arch/blackfin/include/asm/clock.h | 11 +++ drivers/i2c/bfin-twi_i2c.c | 3 ++- drivers/spi/bfi

Re: [U-Boot] [PATCH 4/4] blackfin: make i2c driver blackfin independant

2014-01-29 Thread Heiko Schocher
Hello Sonic, Am 28.01.2014 06:53, schrieb Sonic Zhang: From: Scott Jiang The ADI twi peripheral is not binding to Blackfin processor only. Access i2c registers by standard io functions. Fix coding style. Signed-off-by: Scott Jiang Signed-off-by: Sonic Zhang --- drivers/i2c/adi_i2c.c | 151 ++

Re: [U-Boot] [PATCH 3/4] blackfin: rename bfin-twi_i2c driver to adi_i2c

2014-01-29 Thread Heiko Schocher
Hello Sonic, Am 28.01.2014 06:53, schrieb Sonic Zhang: From: Sonic Zhang The ADI twi peripheral is not binding to Blackfin processor only. Change to a generic name. Signed-off-by: Sonic Zhang --- arch/blackfin/include/asm/twi.h | 15 +++ drivers/i2c/Makefile

[U-Boot] [PATCH] net, phy: atheros ar803x bug

2014-01-30 Thread Heiko Schocher
commit 626ee1e3 "phylib: update atheros ar803x phy" leads in failing ethernet on the pxm2 board. Calling genphy_config() instead of ar8021_config(), which seems for ar8021 phys not ar803x phys, make it working again. Signed-off-by: Heiko Schocher Cc: Shengzhou Liu Cc: Joe H

Re: [U-Boot] [PATCH v2 4/6] i2c: kona: Add Kona I2C driver

2014-02-03 Thread Heiko Schocher
Hello Darwin, Am 03.02.2014 23:12, schrieb Darwin Rambo: Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- What has changed in the v2 of your patch? drivers/i2c/Makefile |1 + driver

Re: [U-Boot] [PATCH 1/3] fit: Add support for SHA256 hash

2014-02-05 Thread Heiko Schocher
Hello Marek, Am 06.02.2014 04:47, schrieb Marek Vasut: This patch adds support for SHA-256 hash into the FIT image. The usage is as with the other hashing algorithms: " hash@1 { algo = "sha256"; }; " Signed-off-by: Marek Vasut --- common/image-fit.c | 5 +

Re: [U-Boot] [PATCH] arm: cam_enc_4xx: Change macro from BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT

2012-04-20 Thread Heiko Schocher
Hello Nobuhiro, Nobuhiro Iwamatsu wrote: > With almost all the architecture and board BOARD_LATE_INIT does not use. > CONFIG_BOARD_LATE_INIT is used instead. > This changed CONFIG_BOARD_LATE_INIT from BOARD_LATE_INIT. > > Signed-off-by: Nobuhiro Iwamatsu > CC: Heiko Schocher

Re: [U-Boot] [PATCH] i2c: Add support for designware i2c controller

2012-04-24 Thread Heiko Schocher
Hello Amit, Amit Virdi wrote: > From: Vipin KUMAR > > Earlier, a driver exists in the u-boot source for designware i2c interface. > That > driver was specific to spear platforms. This patch implements the i2c > controller > as a generic driver which can be used by multiple platforms > > The d

Re: [U-Boot] [PATCH] sh: i2c: Add support I2C controller of SH7734

2012-04-24 Thread Heiko Schocher
loop in i2c_read. > > Signed-off-by: Nobuhiro Iwamatsu > Acked-by: Heiko Schocher > Signed-off-by: Nobuhiro Iwamatsu > --- > drivers/i2c/Makefile|1 + > drivers/i2c/sh_sh7734_i2c.c | 387 > +++ > 2 files ch

Re: [U-Boot] [PATCH] i2c:designware Turn off the ctrl when setting the speed

2012-04-24 Thread Heiko Schocher
Hello Amit, Amit Virdi wrote: > From: Armando Visconti > > The designware i2c controller must be turned off before > setting the speed in IC_CON register, as stated in the > section 6.3.1 of the dw_apb_i2c_db.pdf. > > Signed-off-by: Michel Sanches > Signed-off-by: Armando Visconti > Signed-of

[U-Boot] [i2c] Pull request

2012-04-24 Thread Heiko Schocher
Hello Wolfgang, The following changes since commit 61ddce07f8b96c5df7d00466b4da9edaecb0eff1: sandbox: Use the new run_command() (2012-04-23 22:53:54 +0200) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master Armando Visconti (1): i2c:designware Turn off the

[U-Boot] [PATCH] arm,davinci: update for enbw_cmc board

2012-05-04 Thread Heiko Schocher
RMN switch through a config file on u-boot startup. For more infos see: doc/README.switch_config Signed-off-by: Heiko Schocher Cc: Wolfgang Denk Cc: Tom Rini Cc: Christian Riesch Cc: Sandeep Paulraj --- board/enbw/enbw_cmc/enbw_cmc.c | 345 +++

Re: [U-Boot] [PATCH] arm,davinci: update for enbw_cmc board

2012-05-14 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: > On Mon, May 14, 2012 at 09:45:58AM -0700, Tom Rini wrote: >> On Sat, May 05, 2012 at 08:32:50AM +0200, Heiko Schocher wrote: >> >>> - change gpio pin settings: >>> >>> - gpio pin 6[13] (PLC reset) default value low >>&

[U-Boot] [PATCH v2] arm,davinci: update for enbw_cmc board

2012-05-14 Thread Heiko Schocher
RMN switch through a config file on u-boot startup. For more infos see: doc/README.switch_config Signed-off-by: Heiko Schocher Cc: Wolfgang Denk Cc: Tom Rini Cc: Christian Riesch Cc: Sandeep Paulraj --- changes for v2: - add comment from Tom Rini: remove ELDK-4.2 compiler warning: enbw

Re: [U-Boot] [PATCH v4 06/27] arm/km: change maintainer for mgcoge3un

2012-05-16 Thread Heiko Schocher
Hello Valentin, Valentin Longchamp wrote: > From: Holger Brunck > > Signed-off-by: Holger Brunck > Signed-off-by: Valentin Longchamp > cc: Heiko Schocher > cc: Prafulla Wadaskar > cc: Gerlando Falauto > --- > MAINTAINERS |2 +- > 1 files changed, 1 insert

Re: [U-Boot] [PATCH] Added watchdog support for davinchi_dm365evm

2012-05-20 Thread Heiko Schocher
Hello Stijn, Stijn Souffriau wrote: > --- > board/davinci/dm365evm/dm365evm.c | 68 > > include/configs/davinci_dm365evm.h | 11 ++ > 2 files changed, 79 insertions(+), 0 deletions(-) Why you add this here board specific? Why you do not use existing

Re: [U-Boot] [PATCH] Added u-boot header generating functionality to ublimage

2012-05-20 Thread Heiko Schocher
Hello Stijn, Stijn Souffriau wrote: > --- > tools/ublimage.c | 19 +++ > tools/ublimage.h |2 ++ > 2 files changed, 21 insertions(+), 0 deletions(-) > > diff --git a/tools/ublimage.c b/tools/ublimage.c > index d6b4017..527b1a4 100644 > --- a/tools/ublimage.c > +++ b/tools/u

Re: [U-Boot] [PATCH 0/5]: Correct i2c support on am33xx

2012-05-22 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: > The following series corrects i2c support for the am33xx family of devices > (including beaglebone) and has been tested on a beagleboard xM and > pandaboard. I would like to take these changes in via the u-boot-ti tree > as it's mostly changes to arch and board files

Re: [U-Boot] [PATCH 1/5] Revert "I2C: OMAP: detect more devices when probing an i2c bus"

2012-05-22 Thread Heiko Schocher
I2C_STAT=0 > I2C read: I/O error > Error reading the chip. > > We must revert the original behavior to bring probe back into line with > the TRM. > > Cc: Nick Thompson > Cc: Heiko Schocher > Signed-off-by: Tom Rini > --- > drivers/i2c/omap24xx_i2c.c | 42 ++

Re: [U-Boot] [PATCH 2/5] am335x: Correct i2c sysc offset

2012-05-22 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: > Signed-off-by: Tom Rini > --- > arch/arm/include/asm/arch-am33xx/i2c.h |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Acked-by: Heiko Schocher Thanks! bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & D

Re: [U-Boot] [PATCH 3/5] am33xx: Fill in more cm_wkuppll / cm_perpll

2012-05-22 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: > Signed-off-by: Tom Rini > --- > arch/arm/include/asm/arch-am33xx/cpu.h | 40 > > 1 file changed, 30 insertions(+), 10 deletions(-) Acked-by: Heiko Schocher Thanks! bye, Heiko -- DENX Software Engineeri

Re: [U-Boot] [PATCH 4/5] am33xx: Fix i2c sampling rate typo

2012-05-22 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: > Signed-off-by: Tom Rini > --- > arch/arm/include/asm/arch-am33xx/i2c.h |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Heiko Schocher Thanks! bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Z

Re: [U-Boot] [PATCH 5/5] omap24xx_i2c: Add AM33XX support

2012-05-22 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: > The same places that check for CONFIG_OMAP44XX need to check for > CONFIG_AM33XX as we share the same i2c block. > > Cc: Heiko Schocher > Signed-off-by: Tom Rini > --- > drivers/i2c/omap24xx_i2c.c |6 +++--- > 1 file changed, 3 in

Re: [U-Boot] [PATCH] bootcount: Move bootcount.c from arch/powerpc/lib to lib

2012-05-31 Thread Heiko Schocher
Hello Stefan, On 31.05.2012 10:58, Stefan Roese wrote: By moving this code to a non-platform specific directory, we can use it on other architectures as well (e.g. ARM). Signed-off-by: Stefan Roese --- arch/powerpc/lib/Makefile |1 - lib/Makefile |

[U-Boot] am35xx, twister: could not write nand flash

2012-06-15 Thread Heiko Schocher
Hello Scott, I currently tried current U-Boot HEAD commit fedab338f3459315cb69627fcf46032ec8df1753 Merge: 74b5b5d f6b690e Author: Wolfgang Denk Date: Thu Jun 7 23:42:17 2012 +0200 Merge branch 'master' of git://git.denx.de/u-boot-video on the twister board, and detected that a "run upda

Re: [U-Boot] [PATCH] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-01-27 Thread Heiko Schocher
Hello Lubomir, Am 24.11.2014 17:00, schrieb Lubomir Popov: I2C chips do exist that require a write of some multi-byte data to occur in a single bus transaction (aka atomic transfer), otherwise either the write does not come into effect at all, or normal operation of internal circuitry cannot be

Re: [U-Boot] [PATCH] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-01-28 Thread Heiko Schocher
Hello Lubomir, Am 28.01.2015 09:32, schrieb Lubomir Popov: Hi Heiko, Hello Lubomir, Am 24.11.2014 17:00, schrieb Lubomir Popov: I2C chips do exist that require a write of some multi-byte data to occur in a single bus transaction (aka atomic transfer), otherwise either the write does not come

Re: [U-Boot] [PATCH] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-01-28 Thread Heiko Schocher
Hello Lubomir, Am 28.01.2015 10:00, schrieb Lubomir Popov: Hi Heiko, Hello Lubomir, Am 28.01.2015 09:32, schrieb Lubomir Popov: Hi Heiko, Hello Lubomir, Am 24.11.2014 17:00, schrieb Lubomir Popov: I2C chips do exist that require a write of some multi-byte data to occur in a single bus tr

Re: [U-Boot] Problem Mounting/Unmounting several UBI volumes in u-boot.

2015-01-29 Thread Heiko Schocher
gards, Konstantyn -Original Message- From: Heiko Schocher [mailto:h...@denx.de] Sent: Wednesday, January 21, 2015 12:57 AM To: Konstantyn Prokopenko Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Problem Mounting/Unmounting several UBI volumes in u-boot. Hello Konstantyn, Am 20.01.2015 17:09, sc

<    4   5   6   7   8   9   10   11   12   13   >