[U-Boot] 2016.07 regression on Orange Pi PC

2016-07-08 Thread Peter Robinson
It seems we've regressed with the Orange Pi PC for 2016.07 but I'm wondering with the PCSI bits whether the process has changed and I've missed the details of what's needed to flash u-boot. With rc3 I see the follwing: U-Boot SPL 2016.07-rc3 (Jul 07 2016 - 10:36:40) DRAM: u MiB Could not determin

Re: [U-Boot] [U-Boot,v2] SPL: tiny-printf: avoid any BSS usage

2016-07-08 Thread Tom Rini
On Fri, Jul 08, 2016 at 11:48:12PM +0200, Marek Vasut wrote: > On 07/08/2016 06:50 PM, Tom Rini wrote: > >On Fri, Jul 08, 2016 at 03:18:35PM +0100, Andre Przywara wrote: > > > >>As printf calls may be executed quite early, we should avoid using any > >>BSS stored variables, since some boards put BS

Re: [U-Boot] [U-Boot,v2] SPL: tiny-printf: avoid any BSS usage

2016-07-08 Thread Marek Vasut
On 07/08/2016 06:50 PM, Tom Rini wrote: On Fri, Jul 08, 2016 at 03:18:35PM +0100, Andre Przywara wrote: As printf calls may be executed quite early, we should avoid using any BSS stored variables, since some boards put BSS in DRAM, which may not have been initialised yet. Explicitly mark those

[U-Boot] [RESEND PATCH] sunxi: mmc: increase status register polling rate for data transfers

2016-07-08 Thread Tobias Doerffel
With a recent bunch of SD3.0 cards in our A20-based board we experienced data transfer rates of about 250 KiB/s instead of 10 MiB/s with previous cards from the same vendor (both 4 GB/class 10). By increasing status register polling rate from 1 kHz to 1 MHz we were able to reach the original transf

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

2016-07-08 Thread Tom Rini
On Thu, Jul 07, 2016 at 03:45:47PM -0600, Simon Glass wrote: > Hi Tom, > > A little fix. > > The following changes since commit e8009beff6d5c55c1bf1ae8184791f167e6378b0: > > Merge git://git.denx.de/u-boot-arc (2016-07-04 11:46:21 -0400) > > are available in the git repository at: > > git:

Re: [U-Boot] [U-Boot,v2] SPL: tiny-printf: avoid any BSS usage

2016-07-08 Thread Tom Rini
On Fri, Jul 08, 2016 at 03:18:35PM +0100, Andre Przywara wrote: > As printf calls may be executed quite early, we should avoid using any > BSS stored variables, since some boards put BSS in DRAM, which may not > have been initialised yet. > Explicitly mark those "static global" variables as belong

Re: [U-Boot] [PATCH] test/py: fix CONFIG_ tests

2016-07-08 Thread Tom Rini
On Wed, Jul 06, 2016 at 09:04:08AM -0600, Stephen Warren wrote: > From: Stephen Warren > > Some CONFIG_ variables were recently renamed, but test/py wasn't updated > to match. This causes some tests to be skipped. Fix test/py so the tests > are run. > > Fixes: 11636258981a ("Rename reset to sys

[U-Boot] [PATCH 5/8] xtensa: add core information for the de212 processor

2016-07-08 Thread Max Filippov
Signed-off-by: Max Filippov --- arch/xtensa/include/asm/arch-de212/core.h| 594 +++ arch/xtensa/include/asm/arch-de212/tie-asm.h | 170 arch/xtensa/include/asm/arch-de212/tie.h | 136 ++ 3 files changed, 900 insertions(+) create mode 100644 arch/xtens

[U-Boot] [PATCH 3/8] xtensa: add core information for the dc232b processor

2016-07-08 Thread Max Filippov
From: Chris Zankel Signed-off-by: Chris Zankel Signed-off-by: Max Filippov --- arch/xtensa/include/asm/arch-dc232b/core.h| 422 ++ arch/xtensa/include/asm/arch-dc232b/tie-asm.h | 120 arch/xtensa/include/asm/arch-dc232b/tie.h | 129 3 files cha

[U-Boot] [PATCH 6/8] net/ethoc: support private memory configurations

2016-07-08 Thread Max Filippov
From: Chris Zankel The 'ethoc' device could also be configured to have a private memory region instead of having access to the main memory. In that case, the packets must be copied into (transmit) or out of (receive) that memory. This behavior is configured by defining CONFIG_SYS_ETHOC_BUFFER_AD

[U-Boot] [PATCH 8/8] xtensa: add support for the 'xtfpga' evaluation board

2016-07-08 Thread Max Filippov
From: Chris Zankel The 'xtfpga' board is actually a set of FPGA evaluation boards that can be configured to run an Xtensa processor. - Avnet Xilinx LX60 - Avnet Xilinx LX110 - Avnet Xilinx LX200 - Xilinx ML605 - Xilinx KC705 These boards share the same components (open-ethernet, ns16550 se

[U-Boot] [PATCH 4/8] xtensa: add core information for the dc233c processor

2016-07-08 Thread Max Filippov
Signed-off-by: Max Filippov --- arch/xtensa/include/asm/arch-dc233c/core.h| 475 ++ arch/xtensa/include/asm/arch-dc233c/tie-asm.h | 193 +++ arch/xtensa/include/asm/arch-dc233c/tie.h | 150 3 files changed, 818 insertions(+) create mode 100644 arc

[U-Boot] [PATCH 7/8] net/ethoc: don't advertise gigabit on the connected PHY

2016-07-08 Thread Max Filippov
Introduce MDIO communication routines. Scan MDIO bus at reset to find attached PHYs and see if they support gigabit speeds. If they do check their gigabit control register: if gigabit autonegotiation is enabled clear it and reset the PHY. This allows using OpenCores 10/100 MAC with gigabit PHY con

[U-Boot] [PATCH 2/8] xtensa: add support for the xtensa processor architecture [2/2]

2016-07-08 Thread Max Filippov
From: Chris Zankel The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core provided by Tensilica, inc. This is the second part of the basic architecture port, adding the 'arch/xtensa' directory and a readme file. Signed-off-by: Chris Zankel

[U-Boot] [PATCH 1/8] xtensa: add support for the xtensa processor architecture [1/2]

2016-07-08 Thread Max Filippov
From: Chris Zankel The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core provided by Cadence. This is the first part of the basic architecture port with changes to common files. The 'arch/xtensa' directory, and boards and additional drivers

[U-Boot] [PATCH v2 0/8] U-Boot port to Xtensa architecture

2016-07-08 Thread Max Filippov
Hi Tom, this series adds U-Boot port to Xtensa, configurable processor architecture from Tensilica, Inc., now Cadence Design Systems Inc. Two patches add proper xtensa bits: changes to shares files and contents of arch/xtensa. Next three patches add three sample xtensa CPU configurations: one wit

Re: [U-Boot] [PATCH for v2016.07] doc: ARMv8: add README.pine64

2016-07-08 Thread Tom Rini
On Fri, Jul 08, 2016 at 03:25:23PM +0100, Andre Przywara wrote: > Since we lack information about the DRAM initialization for the > Allwinner A64 SoC, booting any A64 based board like the Pine64 is a bit > involved at the moment. > Add a README file to explain the process. > > Signed-off-by: Andr

Re: [U-Boot] [PATCH 00/11] buildman: Make the tool friendlier for first-time users

2016-07-08 Thread Tom Rini
On Thu, Jul 07, 2016 at 12:27:53PM -0600, Stephen Warren wrote: > On 07/03/2016 03:14 PM, Simon Glass wrote: > >This makes a few minor improvements to buildman to make it work more easiler > >for first-time users: > > > >- Improve progress and warning messages when fetching toolchains > >- Fix a bu

Re: [U-Boot] [PATCH 11/11] Drop references to MAKEALL in the documentation

2016-07-08 Thread Tom Rini
On Sun, Jul 03, 2016 at 03:14:27PM -0600, Simon Glass wrote: > It is confusing to mention MAKEALL when it is not the normal way of building > U-Boot anymore. Update the documentation to suit. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital sig

Re: [U-Boot] [PATCH 10/11] Drop the MAKEALL tool

2016-07-08 Thread Tom Rini
On Sun, Jul 03, 2016 at 03:14:26PM -0600, Simon Glass wrote: > Buildman has been around for 3 years now. It has had a lot of use and > testing. Perhaps it is time to remove MAKEALL. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 00/11] buildman: Make the tool friendlier for first-time users

2016-07-08 Thread Tom Rini
On Sun, Jul 03, 2016 at 03:14:16PM -0600, Simon Glass wrote: > This makes a few minor improvements to buildman to make it work more easiler > for first-time users: > > - Improve progress and warning messages when fetching toolchains > - Fix a bug where toolchain paths can be overwritten when fetc

Re: [U-Boot] [PATCH 05/11] buildman: Improve the toolchain progress/error output

2016-07-08 Thread Tom Rini
On Sun, Jul 03, 2016 at 03:14:21PM -0600, Simon Glass wrote: > Use colour to make it easier to see what is going on. Also print a message > before downloading a new toolchain. Mention --fetch-arch in the message that > is shown when there are no available toolchains, since this is the quickest > w

Re: [U-Boot] [PATCH 01/11] buildman: Tidy up the README a little

2016-07-08 Thread Tom Rini
On Sun, Jul 03, 2016 at 03:14:17PM -0600, Simon Glass wrote: > Tidy up some problems found by a recent review. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH 09/11] buildman: Add a quick-start note

2016-07-08 Thread Tom Rini
On Thu, Jul 07, 2016 at 12:23:37PM -0600, Stephen Warren wrote: > On 07/03/2016 03:14 PM, Simon Glass wrote: > >For those who just want to build a board, it is useful to see a quick hint > >right at the start of the documentation. Add a few commands showing how to > >download toolchains and build a

Re: [U-Boot] [PATCH 08/11] buildman: Avoid overwriting existing toolchain entries

2016-07-08 Thread Tom Rini
On Sun, Jul 03, 2016 at 03:14:24PM -0600, Simon Glass wrote: > The current code for setting up the toolchain config always writes the new > paths to an item called 'toolchain'. This means that it will overwrite any > existing toolchain item with the same name. In practice, this means that: > >

[U-Boot] [PATCH v2] SPL: tiny-printf: avoid any BSS usage

2016-07-08 Thread Andre Przywara
As printf calls may be executed quite early, we should avoid using any BSS stored variables, since some boards put BSS in DRAM, which may not have been initialised yet. Explicitly mark those "static global" variables as belonging to the .data section, to keep tiny-printf clear of any BSS usage. Si

[U-Boot] [PATCH for v2016.07] doc: ARMv8: add README.pine64

2016-07-08 Thread Andre Przywara
Since we lack information about the DRAM initialization for the Allwinner A64 SoC, booting any A64 based board like the Pine64 is a bit involved at the moment. Add a README file to explain the process. Signed-off-by: Andre Przywara --- Hi, is there any chance we can stuff this README still into

Re: [U-Boot] what are valid formats for initrd image downloaded and used by "bootm"

2016-07-08 Thread Robert P. J. Day
On Fri, 8 Jul 2016, Wolfgang Denk wrote: > Dear Robert, > > In message you > wrote: > > > > yup, i just went through most of the above, and built a > > *cpio.gz.u-boot format ramdisk, and it works just fine, so i'm happy. > > onward ... > > For now this is OK, but you might consider switching

Re: [U-Boot] mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe()

2016-07-08 Thread Tom Rini
On Sun, Jun 26, 2016 at 10:43:55PM +0200, Mateusz Kulikowski wrote: > MMC core expects (now) valid mmc->dev pointer. > During conversion in commit cffe5d86 not every driver was updated. > > This patch fixes crash while accessing MMC on > boards using Qualcomm SDHCI controller. > > Signed-off-by:

Re: [U-Boot] BayTrail PCIe x4 slot (Soft-Strap?)

2016-07-08 Thread Stefan Roese
Hi Bin, On 08.07.2016 12:34, Bin Meng wrote: > On Fri, Jul 8, 2016 at 6:13 PM, Stefan Roese wrote: >> Hi Bin, >> >> On 08.07.2016 11:22, Bin Meng wrote: >>> On Fri, Jul 8, 2016 at 4:44 PM, Stefan Roese wrote: Hi Bin, On 08.07.2016 04:27, Bin Meng wrote: > On Thu, Jul 7, 2016 a

Re: [U-Boot] [PATCH] video: allow version string to be optional when using LOGO

2016-07-08 Thread Tim Harvey
On Tue, May 24, 2016 at 2:59 PM, Tim Harvey wrote: > The CONFIG_HIDE_LOGO_VERSION config can be used to disable putting the > U-Boot version string on top of the logo. > > Signed-off-by: Tim Harvey > --- > README | 3 +++ > drivers/video/cfb_console.c | 4 +++- > 2 files cha

Re: [U-Boot] what are valid formats for initrd image downloaded and used by "bootm"

2016-07-08 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > yup, i just went through most of the above, and built a > *cpio.gz.u-boot format ramdisk, and it works just fine, so i'm happy. > onward ... For now this is OK, but you might consider switching to FIT images instead. These may look more complicated init

Re: [U-Boot] what are valid formats for initrd image downloaded and used by "bootm"

2016-07-08 Thread Robert P. J. Day
On Fri, 8 Jul 2016, Wolfgang Denk wrote: > Dear Robert, > > In message you > wrote: > > > > ok, and one last (admittedly a bit off-topic) followup ... > > openembedded supplies a class, image_types_uboot.bbclass, that can > > generate a pile of u-boot related images: > > > > IMAGE_TYPES += "ex

Re: [U-Boot] Problem loading boot script from ext4 mmc on sunxi H3

2016-07-08 Thread Michal Suchanek
Hello, On 30 June 2016 at 19:13, Robert Nelson wrote: > On Wed, Jun 29, 2016 at 5:30 AM, Michal Suchanek wrote: >> Hello, >> >> On 29 June 2016 at 10:45, Karsten Merker wrote: >>> On Wed, Jun 29, 2016 at 09:30:33AM +0200, Michal Suchanek wrote: >>> I tried loading system with recent u-boot

Re: [U-Boot] what are valid formats for initrd image downloaded and used by "bootm"

2016-07-08 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > ok, and one last (admittedly a bit off-topic) followup ... > openembedded supplies a class, image_types_uboot.bbclass, that can > generate a pile of u-boot related images: > > IMAGE_TYPES += "ext2.u-boot ext2.gz.u-boot ext2.bz2.u-boot >ext2.lzma.u-bo

Re: [U-Boot] [PATCH] mmc: sdhci: clean up time out detection

2016-07-08 Thread Jaehoon Chung
Hi Masahiro, On 07/08/2016 07:58 PM, Masahiro Yamada wrote: > The current timeout detection logic is not very nice; it calls > get_timer(start) in the while() loop, and then calls it again after > the loop to check if a timeout error happened. > > Because of the time difference between the two ca

[U-Boot] [PATCH] mmc: sdhci: clean up time out detection

2016-07-08 Thread Masahiro Yamada
The current timeout detection logic is not very nice; it calls get_timer(start) in the while() loop, and then calls it again after the loop to check if a timeout error happened. Because of the time difference between the two calls of get_time(), the reason detected after the loop may not be really

Re: [U-Boot] BayTrail PCIe x4 slot (Soft-Strap?)

2016-07-08 Thread Bin Meng
Hi Stefan, On Fri, Jul 8, 2016 at 6:13 PM, Stefan Roese wrote: > Hi Bin, > > On 08.07.2016 11:22, Bin Meng wrote: >> On Fri, Jul 8, 2016 at 4:44 PM, Stefan Roese wrote: >>> Hi Bin, >>> >>> On 08.07.2016 04:27, Bin Meng wrote: On Thu, Jul 7, 2016 at 11:52 PM, Stefan Roese wrote: > Hi! >

Re: [U-Boot] BayTrail PCIe x4 slot (Soft-Strap?)

2016-07-08 Thread Stefan Roese
Hi Bin, On 08.07.2016 11:22, Bin Meng wrote: > On Fri, Jul 8, 2016 at 4:44 PM, Stefan Roese wrote: >> Hi Bin, >> >> On 08.07.2016 04:27, Bin Meng wrote: >>> On Thu, Jul 7, 2016 at 11:52 PM, Stefan Roese wrote: Hi! I do have BayTrail / FSP related question. I'm currently trying >>>

Re: [U-Boot] BayTrail PCIe x4 slot (Soft-Strap?)

2016-07-08 Thread Bin Meng
Hi Stefan, On Fri, Jul 8, 2016 at 4:44 PM, Stefan Roese wrote: > Hi Bin, > > On 08.07.2016 04:27, Bin Meng wrote: >> On Thu, Jul 7, 2016 at 11:52 PM, Stefan Roese wrote: >>> Hi! >>> >>> I do have BayTrail / FSP related question. I'm currently trying >>> to use a DFI QSeven SoM which has one x4 P

Re: [U-Boot] what are valid formats for initrd image downloaded and used by "bootm"

2016-07-08 Thread Robert P. J. Day
On Fri, 8 Jul 2016, Wolfgang Denk wrote: > Dear Robert, > > In message you > wrote: > > > > using yocto project to build artifacts to tftp down to a board for > > "bootm" command -- what are the valid formats for the "initrd" object > > that can be recognized by "bootm"? since YP can generate

Re: [U-Boot] BayTrail PCIe x4 slot (Soft-Strap?)

2016-07-08 Thread Stefan Roese
Hi Bin, On 08.07.2016 04:27, Bin Meng wrote: > On Thu, Jul 7, 2016 at 11:52 PM, Stefan Roese wrote: >> Hi! >> >> I do have BayTrail / FSP related question. I'm currently trying >> to use a DFI QSeven SoM which has one x4 PCIe slot instead >> of the usual 4 x1 slots. So all 4 PCIe lanes are used b

Re: [U-Boot] Brotli Compression to Fit Image/bzImage

2016-07-08 Thread Wolfgang Denk
Dear Vinoth, In message you wrote: > > Where can I check the heap configuration in U-Boot?? The REAME says: - CONFIG_SYS_MALLOC_LEN: Size of DRAM reserved for malloc() use. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Direct

Re: [U-Boot] what are valid formats for initrd image downloaded and used by "bootm"

2016-07-08 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > using yocto project to build artifacts to tftp down to a board for > "bootm" command -- what are the valid formats for the "initrd" object > that can be recognized by "bootm"? since YP can generate a *ton* of > different image types. thanks. "bootm" unde

Re: [U-Boot] [PATCH] sunxi: mmc: increase status register polling rate for data transfers

2016-07-08 Thread Jaehoon Chung
Hi Tobias, On 07/05/2016 05:31 PM, Tobias Doerffel wrote: > With a recent bunch of SD3.0 cards in our A20-based board we > experienced data transfer rates of about 250 KiB/s instead of 10 MiB/s > with previous cards from the same vendor (both 4 GB/class 10). By > increasing status register polling

Re: [U-Boot] Brotli Compression to Fit Image/bzImage

2016-07-08 Thread vinoth eswaran
On Fri, Jul 1, 2016 at 6:40 PM, Simon Glass wrote: > Hi, > > On 1 July 2016 at 00:13, vinoth eswaran wrote: > > Hello, > > > > I am working on an embedded project using Minnowboard Max with U-boot > > and customised Linux kernel. > > > > To optimize boot time, currently I am comparing the diffe

[U-Boot] what are valid formats for initrd image downloaded and used by "bootm"

2016-07-08 Thread Robert P. J. Day
using yocto project to build artifacts to tftp down to a board for "bootm" command -- what are the valid formats for the "initrd" object that can be recognized by "bootm"? since YP can generate a *ton* of different image types. thanks. rday --

[U-Boot] [PATCH 3/3] stm32: Change USART port to USART6 for stm32f746 discovery board

2016-07-08 Thread tnishinaga . dev
From: Toshifumi NISHINAGA This change is to remove a halt at about 200KiB while sending a large(1MiB) binary to a micro controller using USART1. USART1 is connected to a PC via an on-board ST-Link debugger that also functions as a USB-Serial converter. However, it seems to loss some data occasion

[U-Boot] [PATCH 2/3] stm32: Add SDRAM support for stm32f746 discovery board

2016-07-08 Thread tnishinaga . dev
From: Toshifumi NISHINAGA This patch adds SDRAM support for stm32f746 discovery board. This patch depends on previous patch. This patch is based on STM32F4 and emcraft's[1]. [1]: https://github.com/EmcraftSystems/u-boot Signed-off-by: Toshifumi NISHINAGA --- arch/arm/cpu/armv7m/config.mk

[U-Boot] storage support for ub_dev_write API function

2016-07-08 Thread Ihar Filipau
Hi All! I have stumbled upon the lack of support for storage devices in API's ub_dev_write()/API_dev_write() functions. Currently the function supports only the network devices. I have implemented the support for the storage by adapting the code from API_dev_read() function, and added the ub_dev_

[U-Boot] [PATCH 1/3] stm32: clk: Add 200MHz clock configuration for stm32f746 discovery board

2016-07-08 Thread tnishinaga . dev
From: Toshifumi NISHINAGA This patch adds 200MHz clock configuration for stm32f746 discovery board. This patch is based on STM32F4 and emcraft's[1]. [1]: https://github.com/EmcraftSystems/u-boot Signed-off-by: Toshifumi NISHINAGA --- arch/arm/include/asm/arch-stm32f7/stm32.h | 46 ++ ar

[U-Boot] [PATCH 0/3] stm32: Add SDRAM support for stm32f746 discovery board

2016-07-08 Thread tnishinaga . dev
From: Toshifumi NISHINAGA This patch adds SDRAM support to boot Linux kernel for stm32f746 discovery board. Toshifumi NISHINAGA (3): stm32: clk: Add 200MHz clock configuration for stm32f746 discovery board stm32: Add SDRAM support for stm32f746 discovery board stm32: Change USART port