[U-Boot] [PATCH v2 2/3 RESEND] ARM: dts: sunxi: Add device tree for Sunchip CX-A99

2017-02-25 Thread Rask Ingemann Lambertsen
The Sunchip CX-A99 is a board used in some media players. It features: An Allwinner A80 ARM SoC (4 * Cortex-A7 + 4 * Cortex-A15 cores) 2 GiB or 4 GiB DDR3 DRAM AXP808 PMIC 16 GB or 32 GB eMMC SDIO Wifi/Bluetooth/FM module SD card slot 1 USB 3.0 connector 2 USB 2.0 connectors SATA connector UART co

[U-Boot] [PATCH v2 3/3 RESEND] ARM: sunxi: Add defconfig for Sunchip CX-A99

2017-02-25 Thread Rask Ingemann Lambertsen
The Sunchip CX-A99 is a board used in some media players. It features: An Allwinner A80 ARM SoC (4 * Cortex-A7 + 4 * Cortex-A15 cores) 2 GiB or 4 GiB DDR3 DRAM AXP808 PMIC 16 GB or 32 GB eMMC SDIO Wifi/Bluetooth/FM module SD card slot 1 USB 3.0 connector 2 USB 2.0 connectors SATA connector UART co

[U-Boot] [PATCH v2 1/3 RESEND] ARM: dts: sun9i: Add mmc1 pinmux setting

2017-02-25 Thread Rask Ingemann Lambertsen
From: Chen-Yu Tsai commit 56b0730157f70dc23d6caff9e7ceb8b377b96b9f upstream. On the A80, mmc1 is available on pingroup G. Designs mostly use this to connect to an SDIO WiFi chip. Signed-off-by: Chen-Yu Tsai Signed-off-by: Rask Ingemann Lambertsen --- Changes from v1 to v2: - Corrected mail se

[U-Boot] [PATCH v2 2/3] ARM: dts: sunxi: Add device tree for Sunchip CX-A99

2017-02-25 Thread Rask Ingemann Lambertsen
The Sunchip CX-A99 is a board used in some media players. It features: An Allwinner A80 ARM SoC (4 * Cortex-A7 + 4 * Cortex-A15 cores) 2 GiB or 4 GiB DDR3 DRAM AXP808 PMIC 16 GB or 32 GB eMMC SDIO Wifi/Bluetooth/FM module SD card slot 1 USB 3.0 connector 2 USB 2.0 connectors SATA connector UART co

[U-Boot] [PATCH v2 3/3] ARM: sunxi: Add defconfig for Sunchip CX-A99

2017-02-25 Thread Rask Ingemann Lambertsen
The Sunchip CX-A99 is a board used in some media players. It features: An Allwinner A80 ARM SoC (4 * Cortex-A7 + 4 * Cortex-A15 cores) 2 GiB or 4 GiB DDR3 DRAM AXP808 PMIC 16 GB or 32 GB eMMC SDIO Wifi/Bluetooth/FM module SD card slot 1 USB 3.0 connector 2 USB 2.0 connectors SATA connector UART co

[U-Boot] [PATCH v2 1/3] ARM: dts: sun9i: Add mmc1 pinmux setting

2017-02-25 Thread Rask Ingemann Lambertsen
From: Chen-Yu Tsai commit 56b0730157f70dc23d6caff9e7ceb8b377b96b9f upstream. On the A80, mmc1 is available on pingroup G. Designs mostly use this to connect to an SDIO WiFi chip. Signed-off-by: Chen-Yu Tsai Signed-off-by: Rask Ingemann Lambertsen --- Changes from v1 to v2: - Corrected mail se

[U-Boot] [PATCH v2 0/3] ARM: sunxi: Device tree and defconfig for Sunchip CX-A99

2017-02-25 Thread Rask Ingemann Lambertsen
The Sunchip CX-A99 board is used in some media players running Android. It uses the Allwinner A80 ARM SoC and is similar to the Merrii A80 Optimus and Cubietech Cubieboard4, but targets consumer devices instead of being a developer board. Patch 3 includes an overview of what's on the board. See the

Re: [U-Boot] [PATCH v1] spi: sunxi_spi: Add DM SPI driver for A31/A80/A64

2017-02-25 Thread Dr. Philipp Tomsich
Jagan, > On 25 Feb 2017, at 09:43, Jagan Teki wrote: > >> +/* The SPI flash opcode for a FAST READ DUAL OUTPUT operation. */ >> +#define CMD_READ_DUAL_OUTPUT_FAST 0x3b > > Flash(slave) specific opcodes shouldn't use it on spi driver, try to > implement the spi in generic way instead of making t

Re: [U-Boot] Bug in load command

2017-02-25 Thread Pascal Huerst
Oops! I just figured my mistake. Sorry for the noise! On 24.02.2017 12:31, Pascal Huerst wrote: > Hey everyone, > > I just observed the following behavior and I'm not sure, If I missed > something or if there is a BUG in load command: I load a file from usb > to memory and show its content like s

[U-Boot] [PATCH] splash: Prevent splash_load_fs from writing to 0x0

2017-02-25 Thread Jonathan Golder
Passing NULL to fs_read() for actread value results in hanging U-Boot at least on our ARM plattform (TI AM335x). Since fs_read() and following functions do not catch nullpointers, writing to 0x0 occurs. Passing a local dummy var instead of NULL solves this issue. Signed-off-by: Jonathan Golder C

Re: [U-Boot] Driver-model - Issue with early device_probe

2017-02-25 Thread Suneel Garapati
On Tue, Feb 21, 2017 at 7:59 PM, Simon Glass wrote: > Hi Suneel, > > On 17 February 2017 at 17:44, Suneel Garapati wrote: >> Hi All, >> Request for help on the below issue. >> >> Hi Simon, >> As I suppose it is related to driver-model in u-boot. >> >> One of the boards at Cavium has SPI as PC

[U-Boot] Bug in load command

2017-02-25 Thread Pascal Huerst
Hey everyone, I just observed the following behavior and I'm not sure, If I missed something or if there is a BUG in load command: I load a file from usb to memory and show its content like so: => usb start; setenv addr 0x8000; load usb 0:1 ${addr} testfile starting USB... USB0: scanning bu

Re: [U-Boot] [PATCH v3 4/8] armv8: Add workaround for USB erratum A-009007

2017-02-25 Thread Suresh Gupta
Hi York, It is not good idea to change the values of all macro at this time as the code tested on different platforms. If required, I will remove the TODO statement. What you say. Thanks SuresH > -Original Message- > From: york sun > Sent: Thursday, February 23, 2017 11:18 PM >

[U-Boot] Newby trying to port a Linux Ethernet driver into u-boot

2017-02-25 Thread Ismael Farfán
Hello list I took a Linux driver for an Ethernet device and I'm trying to make it work with u-boot. I'm a little bit lost, so far I've based my work on drivers/net/rtl8139.c because it uses "struct pci_device_id", as my linux driver does, but I have no idea how to know if it's at least trying to

Re: [U-Boot] Complete verified uboot example

2017-02-25 Thread Ron Brash
Hi Mr. Altherr, I don't have time today to re-clarify everything mentioned in this stream, but I will begin to reformat my initial inquiries given all of the provided information and provide them again. >From my last point: Anybody have the spare cycles to organise a web-tutorial/presentation/r

Re: [U-Boot] Complete verified uboot example

2017-02-25 Thread Ron Brash
Hello all (and thanks Mr. Altherr for this insight), Excellent feedback and I agree that all of this needs to find a home either on the global docs on the website and/or the text-only documentation. Regardless, this leads me to a few questions. NOTE: the use of a uboot control DTS, control DTB an

Re: [U-Boot] [PATCH v2] cmd: sspi: Add an additional argument to set the bus frequency

2017-02-25 Thread Jagan Teki
On Fri, Feb 17, 2017 at 11:40 PM, Philipp Tomsich wrote: > The spi command is rather useful for board verification, bring-up and > software testing. One use in our lab is the testing of the clock > code, which requires the ability to send data at different SPI clocks. > > The changeset adds an ad

Re: [U-Boot] [PATCH v1] spi: sunxi_spi: Add DM SPI driver for A31/A80/A64

2017-02-25 Thread Jagan Teki
On Tue, Feb 21, 2017 at 5:10 AM, Philipp Tomsich wrote: > This adds a rewrite of the SPI driver we had in use for the A31-uQ7 > (sun6i), A80-Q7 (sun9i) and A64-uQ7 (sun50i) boards, which includes > support for: > * cs-gpios (i.e. GPIOs as additional chip-selects) > * clocking, reset and pinctrl

Re: [U-Boot] [PATCH v2] sunxi: add NanoPi NEO Air defconfig

2017-02-25 Thread Jagan Teki
On Mon, Feb 13, 2017 at 1:22 PM, Maxime Ripard wrote: > On Sun, Feb 12, 2017 at 04:21:40PM +0100, Jelle van der Waa wrote: >> Add support for the NanoPi NEO Air H3 board from friendlyarm.com . This >> board contains WiFi, Bluetooth, 8GB eMMC storage and 512 MB DDR3 ram. >> >> Signed-off-by: Jelle

Re: [U-Boot] [PATCH v4 00/13] sunxi: Allwinner H5 and OrangePi PC2 support

2017-02-25 Thread Jagan Teki
On Thu, Feb 16, 2017 at 6:50 AM, Andre Przywara wrote: > Hi, > > thanks for all the reviews and ACKs! > > Only minor changes this time, see the Changelog below. > > Cheers, > Andre. > > -- > This series introduces support for the Allwinner H5 SoC with four > Cortex-A53 core

Re: [U-Boot] [PATCH v4 0/16] sunxi: Add support for the CHIP Pro

2017-02-25 Thread Jagan Teki
On Wed, Feb 22, 2017 at 1:32 PM, Jagan Teki wrote: > On Wed, Feb 22, 2017 at 5:03 AM, Maxime Ripard > wrote: >> Hi Jagan, >> >> On Tue, Feb 21, 2017 at 10:50:34AM +0530, Jagan Teki wrote: >>> On Mon, Jan 23, 2017 at 7:16 PM, Maxime Ripard >>> wrote: >>> > The CHIP Pro is a SoM made by NextThing