Re: [U-Boot] [PATCH 07/12] imx:mx6 Support LDO bypass

2015-02-10 Thread Fabio Estevam
Hi Tim, On Tue, Feb 10, 2015 at 12:50 PM, Tim Harvey thar...@gateworks.com wrote: I think what you are trying to do here is to put the anatop regulators in bypass mode so that the Freescale vendor kernel leaves them bypassed (which is what the 3.10.x based vendor kernels supporting

Re: [U-Boot] [PATCH 07/12] imx:mx6 Support LDO bypass

2015-02-10 Thread Tim Harvey
On Fri, Jan 9, 2015 at 12:59 AM, Peng Fan peng@freescale.com wrote: The basic graph for voltage input is: VDDARM_IN --- LDO_DIG(ARM) --- VDD_ARM_CAP VDDSOC_IN --- LDO_DIG(SOC) --- VDD_SOC_CAP Hi Peng, Glad to see someone else interested in IMX6 LDO bypass mode. I've made a couple

Re: [U-Boot] [PATCH v1] tools/imagetool: remove linker script

2015-02-10 Thread Simon Glass
Hi Andreas, On 8 February 2015 at 16:06, Andreas Bießmann andreas.de...@googlemail.com wrote: Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated lists for imagetool which is the base for some host tools (mkimage, dumpimage, et al.). Unfortunately some host tool chains

Re: [U-Boot] [PATCH 07/12] imx:mx6 Support LDO bypass

2015-02-10 Thread Tim Harvey
On Tue, Feb 10, 2015 at 6:59 AM, Fabio Estevam feste...@gmail.com wrote: Hi Tim, On Tue, Feb 10, 2015 at 12:50 PM, Tim Harvey thar...@gateworks.com wrote: I think what you are trying to do here is to put the anatop regulators in bypass mode so that the Freescale vendor kernel leaves them

Re: [U-Boot] sandbox on FreeBSD

2015-02-10 Thread Simon Glass
Hi Jeroen, On 9 February 2015 at 16:20, Jeroen Hofstee jer...@myspectrum.nl wrote: Hello Simon, On 02/07/15 16:10, Simon Glass wrote: I am not giving up, I think it is sane if a tool which adds a header and a checksum does not use linker magic. Sandbox biggest problem is not the

Re: [U-Boot] [RFC PATCH] tools/imagetool: remove linker generated list

2015-02-10 Thread Simon Glass
Hi Andreas, On 7 February 2015 at 14:19, Andreas Bießmann andreas.de...@googlemail.com wrote: Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated lists for imagetool which is part of mkimage. It is a nice feature to remove the annoying register function calls, but is

[U-Boot] [PATCH v3 6/6] KM/IVM: remove ivm_read_eeprom(void)

2015-02-10 Thread Valentin Longchamp
This is not used anymore since the procedure was split into a simple read function and a later alaysis. The ivm_read_eeprom name is now used for the previous ivm_simple_read_eeprom function. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes in v3: None Changes in v2:

[U-Boot] [PATCH v3 2/6] kirkwood/km_arm: read the IVM eeprom earlier

2015-02-10 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes

[U-Boot] [PATCH v3 3/6] 85xx/kmp204x: read the IVM eeprom earlier

2015-02-10 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes

[U-Boot] [PATCH v3 4/6] 83xx/km83xx: read the IVM eeprom earlier

2015-02-10 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes

[U-Boot] [PATCH v3 0/6] keymile: enhance IVM reading

2015-02-10 Thread Valentin Longchamp
All Keymile boards have an EEPROM that is called IVM that contain information about the board that is progammed at production time. One piece of information is the MAC addresses assigned to the board. u-boot requires the MAC address of the ethernet interfaces it uses to be defined when the

Re: [U-Boot] recent tools on FreeBSD

2015-02-10 Thread Simon Glass
Hi Jeroen, On 8 February 2015 at 03:03, Jeroen Hofstee jer...@myspectrum.nl wrote: Hello Simon, On 07-02-15 22:02, Simon Glass wrote: If this still fails, you can always build it from source, but needs a bit of patience. Somthing like this should always work: portsnap fetch portsnap

Re: [U-Boot] [PATCH 07/12] imx:mx6 Support LDO bypass

2015-02-10 Thread Tim Harvey
On Tue, Feb 10, 2015 at 3:23 AM, Stefano Babic sba...@denx.de wrote: Ok - with this explanation, I would try to understand how the changes can be split. If the feature/change works for several boards, it makes sense to have it common and general. If it is only for one board, must flow into

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix PIO_WORD number

2015-02-10 Thread Luca Ellero
On 10/02/2015 14:14, Stefano Babic wrote: Hi Luca, On 16/12/2014 09:06, Luca Ellero wrote: Scheduling the patch for -next it's ok for me. However there are other two points where pio_words number doesn't reflect the pio_words really initiated, one is in mxs_nand_read_buf() and one is in

[U-Boot] [PATCH v3 5/6] 82xx/km82xx: read the IVM eeprom earlier

2015-02-10 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes

[U-Boot] [PATCH v3 1/6] KM/IVM: split the IVM reading and parsing in 2 parts

2015-02-10 Thread Valentin Longchamp
This allows to first read the IVM content (earlier in the boot sequence) and define the ethaddr env variable thanks to the ivm_read_eepromi(). Later, the IVM content can be parsed and used to define some hush variables, when the hush subsystem is available thanks to ivm_analyze_eeprom(). To avoid

[U-Boot] [RFC PATCH v3 07/14] dm: eth: Add basic driver model support to Ethernet stack

2015-02-10 Thread Joe Hershberger
First just add support for MAC drivers. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v3: -Correct the pre_unbind logic -Correct failure chaining from bind to probe to init --Fail init if not activated --Fail probe if ethaddr not set -Update ethaddr from env

[U-Boot] [RFC PATCH v3 11/14] dm: eth: Add support for aliases

2015-02-10 Thread Joe Hershberger
Allow network devices to be referred to as eth0 instead of eth@12345678 when specified in ethact. Add tests to verify this behavior. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v3: -Added support for aliases Changes in v2: None include/configs/sandbox.h | 4 ++--

[U-Boot] [RFC PATCH v3 06/14] net: Refactor in preparation for driver model

2015-02-10 Thread Joe Hershberger
Move some things around and organize things so that the driver model implementation will fit in more easily. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: -Move the get_dev_by_* protos to also be !DM_ETH like the impl

[U-Boot] [RFC PATCH v3 02/14] test: dm: Reorder the objects to build

2015-02-10 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v3: -Reorder dm test makefile Changes in v2: None test/dm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dm/Makefile b/test/dm/Makefile index 612aa95..1d9148f 100644 ---

[U-Boot] [RFC PATCH v3 12/14] dm: eth: Add support for ethprime env var

2015-02-10 Thread Joe Hershberger
The ethprime env var is used to indicate the starting device if none is specified in ethact. Also support aliases specified in the ethprime var. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v3: -Added support for ethprime Changes in v2: None net/eth.c | 13

[U-Boot] [RFC PATCH v3 03/14] net: Provide a function to get the current MAC address

2015-02-10 Thread Joe Hershberger
The current implementation exposes the eth_device struct to code that needs to access the MAC address. Add a wrapper function for this to abstract away the pointer for this operation. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in

[U-Boot] [PATCH] sandbox: Adjust the order of the NO_SDL check

2015-02-10 Thread Simon Glass
An option is provided to avoid using SDL in U-Boot sandbox (and drop support for the LCD). However the check in the Makefile is too late and warnings are printed even if NO_SDL=y is given. Adjust the order to avoid this warning. Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH 4/6] x86: Move common Chromebook config into a separate file

2015-02-10 Thread Simon Glass
Since Chromebooks mostly have similar configuration, put it in a common file. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/chromebook_link.h | 61 +-- include/configs/x86-chromebook.h | 68 +++ 2 files

[U-Boot] [PATCH 5/6] x86: pci: Add PCI IDs for lynxpoint

2015-02-10 Thread Simon Glass
Add some new device IDs used by this haswell-based chipset. Signed-off-by: Simon Glass s...@chromium.org --- include/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/pci_ids.h b/include/pci_ids.h index dc2ca21..2e66851 100644 --- a/include/pci_ids.h +++

[U-Boot] [PATCH 2/6] x86: video: Allow keyboard presence to be controlled by device tree

2015-02-10 Thread Simon Glass
At present a VGA console assumes a keyboard unless a CONFIG option is set. This difference can be dealt with by a device tree option, allowing boards that are otherwise the same to use the same configuration. Signed-off-by: Simon Glass s...@chromium.org --- doc/README.fdt-control | 16

Re: [U-Boot] [PATCH v5 3/3] imx:mx6 set normal APS and standby PFM mode

2015-02-10 Thread Peng Fan
Hi, Stefano On 1/30/2015 1:48 AM, Stefano Babic wrote: On 27/01/2015 03:14, Peng Fan wrote: To normal mode, use APS switching mode. To standy mode, use PFM switching mode. Signed-off-by: Peng Fan peng@freescale.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com --- Applied to

Re: [U-Boot] [PATCH 06/12] pmic:pfuze add macro for setting voltage

2015-02-10 Thread Peng Fan
Hi, Stefano On 2/10/2015 7:54 PM, Stefano Babic wrote: On 09/01/2015 09:59, Peng Fan wrote: #define PFUZE100_SW1ABC_SETP(x) ((x - 3000) / 250) This macro is for configuring SW1A/B/C Output Voltage easily. Signed-off-by: Peng Fan peng@freescale.com --- include/power/pfuze100_pmic.h | 2

[U-Boot] [PATCH] ARM: imx6 Add WDOG3 for i.MX6SX

2015-02-10 Thread Peng Fan
There are three wdogs for i.MX 6SoloX. Add wdog3 support in function imx_set_wdog_powerdown. Signed-off-by: Peng Fan peng@freescale.com --- arch/arm/cpu/armv7/mx6/soc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index

Re: [U-Boot] [PATCH v2 3/3] sunxi: Normalise FEL support

2015-02-10 Thread Siarhei Siamashka
On Mon, 9 Feb 2015 15:23:17 -0700 Simon Glass s...@chromium.org wrote: Hi Siarhei, On 7 February 2015 at 20:48, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Sat, 7 Feb 2015 10:47:30 -0700 Simon Glass s...@chromium.org wrote: Make sunxi's FEL code fit with the normal

Re: [U-Boot] [RFC PATCH v3 01/14] dm: core: Allow seq numbers to be resolved before probe

2015-02-10 Thread Simon Glass
Hi Joe, On 10 February 2015 at 18:30, Joe Hershberger joe.hershber...@ni.com wrote: Before this patch, if the sequence numbers were resolved before probe, this code would insist on defining new non-conflicting-with-itself seq numbers. Now any non -1 seq number is accepted as already resolved.

Re: [U-Boot] [RFC PATCH v3 02/14] test: dm: Reorder the objects to build

2015-02-10 Thread Simon Glass
On 10 February 2015 at 18:30, Joe Hershberger joe.hershber...@ni.com wrote: Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v3: -Reorder dm test makefile Changes in v2: None test/dm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Acked-by: Simon

[U-Boot] [RFC PATCH v3 10/14] test: dm: eth: Add tests for the eth dm implementation

2015-02-10 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v3: -Added dm eth testing Changes in v2: None test/dm/Makefile | 1 + test/dm/eth.c| 39 +++ test/dm/test.dts | 18 ++ 3 files changed, 58 insertions(+) create mode

[U-Boot] [RFC PATCH v3 0/14] Add Driver Model support to network stack

2015-02-10 Thread Joe Hershberger
For now this simply addresses the MAC part of the network hardware. The next part to implement is the PHY children. I wanted to get early feedback on what I have so far to make sure I'm going in the direction that Simon envisioned. I've now added unit tests to verify functionality. Added an

[U-Boot] [RFC PATCH v3 05/14] net: Remove unneeded extern in net.h

2015-02-10 Thread Joe Hershberger
Many of the functions in net.h were preceded extern needlessly. Removing them to limit the number of checkpatch.pl complaints. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None include/net.h | 96

[U-Boot] [RFC PATCH v3 14/14] dm: eth: Add a bridge to a real network for sandbox

2015-02-10 Thread Joe Hershberger
Implement a bridge between u-boot's network stack and Linux's raw packet API allowing the sandbox to send and receive packets using the host machine's network interface. This raw Ethernet API requires elevated privileges. You can either run as root, or you can add the capability needed like so:

[U-Boot] [RFC PATCH v3 04/14] net: Rename helper function to be more clear

2015-02-10 Thread Joe Hershberger
Make it clear that the helper is checking the addr, not setting it. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None net/eth.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff

[U-Boot] [RFC PATCH v3 09/14] dm: eth: Add ARP and PING response to sandbox driver

2015-02-10 Thread Joe Hershberger
The sandbox driver will now generate response traffic to exercise the ping command even when no network exists. This allows the basic data pathways of the DM to be tested. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3:

[U-Boot] [RFC PATCH v3 08/14] dm: eth: Add network support to sandbox

2015-02-10 Thread Joe Hershberger
Add basic network support to sandbox which includes a network driver. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Reviewed-by: Simon Glass s...@chromium.org --- Changes in v3: -Added 2 more ethaddr to sandbox -Print which device in the debug write hwaddr Changes in v2: -Change

Re: [U-Boot] [PATCH] ARMv8: Bug fix of dcache_disable()

2015-02-10 Thread FengHua
hi Mark, Thank you review this patch. -Original Messages- From: Mark Rutland mark.rutl...@arm.com Sent Time: 2015-02-09 19:05:54 (Monday) To: feng...@phytium.com.cn feng...@phytium.com.cn Cc: u-boot@lists.denx.de u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] ARMv8: Bug fix

Re: [U-Boot] [PATCH 3/3] sunxi: dram: Allow to configure vdd-dll voltage on sun[457]i

2015-02-10 Thread Siarhei Siamashka
On Mon, 02 Feb 2015 14:13:18 +0100 Hans de Goede hdego...@redhat.com wrote: Hi, Thanks for the dram timing patches. Since they do not make any changes without them being explictly enabled in Kconfig, I've queued up patches 1 2 into u-boot-sunxi/next for merging upstream. I would like to

Re: [U-Boot] [RFC/PATCH] tools: New 'spl-stackusage' script

2015-02-10 Thread Siarhei Siamashka
On Mon, 02 Feb 2015 14:15:33 +0100 Andreas Bießmann andreas.de...@googlemail.com wrote: Dear Siarhei Siamashka, Hi Andreas, Thanks for your feedback. On 02/01/2015 12:47 AM, Siarhei Siamashka wrote: This is a script, which tries to provide a pessimistic estimate of the stack usage in the

Re: [U-Boot] [PATCH 2/4] mx6: soc: Add ENET2 support

2015-02-10 Thread Li Ye-B37916
Hi Stefano, On 2/10/2015 6:22 PM, Stefano Babic wrote: Hi, On 12/01/2015 09:46, Ye.Li wrote: The mx6sx has two ENET controllers, some board like mx6sxsabreauto uses the ENET2 for ethernet. So add ENET2 support to soc level, including: ENET2 clock enable and MAC address fuse for ENET2.

[U-Boot] [RFC PATCH v3 13/14] dm: eth: Add testing for netretry env var

2015-02-10 Thread Joe Hershberger
Make sure that the retry behavior occurs as expected. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v3: -Added testing for netretry Changes in v2: None test/dm/eth.c | 25 + 1 file changed, 25 insertions(+) diff --git a/test/dm/eth.c

[U-Boot] [RFC PATCH v3 01/14] dm: core: Allow seq numbers to be resolved before probe

2015-02-10 Thread Joe Hershberger
Before this patch, if the sequence numbers were resolved before probe, this code would insist on defining new non-conflicting-with-itself seq numbers. Now any non -1 seq number is accepted as already resolved. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v3: -Add seq

Re: [U-Boot] [PATCH 04/12] imx:mx6 update mxc_ccm_reg

2015-02-10 Thread Peng Fan
Hi, Stefano On 2/10/2015 7:03 PM, Stefano Babic wrote: Hi Peng, On 09/01/2015 09:59, Peng Fan wrote: Add more register for structure mxc_ccm_reg. Signed-off-by: Peng Fan peng@freescale.com --- arch/arm/include/asm/arch-mx6/crm_regs.h | 87 1 file

Re: [U-Boot] [PATCH sunxi-tools v2 0/2] Support unified u-boot SPL for SD cards and FEL mode

2015-02-10 Thread Siarhei Siamashka
On Mon, 9 Feb 2015 15:14:51 -0700 Simon Glass s...@chromium.org wrote: Hi Siarhei, On 8 February 2015 at 19:37, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: An updated variant of the older patch http://lists.denx.de/pipermail/u-boot/2015-February/204024.html These patches

[U-Boot] [PATCH 3/6] x86: spi: Add support for lynxpoint

2015-02-10 Thread Simon Glass
Add Lynxpoint to the driver so that the Asus Chromebox can be supported. Signed-off-by: Simon Glass s...@chromium.org --- drivers/spi/ich.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index 194e882..9848e0b 100644 ---

Re: [U-Boot] [PATCH v5 2/3] pmic:pfuze implement pmic_mode_init

2015-02-10 Thread Peng Fan
Hi, Stefano On 1/30/2015 1:48 AM, Stefano Babic wrote: On 27/01/2015 03:14, Peng Fan wrote: This patch is to implement pmic_mode_init function, and add prototype in header file. This function is to set switching mode for pmic buck regulators to improve system efficiency. Mode: OFF: The

[U-Boot] [PATCH 6/6] x86: Add support for panther (Asus Chromebox)

2015-02-10 Thread Simon Glass
Support running U-Boot as a coreboot payload. Tested peripherals include: - Video (HDMI and DisplayPort) - SATA disk - Gigabit Ethernet - SPI flash USB3 does not work. This may be a problem with the USB3 PCI driver or something in the USB3 stack and has not been investigated So far this is

[U-Boot] [PATCH 1/6] x86: Support machines with 4GB of RAM

2015-02-10 Thread Simon Glass
Some systems have more than 4GB of RAM. U-Boot can only place things below 4GB so any memory above that should not be used. Ignore any such memory so that the memory size will not exceed the maximum. This prevents gd-ram_size exceeding 4GB which causes problems for PCI devices which use DMA.

Re: [U-Boot] [PATCH sunxi-tools v2 0/2] Support unified u-boot SPL for SD cards and FEL mode

2015-02-10 Thread Siarhei Siamashka
On Tue, 10 Feb 2015 09:21:59 +0100 Hans de Goede hdego...@redhat.com wrote: Hi, On 09-02-15 03:37, Siarhei Siamashka wrote: An updated variant of the older patch http://lists.denx.de/pipermail/u-boot/2015-February/204024.html These patches are not for the u-boot code (unless

Re: [U-Boot] [PATCH 3/3] rpi: add support for Raspberry Pi 2 model B

2015-02-10 Thread Stephen Warren
On 02/09/2015 11:56 PM, Stephen Warren wrote: The get board rev firmware API doesn't seem to return a useful value on this platform, so we hard-code the board ID for now, since there's only one bcm2836-based RPi board at present. USB doesn't seem to work yet; the controller detects the

[U-Boot] Mainline U-Boot for MinnowBoard MAX

2015-02-10 Thread Simon Glass
Hi, Just a note to say that support for the MinnowBoard MAX has now landed in U-Boot mainline (also Intel Quark support as it happens). You can run it both 'bare metal' and as a coreboot payload. The upcoming 2015.04 release will include this support but for now you can get it from the U-Boot git

Re: [U-Boot] [PATCH 3/4] mx6: clock: Modify GPMI clock to support mx6sx

2015-02-10 Thread Li Ye-B37916
Hi Stefano, On 2/10/2015 6:26 PM, Stefano Babic wrote: Hi Ye, On 12/01/2015 09:46, Ye.Li wrote: On mx6sx, the CCM register bits for GPMI are different as other mx6 platforms. Modify the GPMI clock function to support mx6sx. Signed-off-by: Ye.Li b37...@freescale.com ---

Re: [U-Boot] [PATCH v2 3/3] sunxi: Normalise FEL support

2015-02-10 Thread Simon Glass
Hi Siarhei, On 10 February 2015 at 20:05, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Mon, 9 Feb 2015 15:23:17 -0700 Simon Glass s...@chromium.org wrote: Hi Siarhei, On 7 February 2015 at 20:48, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Sat, 7 Feb 2015 10:47:30

Re: [U-Boot] [PATCH 2/3] bcm2836 SoC support (used in Raspberry Pi 2 model B)

2015-02-10 Thread Stephen Warren
On 02/10/2015 01:14 AM, Masahiro Yamada wrote: Hi Tom, On Mon, 9 Feb 2015 23:56:45 -0700 Stephen Warren swar...@wwwdotorg.org wrote: The bcm2835 and bcm2836 are essentially identical, except: - The CPU is an ARM1176 v.s. a quad-core Cortex-A7. - The physical address of many IO controllers

Re: [U-Boot] [PATCH] imx: don't clobber reset cause

2015-02-10 Thread Eric Nelson
Hi Stefano, On 02/05/2015 11:49 AM, Stefano Babic wrote: Hi Eric, On 05/02/2015 19:22, Eric Nelson wrote: Certainly, but it seems wrong to make a decision about where and how this might get passed to an O/S in code. If we want to generalize it, I'd be inclined to add commands to query

Re: [U-Boot] [PATCH v2 0/19] powerpc: Introduce device tree control and driver model

2015-02-10 Thread Simon Glass
Hi, On 7 February 2015 at 11:53, Simon Glass s...@chromium.org wrote: Hi, On 7 February 2015 at 11:51, Simon Glass s...@chromium.org wrote: This series does a small amount of tweaking to support device tree control (CONFIG_OF_CONTROL) on PowerPC platforms. It also adds support for driver

Re: [U-Boot] [PATCH 2/3] bcm2836 SoC support (used in Raspberry Pi 2 model B)

2015-02-10 Thread Masahiro Yamada
Hi Tom, On Mon, 9 Feb 2015 23:56:45 -0700 Stephen Warren swar...@wwwdotorg.org wrote: The bcm2835 and bcm2836 are essentially identical, except: - The CPU is an ARM1176 v.s. a quad-core Cortex-A7. - The physical address of many IO controllers has moved. Rather than introducing a whole

[U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-10 Thread Dileep Katta
Adds the fastboot erase functionality, to erase a partition specified by name. The erase is performed based on erase group size, to avoid erasing other partitions. The start address and the size is aligned to the erase group size for this. Currently only supports erasing from eMMC.

Re: [U-Boot] [PATCH 17/17] sunxi: Hookup OTG USB controller support

2015-02-10 Thread Hans de Goede
Hi, On 09-02-15 23:10, Michal Suchanek wrote: On 9 February 2015 at 04:54, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Sat, 31 Jan 2015 04:54:47 +0200 Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Sun, 11 Jan 2015 20:34:55 +0100 Hans de Goede hdego...@redhat.com wrote:

Re: [U-Boot] [PATCH sunxi-tools v2 0/2] Support unified u-boot SPL for SD cards and FEL mode

2015-02-10 Thread Hans de Goede
Hi, On 09-02-15 03:37, Siarhei Siamashka wrote: An updated variant of the older patch http://lists.denx.de/pipermail/u-boot/2015-February/204024.html These patches are not for the u-boot code (unless u-boot decides to cannibalize the 'fel' tool later) but still provide a glue layerHi,

[U-Boot] [PATCH] arc: introduce U-Boot port for ARCv2 ISA

2015-02-10 Thread Alexey Brodkin
ARC HS and ARC EM are new cores based on ARCv2 ISA which is binary incompatible with ISAv1 (AKA ARCompact). Significant difference between ISAv2 and v1 is implementation of interrupt vector table. In v1 it is implemented in the same way as on many other architectures - as a special location

Re: [U-Boot] [RFC PATCH] dm: Add support for all targets which requires MANUAL_RELOC

2015-02-10 Thread Michal Simek
On 02/09/2015 11:14 PM, Simon Glass wrote: Hi MIchal, On 9 February 2015 at 03:27, Michal Simek michal.si...@xilinx.com wrote: Hi Simon, On 02/06/2015 06:45 AM, Simon Glass wrote: On 4 February 2015 at 23:31, Michal Simek michal.si...@xilinx.com wrote: Hi, On 02/05/2015 04:07 AM, Simon

Re: [U-Boot] [PATCH 1/4] mx6sx: pins: Enable SION for I2C3 iomux setting

2015-02-10 Thread Stefano Babic
Hi, On 09/02/2015 14:27, Li Ye-B37916 wrote: Hi Stefano, Nikolay, On 1/30/2015 1:54 AM, Stefano Babic wrote: Hi, On 12/01/2015 11:37, Nikolay Dimitrov wrote: Hi Ye.Li, On 01/12/2015 10:46 AM, Ye.Li wrote: The I2C SDA and SCL require the IOMUX SION bit set to get input signal.

[U-Boot] [PATCH] ARM: move -march=* and -mtune= options to arch/arm/Makefile

2015-02-10 Thread Masahiro Yamada
My main motivation for this commit: [1] Follow the arch/arm/Makefile style of Linux Kernel [2] Maintain compiler options systematically Currently, we give -march=* and -mtune=* options inconsistently: Only some of the CPUs pass -march=* and -mtune=* options. By collecting flags into the

Re: [U-Boot] [PATCH] imx: mx6qsabreauto: Change to use common GPMI IO clock function

2015-02-10 Thread Stefano Babic
Hi, On 12/01/2015 10:37, Ye.Li wrote: Since a clock function setup_gpmi_io_clk is implemented for GPMI IO clock settings, change to use this common function in GPMI setup. Signed-off-by: Ye.Li b37...@freescale.com --- board/freescale/mx6qsabreauto/mx6qsabreauto.c | 25

Re: [U-Boot] [PATCH 3/4] mx6: clock: Modify GPMI clock to support mx6sx

2015-02-10 Thread Stefano Babic
Hi Ye, On 12/01/2015 09:46, Ye.Li wrote: On mx6sx, the CCM register bits for GPMI are different as other mx6 platforms. Modify the GPMI clock function to support mx6sx. Signed-off-by: Ye.Li b37...@freescale.com --- arch/arm/cpu/armv7/mx6/clock.c | 12 1 files changed, 12

Re: [U-Boot] [PATCH 4/4] imx: mx6sxsabreauto: Add support for mx6sx SABREAUTO board

2015-02-10 Thread Stefano Babic
Hi, On 12/01/2015 09:46, Ye.Li wrote: Initial version for mx6sx SABREAUTO board support with features: PMIC, QSPI, NAND flash, SD/MMC, USB, Ethernet, I2C, IO Expander. Signed-off-by: Ye.Li b37...@freescale.com --- arch/arm/Kconfig|5 +

Re: [U-Boot] [PATCH 2/4] mx6: soc: Add ENET2 support

2015-02-10 Thread Stefano Babic
Hi, On 12/01/2015 09:46, Ye.Li wrote: The mx6sx has two ENET controllers, some board like mx6sxsabreauto uses the ENET2 for ethernet. So add ENET2 support to soc level, including: ENET2 clock enable and MAC address fuse for ENET2. Signed-off-by: Ye.Li b37...@freescale.com ---

Re: [U-Boot] [PATCH V2 08/10] arm: socfpga: Add Altera Arria V DK support

2015-02-10 Thread Pavel Machek
On Mon 2015-02-09 20:09:50, Marek Vasut wrote: On Monday, February 02, 2015 at 08:47:52 AM, Stefan Roese wrote: On 30.01.2015 23:08, Marek Vasut wrote: Add support for the Altera Arria V development kit. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See

Re: [U-Boot] [PATCH 03/12] imx:mx6slevk implement power init board

2015-02-10 Thread Stefano Babic
Hi Peng, On 09/01/2015 09:59, Peng Fan wrote: Implement power_init_board and related I2C interface configuration. After adding this, uboot can successfully detect and configure pmic. U-Boot 2015.01-rc4-00110-g5697113-dirty (Jan 08 2015 - 21:06:44) CPU: Freescale i.MX6SL rev1.0 at

Re: [U-Boot] [PATCH 05/12] imx:mx6 update fuse_bank0_regs

2015-02-10 Thread Stefano Babic
On 09/01/2015 09:59, Peng Fan wrote: Update fuse_bank0_regs structure according reference mannual. Signed-off-by: Peng Fan peng@freescale.com --- arch/arm/include/asm/arch-mx6/imx-regs.h | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git

Re: [U-Boot] [PATCH 06/12] pmic:pfuze add macro for setting voltage

2015-02-10 Thread Stefano Babic
On 09/01/2015 09:59, Peng Fan wrote: #define PFUZE100_SW1ABC_SETP(x) ((x - 3000) / 250) This macro is for configuring SW1A/B/C Output Voltage easily. Signed-off-by: Peng Fan peng@freescale.com --- include/power/pfuze100_pmic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [U-Boot] [v3 PATCH 1/3] arm: mxs: Add debug outputs and comments to mxs SPL source files

2015-02-10 Thread Stefano Babic
On 25/01/2015 02:07, Graeme Russ wrote: It is difficult to track down fail to boot issues in the mxs SPL. Implement the following to make it easier: - Add debug outputs to allow tracing of SPL progress in order to track where failure to boot occurs. DEUBUG and CONFIG_SPL_SERIAL_SUPPORT must

Re: [U-Boot] [v3 PATCH 2/3] arm: mxs: Enable booting of mx28 without battery

2015-02-10 Thread Stefano Babic
On 25/01/2015 02:07, Graeme Russ wrote: Section 4.1.2 of Freescale Application Note AN4199 describes the configuration required to operate the mx28 from a 5V source without a battery. This patch changes the behaviour of the dropout control of the DC-DC converter (refer to section 11.12.9 of

Re: [U-Boot] [v3 PATCH 3/3] arm: mxs: Add 'Wait for JTAG user' if booted in JTAG mode

2015-02-10 Thread Stefano Babic
On 25/01/2015 02:07, Graeme Russ wrote: When booting in JTAG mode, there is no way to use soft break-points, and no way of knowing when SPL has finished executing (so the user can issue a 'halt' command to load u-boot.bin for example) Add a debug output and simple loop to stop execution at

Re: [U-Boot] [PATCH 04/12] imx:mx6 update mxc_ccm_reg

2015-02-10 Thread Stefano Babic
Hi Peng, On 09/01/2015 09:59, Peng Fan wrote: Add more register for structure mxc_ccm_reg. Signed-off-by: Peng Fan peng@freescale.com --- arch/arm/include/asm/arch-mx6/crm_regs.h | 87 1 file changed, 87 insertions(+) diff --git

Re: [U-Boot] [PATCH] ARM: move -march=* and -mtune= options to arch/arm/Makefile

2015-02-10 Thread Marek Vasut
On Tuesday, February 10, 2015 at 11:52:56 AM, Masahiro Yamada wrote: My main motivation for this commit: [1] Follow the arch/arm/Makefile style of Linux Kernel [2] Maintain compiler options systematically Currently, we give -march=* and -mtune=* options inconsistently: Only some of

Re: [U-Boot] [PATCH 07/12] imx:mx6 Support LDO bypass

2015-02-10 Thread Stefano Babic
Hi Peng, On 09/01/2015 09:59, Peng Fan wrote: The basic graph for voltage input is: VDDARM_IN --- LDO_DIG(ARM) --- VDD_ARM_CAP VDDSOC_IN --- LDO_DIG(SOC) --- VDD_SOC_CAP We can bypass the LDO to save power, if the board already has pmic. set_anatop_bypass is the function to do the

Re: [U-Boot] [PATCH] imx: mx6qsabreauto: Change to use common GPMI IO clock function

2015-02-10 Thread Stefano Babic
On 12/01/2015 10:37, Ye.Li wrote: Since a clock function setup_gpmi_io_clk is implemented for GPMI IO clock settings, change to use this common function in GPMI setup. Signed-off-by: Ye.Li b37...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH] imx: mx6: Fixed AIPS3 base address issue

2015-02-10 Thread Stefano Babic
On 14/01/2015 10:18, Ye.Li wrote: Should use AIPS3 configuration address 0x0227C000 to set AIPS3, not the AIPS3 base address. Additional, replace AIPS1_BASE_ADDR to AIPS3_ARB_BASE_ADDR to align with AIPS1 and AIPS2, and resolve the AIPS3_ARB_BASE_ADDR undefine problem. Signed-off-by: Ye.Li

Re: [U-Boot] [PATCH] imx: imximage: Add QuadSPI boot support

2015-02-10 Thread Stefano Babic
On 13/01/2015 08:53, Ye.Li wrote: Add QuadSPI boot support to imximage tool. Note: The QuadSPI configuration parameters at offset 0x400 are not included in this patch. Need other tools to generate the parameters part. Signed-off-by: Ye.Li b37...@freescale.com --- Applied to u-boot-imx,

Re: [U-Boot] [PATCH 1/3] video: Update MXS LCDIF driver for mx6sx

2015-02-10 Thread Stefano Babic
Hi, On 14/01/2015 10:19, Ye.Li wrote: Add a new interface mxs_lcd_panel_setup to setup fb parameters and specifies the LCDIF controller for multiple controllers of iMX6SX. Pass fb parameters via videomode env remains work if the new interface is not called before video initialization.

Re: [U-Boot] [PATCH] ARM: move -march=* and -mtune= options to arch/arm/Makefile

2015-02-10 Thread Stefan Roese
On 10.02.2015 11:52, Masahiro Yamada wrote: My main motivation for this commit: [1] Follow the arch/arm/Makefile style of Linux Kernel [2] Maintain compiler options systematically Currently, we give -march=* and -mtune=* options inconsistently: Only some of the CPUs pass -march=* and

Re: [U-Boot] [PATCH 2/3] imx: mx6: Update mx6sx registers and clock functions for display

2015-02-10 Thread Stefano Babic
Hi, On 14/01/2015 10:19, Ye.Li wrote: Add clock functions and relevant registers to enable/set LCDIF clock and LVDS clock. Signed-off-by: Ye.Li b37...@freescale.com --- arch/arm/cpu/armv7/mx6/clock.c | 238 + arch/arm/include/asm/arch-mx6/clock.h

Re: [U-Boot] [PATCH] arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD

2015-02-10 Thread Stefan Roese
Hi Albert, On 01.02.2015 03:55, Albert ARIBAUD wrote: When building a THumb-1-only target with CONFIG_SYS_THUMB_BUILD, some files fail to build, most of the time because they include mcr instructions, which only exist for Thumb-2. Thos patch introduces a Kconfig option CONFIG_THUMB2 and

Re: [U-Boot] [PATCH] odroid: update link to X2/U3 proprietary binaries

2015-02-10 Thread Przemyslaw Marczak
Hello Tobias, On 02/01/2015 07:53 PM, Tobias Jakobi wrote: The old link was dead. Link to the Github repository which is probably a more long-term solution. --- doc/README.odroid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.odroid b/doc/README.odroid index

Re: [U-Boot] [PATCH v2 0/19] powerpc: Introduce device tree control and driver model

2015-02-10 Thread Stefan Roese
Hi Simon, On 10.02.2015 17:35, Simon Glass wrote: On 7 February 2015 at 11:51, Simon Glass s...@chromium.org wrote: This series does a small amount of tweaking to support device tree control (CONFIG_OF_CONTROL) on PowerPC platforms. It also adds support for driver model. In both cases the main

Re: [U-Boot] [PATCH] imx: don't clobber reset cause

2015-02-10 Thread Bill Pringlemeir
On 10 Feb 2015, eric.nel...@boundarydevices.com wrote: I posted a couple of additional options and received no comment from you. Neither of them works as-is because of the ordering of events (print_cpuinfo() is called before restoring the environment), so your suggestion would require an

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix PIO_WORD number

2015-02-10 Thread Marek Vasut
On Tuesday, February 10, 2015 at 04:18:12 PM, Luca Ellero wrote: On 10/02/2015 14:14, Stefano Babic wrote: Hi Luca, On 16/12/2014 09:06, Luca Ellero wrote: Scheduling the patch for -next it's ok for me. However there are other two points where pio_words number doesn't reflect the

Re: [U-Boot] [RFC PATCH 0/7] RFC: dm: Add USB support

2015-02-10 Thread Marek Vasut
On Tuesday, February 10, 2015 at 06:28:30 AM, Simon Glass wrote: Hi Marek, Hi! [...] Hi! I'll look at this by the end of next week, I will be free by then. It's not possible for me to do it earlier, sorry. Does this still work for you please? Definitely, that sounds good.

Re: [U-Boot] [PATCH 2/2] net: phy: Add ability to program the ksz9031 skew values from the uboot env

2015-02-10 Thread Marek Vasut
On Monday, February 09, 2015 at 10:31:42 PM, Vince Bridgers wrote: Hi Marek! Hi Vince! We already do this kind of a programming in board/altera/socfpga/socfpga.c in board_phy_config(), don't we ? Yes, good point. This patch series is a first in some upcoming patches to make this better.

Re: [U-Boot] [PATCH V2 08/10] arm: socfpga: Add Altera Arria V DK support

2015-02-10 Thread Marek Vasut
On Tuesday, February 10, 2015 at 06:53:19 AM, Stefan Roese wrote: On 09.02.2015 20:09, Marek Vasut wrote: On Monday, February 02, 2015 at 08:47:52 AM, Stefan Roese wrote: On 30.01.2015 23:08, Marek Vasut wrote: Add support for the Altera Arria V development kit. Signed-off-by: Marek

Re: [U-Boot] [PATCH V2 08/10] arm: socfpga: Add Altera Arria V DK support

2015-02-10 Thread Marek Vasut
On Tuesday, February 10, 2015 at 11:29:32 AM, Pavel Machek wrote: On Mon 2015-02-09 20:09:50, Marek Vasut wrote: On Monday, February 02, 2015 at 08:47:52 AM, Stefan Roese wrote: On 30.01.2015 23:08, Marek Vasut wrote: Add support for the Altera Arria V development kit.

[U-Boot] [PATCH v4 5/5] Make export interface support CONFIG_SYS_MALLOC_SIMPLE

2015-02-10 Thread Simon Glass
When CONFIG_SYS_MALLOC_SIMPLE is defined, free() is a static inline. Make sure that the export interface still builds in this case. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Add new patch to make the export interface support CONFIG_SYS_MALLOC_SIMPLE Changes in v3: None

[U-Boot] [PATCH v4 1/5] arm: Reduce the scope of lowlevel_init()

2015-02-10 Thread Simon Glass
This function has grown into something of a monster. Some boards are setting up a console and DRAM here in SPL. This requires global_data which should be set up in one place (crt0.S). There is no need for SPL to use s_init() for anything since board_init_f() is called immediately afterwards.

[U-Boot] [PATCH v4 2/5] arm: spl: Avoid setting up a duplicate global data structure

2015-02-10 Thread Simon Glass
This is already set up in crt0.S. We don't need a new structure and don't really want one in the 'data' section of the image, since it will be empty and crt0.S's changes will be ignored. As an interim measure, remove it only if CONFIG_DM is not defined. This allows us to press ahead with driver

Re: [U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-10 Thread Steve Rae
Hi, Dileep On 15-02-10 12:49 AM, Dileep Katta wrote: Adds the fastboot erase functionality, to erase a partition specified by name. The erase is performed based on erase group size, to avoid erasing other partitions. The start address and the size is aligned to the erase group size for this.

  1   2   >