Re: [U-Boot] [PATCH] PMIC: TI: TPS65903X errata (SLIA087) code

2017-03-15 Thread Lukasz Majewski
Hi Lokesh, > Hi Lucas, > > On Saturday 11 March 2017 04:10 AM, Lukasz Majewski wrote: > > This patch adds code, which comply with TPS65903X errata pseudocode > > described in SLIA087 - "Guide to Using the GPADC in TPS65903x and > > TPS6591x Devices". > > > > It is enabled by proper Kconfig

Re: [U-Boot] [PATCH] PMIC: TI: TPS65903X errata (SLIA087) code

2017-03-15 Thread Lokesh Vutla
Hi Lucas, On Saturday 11 March 2017 04:10 AM, Lukasz Majewski wrote: > This patch adds code, which comply with TPS65903X errata pseudocode > described in SLIA087 - "Guide to Using the GPADC in TPS65903x and > TPS6591x Devices". > > It is enabled by proper Kconfig option, when TI's palmas PMIC

[U-Boot] [PATCH v2] Ensure device tree DTS is compiled

2017-03-15 Thread James Balean
Enables custom DTS files, or those not associated with a specific target, to be compiled into a boot image. Signed-off-by: James Balean Cc: Andy Shevchenko Cc: Simon Glass --- Changes for v2: - Removed trailing

Re: [U-Boot] [PATCH 3/3] OpenRISC: Remove

2017-03-15 Thread Simon Glass
On 14 March 2017 at 09:08, Tom Rini wrote: > The OpenRISC architecture is currently unmaintained, remove. > > Cc: Stefan Kristiansson > Signed-off-by: Tom Rini > --- > MAINTAINERS

Re: [U-Boot] sf: Remove spansion_s25fss_disable_4KB_erase

2017-03-15 Thread york sun
On 01/27/2017 10:04 AM, Jagan Teki wrote: > On Mon, Jan 23, 2017 at 8:05 PM, york sun wrote: >> On 12/12/2016 09:32 PM, Yao Yuan wrote: >>> Hi Jagan, >>> >>> >>> >>> Do you have any comments? >>> >>> >>> >>> Thanks for your work and you know it’s important for QSPI with

Re: [U-Boot] [PATCH v2] regmap: add support for address cell 2

2017-03-15 Thread Simon Glass
Hi Kever, On 6 March 2017 at 04:20, Kever Yang wrote: > ARM64 is using 64bit address which address cell is 2 instead of 1, > update to support it when of-platdata enabled. > > Signed-off-by: Kever Yang > --- > > drivers/core/regmap.c | 20

Re: [U-Boot] [U-Boot 0/2] add spl_early_init to fix rk3288 board broken issue

2017-03-15 Thread Simon Glass
Hi Eddie, On 6 March 2017 at 00:03, Eddie Cai wrote: > Hi Simon > I guess you may lost this patch. So a friendly ping. I did not lose it, but I thought I commented on it, that we needed to remove the duplicate code. Perhaps I imagined it sorry. Anyway I have sent out

Re: [U-Boot] [PATCH] ARM: keystone: Pass SPI MTD partition table via kernel command line

2017-03-15 Thread Tom Rini
On Tue, Mar 14, 2017 at 05:11:06PM +0530, Vignesh R wrote: > [...] > > On Friday 10 March 2017 11:32 PM, Tom Rini wrote: > >> Yes, I agree that initial DT layout of 512K may not have been good > >> design, but it would be good to have an agreeable way of fixing up MTD > >> partitions when there

[U-Boot] [PATCH v2 2/2] x86: Introduce minimal PMU driver for Intel MID platforms

2017-03-15 Thread Andy Shevchenko
This simple PMU driver allows to tyrn power on and off for selected devices. In particularly Intel Tangier needs to power on SDHCI controllers in order to access to them during board initialization. In the future it might be expanded to cover other Intel MID platforms, that's why it's located

[U-Boot] [PATCH v2 1/2] x86: Add SCU IPC driver for Intel MID platforms

2017-03-15 Thread Andy Shevchenko
From: Felipe Balbi Intel MID platforms have few microcontrollers inside SoC, one of them is so called System Controller Unit (SCU). Here is the driver to communicate with microcontroller. Signed-off-by: Vincent Tinelli Signed-off-by:

[U-Boot] [PATCH v1] mmc: sdhci: SDHCI controllers also need power

2017-03-15 Thread Andy Shevchenko
On some systems SDHCI controllers may be powered off and it's required to bring them on before accessing. SDHCI generic driver currently lacks any mean of doing it. Call the same board_power_mmc_init() at sdhci_init() stage. Signed-off-by: Andy Shevchenko ---

Re: [U-Boot] [PATCH v1 2/2] misc: Introduce minimal PMU driver for Intel MID platforms

2017-03-15 Thread Andy Shevchenko
On Wed, Mar 15, 2017 at 8:01 PM, Andy Shevchenko wrote: > On Sun, Mar 12, 2017 at 10:21 PM, Simon Glass wrote: >> Hi Andy, >> >> On 5 March 2017 at 12:17, Andy Shevchenko >> wrote: >>> This simple PMU driver

Re: [U-Boot] [PATCH v1 2/2] misc: Introduce minimal PMU driver for Intel MID platforms

2017-03-15 Thread Andy Shevchenko
On Sun, Mar 12, 2017 at 10:21 PM, Simon Glass wrote: > Hi Andy, > > On 5 March 2017 at 12:17, Andy Shevchenko > wrote: >> This simple PMU driver enables access to MMC controllers during probe >> so tangier_sdhci can probe and be useful. >> >>

[U-Boot] [PATCH v3] NS2: Add PCI support

2017-03-15 Thread Jon Mason
From: Jon Mason Write a new driver to add PCI support to iProc devices. Currently, this will only work for NS2 (due to some hard coding done in the driver), but should be extensible in the future. Some hacks had to be made due to time constraints, but are documented in

Re: [U-Boot] [U-Boot, v2] board: ns2: Add support for Broadcom Northstar 2

2017-03-15 Thread Jon Mason
On Tue, Mar 14, 2017 at 8:38 PM, Tom Rini wrote: > On Wed, Mar 08, 2017 at 11:55:36AM -0500, Jon Mason wrote: > >> Add support for the Broadcom Northstar2 SoC and SVK (bcm958712k). The >> BCM5871X is a series of quad-core 64-bit 2GHz ARMv8 Cortex-A57 >> processors targeting a

Re: [U-Boot] [PATCH] armv8: ls1043a/ls1046aqds: fix the offsets of MTD partitions on Nor flash

2017-03-15 Thread york sun
On 03/13/2017 11:06 PM, Wenbin song wrote: > Fix the offsets of MTD partitions on Nor flash on ls1043ardb, ls1043aqds > and ls1046aqds boards. > > Signed-off-by: Wenbin Song > --- > include/configs/ls1043a_common.h | 7 --- > include/configs/ls1046aqds.h | 7 ---

[U-Boot] [PATCH 1/2] i2c: ti: Update SCLH and SCLL to be in sync with v4.9 Linux kernel

2017-03-15 Thread Lukasz Majewski
v4.9 Linux release: SHA1: 69973b830859bc6529a7a0468ba0d80ee5117826 in the ./drivers/i2c/busses/i2c-omap.c recommends to use SCLH=5 and SCLL=7 values. This patch sets them to default. Signed-off-by: Lukasz Majewski --- drivers/i2c/omap24xx_i2c.h | 10 +- 1 file changed, 5

[U-Boot] [PATCH 2/2] i2c: ti: Update method to calculate psc, sscl and ssch I2C parameters

2017-03-15 Thread Lukasz Majewski
This patch updates the way in which psc, sscl and ssch I2C parameters are calculated to be in sync with v4.9 Linux kernel SHA1: 69973b830859bc6529a7a0468ba0d80ee5117826 in the ./drivers/i2c/busses/i2c-omap.c The previous method was causing several issues: - The internal I2C frequency (after

Re: [U-Boot] [u-boot PATCH v5 04/10] ti: common: board_detect: commodify ethaddr environment setting code

2017-03-15 Thread Roger Quadros
On 15/03/17 16:46, Felipe Balbi wrote: > > Hi, > > Roger Quadros writes: >>> On Tue, Mar 14, 2017 at 3:05 PM Roger Quadros >> > wrote: >>> >>> +void board_ti_set_ethaddr(int index) >>> +{ >>> + uint8_t mac_addr[6]; >>>

Re: [U-Boot] [u-boot PATCH v5 04/10] ti: common: board_detect: commodify ethaddr environment setting code

2017-03-15 Thread Felipe Balbi
Hi, Roger Quadros writes: >> On Tue, Mar 14, 2017 at 3:05 PM Roger Quadros > > wrote: >> >> +void board_ti_set_ethaddr(int index) >> +{ >> + uint8_t mac_addr[6]; >> + int i; >> + u64 mac1, mac2; >>

[U-Boot] [PATCH v4 1/2] spl: Add spl_early_init()

2017-03-15 Thread Simon Glass
From: Eddie Cai At present malloc_base/_limit/_ptr are not initialised in spl_init() when we call spl_init() in board_init_f(). This is due to a recent change aimed at avoiding overwriting the malloc area set up on some boards by spl_relocate_stack_gd(). However if

[U-Boot] [PATCH v4 2/2] rockchip: rk3288: use spl_early_init() instead of spl_init()

2017-03-15 Thread Simon Glass
From: Eddie Cai Use spl_early_init() to make sure that early malloc() is initialised. This fixes booting on firefly-rk3288, for example. Signed-off-by: Eddie Cai Signed-off-by: Simon Glass --- Changes in v4: - Change

[U-Boot] [PATCH v4 02/16] disk: part: refactor part_print_efi to prepare GPT over MTD

2017-03-15 Thread Patrick Delaunay
split part_print_efi : create sub-functions part_print_gpt() Signed-off-by: Patrick Delaunay Reviewed-by: Christophe KERELLO --- Changes in v4: None Changes in v3: None Changes in v2: None disk/part_efi.c | 55

[U-Boot] [PATCH v4 12/16] cmd: part: update command to support GPT over MTD

2017-03-15 Thread Patrick Delaunay
support part list for MTD device > part list nand 0 > part list nor 0 Signed-off-by: Patrick Delaunay --- Changes in v4: None Changes in v3: None Changes in v2: None cmd/part.c | 48 1 file changed, 40 insertions(+), 8

[U-Boot] [PATCH v4 00/16] GPT over MTD

2017-03-15 Thread Patrick Delaunay
I have a request to support GPT over MTD to have the MTD informations without U-Boot environment(CONFIG_ENV_IS_NOWHERE is a other requirement of my project to manage several board configuration with the same defconfig; boot from NAND or NOR or SDCARD). The current idea is to use the GPT header

[U-Boot] [PATCH v4 15/16] uuid: remove dependency with io.h

2017-03-15 Thread Patrick Delaunay
io.h is only used for CONFIG_RANDOM_UUID - for clrsetbits_be16 - for clrsetbits_8 available only for some target (but not for SANDBOX) Signed-off-by: Patrick Delaunay --- Changes in v4: None Changes in v3: None Changes in v2: None lib/uuid.c | 13 ++--- 1 file

Re: [U-Boot] [PATCH] PMIC: TI: TPS65903X errata (SLIA087) code

2017-03-15 Thread Lukasz Majewski
On Wed, 15 Mar 2017 09:35:29 -0400 Tom Rini wrote: > On Wed, Mar 15, 2017 at 11:07:34AM +0100, Lukasz Majewski wrote: > > On Tue, 14 Mar 2017 09:22:02 -0400 > > Tom Rini wrote: > > > > > On Fri, Mar 10, 2017 at 11:40:27PM +0100, Lukasz Majewski wrote: >

[U-Boot] [PATCH v4 13/16] cmd: mtdparts: move PART_ADD_DESC_MAXLEN

2017-03-15 Thread Patrick Delaunay
Signed-off-by: Patrick Delaunay --- Changes in v4: None Changes in v3: None Changes in v2: None cmd/mtdparts.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c index b9b160d..5f97b80 100644 --- a/cmd/mtdparts.c +++

[U-Boot] [PATCH v4 11/16] cmd: gpt: update write command to support GPT over MTD

2017-03-15 Thread Patrick Delaunay
support gpt write for MTD device > gpt write nand 0 > gpt write nor 0 And verify is not yet supported for MTD device Signed-off-by: Patrick Delaunay Reviewed-by: Christophe KERELLO --- Changes in v4: None Changes in v3: None Changes in v2:

[U-Boot] [PATCH v4 09/16] cmd: gpt: use error number in set_gpt_info

2017-03-15 Thread Patrick Delaunay
-1 => -ENOENT : "No partition list provided" -2 => -EBADF : "Missing disk guid" -3 => -EFAULT & -4 => -EINVAL : "Partition list incomplete" Signed-off-by: Patrick Delaunay Reviewed-by: Christophe KERELLO --- Changes in v4: None Changes in v3:

[U-Boot] [PATCH v4 04/16] disk: part: prepare_backup_gpt_header rework

2017-03-15 Thread Patrick Delaunay
inverse the order of my_lba and alternate_lba values switch value => alternate_lba can be used in partition entry computation Signed-off-by: Patrick Delaunay Reviewed-by: Christophe KERELLO --- Changes in v4: None Changes in v3: None Changes

[U-Boot] [PATCH v4 16/16] sandbox: GPT over MTD test

2017-03-15 Thread Patrick Delaunay
activate needed feature in sandbox to allow test GPT over MTD - EFI_PARTITION_MTD - SPI_FLASH_MTD - CMD_MTDPARTS - MTD_PARTITIONS - MTD_DEVICE activate 2 features usefull for test - RANDOM_UUID - PARTITION_TYPE_GUID Signed-off-by: Patrick Delaunay --- Changes in v4:

[U-Boot] [PATCH v4 14/16] cmd: mtdparts: update command to support GPT over MTD

2017-03-15 Thread Patrick Delaunay
add new subcommand : mtdparts gpt [] extract mtd partition from GPT header present in MTD device > mtdparts gpt nand0 > mtdparts gpt nor0 extract mtd partitions only for some GUID > mtdparts gpt nand0 data > mtdparts gpt nor0 0FC63DAF-8483-4772-8E79-3D69D8477DE4 Signed-off-by: Patrick Delaunay

[U-Boot] [PATCH v4 08/16] cmd: gpt: remove blk_desc parameter in static function

2017-03-15 Thread Patrick Delaunay
Signed-off-by: Patrick Delaunay --- Changes in v4: None Changes in v3: None Changes in v2: None cmd/gpt.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cmd/gpt.c b/cmd/gpt.c index 196f506..57eb29f 100644 --- a/cmd/gpt.c +++

[U-Boot] [PATCH v4 10/16] cmd: gpt: add print_gpt_info_err

2017-03-15 Thread Patrick Delaunay
Signed-off-by: Patrick Delaunay Reviewed-by: Christophe KERELLO --- Changes in v4: None Changes in v3: None Changes in v2: None cmd/gpt.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/cmd/gpt.c

[U-Boot] [PATCH v4 06/16] disk: part: efi: export internal function

2017-03-15 Thread Patrick Delaunay
export the needed functions for GPT over MTD Signed-off-by: Patrick Delaunay Reviewed-by: Christophe KERELLO --- Changes in v4: None Changes in v3: None Changes in v2: None disk/part_efi.c | 32 +---

[U-Boot] [PATCH v4 05/16] disk: part: compute partition_entry_lba

2017-03-15 Thread Patrick Delaunay
the value for partition_entry_lba of secondary GPT (last usable lba + 1) is not correct with MTD support as last usable LBA need to be erase size aligned The correct location of partition entry is always recomputed with the formula : partition_entry_lba = alternate_lba - num_pte *

[U-Boot] [PATCH v4 03/16] disk: part: refactor part_get_info_efi to prepare GPT over MTD

2017-03-15 Thread Patrick Delaunay
create sub-functions part_get_disk_info() Signed-off-by: Patrick Delaunay Reviewed-by: Christophe KERELLO --- Changes in v4: None Changes in v3: None Changes in v2: None disk/part_efi.c | 49 +++--

[U-Boot] [PATCH v4 07/16] disk: part: add support of GPT partitioning over MTD

2017-03-15 Thread Patrick Delaunay
Signed-off-by: Patrick Delaunay Reviewed-by: Christophe KERELLO --- Changes in v4: None Changes in v3: None Changes in v2: None disk/Kconfig| 17 ++ disk/Makefile | 1 + disk/part_efi_mtd.c | 457

[U-Boot] [PATCH v4 01/16] uuid: add a function for GUID string parsing

2017-03-15 Thread Patrick Delaunay
uuid_guid_parse_str parses a string provided in commands line to found a valid GUID as valid uuid string or as shortcut (under CONFIG_PARTITION_TYPE_GUID). Signed-off-by: Patrick Delaunay --- Changes in v4: - change RFC to PATCH - update cover letter - rebase on

Re: [U-Boot] [linux-sunxi] Re: [PATCH 5/8] sunxi: Add clock support for DE2/HDMI/TCON on newer SoCs

2017-03-15 Thread Ondřej Jirman
Hi, Dne 14.3.2017 v 07:53 Jernej Škrabec napsal(a): > Hi, > > Dne ponedeljek, 13. marec 2017 ob 13:33:43 CET je Simon Glass napisal(a): >> Hi, >> >> On 8 March 2017 at 16:34, Jernej Skrabec wrote: >>> This is needed for HDMI, which will be added later. >>> >>>

Re: [U-Boot] [u-boot PATCH v5 04/10] ti: common: board_detect: commodify ethaddr environment setting code

2017-03-15 Thread Roger Quadros
Hi, On 14/03/17 17:54, Felipe Balbi wrote: > Hi, > > On Tue, Mar 14, 2017 at 3:05 PM Roger Quadros > wrote: > > +void board_ti_set_ethaddr(int index) > +{ > + uint8_t mac_addr[6]; > + int i; > + u64 mac1, mac2; >

[U-Boot] [PATCH v3 1/2] at91: video: Support driver-model for the HLCD driver

2017-03-15 Thread Songjun Wu
Add driver-model support to this driver. Signed-off-by: Songjun Wu --- Changes in v3: - Replace lcdc_readl/lcdc_writel with real/writel - Replace while() with wait_for_bit(). - Disable the clock if the clock is enabled and error occurs. Changes in v2: - Due to the

[U-Boot] [PATCH v3 2/2] at91: video: DT binding for HLCDC driver

2017-03-15 Thread Songjun Wu
DT binding documentation for atmel HLCDC driver. Signed-off-by: Songjun Wu --- Changes in v3: - Add 'atmel,output-mode' entry in dts. Changes in v2: None doc/device-tree-bindings/video/atme-hlcdc.txt | 42 +++ 1 file changed, 42 insertions(+)

Re: [U-Boot] [PATCH v2 2/2] rockchip: use spl_early_init instead of spl_init

2017-03-15 Thread Liviu Dudau
On Tue, Mar 14, 2017 at 01:54:41PM -0600, Simon Glass wrote: > From: Eddie Cai > > use spl_early_init to avoid malloc_base, limit, ptr not initualized. > > Signed-off-by: Eddie Cai > Signed-off-by: Simon Glass > --- > >

[U-Boot] [PATCH v3 0/2] at91: video: add driver for Atmel HLCD controller

2017-03-15 Thread Songjun Wu
The i2c driver includes two parts. 1) Driver code to implement the HLCD function. 2) Device tree binding documentation, it describes how to add the HLCD in device tree. Changes in v3: - Replace lcdc_readl/lcdc_writel with real/writel - Replace while() with wait_for_bit(). - Disable the clock

Re: [U-Boot] [PATCH] PMIC: TI: TPS65903X errata (SLIA087) code

2017-03-15 Thread Tom Rini
On Wed, Mar 15, 2017 at 11:07:34AM +0100, Lukasz Majewski wrote: > On Tue, 14 Mar 2017 09:22:02 -0400 > Tom Rini wrote: > > > On Fri, Mar 10, 2017 at 11:40:27PM +0100, Lukasz Majewski wrote: > > > > > This patch adds code, which comply with TPS65903X errata pseudocode > > >

Re: [U-Boot] [PATCH] Ensure device tree DTS is compiled

2017-03-15 Thread James
On Wed, 15 Mar 2017 at 03:41, Andy Shevchenko wrote: > dts/dts ? You're right. Thank you for identifying my clumsy commit error, Andy. -- James Balean ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v2 3/4] rockchip: spl: RK3399: use boot0 hook to create space for SPL magic

2017-03-15 Thread Philipp Tomsich
The SPL binary needs to be prefixed with the boot magic ('RK33' for the RK3399) on the Rockchip platform and starts execution of the instruction word following immediately after this boot magic. This poses a challenge for AArch64 (ARMv8) binaries, as the .text section would need to start on the

[U-Boot] [PATCH v2 0/4] rockchip: rk3399: Update SPL generation for the RK3399

2017-03-15 Thread Philipp Tomsich
For the RK3399, which boots in AArch64 mode, the Boot ROM still starts execution at the instruction following the SPL boot-magic (i.e. 'RK33'). This puts the first executed instruction on an odd address (+0x4). However, we can't reasonably use for the start of the .text-section on AArch64, as it

[U-Boot] [PATCH v2 2/4] rockchip: mkimage: pad the header to 8-bytes (using a 'nop') for RK3399

2017-03-15 Thread Philipp Tomsich
The RK3399 boot code (running as AArch64) poses a bit of a challenge for SPL image generation: * The BootROM will start execution right after the 4-byte header (at the odd instruction word loaded into SRAM at 0xff8c2004, with the 'RK33' boot magic residing at 0xff8c2000). * The default

[U-Boot] [PATCH v2 4/4] rockchip: mkimage: update rkimage to support pre-padded payloads

2017-03-15 Thread Philipp Tomsich
To simplify the creation of AArch64 SPL images for the RK3399, we use the ENABLE_ARM_SOC_BOOT0_HOOK option and prepend 4 bytes of padding at the start of the text section. This makes it easy for mkimage to rewrite this word with the 'RK33' boot magic. This change brings logic to calculate the

[U-Boot] [PATCH v2 1/4] rockchip: mkimage: simplify start/size calculation for rc4_encode

2017-03-15 Thread Philipp Tomsich
The RC4 encoding works on full blocks, but the calculation of the starting offset and size are needlessly complicated by using a reference value known to be offset into a block by the size of the header and then correcting for the (hard-coded) size of the header (i.e. 4 bytes). We change this

Re: [U-Boot] [PATCH] PMIC: TI: TPS65903X errata (SLIA087) code

2017-03-15 Thread Lukasz Majewski
On Tue, 14 Mar 2017 09:22:02 -0400 Tom Rini wrote: > On Fri, Mar 10, 2017 at 11:40:27PM +0100, Lukasz Majewski wrote: > > > This patch adds code, which comply with TPS65903X errata pseudocode > > described in SLIA087 - "Guide to Using the GPADC in TPS65903x and > > TPS6591x

Re: [U-Boot] [U-Boot 0/3] introduce Rockchip rockusb

2017-03-15 Thread Lukasz Majewski
On Wed, 15 Mar 2017 17:31:27 +0800 Eddie Cai wrote: > Hi Lukasz > > 2017-03-15 17:06 GMT+08:00 Lukasz Majewski : > > > On Wed, 15 Mar 2017 15:56:02 +0800 > > Eddie Cai wrote: > > > > > rockusb is a protocol run between host

Re: [U-Boot] [U-Boot 0/3] introduce Rockchip rockusb

2017-03-15 Thread Eddie Cai
Hi Lukasz 2017-03-15 17:06 GMT+08:00 Lukasz Majewski : > On Wed, 15 Mar 2017 15:56:02 +0800 > Eddie Cai wrote: > > > rockusb is a protocol run between host pc and device. it help people > > get device info, flash image to device. this patch implement

[U-Boot] [PATCH 2/2] net: gmac_rockchip: Add phy supply support

2017-03-15 Thread Jacob Chen
Some board need a regulator for gmac phy, so add this code to handle it. Signed-off-by: Jacob Chen --- drivers/net/gmac_rockchip.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/gmac_rockchip.c b/drivers/net/gmac_rockchip.c index

[U-Boot] [PATCH 1/2] rockchip: configs: correct mmc env dev for rk3288 based boards

2017-03-15 Thread Jacob Chen
we are using mmc alias , so mmc index have been changed. now mmc dev 0 is emmc and mmc dev 1 is sdmmc. Signed-off-by: Jacob Chen --- include/configs/evb_rk3288.h | 2 +- include/configs/fennec_rk3288.h | 2 +- include/configs/popmetal_rk3288.h | 2 +-

Re: [U-Boot] [U-Boot 0/3] introduce Rockchip rockusb

2017-03-15 Thread Lukasz Majewski
On Wed, 15 Mar 2017 15:56:02 +0800 Eddie Cai wrote: > rockusb is a protocol run between host pc and device. it help people > get device info, flash image to device. this patch implement rockusb > on device side. Thank you for your patch. I will review it shortly. If

[U-Boot] under tools/, need couple more cleanings and .gitignore entries

2017-03-15 Thread Robert P. J. Day
this cleanup should be part of a single patch, but since i'm not confident i can do it properly, i will simply explain. before configure and build: $ git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working directory clean $ next: $ make

Re: [U-Boot] [PATCH v3 2/2] rockchip: rk3288: use spl_early_init() instead of spl_init()

2017-03-15 Thread Andy Pont
Simon wrote... > diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach- > rockchip/rk3288-board-spl.c > index e51e19bb2d..f494843663 100644 > --- a/arch/arm/mach-rockchip/rk3288-board-spl.c > +++ b/arch/arm/mach-rockchip/rk3288-board-spl.c > @@ -185,7 +185,7 @@ void

[U-Boot] building cross_tools, _POSIX_C_SOURCE and _XOPEN_SOURCE are redefined

2017-03-15 Thread Robert P. J. Day
to build cross_tools, i ran: $ make sandbox_defconfig $ make cross_tools and while it appeared to work, i got: ... snip ... LDFLAGS="" python ./lib/libfdt/setup.py \ "-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DCONFIG_FIT_SIGNATURE -include ./include/libfdt_env.h

[U-Boot] [U-Boot 3/3] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-03-15 Thread Eddie Cai
this patch enable rockusb support on rk3288 based device. Signed-off-by: Eddie Cai --- include/configs/rk3288_common.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h index b5606d4..b19a34d

[U-Boot] [U-Boot 1/3] drivers: usb: gadget: add the rockusb gadget

2017-03-15 Thread Eddie Cai
this patch implement fastboot protocol on the device side. this is based on USB download gadget infrastructure. the rockusb function implements the rd, wl, rid commands. it can work with rkdeveloptool; https://github.com/rockchip-linux/rkdeveloptool Signed-off-by: Eddie Cai

[U-Boot] [U-Boot 2/3] cmd: add rockusb command

2017-03-15 Thread Eddie Cai
this patch add rockusb command. the usage is rockusb [] e.g. rockusb 0 mmc 0 Signed-off-by: Eddie Cai --- cmd/Kconfig | 12 + cmd/Makefile | 1 + cmd/rockusb.c | 79 +++

[U-Boot] [U-Boot 0/3] introduce Rockchip rockusb

2017-03-15 Thread Eddie Cai
rockusb is a protocol run between host pc and device. it help people get device info, flash image to device. this patch implement rockusb on device side. Eddie Cai (3): drivers: usb: gadget: add the rockusb gadget cmd: add rockusb command rockchip: rk3288: enable rockusb support on rk3288