On Sat, Apr 29, 2017 at 1:37 AM, Fabio Estevam wrote:
> Hi Jagan,
>
> On Sun, Apr 9, 2017 at 4:12 PM, Jagan Teki wrote:
>
>>> Do you have a git tree with this series applied? I would like to test it.
>>
>> http://git.denx.de/?p=u-boot-spi.git;a=shortlog;h=refs/heads/sabresd
>
> I have tested imx6
On Wed, Apr 26, 2017 at 12:57 AM, Fabio Estevam wrote:
> Hi Jagan,
>
> On Tue, Apr 25, 2017 at 3:35 PM, Jagan Teki wrote:
>>
>>> This isn't a limitation, all the defconfigs on various boards follows
>>> the same but except by giving dtb explicitly doing make, like
>>> make DEVICE_TREE=imx6l-sabre
add a simple readme to introduce rockusb and tell people how to use it
Signed-off-by: Eddie Cai
Reviewed-by: Simon Glass
Changes in v4:
-add some blank line to make it look better
Changes in v3:
-fix checkpatch error
---
doc/README.rockusb | 52
all rk3288 based boards support rockusb, so enable it
Signed-off-by: Eddie Cai
Reviewed-by: Lukasz Majewski
Changes in v4:
-move to rk3288_common.h
Changes in v3:
-move to defconfig
---
include/configs/rk3288_common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/rk328
this patch add rockusb command. the usage is
rockusb
e.g. rockusb 0 mmc 0
Signed-off-by: Eddie Cai
Reviewed-by: Simon Glass
Changes in v4:
-move USB_FUNCTION_ROCKUSB to drivers/usb/gadget/Kconfig
-modify the dependence
Changes in v3:
-fix comment from Simon and Lukasz
-fix checkpactch error
this patch implement rockusb 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
Signed-off-by: Eddie Cai
Changes in v4:
-use enum instead of macro define
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 sid
Changes in v4:
-use enum instead of macro define
-move some structure define and macro to f_rockusb.h
-add some function comment as Simon required
On Wed, May 3, 2017 at 11:47 AM, wrote:
> From: Suniel Mahesh
>
> .probe method has been assigned twice when declaring
> a driver with U_BOOT_DRIVER(). Removed one of them.
> Here is the last commit which had the duplicate entry:
> "spi: omap3: Convert to driver model"
> (sha1: 77b8d04854f486741
From: Suniel Mahesh
.probe method has been assigned twice when declaring
a driver with U_BOOT_DRIVER(). Removed one of them.
Here is the last commit which had the duplicate entry:
"spi: omap3: Convert to driver model"
(sha1: 77b8d04854f486741471ad02b93b473b5b3d72f8)
Signed-off-by: Suniel Mahesh
On Thu, Apr 13, 2017 at 11:39 AM, Peng Fan wrote:
> Add the Kconfig entry for SOFT_SPI which uses gpio to simulate the
> SPI signals. We use it for accessing 74x164 on some i.MX boards.
>
> Signed-off-by: Peng Fan
> Cc: Jagan Teki
> Cc: Stefano Babic
> ---
>
> V2:
> None
>
> drivers/spi/Kconf
On Sat, Apr 8, 2017 at 3:29 PM, Andreas Fenkart wrote:
> rebased patches on master
> fixed compiled error in 1st patch (missing variable declaration)
> compile tested all patches with travis
>
> Andreas Fenkart (4):
> env_sf: factor out prepare_flash_device
> enf_sf: reuse setup_flash_device i
On Tue, May 2, 2017 at 9:36 PM, Suniel Mahesh wrote:
> On Tuesday 02 May 2017 04:19 PM, Jagan Teki wrote:
>>
>> On Sat, Apr 29, 2017 at 12:32 AM, wrote:
>>>
>>> From: Suniel Mahesh
>>>
>>> .probe method has been assigned twice when declaring a
>>> a driver with U_BOOT_DRIVER(). Removed one of t
-Original Message-
From: Sumit Garg
Sent: Monday, May 01, 2017 11:23 AM
To: Priyanka Jain ; u-boot@lists.denx.de
Cc: york sun ; Santan Kumar
Subject: RE: [PATCH][v2] board: ls2080ardb, ls2080aqds: Adjust memory map for
NOR-boot
> -Original Message-
> From: Priyanka Jain
> Sent
Hi Philipp,
On 30 April 2017 at 06:31, Dr. Philipp Tomsich
wrote:
> Hi Simon,
>
> On 30 Apr 2017, at 05:49, Simon Glass wrote:
>
> Hi Philipp,
>
> On 28 April 2017 at 09:53, Philipp Tomsich
> wrote:
>
> This commit enables RK3399 support for HDMI through the following
> changes:
> - adds a driv
2017-05-02 14:54 GMT+08:00 Jacob Chen :
> Add support for the rk818 regulator. The regulator module consists
> of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to
> power OTG and HDMI5V.
>
>
>
> Signed-off-by: Jacob Chen
> Reviewed-by: Simon Glass
> ---
>
> Changes in v2: None
>
>
It's caused by the difference of clk_set_rate function implement between
rk3288 andd rk3399.
clk_set_rate() of rk3288 return 0 in normal condition.
clk_set_rate() of rk3399 return input parameter in normal condition.
So check clk_set_rate's return value by IS_ERR_VALUE.
Signed-off-by: Eric Gao
2017-05-02 14:54 GMT+08:00 Jacob Chen :
> The RK818 chip is a Power Management IC (PMIC) for multimedia and handheld
> devices.
>
> For boards use rk818, the input current should be set in the early stage,
> before
> ddr initialization.
>
> Signed-off-by: Jacob Chen
> ---
>
> Changes in v2:
> - r
Using mask is more flexible than bits.
Signed-off-by: Jacob Chen
Reviewed-by: Simon Glass
---
Changes in v2: None
drivers/power/regulator/rk808.c | 39 ++-
1 file changed, 22 insertions(+), 17 deletions(-)
Applied to u-boot-rockchip/next, thanks!
_
Enable pwm0 for display of rk3399 evb board. The PWM do not have decicated
interrupt number in dts and can not get periph_id by pinctrl framework. So
init them here.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5:
Both RK808 and RK818 chips are using a similar register map,
so we can reuse them.
I have also add reg prefix to exist registers, to keep them same style.
Signed-off-by: Jacob Chen
Reviewed-by: Simon Glass
---
Changes in v2: None
drivers/power/regulator/rk808.c | 18 ++---
include/power/rk8
Since this driver can be used for rk8xx series pmic,
let's rename rk808 to rk8xx, to make it clear.
Configs parts are done by sed -i "s/RK808/RK8XX/g" `grep RK808 -lr ./`
Signed-off-by: Jacob Chen
---
Changes in v2:
- rename rk808 to rk8xx
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 6 +--
Add mipi display mode for rk3399 vop, so that we can use mipi panel
for display.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
-Add mipi display mode fo
Because the bitwidth is different for different display mode, so we need
to set them according to demand.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
Add basic driver for mipi display on rockchip soc platform.
Signed-off-by: Eric Gao
Acked-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5:
-Merge Kconfig and Makefile changes into this patch.
Changes in v4: None
Changes in v3:
-Split mipi dsi driv
Add mipi dsi configs for rk3399 evb board
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5:
-Regenerate defconfig file using "make savedefconfig"
Changes in v4: None
Changes in v3: None
Changes in v2:
-Add defconfig
plat->size here is used to reserve frame buffer space befor relocation.
our mipi panel use 24 bitwidth, and vop require 32bit align. So the frame
buffer size should be at least 1920*1200*32/8.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v8: None
Changes in v7: None
Changes
Add GRF register declaration for mipi dsi.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
Reviewed-by: Philipp Tomsich
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5:
-Modify indentation for better readability.
-Make all enum variate have explicit value.
Chan
Add dts config for mipi display, include vop, mipi controller, panel, backlight
. And Enable rk808 for lcd_3v3 in another patch.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
Reviewed-by: Philipp Tomsich
---
Changes in v8:
-Set vop disabled by default.
-Move unused config.
Changes in v7:
Add grf register define for rk3288 mipi dsi
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v3:
-Add Reviewer.
Changes in v2: None
Changes in v1:
-Add grf define for mipi dsi
arch/arm/include/asm/arch-rockchip/grf_rk3288.h | 62 +
1 file changed, 62 i
Add mipi dsi configuration for evb-rk3288 device tree.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v3:
-Add Reviewer.
Changes in v2:
-Move panel and backlight configuration to it's define node.
Changes in v1:
-Add dts configuration.
arch/arm/dts/rk3288-evb.dtsi | 80 +++
Hi Matthew,
On 2 May 2017 at 18:51, Matthew Gorski wrote:
> I have yet to produce a u-boot command prompt. I can get the display to
> flash using u-boot mainline with 0x81000100 as the SYS_TEXT_BASE and using:
>
> description = "Chrome OS kernel image with one or more FDT blobs";
>
> but the bo
Hi Andy,
On 24 April 2017 at 02:04, Andy Shevchenko wrote:
> On Mon, Apr 24, 2017 at 5:02 AM, Simon Glass wrote:
>> At present this code is inline. Move it into a function to allow it to
>> be used elsewhere.
>>
>> Signed-off-by: Simon Glass
>
>> +static int blk_next_free_devnum(enum if_type if
Hi Eric,
On 2 May 2017 at 03:05, Eric Gao wrote:
> Because rk3288 and rk3399 use the same mipi dsi controller and phy with
> only a few difference in grf register. So we share the mipi driver, and
> handle the difference.
>
> Signed-off-by: Eric Gao
> Reviewed-by: Simon Glass
>
> ---
>
> Change
Hi,
On 28 April 2017 at 18:27, Simon Glass wrote:
> Hi Jean-Jacques,
>
> On 24 April 2017 at 02:55, Jean-Jacques Hiblot wrote:
>> Hi Simon,
>>
>> On 24/04/2017 04:02, Simon Glass wrote:
>>>
>>> With driver model MMC is probed automatically when needed. We should not
>>> re-init MMC each time.
>>
HI Lukasz
2017-05-02 18:47 GMT+08:00 Lukasz Majewski :
> Hi Eddie,
>
>> Hi Lukasz
>>
>> 2017-04-30 5:46 GMT+08:00 Lukasz Majewski :
>> > On Sat, 29 Apr 2017 08:41:34 +0800
>> > Eddie Cai wrote:
>> >
>> >> rockusb is a protocol run between host pc and device. it help
>> >> people get device info,
Hi Michael,
On Sat, Apr 29, 2017 at 4:21 AM, Michael Heimpold wrote:
> we could move the implementation in arch/arm/mach-at91/arm926ejs/cache.c
> to a more generic place and re-use it.
>
> However, the warning is only generated because lib/efi_loader/efi_runtime.c
> calls invalidate_icache_all f
I have yet to produce a u-boot command prompt. I can get the display to
flash using u-boot mainline with 0x81000100 as the SYS_TEXT_BASE and using:
description = "Chrome OS kernel image with one or more FDT blobs";
but the boot process forces a reboot into recovery.
If I use:
description = "U
Hi Tom,
> -Original Message-
> From: Vikas MANOCHA
> Sent: Wednesday, April 12, 2017 12:47 PM
> To: 'Tom Rini'
> Cc: u-boot@lists.denx.de; Marek Vasut ; Stefan Agner
> ; Jeremy Hunt
>
> Subject: RE: [U-Boot] [PATCH] spl: make image arg or fdt blob address
> reconfigurable
>
> Hi Tom,
On 04/14/2017 07:54 PM, xypron.g...@gmx.de wrote:
> A feature rich Linux kernel needs more than 8 MiB.
> Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the GXBB systems.
> As all known GXBB systems have at least 512 MiB of RAM this poses no problem.
>
> Cc: Andreas Färber
> Signed-off-by: Heinr
Hi,
Am Montag, 24. April 2017, 20:12:55 CEST schrieb Fabio Estevam:
> Hi Stefan,
>
> On Mon, Apr 24, 2017 at 8:03 AM, Stefan Wahren
wrote:
> > Hi,
> >
> > i tried to port our Duckbill (based on NXP i.MX28 SoC) to U-Boot
> > v2017.03 [1]. The startup works fine, except of this warning:
> >
> >
The SoM has been redesigned to work around bug in the SoC and is now
capable of booting from the eMMC. Add support for booting from eMMC.
Signed-off-by: Marek Vasut
Cc: Andreas Bießmann
---
include/configs/ma5d4evk.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/include/configs/m
The SDHCI1 is the primary boot controller on rev. 2.1 SoM, which
is the version available on the market. Swap the controller order
to match this and future versions of the SoM.
Signed-off-by: Marek Vasut
Cc: Andreas Bießmann
---
board/aries/ma5d4evk/ma5d4evk.c | 5 ++---
include/configs/ma5d4e
Continue loading U-Boot from MMC2 when the SPL was loaded using SAM-BA
loader. This allows the board to boot system from the removable media
instead of the eMMC, which is useful for commissioning purposes. When
booting from the eMMC, always boot from it as it is not possible to
boot from the SD int
The redesigned version of the SoM which was released onto the market
does no longer contain SPI flash, but boots from the eMMC. Move the
environment storage to the eMMC.
Signed-off-by: Marek Vasut
Cc: Andreas Bießmann
---
include/configs/ma5d4evk.h | 11 +--
1 file changed, 5 insertions
Use random ethaddr by default in case no ethaddr is set.
Signed-off-by: Marek Vasut
---
configs/ma5d4evk_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/ma5d4evk_defconfig b/configs/ma5d4evk_defconfig
index 8f8ce9b935..654193831c 100644
--- a/configs/ma5d4evk_defconfig
+++
Discern the SoMs based on the presence of SPI flash to support both
variants of the SoM, one booting from SPI NOR and one booting from
eMMC.
Signed-off-by: Marek Vasut
Cc: Andreas Bießmann
---
board/aries/ma5d4evk/ma5d4evk.c | 26 --
include/configs/ma5d4evk.h | 22
Init the controllers, otherwise the board cannot boot from SD/MMC.
This boot option is new on rev. 2.1 SoM .
Signed-off-by: Marek Vasut
Cc: Andreas Bießmann
---
board/aries/ma5d4evk/ma5d4evk.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/board/aries/ma5d4evk/ma5d4evk.c b/board/arie
According to the datasheet, sequential mapping is used for DDR
SDRAM, while interleaved mapping is used for regular SDRAM.
Incorrect configuration of this bit does indeed cause sporadic
memory instability.
Signed-off-by: Marek Vasut
Cc: Andreas Bießmann
Cc: Wenyou Yang
---
board/aries/ma5d4evk
Enable DFU and USB mass storage support for the DENX MA5D4 SoM.
Signed-off-by: Marek Vasut
Cc: Andreas Bießmann
---
configs/ma5d4evk_defconfig | 8
include/configs/ma5d4evk.h | 4
2 files changed, 12 insertions(+)
diff --git a/configs/ma5d4evk_defconfig b/configs/ma5d4evk_defconf
The CAN controllers need slight delay between toggling of their reset
line. Move this action into board_init(), otherwise timer will not be
initialized and the board might hang.
Signed-off-by: Marek Vasut
Cc: Andreas Bießmann
---
board/aries/ma5d4evk/ma5d4evk.c | 12 ++--
1 file changed
The board is now manufactured by Aries Embedded GmbH , rename it.
Signed-off-by: Marek Vasut
---
arch/arm/mach-at91/Kconfig | 4 ++--
board/{denx => aries}/ma5d4evk/Kconfig | 2 +-
board/{denx => aries}/ma5d4evk/MAINTAINERS | 4 ++--
board/{denx => aries}/ma5d4evk/Makefile
On Tuesday 02 May 2017 04:19 PM, Jagan Teki wrote:
On Sat, Apr 29, 2017 at 12:32 AM, wrote:
From: Suniel Mahesh
.probe method has been assigned twice when declaring a
a driver with U_BOOT_DRIVER(). Removed one of them.
Thanks,
Can you mark the details here like which commit has done this
On Tue, May 2, 2017 at 9:25 AM, Matthew Gorski
wrote:
>
>
> On Tue, May 2, 2017 at 2:54 AM, Sjoerd Simons <
> sjoerd.sim...@collabora.co.uk> wrote:
>
>> On Tue, 2017-05-02 at 08:42 +0200, Tomeu Vizoso wrote:
>> > On 2 May 2017 at 08:40, Tomeu Vizoso wrote:
>> > > On 2 May 2017 at 03:19, Matthew
On 05/02/2017 12:51 AM, Antoine Tenart wrote:
Hi Stephen,
On Mon, May 01, 2017 at 09:34:43AM -0600, Stephen Warren wrote:
Antoine Tenart wrote at Sunday, April 30, 2017 6:30 AM:
Select the newly introduced ARM_GIC option to the relevant configuration
which also have a psci implementation.
I
>-Original Message-
>From: Tom Rini [mailto:tr...@konsulko.com]
>Sent: Tuesday, May 02, 2017 8:24 PM
>To: B, Ravi
>Cc: u-boot@lists.denx.de
>Subject: Re: [U-Boot] [PATCH v2 2/3] common: dfu: ignore reset for spl-dfu
>On Tue, May 02, 2017 at 01:56:45PM +, B, Ravi wrote:
>> Tom
>>
>>
On Tue, May 02, 2017 at 01:56:45PM +, B, Ravi wrote:
> Tom
>
> >>Can you give the exact bytes saved in each case, with your specific
> >>compiler? I ask since I'm surprised it's more than a function being
> >>dropped by the linker in this case. diff'ing the u-boot-spl.map files
> >>would
Update voltages before programming plls.
Signed-off-by: Lokesh Vutla
---
board/ti/am335x/board.c | 267 +++-
1 file changed, 148 insertions(+), 119 deletions(-)
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index 6786229680..c6e20b049
Update MPU frequencies and voltages as per the latest
DM[1] dated: OCT 2011 Revised APRIL 2016, Section 5.4.
Below is the consolidated data:
MPU values for PG 2.0 and later(Package ZCZ and ZCE):
---
| | ZCZ | ZCE
am335x supports various sysclk frequencies which can be determined
using sysboot pins. PLLs should be configures based on this
sysclk frequency. Add PLL configurations for all supported
frequencies.
Signed-off-by: Lokesh Vutla
---
arch/arm/include/asm/arch-am33xx/clock.h | 7 ++
arch/
As am33xx supports various sysclk frequencies, this series support
PLL configuration for all supported sysclk frequencies.
Lokesh Vutla (3):
arm: am33xx: Fix MPU opp selection
board: am335x: Introduce scale_vcores
arm: am33xx: Add support for mulitiple PLL input frequencies
arch/arm/includ
Tom
>>Can you give the exact bytes saved in each case, with your specific compiler?
>> I ask since I'm surprised it's more than a function being dropped by the
>>linker in this case. diff'ing the u-boot-spl.map files would also say what
>>is dropped and I'd be interested in that. > (And >yes,
Tom
>> >> >I don't just mean dropping out CLI, I mean after dropping out CLI but
>> >> >leaving in the reset logic. That's _still_ 7k?
>> >>
>> >> Without this fix, with cli_simple_run_command(), size of MLO with default
>> >> dra7xx_evm_defconfig is 130K.
>> >> With this fix, compile out cli.
On Tue, May 2, 2017 at 2:54 AM, Sjoerd Simons wrote:
> On Tue, 2017-05-02 at 08:42 +0200, Tomeu Vizoso wrote:
> > On 2 May 2017 at 08:40, Tomeu Vizoso wrote:
> > > On 2 May 2017 at 03:19, Matthew Gorski
> > > wrote:
> > > > Seems if you change the FIT description from anything but
> > > >
> > >
On Tue, May 02, 2017 at 01:02:24PM +, B, Ravi wrote:
> Tom
>
> >> >>
> >> >> I observed around 7K reduced.
> >>
> >> >I don't just mean dropping out CLI, I mean after dropping out CLI but
> >> >leaving in the reset logic. That's _still_ 7k?
> >>
> >> Without this fix, with cli_simple_run
Tom
>> >>
>> >> I observed around 7K reduced.
>>
>> >I don't just mean dropping out CLI, I mean after dropping out CLI but
>> >leaving in the reset logic. That's _still_ 7k?
>>
>> Without this fix, with cli_simple_run_command(), size of MLO with default
>> dra7xx_evm_defconfig is 130K.
>> W
On Tue, May 02, 2017 at 12:41:48PM +, B, Ravi wrote:
> Tom
>
> >> >>
> >> >> static int dfu_find_alt_num(const char *s)
> >>
> >> >So do we still need the above, in order to save space? How much are we
> >> >saving here even, now? Thanks!
> >>
> >> I observed around 7K reduced.
>
> >
>Tom
>>> >>
>>> >> static int dfu_find_alt_num(const char *s)
>>>
>>> >So do we still need the above, in order to save space? How much are we
>>> >saving here even, now? Thanks!
>>>
>>> I observed around 7K reduced.
Ignore 7K figure provided, that's wrong calculation.
>I don't just mean
Tom
>> >>
>> >> static int dfu_find_alt_num(const char *s)
>>
>> >So do we still need the above, in order to save space? How much are we
>> >saving here even, now? Thanks!
>>
>> I observed around 7K reduced.
>I don't just mean dropping out CLI, I mean after dropping out CLI but leaving
Validates the images in the ESBC phase for LS2088ARDB platform
and QSPI boot using esbc_validate command. Add images validation
in default environment under mcinitcmd prior to MC initialization.
Adds header address for PPA to be validated during ESBC phase for
ARCH_LS2088 and QSPI_BOOT.
Moves sec
This patch adjusts memory map for secure boot headers on LS2080AQDS
and LS2080ARDB platforms.
Secure boot headers are placed on NOR flash at offset 0x0060.
Signed-off-by: Udit Agarwal
---
https://patchwork.ozlabs.org/patch/756222/
https://patchwork.ozlabs.org/patch/756221/
https://patchwork.
Add the secure boot defconfig for QSPI boot on LS2088ARDB
platform.
Signed-off-by: Udit Agarwal
---
https://patchwork.ozlabs.org/patch/756222/
https://patchwork.ozlabs.org/patch/756221/
https://patchwork.ozlabs.org/patch/756250/
configs/ls2088ardb_qspi_SECURE_BOOT_defconfig | 50 +++
Hi Simon,
On 02.05.2017 13:27, Simon Glass wrote:
On 1 May 2017 at 00:14, Stefan Roese wrote:
Hi Simon,
On 29.04.2017 02:26, Simon Glass wrote:
On 24 April 2017 at 01:48, Stefan Roese wrote:
On my x86 platform I've noticed, that calling dm_uninit() or the new
function dm_remove_devices_
On 22 April 2017 at 02:57, Jonas Karlman wrote:
> Signed-off-by: Jonas Karlman
> ---
>
> Changes in v3:
> - Add i2c_eeprom_{read,write} functions
>
> Changes in v2: None
>
> drivers/misc/i2c_eeprom.c | 32 ++--
> include/i2c_eeprom.h | 24
On 22 April 2017 at 02:57, Jonas Karlman wrote:
> Set ethernet mac address in late init for Tinker Board,
> prevents getting a random mac address each boot.
>
> Read mac address from eeprom, first 6 bytes from m24c08@50.
> Same as /etc/init.d/rockchip.sh on Tinker OS.
>
> Signed-off-by: Jonas Karl
Hi Peng,
On 25 April 2017 at 14:51, Peng Fan wrote:
> Hi Simon,
>
>> -Original Message-
>> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass
>> Sent: Monday, April 24, 2017 11:38 AM
>> To: Peng Fan
>> Cc: U-Boot Mailing List ; Tom Rini
>> ; Eddie Cai ; Jagan Teki
>>
Hi Suneel,
On 27 April 2017 at 05:29, Suneel Garapati wrote:
> Hi Tom/Simon,
>
> Request to help on below query.
>
> Regards,
> Suneel
>
> On Tue, Apr 25, 2017 at 16:25 Suneel Garapati
> wrote:
>>
>> Hi Simon,
>>
>> Request your inputs on below query -
>>
>> Boards I work on have most of the dev
These header files are actually part of libfdt. Move them there to make
it easier to build pylibfdt and easier to merge changes from upstream.
Update the license header to use SPDX at the same time.
Signed-off-by: Simon Glass
---
include/fdt.h | 68 +-
include/libfdt.h| 2094 +-
Hi Chris,
On 30 April 2017 at 21:11, Chris Packham wrote:
> On Sun, Apr 30, 2017 at 3:49 PM, Simon Glass wrote:
>> On 28 April 2017 at 21:20, Chris Packham wrote:
>>> Add an implementation of the ds1307 driver that uses the driver model
>>> i2c APIs.
>>>
>>> Signed-off-by: Chris Packham
>>>
>>
This is needed by binman and dtoc, so if those are being used, check that
the library is present and complain if not.
This means that the fallback library (which uses fdtget) will not be used
anymore and swig will need to be installed to use binman / dtoc.
This affects any board which uses binman
U-Boot needs to provide some swig include directories. Add this feature.
Signed-off-by: Simon Glass
---
lib/libfdt/pylibfdt/setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Applied to u-boot-fdt/next, thanks!
___
U-Boot mailing list
Hi,
On 19 April 2017 at 08:27, Tom Rini wrote:
> On Tue, Apr 18, 2017 at 10:48:07AM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 18 April 2017 at 10:33, Tom Rini wrote:
>> > On Tue, Apr 18, 2017 at 10:27:37AM -0600, Simon Glass wrote:
>> >> Hi Tom,
>> >>
>> >> On 18 April 2017 at 10:25, Tom Rin
Since fdt is a module it conflicts with this variable name and prevents it
being used in tests. Rename the variable.
Signed-off-by: Simon Glass
---
tools/binman/fdt_test.py | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
Applied to u-boot-fdt/next, thanks!
Drop this now-unused library and associated tests.
Signed-off-by: Simon Glass
---
tools/binman/fdt_test.py | 10 ---
tools/binman/func_test.py | 42 ---
tools/dtoc/fdt.py | 4 +-
tools/dtoc/fdt_fallback.py | 181 -
tools/dtoc/f
This is no-longer needed, so stop building it.
Signed-off-by: Simon Glass
---
lib/libfdt/libfdt_legacy.swig | 112 --
lib/libfdt/setup.py | 38 --
tools/Makefile| 18 ---
3 files changed, 168 deletions(-)
delet
This gives a warning with some native compilers:
cmd/pci.c:152:11: warning: format ‘%llx’ expects argument of type
‘long long unsigned int’, but argument 3 has type
‘u64 {aka long unsigned int}’ [-Wformat=]
Fix it with a cast.
Signed-off-by: Simon Glass
---
cmd/pci.c | 3 ++-
1 file cha
This gives a warning with some native compilers:
lib/fdtdec.c:1203:8: warning: format ‘%llx’ expects argument of type
‘long long unsigned int’, but argument 3 has type
‘long unsigned int’ [-Wformat=]
Fix it with a cast.
Signed-off-by: Simon Glass
---
lib/fdtdec.c | 3 ++-
1 file changed
At present only a subset of source files are build. Add the rest and
refactor this so that a source file list is available also. This will be
used in later commit.
Signed-off-by: Simon Glass
---
tools/Makefile | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
Applied to u-boot-fdt/
Build the upstream python libfdt module. At present the legacy module is
still built and is the one that it used. Future work will switch this
over.
Signed-off-by: Simon Glass
---
tools/Makefile | 18 ++
1 file changed, 18 insertions(+)
Applied to u-boot-fdt/next, thanks!
_
Hi Stefan,
On 1 May 2017 at 00:14, Stefan Roese wrote:
> Hi Simon,
>
>
> On 29.04.2017 02:26, Simon Glass wrote:
>>
>> On 24 April 2017 at 01:48, Stefan Roese wrote:
>>>
>>> On my x86 platform I've noticed, that calling dm_uninit() or the new
>>> function dm_remove_devices_flags() does not remov
Now that this module has been accepted upstream we should stop using the
local U-Boot one. In preparation for this, rename it to indicate it is for
legacy use.
Signed-off-by: Simon Glass
---
lib/libfdt/{libfdt.swig => libfdt_legacy.swig} | 3 +--
lib/libfdt/setup.py
Use the new library if available, while retaining backwards compatibility
with the old library for now.
Signed-off-by: Simon Glass
---
tools/Makefile | 4 +++-
tools/binman/binman.py | 3 +++
tools/dtoc/fdt.py| 1 +
tools/dtoc/fdt_normal.py | 35 ++
The tests don't currently cover all the different property types. Add a
new test which checks each property type in turn, to make sure each has
the correct type and value.
Signed-off-by: Simon Glass
---
tools/binman/fdt_test.py | 46 ++
tools/binman
On Tue, May 02, 2017 at 04:31:47PM +0530, Jagan Teki wrote:
> On Mon, Feb 20, 2017 at 8:08 PM, Tom Rini wrote:
> > Migrate this option to Kconfig.
> >
> > Signed-off-by: Tom Rini
>
> Reviewed-by: Jagan Teki
>
> Can't apply this on my tree, would like to go this after the release
> please resen
On Mon, Apr 17, 2017 at 07:47:34AM -0600, Simon Glass wrote:
> Hi Tom,
>
> On 17 April 2017 at 07:33, Tom Rini wrote:
> >
> > On Mon, Apr 17, 2017 at 10:13:06PM +0900, Masahiro Yamada wrote:
> > > Hi Tom,
> > >
> > >
> > > 2017-04-17 22:05 GMT+09:00 Tom Rini :
> > > > On Sun, Apr 16, 2017 at 08:22
Hi,
On 1 May 2017 at 11:44, Andreas Färber wrote:
> Am 21.04.2017 um 04:33 schrieb Andy Yan:
>> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
>> index fbc97e8..d786611 100644
>> --- a/arch/arm/dts/Makefile
>> +++ b/arch/arm/dts/Makefile
>> @@ -42,9 +42,10 @@ dtb-$(CONFIG_ARCH_ROCKCHI
Now that this is no-longer available, stop looking for it. The new module
will be used if available.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt_normal.py | 32
1 file changed, 8 insertions(+), 24 deletions(-)
Applied to u-boot-fdt/next, thanks!
_
Since we only have one Fdt implementation now we don't need to have a base
class. Merge the implementation and the base class together.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt.py| 176 +++-
tools/dtoc/fdt_normal.py | 226
Previously we were sometimes forced to collate x86 microcode due to not
having access to the offset of each individual piece. Now that we never
use fdt_fallback, we don't have this problem. Drop this special case from
the code.
Signed-off-by: Simon Glass
---
tools/binman/etype/u_boot_dtb_with_u
This file was used to select between the normal and fallback libfdt
implementations. Now that we only have one, it is not needed.
Drop it and fix up all users.
Signed-off-by: Simon Glass
---
tools/binman/control.py | 2 +-
tools/binman/etype/u_boot_dtb_with_ucode.py | 2 +
Since fdt is the name of a module, use a different name for variables to
avoid a conflict.
Signed-off-by: Simon Glass
---
tools/binman/control.py | 10 +-
tools/binman/etype/u_boot_dtb_with_ucode.py | 9 -
tools/binman/func_test.py | 4 ++-
1 - 100 of 187 matches
Mail list logo