Re: [U-Boot] [PATCH v2 15/19] dm: sunxi: Move driver model CONFIGs to Kconfig

2015-02-06 Thread Ian Campbell
On Thu, 2015-02-05 at 21:41 -0700, Simon Glass wrote: > Remove driver model CONFIGs from the board config headers and use Kconfig > instead. > > Signed-off-by: Simon Glass Acked-by: Ian Campbell I assume you'll take this via the dm tree along with the rest of the series.

Re: [U-Boot] [PATCH sunxi-tools] WIP: fel: Add a command for loading U-Boot SPL binaries in eGON format

2015-02-06 Thread Siarhei Siamashka
rea in the lower addresses of SRAM. The available SRAM space will be > > less than 32 KiB though (but at least larger than 16 KiB), because the > > backups of the BROM stacks have to be preserved. > > Cool, I like the idea of saving the BROM data to some other SRAM area, > and

Re: [U-Boot] [PATCH sunxi-tools] WIP: fel: Add a command for loading U-Boot SPL binaries in eGON format

2015-02-06 Thread Siarhei Siamashka
: http://permalink.gmane.org/gmane.comp.hardware.netbook.arm.sunxi/14919 > I don't really understand how it works but will leave that to you and Hans. OK :) Anyway, now I have finally pushed a supposedly properly working implementation to the following github branch: https://gith

Re: [U-Boot] [PATCH v2] image: Convert to use fdt_for_each_subnode macro

2015-02-06 Thread Simon Glass
On 6 February 2015 at 18:12, Axel Lin wrote: > Use fdt_for_each_subnode macro to simplify the code a bit. > > Signed-off-by: Axel Lin > --- > v2: Update commit log > common/image-fit.c | 4 +--- > common/image-sig.c | 16 > 2 files changed, 5 insertions(+), 15 deletions(-) Ack

Re: [U-Boot] [RFC PATCH v2 4/8] net: Refactor in preparation for driver model

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:38, Joe Hershberger wrote: > Move some things around and organize things so that the driver model > implementation will fit in more easily. > > Signed-off-by: Joe Hershberger > --- > > Changes in v2: None > > include/net.h | 63 +--

Re: [U-Boot] [RFC PATCH v2 6/8] net: Add network support to sandbox

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:38, Joe Hershberger wrote: > Add basic network support to sandbox which includes a network driver. > > Signed-off-by: Joe Hershberger > > --- > > Changes in v2: > -Change printfs to debug in sandbox driver > -Remove unused priv struct for sandbox driver > > arch/sandbox/

Re: [U-Boot] [RFC PATCH v2 8/8] net: Add actual networking support to sandbox's driver

2015-02-06 Thread Simon Glass
Hi Joe, On 2 February 2015 at 17:38, Joe Hershberger wrote: > This doesn't build right now > Is this intended to connect sandbox to the real network? Very interesting if so. > Signed-off-by: Joe Hershberger > > --- > > Changes in v2: > -Added the raw packet proof-of-concept patch. > > drivers

Re: [U-Boot] [RFC PATCH v2 7/8] net: Add ARP and PING response to sandbox driver

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:38, Joe Hershberger wrote: > 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 > --- > > Changes in v2: > -Cha

Re: [U-Boot] [RFC PATCH v2 5/8] net: Add basic driver model support to Ethernet stack

2015-02-06 Thread Simon Glass
Hi Joe, On 2 February 2015 at 17:38, Joe Hershberger wrote: > First just add support for MAC drivers. > > Signed-off-by: Joe Hershberger > > --- > > Changes in v2: > -Updated comments > -Removed extra parentheses > -Changed eth_uclass_priv local var names to be uc_priv > -Update error codes > -C

Re: [U-Boot] [RFC PATCH v2 3/8] net: Remove unneeded "extern" in net.h

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:38, Joe Hershberger wrote: > 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 I think you dropped my tag on these? Reviewed-by: Simon Glass > --- > > Ch

Re: [U-Boot] [RFC PATCH v2 2/8] net: Rename helper function to be more clear

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:38, Joe Hershberger wrote: > Make it clear that the helper is checking the addr, not setting it. > > Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass > --- > > Changes in v2: None > > net/eth.c | 13 - > 1 file changed, 4 insertions(+), 9 deletions(

Re: [U-Boot] [RFC PATCH v2 1/8] net: Provide a function to get the current MAC address

2015-02-06 Thread Simon Glass
Hi Joe, On 2 February 2015 at 17:38, Joe Hershberger wrote: > 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 > --- > >

[U-Boot] [PATCH v2] image: Convert to use fdt_for_each_subnode macro

2015-02-06 Thread Axel Lin
Use fdt_for_each_subnode macro to simplify the code a bit. Signed-off-by: Axel Lin --- v2: Update commit log common/image-fit.c | 4 +--- common/image-sig.c | 16 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/common/image-fit.c b/common/image-fit.c index b47d1

Re: [U-Boot] [PATCH v3 09/12] common/board_r: allocate bootparams

2015-02-06 Thread Simon Glass
Hi Andreas, On 6 February 2015 at 15:06, Andreas Bießmann wrote: > Signed-off-by: Andreas Bießmann > Reviewed-by: Simon Glass If you re-issue this for any other reason, please add a commit message... > --- > > Changes in v3: None > Changes in v2: > - provide as extra patch, remove from avr32

Re: [U-Boot] [PATCH] crypto/fsl - Add progressive hashing support using hardware acceleration.

2015-02-06 Thread Simon Glass
Hi Ruchika, On 5 February 2015 at 04:20, Ruchika Gupta wrote: > Hi Simon, > [snip] >> > diff --git a/drivers/crypto/fsl/fsl_hash.c >> > b/drivers/crypto/fsl/fsl_hash.c index d77f257..1681705 100644 >> > --- a/drivers/crypto/fsl/fsl_hash.c >> > +++ b/drivers/crypto/fsl/fsl_hash.c >> > @@ -10,6 +1

Re: [U-Boot] [PATCH v2 18/19] dm: socfpga: Move driver model CONFIGs to Kconfig

2015-02-06 Thread Simon Glass
Hi Dinh, On 6 February 2015 at 16:36, Dinh Nguyen wrote: > Hi Simon, > > On 02/05/2015 10:41 PM, Simon Glass wrote: >> Remove driver model CONFIGs from the board config headers and use Kconfig >> instead. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v2: None >> >> configs/socfpga_so

Re: [U-Boot] [PATCH v2 18/19] dm: socfpga: Move driver model CONFIGs to Kconfig

2015-02-06 Thread Dinh Nguyen
Hi Simon, On 02/05/2015 10:41 PM, Simon Glass wrote: > Remove driver model CONFIGs from the board config headers and use Kconfig > instead. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > configs/socfpga_socrates_defconfig | 3 +++ > include/configs/socfpga_common.h | 7 ---

Re: [U-Boot] x86: ACPI support suggestion

2015-02-06 Thread Simon Glass
Hi, On 6 February 2015 at 16:11, Gabriel Huau wrote: > Hi Simon, > > > On 02/06/2015 03:04 PM, Simon Glass wrote: >> >> Hi Gabriel, >> >> On 6 February 2015 at 16:01, Gabriel Huau wrote: >>> >>> Hi Bin, >>> >>> Actually I was able to try with a quick&dirty code the integration of the >>> ACPI ta

Re: [U-Boot] x86: ACPI support suggestion

2015-02-06 Thread Gabriel Huau
Hi Simon, On 02/06/2015 03:04 PM, Simon Glass wrote: Hi Gabriel, On 6 February 2015 at 16:01, Gabriel Huau wrote: Hi Bin, Actually I was able to try with a quick&dirty code the integration of the ACPI tables (aml files) and it doesn't seem to be possible. The boot to Linux is working fine, a

Re: [U-Boot] x86: ACPI support suggestion

2015-02-06 Thread Simon Glass
Hi Gabriel, On 6 February 2015 at 16:01, Gabriel Huau wrote: > Hi Bin, > > Actually I was able to try with a quick&dirty code the integration of the > ACPI tables (aml files) and it doesn't seem to be possible. > The boot to Linux is working fine, all the ACPI tables are loaded correctly, > but t

Re: [U-Boot] [PATCH][v2] crypto/fsl - Add progressive hashing support using hardware acceleration.

2015-02-06 Thread Simon Glass
Hi, On 6 February 2015 at 05:02, gaurav.r...@freescale.com wrote: > Thanks for your valuable comments. > > Thanks and Regards, > Gaurav Kumar Rana > > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Friday, February 06, 2015 11:15 AM >

Re: [U-Boot] x86: ACPI support suggestion

2015-02-06 Thread Gabriel Huau
Hi Bin, Actually I was able to try with a quick&dirty code the integration of the ACPI tables (aml files) and it doesn't seem to be possible. The boot to Linux is working fine, all the ACPI tables are loaded correctly, but the system is unstable and it seems to have some issue with the interru

[U-Boot] [PATCH v3 12/12] atstk1002: enable generic board

2015-02-06 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- Changes in v3: None Changes in v2: None Changes in v1: - new since RFC include/configs/atstk1002.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/atstk1002.h b/include/configs/atstk1002.h index 9e58238..a9c064a 100644 --- a/include

[U-Boot] [PATCH v3 11/12] grasshopper: enable generic board

2015-02-06 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- Changes in v3: None Changes in v2: None Changes in v1: None include/configs/grasshopper.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/grasshopper.h b/include/configs/grasshopper.h index 83f0ed2..54eb977 100644 --- a/include/conf

[U-Boot] [PATCH v3 02/12] avr32: rename cpu_init() -> arch_cpu_init()

2015-02-06 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None Changes in v1: None arch/avr32/cpu/cpu.c|2 +- arch/avr32/include/asm/u-boot.h |2 ++ arch/avr32/lib/board.c |2 +- 3 files changed, 4 insertions(+), 2 deletion

[U-Boot] [PATCH v3 03/12] avr32: factor out cpu_mmc_init()

2015-02-06 Thread Andreas Bießmann
cpu_mmc_init() is required by the init sequence to have a working MMC interface on avr32. This will not be included in the binary if we omit the avr32 board.c when building the generic board. Signed-off-by: Andreas Bießmann --- Changes in v3: None Changes in v2: None Changes in v1: - new since

[U-Boot] [PATCH v3 01/12] avr32: use dlmalloc for DMA buffers

2015-02-06 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- Changes in v3: None Changes in v2: None Changes in v1: None arch/avr32/include/asm/dma-mapping.h |7 - arch/avr32/lib/board.c | 51 -- include/configs/atngw100.h |1 - include/configs/atngw

[U-Boot] [PATCH v3 05/12] avr32: convert to dram_init()

2015-02-06 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - new since v1 Changes in v1: None arch/avr32/include/asm/u-boot.h |1 + arch/avr32/lib/Makefile |1 + arch/avr32/lib/board.c | 20

[U-Boot] [PATCH v3 06/12] avr32: use generic gd->start_addr_sp

2015-02-06 Thread Andreas Bießmann
Before avr32 had an extra storage for stack end to have a nice stack printout on exception. Remove this extra storage and use generic gd->start_addr_sp instead. Signed-off-by: Andreas Bießmann --- Changes in v3: - new in v3 Changes in v2: None Changes in v1: None arch/avr32/cpu/exception.c

[U-Boot] [PATCH v3 04/12] avr32: rename mmu.h definitions

2015-02-06 Thread Andreas Bießmann
Prefix mmu.h PAGE_xxx definitions with MMU_ in order to prevent a naming conflict with other definitions. Signed-off-by: Andreas Bießmann --- Changes in v3: None Changes in v2: None Changes in v1: - new since RFC arch/avr32/cpu/at32ap700x/mmu.c |8 arch/avr32/include/

[U-Boot] Samsung patches

2015-02-06 Thread Simon Glass
Hi, I see quite a few series sitting around to be applied, including the Peach Pi display which is still waiting. Any news please? Thanks, Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC] m68k: generic board

2015-02-06 Thread Angelo Dureghello
On 06/02/2015 17:02, Tom Rini wrote: On Mon, Jan 26, 2015 at 09:39:13AM +, Huan Wang wrote: Hi, Tom, On Thu, Jan 15, 2015 at 04:08:40PM +0100, Angelo Dureghello wrote: Dear all, i would like to post a patch with the m68k generic board support, tested and working here, but of course not

Re: [U-Boot] [PATCH RFT v2] gpio: at91: Fix getting address of private data

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:55, Simon Glass wrote: > On 30 January 2015 at 23:47, Axel Lin wrote: >> Use dev_get_priv() rather than dev_get_platdata() to get correct address of >> private data. >> >> Signed-off-by: Axel Lin >> --- >> v2: Fix an obvious typo in subject line (s/addres/address). >> d

Re: [U-Boot] [PATCH v3 08/12] i2c: s3c24x0: reduce transmission status timeout

2015-02-06 Thread Simon Glass
On 6 February 2015 at 13:48, Simon Glass wrote: > Hi, > > On 27 January 2015 at 08:44, Przemyslaw Marczak wrote: >> Hello, >> >> On 01/27/2015 04:38 PM, Simon Glass wrote: >>> >>> Hi, >>> >>> On 27 January 2015 at 05:36, Przemyslaw Marczak >>> wrote: If no device is connected to I2C bu

Re: [U-Boot] [PATCH] gpio: omap: Pass correct argument to _get_gpio_direction()

2015-02-06 Thread Simon Glass
On 2 February 2015 at 17:55, Simon Glass wrote: > HI Axel, > > On 31 January 2015 at 07:23, Axel Lin wrote: >> Pass bank rather than bank->base to _get_gpio_direction(). >> >> Signed-off-by: Axel Lin >> --- >> drivers/gpio/omap_gpio.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >>

Re: [U-Boot] [PATCH 1/3] dm: Prevent "demo hello" and "demo status" segfaults

2015-02-06 Thread Simon Glass
On 3 February 2015 at 12:23, Peter Tyser wrote: > Hi Simon, > > On Tue, 2015-02-03 at 13:18 -0600, Peter Tyser wrote: >> Segfaults can occur when a mandatory argument is not provided to >> "demo hello" and "demo status". Eg: >> >>=> demo hello >>Segmentation fault (core dumped) >> >> Add

Re: [U-Boot] [PATCH] RSA depends on DM

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass wrote: > On 4 February 2015 at 20:16, Chris Kuethe wrote: >> Discovered while experimenting with signature checking on vexpress >> which doesn't typically use DM. >> --- >> Kconfig | 1 + >> 1 file changed, 1 insertion(+) > > Acked-by: Simon Glass Appli

[U-Boot] [PATCH] sandbox: Return '-c command' exit value as sandbox exit code

2015-02-06 Thread Joe Hershberger
When a command is passed into sandbox using the '-c' argument the command is run directly. This is most helpful when running tests (such as test-dm.sh). Previously the exit code was an unused enum. Change it to be the actual return code from the command so that the script calling sandbox can know i

Re: [U-Boot] recent tools on FreeBSD

2015-02-06 Thread Simon Glass
Hi, On 6 February 2015 at 13:40, Andreas Bießmann wrote: > Hi, > > On 06.02.15 20:56, Jeroen Hofstee wrote: >> Hello Simon, +Andreas, >> >> On 06-02-15 04:05, Simon Glass wrote: >>> Hi Jeroen, >>> >>> On 5 February 2015 at 12:51, Jeroen Hofstee wrote: Hello Guilherme, Thanks for c

Re: [U-Boot] [PATCH] imx: save reset cause in 'reset_cause' environment variable

2015-02-06 Thread Bill Pringlemeir
> On 02/05/2015 03:58 PM, Eric Nelson wrote: >> The cause of a reset is generally useful, and shouldn't be >> blindly cleared in the process of displaying it as a part >> of the boot announcement. >> >> >> >> diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c >> index 28ccd29..4a5

Re: [U-Boot] [PATCH v3 08/12] i2c: s3c24x0: reduce transmission status timeout

2015-02-06 Thread Simon Glass
Hi, On 27 January 2015 at 08:44, Przemyslaw Marczak wrote: > Hello, > > On 01/27/2015 04:38 PM, Simon Glass wrote: >> >> Hi, >> >> On 27 January 2015 at 05:36, Przemyslaw Marczak >> wrote: >>> >>> If no device is connected to I2C bus, the i2c probe command >>> can take a lot of time for probe ea

Re: [U-Boot] recent tools on FreeBSD

2015-02-06 Thread Andreas Bießmann
Hi, On 06.02.15 20:56, Jeroen Hofstee wrote: > Hello Simon, +Andreas, > > On 06-02-15 04:05, Simon Glass wrote: >> Hi Jeroen, >> >> On 5 February 2015 at 12:51, Jeroen Hofstee wrote: >>> Hello Guilherme, >>> >>> Thanks for commenting on this, >>> >>> On 02/05/15 13:27, Guilherme Maciel Ferreira

Re: [U-Boot] [PATCH] imx: save reset cause in 'reset_cause' environment variable

2015-02-06 Thread Eric Nelson
Hi all, On 02/05/2015 03:58 PM, Eric Nelson wrote: > The cause of a reset is generally useful, and shouldn't be > blindly cleared in the process of displaying it as a part > of the boot announcement. > > > > diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c > index 28ccd29..4a5

Re: [U-Boot] [PATCH] imx: save reset cause in 'reset_cause' environment variable

2015-02-06 Thread Eric Nelson
Hi all, On 02/05/2015 03:57 PM, Eric Nelson wrote: > The cause of a reset is generally useful, and shouldn't be > blindly cleared in the process of displaying it as a part > of the boot announcement. > > Stash the string representation in the environment variable > "reset_cause". > > > > > Sig

Re: [U-Boot] [PATCH 2/2] x86: Use tab instead of space to indent in PCIE_ECAM_BASE

2015-02-06 Thread Simon Glass
On 2 February 2015 at 16:58, Simon Glass wrote: > On 2 February 2015 at 06:29, Bin Meng wrote: >> Hi Simon, >> >> On Mon, Feb 2, 2015 at 9:25 PM, Bin Meng wrote: >>> Space is used before 'default' in PCIE_ECAM_BASE in arch/x86/Kconfig >>> so it looks misaligned. Replace the space with tab to ind

Re: [U-Boot] [PATCH 1/2] bootstage: Fix typos in the comment

2015-02-06 Thread Simon Glass
On 2 February 2015 at 09:19, Simon Glass wrote: > On 2 February 2015 at 06:25, Bin Meng wrote: >> There are two typos in the comment block in bootstage.h, fix them. >> >> Signed-off-by: Bin Meng >> --- >> >> include/bootstage.h | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > > Ac

Re: [U-Boot] [PATCH 6/6] x86: Add Intel Galileo instructions in README.x86

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass wrote: > On 4 February 2015 at 01:26, Bin Meng wrote: >> Add some instructions about building U-Boot for Intel Galileo board. >> >> Signed-off-by: Bin Meng >> >> --- >> >> doc/README.x86 | 24 >> 1 file changed, 20 insertions(+),

Re: [U-Boot] [RFC PATCH v2 9/9] x86: quark: Call MRC in dram_init()

2015-02-06 Thread Simon Glass
On 5 February 2015 at 22:23, Simon Glass wrote: > On 5 February 2015 at 08:42, Bin Meng wrote: >> Now that we have added Quark MRC codes, call MRC in dram_init() so >> that DRAM can be initialized on a Quark based board. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v2: >> - Update co

Re: [U-Boot] [PATCH 4/6] x86: Add SPI support to quark/galileo

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass wrote: > On 4 February 2015 at 01:26, Bin Meng wrote: >> The Quark SoC contains a legacy SPI controller in the legacy bridge >> which is ICH7 compatible. Like Tunnel Creek and BayTrail, the BIOS >> control register offset in the ICH SPI driver is wrong for

Re: [U-Boot] [PATCH 2/6] x86: galileo: Add GPIO support

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass wrote: > On 4 February 2015 at 01:26, Bin Meng wrote: >> Quark SoC has a legacy GPIO block in the legacy bridge (D0:F31), >> which is just the same one found in other x86 chipset. Since we >> programmed the GPIO register block base address, we should be >>

Re: [U-Boot] [RFC PATCH v2 8/9] dt-bindings: Add Intel Quark MRC bindings

2015-02-06 Thread Simon Glass
On 5 February 2015 at 08:42, Bin Meng wrote: > Add standard dt-bindings macros to be used by Intel Quark MRC node. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass Applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://l

Re: [U-Boot] [PATCH 3/6] x86: pci: Add pci ids for Quark SoC

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass wrote: > On 4 February 2015 at 01:26, Bin Meng wrote: >> Add pci ids for Intel Quark SoC. >> >> Signed-off-by: Bin Meng >> --- >> >> include/pci_ids.h | 4 >> 1 file changed, 4 insertions(+) > > Acked-by: Simon Glass Applied to u-boot-x86, thanks!

Re: [U-Boot] [PATCH 5/6] x86: Add SD/MMC support to quark/galileo

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass wrote: > On 4 February 2015 at 01:26, Bin Meng wrote: >> Intel Galileo board has a microSD slot which is routed from Quark SoC >> SDIO controller. Enable SD/MMC support so that we can use an SD card. >> >> Signed-off-by: Bin Meng >> --- >> >> arch/x86/cp

Re: [U-Boot] [PATCH 1/6] x86: quark: Initialize non-standard BARs

2015-02-06 Thread Simon Glass
On 4 February 2015 at 20:26, Simon Glass wrote: > On 4 February 2015 at 01:26, Bin Meng wrote: >> Quark SoC has some non-standard BARs (excluding PCI standard BARs) >> which need be initialized with suggested values. This includes GPIO, >> WDT, RCBA, PCIe ECAM and some ACPI register block base ad

Re: [U-Boot] [RFC PATCH 6/9] x86: quark: Enable the Memory Reference Code build

2015-02-06 Thread Simon Glass
[snip] > I'm happy enough with this. > > Acked-by: Simon Glass Applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC PATCH v2 5/9] x86: quark: Add System Memory Controller support

2015-02-06 Thread Simon Glass
On 5 February 2015 at 17:52, Simon Glass wrote: > On 5 February 2015 at 08:42, Bin Meng wrote: >> The codes are actually doing the memory initialization stuff. >> >> Signed-off-by: Bin Meng >> >> --- >> The most ugly codes I've ever seen ... >> There are 252 warnings and 127 checks in this patch

Re: [U-Boot] [RFC PATCH v2 4/9] x86: quark: Add utility codes needed for MRC

2015-02-06 Thread Simon Glass
On 5 February 2015 at 17:51, Simon Glass wrote: > Hi Bin, > > On 5 February 2015 at 08:42, Bin Meng wrote: >> Add various utility codes needed for Quark MRC. >> >> Signed-off-by: Bin Meng >> >> --- >> There are 12 checkpatch warnings in this patch, which are: >> >> warning: arch/x86/cpu/quark/mr

Re: [U-Boot] [RFC PATCH v2 7/9] fdtdec: Add compatible id and string for Intel Quark MRC

2015-02-06 Thread Simon Glass
On 5 February 2015 at 08:42, Bin Meng wrote: > Add COMPAT_INTEL_QRK_MRC and "intel,quark-mrc" so that fdtdec can > decode Intel Quark MRC node. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass Applied to u-boot-x86, thanks! ___ U-Boot mailing list

Re: [U-Boot] [RFC PATCH v2 3/9] x86: quark: Add Memory Reference Code (MRC) main routines

2015-02-06 Thread Simon Glass
On 5 February 2015 at 17:51, Simon Glass wrote: > On 5 February 2015 at 08:42, Bin Meng wrote: >> Add the main routines for Quark Memory Reference Code (MRC). >> >> Signed-off-by: Bin Meng >> >> --- >> The are 24 checkpatch warnings in this patch, which is: >> >> warning: arch/x86/cpu/quark/mrc.

Re: [U-Boot] [RFC PATCH v3 7/7] x86: Enable the Intel quark/galileo build

2015-02-06 Thread Simon Glass
On 2 February 2015 at 07:35, Bin Meng wrote: > Make the Intel quark/galileo support avaiable in Kconfig and Makefile. > With this patch, we can generate u-boot.rom for Intel galileo board. > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass > Acked-by: Simon Glass Applied to u-boot-x86, tha

Re: [U-Boot] [RFC PATCH v2 2/9] x86: quark: Bypass TSC calibration

2015-02-06 Thread Simon Glass
On 5 February 2015 at 08:42, Bin Meng wrote: > For some unknown reason, the TSC calibration via PIT does not work on > Quark. Enable bypassing TSC calibration and override TSC_FREQ_IN_MHZ > to 400 per Quark datasheet in the Kconfig. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass Applied to

Re: [U-Boot] [RFC PATCH v3 6/7] x86: Add basic Intel Galileo board support

2015-02-06 Thread Simon Glass
On 2 February 2015 at 07:35, Bin Meng wrote: > New board/intel/galileo board directory with minimum codes, plus > board dts, defconfig and configuration files. > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass > Acked-by: Simon Glass Applied to u-boot-x86, thanks!

Re: [U-Boot] [RFC PATCH v2 1/9] x86: Allow overriding TSC_FREQ_IN_MHZ

2015-02-06 Thread Simon Glass
On 5 February 2015 at 08:42, Bin Meng wrote: > We should allow the value of TSC_FREQ_IN_MHZ to be overridden by > the one in arch/cpu//Kconfig. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass Applied to u-boot-x86, thanks! ___ U-Boot mailing list

Re: [U-Boot] [RFC PATCH v3 4/7] x86: quark: Add Cache-As-RAM initialization

2015-02-06 Thread Simon Glass
On 4 February 2015 at 08:07, Simon Glass wrote: > On 2 February 2015 at 07:35, Bin Meng wrote: >> Quark SoC contains an embedded 512KiB SRAM (eSRAM) that is >> initialized by hardware. eSRAM is the ideal place to be used >> for Cache-As-RAM (CAR) before system memory is available. >> >> Signed-of

Re: [U-Boot] [RFC PATCH v3 5/7] x86: Add basic Intel Quark processor support

2015-02-06 Thread Simon Glass
On 4 February 2015 at 08:07, Simon Glass wrote: > On 2 February 2015 at 07:35, Bin Meng wrote: >> Add minimum codes to support Intel Quark SoC. DRAM initialization >> is not ready yet so a hardcoded gd->ram_size is assigned. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v3: >> - Add s

Re: [U-Boot] [RFC PATCH v3 3/7] x86: Define macros for pci configuration space access

2015-02-06 Thread Simon Glass
On 4 February 2015 at 08:07, Simon Glass wrote: > On 2 February 2015 at 07:35, Bin Meng wrote: >> Move PCI_REG_ADDR and PCI_REG_DATA from arch/x86/lib/pci_type1.c to >> arch/x86/include/asm/pci.h, also define PCI_CFG_EN so that these >> macros can be used for pci configuration space access. >> >>

Re: [U-Boot] [RFC PATCH v3 2/7] x86: quark: Add routines to access message bus registers

2015-02-06 Thread Simon Glass
On 2 February 2015 at 07:35, Bin Meng wrote: > In the Quark SoC, some chipset commands are accomplished by utilizing > the internal message network within the host bridge (D0:F0). Accesses > to this network are accomplished by populating the message control > register (MCR), Message Control Regist

Re: [U-Boot] [RFC PATCH v3 1/7] x86: Add header files for Intel Quark SoC defines

2015-02-06 Thread Simon Glass
On 4 February 2015 at 08:07, Simon Glass wrote: > On 2 February 2015 at 07:35, Bin Meng wrote: >> device.h for integrated pci devices' bdf on Quark SoC and quark.h for >> various memory-mapped and i/o-mapped base addresses within SoC. >> >> Signed-off-by: Bin Meng >> >> --- >> >> Changes in v3:

Re: [U-Boot] [PATCH v2 11/22] x86: Move common FSP code into a common location

2015-02-06 Thread Simon Glass
On 28 January 2015 at 16:44, Simon Glass wrote: > On 27 January 2015 at 21:13, Simon Glass wrote: >> Signed-off-by: Simon Glass >> Reviewed-by: Bin Meng >> Tested-by: Bin Meng >> --- >> >> Changes in v2: None > > Applied to u-boot-x86. I had to change the Makefile slightly to only include thi

[U-Boot] U-Boot with PXE

2015-02-06 Thread Islam Mukambetov
If there is any u-boot for parallella, with PXE booting? If you have, please, can you send me a link, where i can find sources or u-boot image, and flash it to parallella. -- __ Ислам Мукамбетов ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] U-Boot uptime

2015-02-06 Thread Andrew Wozniak
Hi everyone, It has a quite a while since my last post here. Our new project is running U-Boot on a custom Beaglebone board. While running several overnight user-space applications, the board reset and stopped at the U-Boot prompt. We do not yet have any logging but I could monitor and record the

Re: [U-Boot] recent tools on FreeBSD

2015-02-06 Thread Jeroen Hofstee
Hello Simon, +Andreas, On 06-02-15 04:05, Simon Glass wrote: Hi Jeroen, On 5 February 2015 at 12:51, Jeroen Hofstee wrote: Hello Guilherme, Thanks for commenting on this, On 02/05/15 13:27, Guilherme Maciel Ferreira wrote: Hi Jeroen, My apologies, I didn't test the tools on BSD. The answe

Re: [U-Boot] netconsole: USB Ethernet connection dropping with ping or tftpboot

2015-02-06 Thread Stephen Warren
On 02/05/2015 06:06 PM, Jörg Krause wrote: On Do, 2015-02-05 at 15:23 -0700, Stephen Warren wrote: b) In ci_bounce(), the bounce buffer is only allocated if the user-buffer is already aligned, and if a large-enough bounce buffer wasn't previously allocated. If ci_req->b_buf was uninitialized it

Re: [U-Boot] [PATCH] image: Convert to use fdt_for_each_subnode macro

2015-02-06 Thread Simon Glass
Hi Axel, On 6 February 2015 at 01:23, Axel Lin wrote: > Signed-off-by: Axel Lin Please can you add a commit message? The code looks fine. > --- > common/image-fit.c | 4 +--- > common/image-sig.c | 16 > 2 files changed, 5 insertions(+), 15 deletions(-) > > diff --git a/comm

[U-Boot] Please pull u-boot-marvell master

2015-02-06 Thread Luka Perkov
Hi Tom, this series contains the last bits of pending kirkwood/mvebu patches that I'm aware of. The changes from Gerald are minimal and I've merged Stefan's series which have reached v3 on the list. The following changes since commit 7f641d53bbb3a426a3bfb132d8346153e86a9d08: Merge branch 'mast

Re: [U-Boot] [PATCH 0/7] ARM: UniPhier: code refactoring and I2C pin fix

2015-02-06 Thread Masahiro YAMADA
2015-02-05 14:42 GMT+09:00 Masahiro Yamada : > > > > Masahiro Yamada (7): > ARM: UniPhier: move pin_init() to board_early_init_f() > ARM: UniPhier: move SPL init functions to spl_board_init() > ARM: UniPhier: revive support card info > ARM: UniPhier: remove unused checkboard() functions >

[U-Boot] Pull request: u-boot-uniphier

2015-02-06 Thread Masahiro YAMADA
Hi Tom, The following changes since commit 7f641d53bbb3a426a3bfb132d8346153e86a9d08: Merge branch 'master' of git://git.denx.de/u-boot-ubi (2015-02-04 13:30:00 -0500) are available in the git repository at: git://git.denx.de/u-boot-uniphier.git master for you to fetch changes up to 4e799

Re: [U-Boot] [PATCH 0/2] ARM: UniPhier: refactor pinmon command

2015-02-06 Thread Masahiro YAMADA
2015-02-05 20:56 GMT+09:00 Masahiro Yamada : > > > > Masahiro Yamada (2): > ARM: UniPhier: refactor pinmon command > ARM: UniPhier: leave the last element of boot_device_table empty Applied to u-boot-uniphier/master. -- Best Regards Masahiro Yamada

Re: [U-Boot] [RFC] m68k: generic board

2015-02-06 Thread Tom Rini
On Mon, Jan 26, 2015 at 09:39:13AM +, Huan Wang wrote: > Hi, Tom, > > > On Thu, Jan 15, 2015 at 04:08:40PM +0100, Angelo Dureghello wrote: > > > Dear all, > > > > > > i would like to post a patch with the m68k generic board support, > > > tested and working here, but of course not tested for a

Re: [U-Boot] [PATCH v2 0/6] ARM: UniPhier: add doc, improve I2C EEPROM access

2015-02-06 Thread Masahiro YAMADA
2015-02-05 14:30 GMT+09:00 Masahiro Yamada : > Masahiro Yamada (6): > ARM: UniPhier: use "&&" instead of ";" in commands > ARM: UniPhier: add environment variable to update images in NAND > ARM: UniPhier: add a simple README file for UniPhier platform > MAINTAINERS: claim maintainership of

Re: [U-Boot] [PATCH] ARM: UniPhier: remove dummy gpio.h

2015-02-06 Thread Masahiro YAMADA
2015-02-03 13:51 GMT+09:00 Masahiro Yamada : > This dummy header was introduced by commit 630bf80ebb34 (ARM: > UniPhier: add dummy gpio.h to enable CONFIG_OF_CONTROL). > > Thanks to commit a08d643dbd85 (dm: Drop gpio.h header from > fdtdec.c), such an ugly workaround is no longer needed. > > Signed

Re: [U-Boot] [PATCH v3 1/4] dm: introduce dev_get_addr interface

2015-02-06 Thread Simon Glass
Hi Peng, On 5 February 2015 at 23:44, Peng Fan wrote: > Hi, Simon > > > On 1/23/2015 5:25 AM, Simon Glass wrote: >> >> Hi, >> >> On 21 January 2015 at 04:09, Peng Fan wrote: >>> >>> Abstracting dev_get_addr can improve drivers that want to >>> get device's address. >>> >>> Signed-off-by: Peng Fa

Re: [U-Boot] x86: ACPI support suggestion

2015-02-06 Thread Bin Meng
Hi Gabriel, Thank you for taking the initiative for the U-Boot ACPI support. On Thu, Feb 5, 2015 at 3:52 AM, Simon Glass wrote: > +Bin > > Hi Gabriel, > > On 4 February 2015 at 12:22, Gabriel Huau wrote: >> Hi All, >> >> I'm currently thinking on how to integrate the ACPI support in u-boot x86.

[U-Boot] [PATCH][v3] crypto/fsl - Add progressive hashing support using hardware acceleration.

2015-02-06 Thread Gaurav Rana
Currently only normal hashing is supported using hardware acceleration. Added support for progressinve hashing using h/w. Signed-off-by: Ruchika Gupta Signed-off-by: Gaurav Rana CC: Simon Glass --- Changes in v3: Remove duplication of code and create function gen_hash_type. Modify MAX_SG to MA

Re: [U-Boot] [PATCH v2] armv8/vexpress64: make multientry conditional

2015-02-06 Thread Linus Walleij
On Wed, Feb 4, 2015 at 3:38 PM, FengHua wrote: >> config TARGET_LS2085A_SIMU >> bool "Support ls2085a_simu" >> select ARM64 >> + select ARMV8_MULTIENTRY >> > VEXPRESS_AEMV8A and VEXPRESS_AEMV8A_SEMI are > defaultly single entry? Yes. > That means we always has ATF exist. Not n

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

2015-02-06 Thread Lubomir Popov
Hi Heiko, > Hello Simon, Lubomir, > > Am 03.02.2015 01:59, schrieb Simon Glass: >> Hi, >> >> On 30 January 2015 at 10:56, Lubomir Popov wrote: >>> 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 w

Re: [U-Boot] relocation on freescale mx35 doesn't work after update to 2015.01

2015-02-06 Thread Albert ARIBAUD
Hello Sebastian, Cc:ing Stefano since he's the i.MX custodian. On Fri, 6 Feb 2015 09:38:17 +, Priebe, Sebastian wrote: > Hello Albert, > > thanks for your answer. > I tried to look up some information in the iMX35 reference manual but > couldn't find anything. It doesn't say anything about

Re: [U-Boot] relocation on freescale mx35 doesn't work after update to 2015.01

2015-02-06 Thread Priebe, Sebastian
Hello Albert, thanks for your answer. I tried to look up some information in the iMX35 reference manual but couldn't find anything. It doesn't say anything about the exception vectors. Can you point me at any direction where to look for information? What is the consequence of skipping the reloc

[U-Boot] [u-boot 02/40] ARM: AM43xx: Enable clocks for USB OTGSS and USB PHY

2015-02-06 Thread Kishon Vijay Abraham I
Enabled clocks for dwc3 controller and USB PHY present in AM43xx. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 12 +++ arch/arm/include/asm/arch-am33xx/cpu.h | 22 ++-- arch/arm/include/asm/arch-am33xx/hard

[U-Boot] [u-boot 20/40] include: dwc3-uboot: add a structure for populating platform data

2015-02-06 Thread Kishon Vijay Abraham I
Added a structure to populate dwc3 core platform data. The board file should populate these platform data before invoking dwc3 driver. This will be removed once we have dwc3 driver adapted to use the driver model. Signed-off-by: Kishon Vijay Abraham I --- include/dwc3-uboot.h | 40

[U-Boot] [u-boot 35/40] common: cmd_dfu: invoke board_usb_cleanup() for cleaning up

2015-02-06 Thread Kishon Vijay Abraham I
Invoked board_usb_cleanup for cleaning up initialized USB. It will be invoked if the user enterts ctrl-C. Signed-off-by: Kishon Vijay Abraham I --- common/cmd_dfu.c |1 + common/usb.c |7 +++ 2 files changed, 8 insertions(+) diff --git a/common/cmd_dfu.c b/common/cmd_dfu.c index

[U-Boot] [u-boot 08/40] usb: dwc3: remove un-used files from dwc3 folder

2015-02-06 Thread Kishon Vijay Abraham I
removed un-used/un-supported files from dwc3. These files can be added later as and when the support is added. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/Kconfig | 120 --- drivers/usb/dwc3/debug.c | 32 -- drivers/usb/dwc3/debug.h | 228 --

[U-Boot] [u-boot 12/40] usb: dwc3: remove pm related operations from dwc3 driver

2015-02-06 Thread Kishon Vijay Abraham I
Removed all pm related operations including pm_runtime APIs, suspend/resume hooks as support for these are not present in u-boot. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/core.c | 96 -- drivers/usb/dwc3/core.h | 16 ---

[U-Boot] [u-boot 05/40] usb: gadget: udc: make udc-core compile in u-boot build

2015-02-06 Thread Kishon Vijay Abraham I
Make udc-core compile in u-boot by removing all linux specific stuff and having only the bare minimal udc-core required for usb gadget drivers. Also modified the file header to a format that is generally being used in u-boot. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/gadget/udc/udc-c

[U-Boot] [u-boot 15/40] usb: dwc3: gadget: make dwc3 gadget build in uboot

2015-02-06 Thread Kishon Vijay Abraham I
Did a bunch of things to get dwc3/gadget.c compile in u-boot without build errors and warnings *) Changed the included header files to that used in u-boot. *) Used dma_alloc_coherent and dma_free_coherent APIs of u-boot *) removed sg support *) remove jiffies and used a simple while loop *) removed

[U-Boot] [u-boot 19/40] usb: dwc3: core: make dwc3 core build in uboot

2015-02-06 Thread Kishon Vijay Abraham I
*) Changed the include header files to that used in u-boot. *) Removed phy_* APIs *) Removed jiffies and used a simple while loop *) Used dma_alloc_coherent and dma_free_coherent APIs of u-boot *) Fixed other misc warnings Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/core.c

[U-Boot] [u-boot 21/40] dwc3: core: change probe and remove to uboot init and uboot exit code

2015-02-06 Thread Kishon Vijay Abraham I
Removed probe and remove that are specific to linux and replaced it with uboot init and uboot exit. These functions will be invoked from boardfile. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/core.c | 218 +++ 1 file changed, 52 inserti

[U-Boot] [u-boot 26/40] usb: dwc3: dwc3-omap: change probe and remove to uboot init and uboot exit code

2015-02-06 Thread Kishon Vijay Abraham I
Removed probe and remove that are specific to linux and replaced it with uboot init and uboot exit. These functions will be invoked from boardfile. This will change once we have dwc3-omap driver adapted to use the uboot driver model. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dw

[U-Boot] [u-boot 17/40] usb: dwc3: ep0: make dwc3 ep0 build in uboot

2015-02-06 Thread Kishon Vijay Abraham I
*) Changed the included header files to that used in u-boot. *) added dwc3_ep_event_string() used in ep0.c *) Fixed other misc warnings Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/core.h | 24 drivers/usb/dwc3/ep0.c | 14 ++

[U-Boot] [u-boot 01/40] ARM: DRA7: Enable clocks for USB OTGSS and USB PHY

2015-02-06 Thread Kishon Vijay Abraham I
Enabled clocks for dwc3 controller and USB PHY present in DRA7. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/omap5/hw_data.c | 14 ++ arch/arm/cpu/armv7/omap5/prcm-regs.c | 10 +- arch/arm/include/asm/omap_common.h |4 ++-- 3 files changed, 21 inse

  1   2   >