On Thu, Jan 28, 2016 at 3:43 PM, Qianyu Gong wrote:
> Hi,
>
>> -Original Message-
>> From: Bin Meng [mailto:bmeng...@gmail.com]
>> Sent: Thursday, January 28, 2016 3:30 PM
>> To: Qianyu Gong
>> Cc: U-Boot Mailing List
>> Subject: Re: [U-Boot] [PATCH] pci: gate print info of reading vende
Hi Steve,
> From: Frank Wang
>
> In current high speed fastboot, fs_ep_in.wMaxPacketSize is configured
> 64 bytes as default, as a result, it failed to match the size at
> initialization stage in usb controller.
> Actually, hardware can support less than or equal to 512 bytes in
> high speed mod
Hi,
On 28-01-16 04:58, Simon Glass wrote:
Hi Hans,
On 25 January 2016 at 13:30, Simon Glass wrote:
At present u-boot.bin holds the plain U-Boot binary without the device tree.
This is somewhat annoying since you need either u-boot.bin or u-boot-dtb.bin
depending on whether device tree is use
> -Original Message-
> From: Bin Meng [mailto:bmeng...@gmail.com]
> Sent: Thursday, January 28, 2016 4:02 PM
> To: Qianyu Gong
> Cc: u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH] pci: gate print info of reading vender id with
> CONFIG_DM_PCI
>
> On Thu, Jan 28, 2016 at 3:43 PM, Qi
On Wed, 27 Jan 2016 08:46:11 +0100, Albert ARIBAUD
wrote:
> Some armv7 targets are missing a cache line size declaration.
> In preparation for "arm: cache: Implement cache range check for v7"
> patch, add these declarations with the appropriate value for
> the target's SoC or CPU.
>
> Signed-off-
From: Peng Fan
Move mmc_get_env_devno to soc.c and rename to mmc_get_env_dev to
match the one in common/env_mmc.c.
Introduce a weak function board_mmc_get_env_dev. Different
boards can implement this according to sdhc controller which
is used by the board.
Signed-off-by: Peng Fan
Cc: Stefano Ba
From: Peng Fan
Implement board_mmc_get_env_dev for the boards.
Following is examples:
SD1/SD2/SD3: return devno;
SD2/SD3: return devno - 1;
SD2/SD4: if (devno == 2), return dev - 2; return dev - 1;
Signed-off-by: Peng Fan
Cc: Stefano Babic
---
V2:
no change
board/freescale/mx6qarm2/mx6qar
From: Peng Fan
Implement mmc_get_env_dev, devno can be got from smbr1 of SRC.
Introduce a weak function board_mmc_get_env_dev, different
boards can implement it according to different sdhc controllers
that used by the board.
Signed-off-by: Peng Fan
Cc: Stefano Babic
---
V2:
Use CONFIG_ENV_IS
From: Peng Fan
To i.MX6SX and i.MX7D, there is a M4 core embedded. Resources
can be shared or occupied exclusively by setting Resource
domain controller between A9/7 core and M4 core.
Refer "Chapter 52 Resource Domain Controller (RDC)" of i.MX 6SoloX
RM and "Chapter 3.2 Resource Domain Controlle
From: Peng Fan
Introduce Resource Domain Controller support for i.MX.
Now i.MX6SX and i.MX7D supports this feature to assign masters
and peripherals to different domains.
Signed-off-by: Ye.Li
Signed-off-by: Peng Fan
---
V2:
change imx_rdc_check_permission to support checking domain id.
arc
From: Peng Fan
Add the definitions for the RDC mappings for i.MX6 SoloX.
Signed-off-by: Ye.Li
Signed-off-by: Peng Fan
---
V2:
no change
arch/arm/include/asm/arch-mx6/imx-rdc.h | 4 +
arch/arm/include/asm/arch-mx6/mx6sx_rdc.h | 155 ++
2 files changed, 159 in
From: Peng Fan
Introudce rdc regs structure and rdc sema reg structure for i.MX6.
For now, to i.MX6, only i.MX6SX supports this.
Signed-off-by: Ye.Li
Signed-off-by: Peng Fan
---
V2:
no change
arch/arm/include/asm/arch-mx6/imx-regs.h | 24
1 file changed, 24 inserti
From: Peng Fan
To boot a auxiliary core in asymmetric multicore system, introduce the
new command "bootaux" to do it. Example of boot auxliary core from
0x7000 where stores the boot head information that should be
parsed by auxiliary core, "bootaux 0x7000".
Introduce Kconfig option IMX_BO
From: Peng Fan
Add the peripherals/masters definitions and registers base addresses
for mx7d RDC.
Signed-off-by: Ye.Li
Signed-off-by: Peng Fan
---
V2:
no change
arch/arm/include/asm/arch-mx7/imx-rdc.h | 16 +++
arch/arm/include/asm/arch-mx7/imx-regs.h | 3 +
arch/arm/include/asm/arch-m
From: Peng Fan
If CONFIG_IMX_RDC is enabled, enable clock for RDC and SEMAPHORE.
Signed-off-by: Peng Fan
---
V2: no change
arch/arm/cpu/armv7/mx7/clock.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/cpu/armv7/mx7/clock.c b/arch/arm/cpu/armv7/mx7/clock.c
index 77db6e8..4
From: Peng Fan
Implement arch_auxiliary_core_up and arch_auxiliary_core_check_up.
arch_auxiliary_core_check_up is used to check whether M4 is running
or not. arch_auxiliary_core_up is to boot M4 core, the m4 core will
use the pc and stack which is set in arch_auxiliary_core_up to set R15
and R13
From: Peng Fan
Implement arch_auxiliary_core_up and arch_auxiliary_core_check_up.
arch_auxiliary_core_check_up is used to check whether M4 is running
or not. arch_auxiliary_core_up is to boot M4 core, the m4 core will
use the pc and stack which is set in arch_auxiliary_core_up to set R15
and R13
From: Peng Fan
Introduce macros and command to support booting M4 core for
i.MX6SX SabreSD board.
Signed-off-by: Ye.Li
Signed-off-by: Peng Fan
---
V2:
no change
include/configs/mx6sxsabresd.h | 24
1 file changed, 24 insertions(+)
diff --git a/include/configs/mx6s
From: Peng Fan
Introduce macros and command to support booting M4 core for
i.MX7D SabreSD board.
Signed-off-by: Ye.Li
Signed-off-by: Peng Fan
---
V2:
no change
include/configs/mx7dsabresd.h | 24
1 file changed, 24 insertions(+)
diff --git a/include/configs/mx7dsa
From: Peng Fan
In current design, if any peripheral was assigned to both A7 and M4,
it will receive ipg_stop or ipg_wait when any of the 2 platforms
enter low power mode. We will have a risk that, if A7 enter wait,
M4 enter stop, peripheral will have chance to get ipg_stop and ipg_wait
asserted s
PIC32 clock module consists of multiple oscillators, PLLs, mutiplexers
and dividers capable of supplying clock to various controllers
on or off-chip.
Signed-off-by: Purna Chandra Mandal
Reviewed-by: Simon Glass
Reviewed-by: Daniel Schwierzeck
---
Changes in v4: None
Changes in v3:
- rename cl
From: Paul Thacker
This adds PIC32 UART controller support based on driver model.
Signed-off-by: Paul Thacker
Signed-off-by: Purna Chandra Mandal
Reviewed-by: Daniel Schwierzeck
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
---
Changes in v4:
- update kconfig dependency (DM_SERIAL && MA
Create initial directory, Kconfigs needed for PIC32 architecture
support. Also add PIC32 specific register definition required for drivers.
Signed-off-by: Purna Chandra Mandal
Reviewed-by: Daniel Schwierzeck
Reviewed-by: Tom Rini
---
Changes in v4: None
Changes in v3:
- drop empty choice in m
In PIC32 pin-controller is a combined gpio-controller, pin-mux and
pin-config module. Remappable peripherals are assigned pins through
per-pin based muxing logic. And pin configuration are performed on
specific port registers which are shared along with gpio controller.
Note, non-remappable periphe
In PIC32 GPIO controller is part of PIC32 pin controller.
PIC32 has ten independently programmable ports and each with multiple pins.
Each of these pins can be configured and used as GPIO, provided they
are not in use for other peripherals.
Signed-off-by: Purna Chandra Mandal
Reviewed-by: Tom Rin
Enable MMC, SDHCI, FAT_FS support for PIC32MZ[DA] StarterKit.
Also add custom scripts, rules to boot Linux from microSD card.
Signed-off-by: Purna Chandra Mandal
---
Changes in v4: None
Changes in v3:
- use distro boot commands from config_distro_bootcmd.h
- separate old booting logic as legacy
From: Andrei Pistirica
This driver implements platform specific glue and fixups for
PIC32 internal SDHCI controller.
Signed-off-by: Andrei Pistirica
Signed-off-by: Sandeep Sheriker Mallikarjun
Signed-off-by: Purna Chandra Mandal
Reviewed-by: Tom Rini
Reviewed-by: Daniel Schwierzeck
---
C
This driver initializes PIC32 DDR2 SDRAM controller and internal DDR2 Phy
module.
DDR2 controller operates in half-rate mode (upto 533MHZ frequency).
Signed-off-by: Paul Thacker
Signed-off-by: Purna Chandra Mandal
Reviewed-by: Daniel Schwierzeck
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
Add Microchip PIC32MZ[DA] SoC family support.
Signed-off-by: Purna Chandra Mandal
---
Changes in v4:
- drop forcing DM_SERIAL, PIC32_SERIAL, PIC32_PINCTRL in mach-pic32/Kconfig
- drop extra include
- rename clock compatible to "pic32mzda-clk" from "pic32mzda_clk".
- fix typo 'clock-cells' to '#
This adds support for Microchip PIC32MZ[DA] StarterKit board
based on a PIC32MZ[DA] family of microcontroller.
Signed-off-by: Purna Chandra Mandal
---
Changes in v4:
- create defconfig by 'make savedefconfig'
- drop explicit SYS_BAUDRATE_TABLE in favor of default one
Changes in v3:
- drop SKI
Add SMSC LAN8740 Phy support required for PIC32MZDA devices.
Signed-off-by: Purna Chandra Mandal
Reviewed-by: Tom Rini
Reviewed-by: Daniel Schwierzeck
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/net/phy/smsc.c | 10 ++
1 file changed, 10 insertions(+)
di
This driver implements MAC and MII layer of the ethernet controller.
Network data transfer is handled by controller internal DMA engine.
Ethernet controller is configurable through device-tree file.
Signed-off-by: Purna Chandra Mandal
---
Changes in v4:
- drop ioremap() success check
- drop _d
This adds ethernet, TFTP support for PIC32MZ[DA] Starter Kit. Also
custom environment variables/scripts are added to help boot from network.
Signed-off-by: Purna Chandra Mandal
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- replace unbounded loop with wait_for_bit()
- replace regi
From: Shaohui Xie
To use AQR405 PHY's interrupt, we need to invert the relative IRQ pins
polarity by setting IRQCR register, because AQR405 interrupt is low
active but GIC accepts high active.
Signed-off-by: Shaohui Xie
---
changes in v2:
1. move Interrupt register offset define to immap_lsch3.
From: Shaohui Xie
Current driver always performs a phy soft reset when connecting the phy
device, but soft reset is not always supported by a phy device, so
introduce a quirk PHY_FLAG_BROKEN_RESET to let such a phy device to skip
soft reset. This commit uses 'flags' of phy device structure to sto
> -Original Message-
> From: Joe Hershberger [mailto:joe.hershber...@gmail.com]
> Sent: Wednesday, January 27, 2016 11:37 PM
> To: shaohui 谢
> Cc: u-boot ; Joe Hershberger ;
> Shaohui Xie ; York Sun
> Subject: Re: [U-Boot] [PATCH 1/2] net: phy: introduce a quirk PHY_BROKEN_RESET
>
> On T
Hello Bin,
Am 27.01.2016 um 08:28 schrieb Bin Meng:
Correct spelling of "U-Boot" shall be used in all written text
(documentation, comments in source files etc.).
Signed-off-by: Bin Meng
---
I cc'ed all maintainers, please help review in case I made any
mistakes. Also we should keep an eye on
This patch series adds support for Microchip PIC32MZ[DA] MIPS microcontroller
platform.
All drivers required to boot from MMC uSD card and network are included in it;
clock,
pinctrl, gpio, DDR2, serial, SDHCI, ethernet.
This series been tested on PIC32MZ[DA] Starter Kit.
This series is generated
From: Shaohui Xie
Cortina phy cannot support soft reset, this commit implements probe
for Cortina PHY to tell phylib to skip phy soft reset by setting
PHY_FLAG_BROKEN_RESET in flags.
Signed-off-by: Shaohui Xie
Acked-by: Joe Hershberger
---
changes in v2:
1. use PHY_FLAG_BROKEN_RESET instead of
On Wed, 2016-01-27 at 21:13 +0800, Chin Liang See wrote:
> On Wed, 2016-01-27 at 00:01 +, Trent Piepho wrote:
> > On Fri, 2015-11-27 at 15:22 +0800, Chin Liang See wrote:
> > > Enable SDMMC calibration to determine the best setting for
> > > drvsel and smplsel. Calibration will be triggered if
I believe this is accurate for identifying boards from revision numbers:
https://github.com/AndrewFromMelbourne/raspberry_pi_revision
>From the firmware, old style revision numbers:
case 0x02: case 0x03:
boardrev = MAKE_BOARDREV(MODELB, 1_1); break;
case 0x04: case 0x05: case
The patch that enabled eSDHC peripheral clock support had an
obvious error as below. This patch is used to fix it.
+#define define CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK
Fixes: 3285e6cbcc1b ("powerpc/t2080qds: enable eSDHC peripheral clock support")
Signed-off-by: Yangbo Lu
---
include/configs/T20
Add support for GE B450v3, B650v3 and B850v3 boards. The boards
are based on Advantech BA16 module which has a imx6 processor.
The boards support:
- FEC Ethernet
- USB Ports
- SDHC and MMC boot
- SPI NOR
- LVDS and HDMI display
Basic information about the module:
- Module manufacturer: Advan
> -Original Message-
> From: Marek Vasut [mailto:ma...@denx.de]
> Sent: Wednesday, January 27, 2016 5:13 PM
> To: Ramneek Mehresh
> Cc: Ramneek Mehresh ; u-
> b...@lists.denx.de; Simon Glass
> Subject: Re: [PATCH 2/2] include:configs: Add usb device-tree fixup for all
> fsl
> platforms
On Thursday, January 28, 2016 at 12:05:29 PM, Ramneek Mehresh wrote:
> > -Original Message-
> > From: Marek Vasut [mailto:ma...@denx.de]
> > Sent: Wednesday, January 27, 2016 5:13 PM
> > To: Ramneek Mehresh
> > Cc: Ramneek Mehresh ; u-
> > b...@lists.denx.de; Simon Glass
> > Subject: Re:
Hi Simon
On Thursday 28 January 2016 04:23 AM, Simon Glass wrote:
> Hi Mugunthan,
>
> On 27 January 2016 at 04:57, Mugunthan V N wrote:
>> Implement a DMA uclass so that the devices like ethernet, spi,
>> mmc etc can offload the data transfers from/to the device and
>> memory.
>>
>> Signed-off-b
> -Original Message-
> From: Marek Vasut [mailto:ma...@denx.de]
> Sent: Thursday, January 28, 2016 5:04 PM
> To: Ramneek Mehresh
> Cc: Ramneek Mehresh ; u-
> b...@lists.denx.de; Simon Glass
> Subject: Re: [PATCH 2/2] include:configs: Add usb device-tree fixup for all
> fsl
> platforms
On Thursday, January 28, 2016 07:51 AM, Marek Vasut wrote:
The assignment const T var; var = value; is illegal, since var is
constant. Drop the const to fix the compiler warning.
Signed-off-by: Marek Vasut
Cc: Daniel Schwierzeck
Cc: Wills Wang
---
arch/mips/mach-ath79/reset.c | 2 +-
1 f
On Thursday, January 28, 2016 07:51 AM, Marek Vasut wrote:
Drop SYS_MIPS_CACHE_INIT_RAM_LOAD from the Kconfig, since this option
is bogus. The DRAM is not active when this option comes into play, so
any attempt to restore valid cache state from invalid DRAM must fail.
Disable this option to pre
On Thursday, January 28, 2016 at 02:23:48 PM, Wills Wang wrote:
> On Thursday, January 28, 2016 07:51 AM, Marek Vasut wrote:
> > The assignment const T var; var = value; is illegal, since var is
> > constant. Drop the const to fix the compiler warning.
> >
> > Signed-off-by: Marek Vasut
> > Cc: D
On Thursday, January 28, 2016 at 02:25:08 PM, Wills Wang wrote:
> On Thursday, January 28, 2016 07:51 AM, Marek Vasut wrote:
> > Drop SYS_MIPS_CACHE_INIT_RAM_LOAD from the Kconfig, since this option
> > is bogus. The DRAM is not active when this option comes into play, so
> > any attempt to restore
On Thursday, January 28, 2016 07:51 AM, Marek Vasut wrote:
In order to support boards with ath79 from different vendors and
thus located under /board/$VENDOR/ , we need to define SYS_VENDOR
and SYS_SOC in the board-level Kconfig. Move these two variables
into board-level Kconfig for both ap121
On Thursday, January 28, 2016 07:51 AM, Marek Vasut wrote:
In order to support boards with ath79 from different vendors and
thus located under /board/$VENDOR/ , we need to define SYS_VENDOR
and SYS_SOC in the board-level Kconfig. Move these two variables
into board-level Kconfig for both ap121
On Thursday, January 28, 2016 at 02:31:11 PM, Wills Wang wrote:
> On Thursday, January 28, 2016 07:51 AM, Marek Vasut wrote:
> > In order to support boards with ath79 from different vendors and
> > thus located under /board/$VENDOR/ , we need to define SYS_VENDOR
> > and SYS_SOC in the board-level
In LS2080/LS2085, SFP is LE and Ver is 3.4
The base address is 0x01e80200
SFP will be used in Secure Boot to read fuses.
Signed-off-by: Aneesh Bansal
Signed-off-by: Saksham Jain
---
Changes for v2:
- No changes
arch/arm/include/asm/arch-fsl-layerscape/config.h | 4
arch/arm/in
Secure Boot ESBC has been enabled on FSL LS208x platforms.
This patchset is dependent on
http://patchwork.ozlabs.org/patch/571612/
Changes for v2:
- changed function fsl_secboot_validate to return address of image
- corrected Bootscript header for ls1043 and ls1021
Saksham Jain (1
For ls2080, Added configs for various IPs used during secure boot
Added address and endianness for SEC and Security Monitor.
SRK - Fuses in SFP (Fused for public keys hash)
These are stored in LE format.
Signed-off-by: Aneesh Bansal
Signed-off-by: Saksham Jain
---
Changes for v2:
- No c
For Secure Boot, a header is used to identify key table, signature
and image address. For LS-CH3, there is a new header structure being used.
The following changes are there in the new header:
1) Currently IE Table (Key extension) feature is not supported
2) Single Key feature is not supported. Ke
Following changes have been made to enable secure boot:
1) Sec_init has been called in starting to initialize SEC Block (CAAM)
which will be used for Secure Boot validation later for both ls2080a qds
and rdb
2) 64Bit address in ESBC Header has been enabled as this SoC is based on
armv8
3) Secure Bo
During secure boot, Linux image along with other images are validated
using bootscript. This bootscript also needs to be validated before
it is executed. This requires a header for bootscript.
When secure boot is enabled, default bootcmd is changed to first validate
bootscript using the header and
During Secure Boot, a bootscript is validated using its header.
This patch copies both these images to DDR from NOR and then validates and
executed them from DDR. (If NOR is the boot source for LS2080 and LS2085).
This copy step is done to make this step common across booting sources.
Because in c
"fdt_high" env variable has been changed to 0xa000 for ls2080a
and ls2085a during Secure Boot. This env_varible is used to specify
the upper limit to be used for copying flat device tree.
This address must be visible to kernel.
The "fdt_high" value has been set during Secure Boot to same value
In case of fatal failure during secure boot execution (e.g. header not found)
it is needed that the execution stops.
Earlier, we were asserting reset request in case in case of failure. But if
the RESET_REQ is not tied off to HRESET, this allows the execution to continue.
This can either be taken
The GUR (DCFG) registers in CCSR space are in LE format
for ls2080/ls2085. Defined a config CONFIG_SYS_FSL_CCSR_GUR_LE in
arch/arm/include/asm/arch-fsl-layerscape/config.h
Signed-off-by: Aneesh Bansal
Signed-off-by: Saksham Jain
---
Changes for v2:
- No changes
arch/arm/include/asm/arc
When MMU is disabled, 64bit Write must be at a memory aligned at
64bit Boundary. So, this commit splits the 64bit write into 2 -32bit
writes as the memory location is not guaranteed to be 64bit aligned.
The alignment exception only occurs when MMU is disabled.
Signed-off-by: Aneesh Bansal
Signed-
During secure boot, SMMU is enabled on POR by SP bootrom.
SMMU needs to be put in Bypass mode in uboot to
enable CAAM transcations to pass through.
During Nonsecure Boot, SP BootROM doesn't enable SMMU and
at reset SMMU is in bypass mode.
Signed-off-by: Aneesh Bansal
Signed-off-by: Saksham Jain
To solve CAAM coherency issue on ls2080a and ls2085a.
When Caches are enabled and CAAM's DMA's AXI transcations are not
made cacheable, Core reads/write data from/to Caches and CAAM does from
Main Memory. This forces data flushes to synchronize various data structures
But even if any data in proxim
For validating images from uboot (Such as Kernel Image), either keys
from SoC fuses can be used or keys from a veriied table of public keys
can be used. The latter feature is called IE Key Extension Feature.
For earlier SoCs, BootROM used to verify IE Key Table and then write the
address of this t
For secure boot, currently we were using fixed bootargs for
all SoCs. This is not needed and we can use the bootargs
which are used in non-secure boot.
Incase bootargs are not defined for non-secure boot of any
platform, we use default bootargs.
Signed-off-by: Aneesh Bansal
Signed-off-by: Saksham
Currently, fsl_secboot_validate function used to set env variable "img_addr"
to contain address of image being validated.
The function has been changed to output image addr via argument
img_addr_ptr. The command esbc_validate sets the env variable
"img_addr".
This change helps when fsl_secboot_va
change the get_medium_size() function from
- long (*get_medium_size)(struct dfu_entity *dfu);
+ int (*get_medium_size)(struct dfu_entity *dfu, u64 *size);
so it can return bigger medium sizes than 2GiB, and the return
value is seperate from the size.
Signed-off-by: Heiko Schocher
--
On Thursday, January 28, 2016 09:44 PM, Marek Vasut wrote:
On Thursday, January 28, 2016 at 02:31:11 PM, Wills Wang wrote:
On Thursday, January 28, 2016 07:51 AM, Marek Vasut wrote:
In order to support boards with ath79 from different vendors and
thus located under /board/$VENDOR/ , we need t
Hi Marek,
On Wed, Jan 27, 2016 at 4:10 PM, Marek Vasut wrote:
> Add ethernet driver for the AR71xx and AR9xxx Atheros MIPS machines.
>
> Signed-off-by: Marek Vasut
> Cc: Daniel Schwierzeck
> Cc: Joe Hershberger
> Cc: Wills Wang
> ---
> arch/mips/dts/ap121.dts| 8 +
> arch/mips/dts/ar93
On Thursday, January 28, 2016 at 03:49:06 PM, Joe Hershberger wrote:
> Hi Marek,
>
> On Wed, Jan 27, 2016 at 4:10 PM, Marek Vasut wrote:
> > Add ethernet driver for the AR71xx and AR9xxx Atheros MIPS machines.
> >
> > Signed-off-by: Marek Vasut
> > Cc: Daniel Schwierzeck
> > Cc: Joe Hershberge
On Thursday, January 28, 2016 at 03:43:58 PM, Wills Wang wrote:
> On Thursday, January 28, 2016 09:44 PM, Marek Vasut wrote:
> > On Thursday, January 28, 2016 at 02:31:11 PM, Wills Wang wrote:
> >> On Thursday, January 28, 2016 07:51 AM, Marek Vasut wrote:
> >>> In order to support boards with ath7
Hi Heiko,
> change the get_medium_size() function from
> - long (*get_medium_size)(struct dfu_entity *dfu);
> + int (*get_medium_size)(struct dfu_entity *dfu, u64 *size);
>
> so it can return bigger medium sizes than 2GiB, and the return
> value is seperate from the size.
>
> Signed-
On Thu, Jan 28, 2016 at 8:24 AM, Heiko Schocher wrote:
> change the get_medium_size() function from
> - long (*get_medium_size)(struct dfu_entity *dfu);
> + int (*get_medium_size)(struct dfu_entity *dfu, u64 *size);
>
> so it can return bigger medium sizes than 2GiB, and the return
> v
On Thu, Jan 28, 2016 at 4:00 AM, Purna Chandra Mandal
wrote:
> Add SMSC LAN8740 Phy support required for PIC32MZDA devices.
>
> Signed-off-by: Purna Chandra Mandal
> Reviewed-by: Tom Rini
> Reviewed-by: Daniel Schwierzeck
Acked-by: Joe Hershberger
_
On Thu, Jan 28, 2016 at 1:55 AM, wrote:
> From: Shaohui Xie
>
> Current driver always performs a phy soft reset when connecting the phy
> device, but soft reset is not always supported by a phy device, so
> introduce a quirk PHY_FLAG_BROKEN_RESET to let such a phy device to skip
> soft reset. Th
Hi Bin,
On 26.01.2016 07:48, Bin Meng wrote:
On Tue, Jan 19, 2016 at 2:19 PM, Bin Meng wrote:
On Mon, Jan 18, 2016 at 9:49 PM, Stefan Roese wrote:
Without this CONFIG_BOOTDELAY, autobooting does not work at all. As
autoboot_command() from common/* will not get called. So lets define
CONFIG_B
Hi Heiko,
On Thu, Jan 28, 2016 at 12:39 AM, Heiko Schocher wrote:
> Hello Tom,
>
> Am 28.01.2016 um 00:45 schrieb Tom Rini:
>>
>> On Wed, Jan 27, 2016 at 05:15:17PM -0600, Joe Hershberger wrote:
>>>
>>> On Wed, Jan 27, 2016 at 4:22 PM, Tom Rini wrote:
On Wed, Jan 27, 2016 at 03:08:09PM
On Thu, Jan 28, 2016 at 12:13 AM, Heiko Schocher wrote:
> Hello Joe,
>
> Am 27.01.2016 um 22:08 schrieb Joe Hershberger:
>>
>> Hi Tom,
>>
>> I'm playing with the idea of including the patchwork patch ID in the
>> commit message of each commit that I apply to provide better
>> cross-reference abili
On Wed, Jan 27, 2016 at 7:49 PM, Bin Meng wrote:
> On Thu, Jan 28, 2016 at 9:30 AM, Tom Rini wrote:
>> On Wed, Jan 27, 2016 at 06:05:01PM -0600, Joe Hershberger wrote:
>>> On Wed, Jan 27, 2016 at 5:45 PM, Tom Rini wrote:
>>> > On Wed, Jan 27, 2016 at 05:15:17PM -0600, Joe Hershberger wrote:
>>>
On Thu, Jan 28, 2016 at 07:49:40AM +0100, Heiko Schocher wrote:
> Hello Bin,
>
> Am 28.01.2016 um 02:49 schrieb Bin Meng:
> >On Thu, Jan 28, 2016 at 9:30 AM, Tom Rini wrote:
> >>On Wed, Jan 27, 2016 at 06:05:01PM -0600, Joe Hershberger wrote:
> >>>On Wed, Jan 27, 2016 at 5:45 PM, Tom Rini wrote:
On Thu, Jan 28, 2016 at 07:39:54AM +0100, Heiko Schocher wrote:
[snip]
> Out of topic maybe tbot can help you here a lot. I have an automated
> build for example for the smartweb board [1], which does:
>
> + - clone u-boot.git
> + - set toolchain
> + - get a list of patchwork
Hi Bin,
(added Simon to Cc)
On 26.01.2016 07:48, Bin Meng wrote:
On Tue, Jan 19, 2016 at 2:19 PM, Bin Meng wrote:
On Mon, Jan 18, 2016 at 9:49 PM, Stefan Roese wrote:
Without this CONFIG_BOOTDELAY, autobooting does not work at all. As
autoboot_command() from common/* will not get called. So
Hi Stefan,
On 28 January 2016 at 09:13, Stefan Roese wrote:
>
> Hi Bin,
>
> (added Simon to Cc)
>
> On 26.01.2016 07:48, Bin Meng wrote:
>>
>> On Tue, Jan 19, 2016 at 2:19 PM, Bin Meng wrote:
>>>
>>> On Mon, Jan 18, 2016 at 9:49 PM, Stefan Roese wrote:
Without this CONFIG_BOOTDELAY, a
From: Alexandre Messier
Add the bootfile name in the DHCP Request packet, in addition
to it already being sent in the DHCP Discover.
This is needed by some DHCP servers so that the bootfile name is
properly returned by the server to the client in the DHCP Ack, as
expected by U-Boot.
Signed-off-
Hi Simon,
On 28.01.2016 17:16, Simon Glass wrote:
Hi Stefan,
On 28 January 2016 at 09:13, Stefan Roese wrote:
Hi Bin,
(added Simon to Cc)
On 26.01.2016 07:48, Bin Meng wrote:
On Tue, Jan 19, 2016 at 2:19 PM, Bin Meng wrote:
On Mon, Jan 18, 2016 at 9:49 PM, Stefan Roese wrote:
Witho
The x86 build target "efi-x86" has no TEXT_BASE configured. And with the
introduction of CONFIG_BOOTDELAY for x86, this function is now called
for this board as well. Resulting in compile errors for this target.
Without TEXT_BASE it makes no sense to fill these values. So lets only
configure the e
We need a way to support more than one board per binary in U-Boot with
device tree. Various methods have been discussed. The one that seems to make
the most sense is to adjust SPL so that it can load a FIT which contains
U-Boot and several device tree binaries. This is how things with with Linux:
l
At present main() is very long. Split out the argument processing to make
it easier to follow.
Signed-off-by: Simon Glass
---
tools/mkimage.c | 56
1 file changed, 32 insertions(+), 24 deletions(-)
diff --git a/tools/mkimage.c b/tools/mk
The current way of parsing arguments is a bit clumsy. It seems better to
use getopt() which is commonly used for this purpose.
Convert the code to use getopt() and make a few minor adjustments as needed.
Signed-off-by: Simon Glass
---
tools/mkimage.c | 233 -
Sometimes incorrect arguments are supplied but the reason is not obvious to
the user. Add some helpful messages.
Signed-off-by: Simon Glass
---
tools/mkimage.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/tools/mkimage.c b/tools/mkimage.c
index cf4f8db..
Adjust the code so that option alphabetical order matches the order in the
switch() statement. This makes it easier to find options.
Signed-off-by: Simon Glass
---
tools/mkimage.c | 50 +-
1 file changed, 25 insertions(+), 25 deletions(-)
diff --
To avoid a forward declaration, move the usage() function higher in the
file.
Signed-off-by: Simon Glass
---
tools/mkimage.c | 81 ++---
1 file changed, 42 insertions(+), 39 deletions(-)
diff --git a/tools/mkimage.c b/tools/mkimage.c
index 00
The existing function to add a new property to a tree being built requires
that the entire contents of the new property be passed in. For some
applications it is more convenient to be able to add the property contents
later, perhaps by reading from a file. This avoids double-buffering of the
conten
Add an option to enable libfdt in SPL. This can be useful when decoding
FIT files in SPL.
We need to make sure this option is not enabled in SPL by this change.
Also this option needs to be enabled in host builds. Si add a new
IMAGE_USE_LIBFDT #define which can be used in files that are built on t
Various boards have the wrong Kconfig ordering now. To avoid a misleading
diff in the next patch, reorder the configuration correctly.
Signed-off-by: Simon Glass
---
configs/am335x_gp_evm_defconfig | 2 +-
configs/am437x_sk_evm_defconfig | 6 +++---
configs/apalis_t30_defcon
This option has no meaning without OF_CONTROL, so add a dependency.
Signed-off-by: Simon Glass
---
dts/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/dts/Kconfig b/dts/Kconfig
index fb2d79e..ba83d5f 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -53,6 +53,7 @@ endchoice
config DE
1 - 100 of 208 matches
Mail list logo