On 7/26/2016 12:26 PM, Wolfgang Denk wrote:
> Dear "R, Vignesh",
>
> In message you wrote:
>>
@@ -1203,6 +1206,16 @@ static int cpsw_eth_ofdata_to_platdata(struct
udevice *dev)
return -ENOENT;
}
+
+ num_mode_gpios = gpio_get_list_count(dev, "
Dear "R, Vignesh",
In message you wrote:
>
> >> @@ -1203,6 +1206,16 @@ static int cpsw_eth_ofdata_to_platdata(struct
> >> udevice *dev)
> >>return -ENOENT;
> >>}
> >>
> >> +
> >> + num_mode_gpios = gpio_get_list_count(dev, "mode-gpios");
> >
> > Extra blank line added.
>
>
On Mon, 25 Jul 2016 23:04:34 +0200
Anatolij Gustschin ag...@denx.de wrote:
> applied to u-boot-video/master,
removed as it breaks building sandbox. Patch v2 is out now.
--
Anatolij
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mail
From: Alexey Brodkin
This change introduces default_splash_locations which
simplifies splash recovery from the first partition of
USB/MMC/SATA drive.
Given usual mapping of the first partition of external media for
basic boot stuff like uImage/zImage, .dtb etc it looks quite
obvious option to pu
On 7/25/2016 7:08 PM, Tom Rini wrote:
> On Mon, Jul 25, 2016 at 06:40:22PM +0530, Vignesh R wrote:
>
>> On DRA72 EVM, cpsw slaves may be muxed with other modules. This
>> selection is controlled by a pcf gpio line. Add support for cpsw driver
>> to acquire mode-gpios and select the appropriate s
Hello Marcin,
Sorry for the long delay
Am 06.05.2016 um 14:58 schrieb Marcin Niestroj:
Up to now we were able to read/write environment data from/to UBI
volumes only indirectly by gluebi driver. This driver creates NAND MTD
on top of UBI volumes, which is quite a workaroung for this use case.
Dear Stefan,
In message <20160726062233.7656-4-ste...@agner.ch> you wrote:
>
> Add pinctrl defines for NXP i.MX 7Solo/7Dual SoC. The pinctrl format
> is compatible to the Linux kernel, hence this file is a simple copy
> from the Linux kernel.
Please provide exact reference including commit ID, s
On Monday 25 July 2016 07:08 PM, Tom Rini wrote:
> On Mon, Jul 25, 2016 at 03:45:43PM +0530, Vignesh R wrote:
>
>> By configuring DPLL_PER_HS13 divider value to provide 76.8MHz clock as
>> QSPI fclk on dra7xx, it is possible to operate SPI slave clock at
>> 768.MHz which is the maximum supported
On Monday 25 July 2016 07:08 PM, Tom Rini wrote:
> On Mon, Jul 25, 2016 at 06:40:21PM +0530, Vignesh R wrote:
>
>> On DRA7, pcf chip present at address 0x21 on i2c1, is used to
>> switch between cpsw slave0 and slave1. Hence, enable PCF
>> driver for the same.
>>
>> Signed-off-by: Vignesh R
>>
+Simon and heiko
On 2016年07月26日 14:30, Ziyuan Xu wrote:
Dear All,
I add the ISB operation after dcache_disable(), and I can jump to
linux kernel entry.:-)
diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm/cpu/armv7/cpu.c
index 6eac5ef..5cc09ba 100644
--- a/arch/arm/cpu/armv7/cpu.c
+++ b/arch/
Dear All,
I add the ISB operation after dcache_disable(), and I can jump to linux
kernel entry.:-)
diff --git a/arch/arm/cpu/armv7/cpu.c b/arch/arm/cpu/armv7/cpu.c
index 6eac5ef..5cc09ba 100644
--- a/arch/arm/cpu/armv7/cpu.c
+++ b/arch/arm/cpu/armv7/cpu.c
@@ -43,6 +43,7 @@ int cleanup_before_l
From: Stefan Agner
This patchset adds device tree support for Colibri iMX7S/iMX7D.
It is the first device tree enabled board for any i.MX 7 SoC
hence the patchset adds some common infrastructure:
- Add device tree support for serial_mxc.
- imx7.dtsi - I descided to leave the s/d suffix since the
<<< image/jpeg: Unrecognized >>>
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
From: Stefan Agner
Add pinctrl defines for NXP i.MX 7Solo/7Dual SoC. The pinctrl format
is compatible to the Linux kernel, hence this file is a simple copy
from the Linux kernel.
Signed-off-by: Stefan Agner
---
arch/arm/dts/imx7d-pinfunc.h | 1151 ++
1
The devicetrees for various platforms already exceed 16k. Add a define
CONFIG_SYS_FDT_SIZE to specify the FDT size, and set to 16k for the
two boards that define this CONFIG_SYS_FDT_BASE parameter. This
allows platforms with larger devicetree blobs to boot from NOR.
Signed-off-by: Mike Looijmans
From: Stefan Agner
Enable device tree configuration and specify default device tree
for Toradex Colibri iMX7. Also configure CONFIG_CUSTOM_BOARDINFO
to avoid that board info get printed twice (once from the device
tree and one from the runtime detection in board specific code).
Signed-off-by: St
Hello Vignesh,
Am 25.07.2016 um 12:56 schrieb Vignesh R:
As I2C can be used before DRAM initialization for reading EEPROM,
avoid using static variables stored in BSS, since BSS is in DRAM, which
may not have been initialised yet. Explicitly mark "static global"
variables as belonging to the .dat
From: Stefan Agner
Use the external PMIC Ricoh RN5T567 to reliably restart the system.
Signed-off-by: Stefan Agner
---
board/toradex/colibri_imx7/colibri_imx7.c | 42 +++
1 file changed, 42 insertions(+)
diff --git a/board/toradex/colibri_imx7/colibri_imx7.c
b/bo
From: Stefan Agner
Add device model enabled PMIC driver for Ricoh RN5T567 PMIC used
on Colibri iMX7.
Signed-off-by: Stefan Agner
---
doc/device-tree-bindings/pmic/rn5t567.txt | 17 +
drivers/power/pmic/Kconfig| 8 +++
drivers/power/pmic/Makefile | 1 +
d
From: Stefan Agner
Remove legancy I2C config and code in favor of upcomming DM/DT
enable I2C support.
Signed-off-by: Stefan Agner
---
board/toradex/colibri_imx7/colibri_imx7.c | 40 ---
include/configs/colibri_imx7.h| 2 --
2 files changed, 42 deletion
From: Stefan Agner
We now use device tree to provide SoC data to the UART driver, there
is no need for the legancy UART platform data.
Signed-off-by: Stefan Agner
---
board/toradex/colibri_imx7/colibri_imx7.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/board/toradex/colibri
From: Stefan Agner
Add device tree node for Ricoh RN5T567. Currently we do not need
the individual DC/DC converters or LDO's (and they are also not
yet supported by the driver).
Signed-off-by: Stefan Agner
---
arch/arm/dts/imx7-colibri.dts | 5 +
1 file changed, 5 insertions(+)
diff --gi
From: Stefan Agner
Support instatiation through device tree. Also parse the fsl,dte-mode
property to determine whether DTE mode shall be used.
Signed-off-by: Stefan Agner
---
The kernel uses fsl,imx21-uart as "base" compatible, should we follow
that?
doc/device-tree-bindings/serial/mxc-serial
From: Stefan Agner
Add base device for NXP i.MX 7Solo/7Dual. The two SoC are very
similar and hence can share the same device tree for boot loaders
purpose.
Signed-off-by: Stefan Agner
---
arch/arm/dts/Makefile | 2 +
arch/arm/dts/imx7-colibri.dts | 92
arch/ar
From: Stefan Agner
It is not usual that drivers announce when they have been initialized.
use dev_dbg to announce device initialization.
Signed-off-by: Stefan Agner
---
drivers/pinctrl/nxp/pinctrl-imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/nxp/pi
On 25 July 2016 at 15:27, Wenyou Yang wrote:
> Add driver model support while retaining the existing legacy code.
> This allows the driver to support boards that have converted to
> driver model as well as those that have not.
>
> Signed-off-by: Wenyou Yang
> Reviewed-by: Simon Glass
> ---
>
> C
On 25 July 2016 at 13:34, wrote:
> Hi Jagan,
>
>> -Original Message-
>> From: Jagan Teki [mailto:jagannadh.t...@gmail.com]
>> Sent: 2016年7月21日 15:10
>> To: Wenyou Yang
>> Cc: U-Boot Mailing List
>> Subject: Re: [U-Boot] [PATCH v5] dm: at91: Add driver model support for the
>> spi
>> dr
From: Stefan Agner
Use CONFIG_TIMER_CLK_FREQ to let the non-secure init code initialize
the generic timer on all CPU's. This allows to make use of the timer
freuquency register also on other CPU than the start CPU which is
important for KVM.
Signed-off-by: Stefan Agner
---
include/configs/mx7
On 26 July 2016 at 10:48, Siva Durga Prasad Paladugu
wrote:
> From: Michal Simek
>
> Do not use DM with reg base hardcoding.
>
> Signed-off-by: Michal Simek
> ---
> drivers/spi/xilinx_spi.c | 21 +
> 1 file changed, 13 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/s
Hi Stefano,
On 2016-07-20 21:27, Stefan Agner wrote:
> From: Stefan Agner
>
> This commit adds support for the Toradex Computer on Modules
> Colibri iMX7S/iMX7D. The two modules/SoC's are very similar hence
> can be easily supported by one board. The board code detects RAM
> size at runtime whic
On 26 July 2016 at 10:44, Siva Durga Prasad Paladugu
wrote:
> From: Siva Durga Prasad Paladugu
>
> Add Quad mode support for xilinx spi driver
> Inform the spi framework about quad mode
> capability by reading it from devicetree.
>
> Signed-off-by: Siva Durga Prasad Paladugu
> Signed-off-by: Mic
Set speed to default value of 100KHz if received
as zero from framework. Setting it to zero results
in wrong timeout calculation during spi_xfer.
Signed-off-by: Siva Durga Prasad Paladugu
---
drivers/spi/xilinx_spi.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/driver
From: Michal Simek
Do not use DM with reg base hardcoding.
Signed-off-by: Michal Simek
---
drivers/spi/xilinx_spi.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c
index 3e01c66..c557529 100644
--- a
From: Siva Durga Prasad Paladugu
Add Quad mode support for xilinx spi driver
Inform the spi framework about quad mode
capability by reading it from devicetree.
Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
---
drivers/spi/xilinx_spi.c | 21 +
1 file
On 07/25/2016 09:05 PM, Qianyu Gong wrote:
> Hi York,
>
>
> As the drivel model is a trend anyway, I just doubt if it
> is necessary to support non-DM for the new platforms.
>
> In fact, we have discarded configurations for non-DM SPI such as SPI
> mode related macros
>
> when doing LS1043A upstrea
On 07/25/2016 09:07 PM, Masahiro Yamada wrote:
> Hi York,
>
>
> 2016-07-26 2:19 GMT+09:00 york sun :
>
>> Masahiro,
>>
>> You added CONFIG_PHYS_64BIT=y to most defconfig for powerpc, but not
>> C29XPCI. Did you just leave them out on purpose, or just missed?
>>
>> York
>
>
> Because all of C29XPCIE
Hi Robert,
2016-07-25 22:17 GMT+09:00 Robert P. J. Day :
> On Mon, 25 Jul 2016, Masahiro Yamada wrote:
>
>> The "bootz" command is implemented in the "bootm", so the dependency
>> should be reflected in Kconfig.
>>
>> Signed-off-by: Masahiro Yamada
>> ---
>>
>> Kconfig | 1 +
>> cmd/Kconfig
Hi York,
2016-07-26 2:19 GMT+09:00 york sun :
> Masahiro,
>
> You added CONFIG_PHYS_64BIT=y to most defconfig for powerpc, but not
> C29XPCI. Did you just leave them out on purpose, or just missed?
>
> York
Because all of C29XPCIE_*_defconfig enabled this options,
so I decided to add "select P
Hi Tom,
On 25 July 2016 at 21:02, Tom Rini wrote:
> On Mon, Jul 25, 2016 at 08:54:38PM -0600, Simon Glass wrote:
>> On 25 July 2016 at 20:33, Tom Rini wrote:
>> > Hey all,
>> >
>> > It's release day and v2016.09-rc1 is out and the merge window is closed.
>> > I've updated git and the tarballs ar
Hi Tom,
Here's an interim pull request for rockchip including RK3399 SoC
support. I hope to come up with another one by the end of the week.
The following changes since commit 4579720412744dd13266a3505bb38ce2da819b4f:
Prepare v2016.09-rc1 (2016-07-25 22:25:52 -0400)
are available in the git
On Mon, Jul 25, 2016 at 08:54:38PM -0600, Simon Glass wrote:
> On 25 July 2016 at 20:33, Tom Rini wrote:
> > Hey all,
> >
> > It's release day and v2016.09-rc1 is out and the merge window is closed.
> > I've updated git and the tarballs are also up now. I've made an attempt
> > at keeping track o
Hi Simon,
I'm not very familiar with other archs except, hence I'm not able to
implement it.:-(
Regards,
Ziyuan Xu
On 2016年07月26日 10:47, Simon Glass wrote:
Hi,
On 23 July 2016 at 00:31, jk wrote:
Hi guys,
I think the output of command 'dcache' is improper. It always print
'writethrough'
On 25 July 2016 at 20:33, Tom Rini wrote:
> Hey all,
>
> It's release day and v2016.09-rc1 is out and the merge window is closed.
> I've updated git and the tarballs are also up now. I've made an attempt
> at keeping track of what updated as things went along this time:
> - DM / MMC block device
On 07/20/2016 03:51 AM, Gong Qianyu wrote:
> When using SPI driver model, it will get the values from DT. So
> there is no need to set CONFIG_ENV_SPI_MAX_HZ and
> CONFIG_ENV_SPI_MODE any more.
>
You indicate these macros are not needed _if_ using driver model. You
presume the driver model is alwa
On 25 July 2016 at 16:21, Tom Rini wrote:
>
> Most users of CONFIG_I2C_EEPROM were migrated to defconfig a while ago,
> but sandbox was skipped. Leave it off for sandbox_spl where it does not
> build, but does not need to be either.
>
> Cc: Simon Glass
> Signed-off-by: Tom Rini
> ---
> configs
Hi,
On 23 July 2016 at 00:31, jk wrote:
> Hi guys,
>
> I think the output of command 'dcache' is improper. It always print
> 'writethrough' regardless of the real policy, such as write back.
>
> => dcache
> Data (writethrough) Cache is ON
>
> Not only ARM but also other socs support cache, hence
Hey all,
It's release day and v2016.09-rc1 is out and the merge window is closed.
I've updated git and the tarballs are also up now. I've made an attempt
at keeping track of what updated as things went along this time:
- DM / MMC block device clean up, patman improvements
- DM n
On Mon, Jul 25, 2016 at 06:21:41PM -0400, Tom Rini wrote:
> Most users of CONFIG_I2C_EEPROM were migrated to defconfig a while ago,
> but sandbox was skipped. Leave it off for sandbox_spl where it does not
> build, but does not need to be either.
>
> Cc: Simon Glass
> Signed-off-by: Tom Rini
On Mon, Jul 25, 2016 at 10:06:08PM +0900, Masahiro Yamada wrote:
> ARM64 is correctly select'ed in arch/arm/Kconfig, so this line in
> the defconfig is unneeded.
>
> Signed-off-by: Masahiro Yamada
> Reviewed-by: Tom Rini
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: D
On Mon, Jul 25, 2016 at 01:44:46PM -0500, Scott Wood wrote:
> The following changes since commit 29d63a59eaf1c9f3b37e249cda2a97e5e4f183f8:
>
> ARM: uniphier: add clock/reset settings for xHCI of ProXstream2 (2016-07-24
> 00:44:55 +0900)
>
> are available in the git repository at:
>
> git:/
On Fri, Jul 22, 2016 at 09:22:49AM -0600, Simon Glass wrote:
> This code does not match the fdt version in fdt.py. When dtoc is unable to
> use the Python libfdt library, it uses the fallback version, which does not
> widen arrays correctly.
>
> Fix this to avoid a warning 'excess elements in arr
On Fri, Jul 22, 2016 at 09:22:48AM -0600, Simon Glass wrote:
> This fixes a mismatch between the %zu format and the type used on sandbox.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Tom Rini
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
On Fri, Jul 22, 2016 at 09:22:47AM -0600, Simon Glass wrote:
> This fixes a mismatch between the %zu format and the type used on sandbox.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Tom Rini
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
On Fri, Jul 22, 2016 at 09:22:46AM -0600, Simon Glass wrote:
> With sandbox on 32-bit the size_t type can be a little inconsistent. Use
> the same type as the caller expects to avoid a compiler warning.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Tom Rini
Applied to u-boot/master, thanks!
-
On Fri, Jul 22, 2016 at 09:22:45AM -0600, Simon Glass wrote:
> Sandbox is built with 64-bit ints by default. This doesn't work properly on
> 32-bit machines.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Tom Rini
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital s
On Thu, Jul 21, 2016 at 04:28:31AM -0700, Russ Dill wrote:
> The delay needs to be before the write to ref_ctrl register
> which initiates refreshes. An improper initialization sequence
> generates an L3 noc error.
>
> Signed-off-by: Russ Dill
> Reviewed-by: Tom Rini
Applied to u-boot/master,
On Thu, Jul 21, 2016 at 04:28:32AM -0700, Russ Dill wrote:
> A couple of commits have modified the am33xx/am437x ddr2/ddr3
> initialization path to fix certain issues, but have had the side effect
> of causing L3 noc errors during initialization. The two commits are:
>
> 69b918 "am33xx,ddr3: fix
On Thu, Jul 21, 2016 at 01:44:46AM +0200, Alexander Graf wrote:
> When loading an efi image, we pass it the location it was loaded from.
>
> On file system backends, there are no relative paths, so we should always
> pass in absolute ones. For network paths, we may be relative.
>
> This fixes di
On Tue, Jul 19, 2016 at 02:39:14PM -0400, Karicheri, Muralidharan wrote:
> commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid
> left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid.
> This, in effect disabled DMA coherency for QM PDSP.
>
> Given that msmc_k2hkle_c
On Tue, Jul 19, 2016 at 04:20:13PM +0200, mario@gdsys.cc wrote:
> A feasible way to communicate certain errors for devices that have no
> other way of signalling besides LEDs is to flash these LEDs. For errors
> in U-Boot, a script that utilizes the led and sleep commands would be a
> practica
On Wed, Jul 20, 2016 at 08:32:50AM +0200, mario@gdsys.cc wrote:
> In certain circumstances it comes in handy to be able to boot into a second
> U-Boot. But as of now it is not possible to boot a U-Boot binary that is
> inside
> a FIT image, which is problematic for projects that e.g. need to
On Fri, Jul 22, 2016 at 08:58:41AM +0200, mario@gdsys.cc wrote:
> When signing images, we repeatedly call fit_add_file_data() with
> successively increasing size values to include the keys in the DTB.
>
> Unfortunately, if large keys are used (such as 4096 bit RSA keys), this
> process fails
On Fri, Jul 22, 2016 at 08:58:40AM +0200, mario@gdsys.cc wrote:
> When signing images, we repeatedly call fit_add_file_data() with
> successively increasing size values to include the keys in the DTB.
>
> Unfortunately, if large keys are used (such as 4096 bit RSA keys), this
> process fails
On Tue, Jul 26, 2016 at 11:07:02AM +0900, Masahiro Yamada wrote:
> Hi Tom,
>
> 2016-07-26 7:21 GMT+09:00 Tom Rini :
> > This option was set in the main uniphier config file, but was not
> > causing the driver to be built, so we just drop the line here.
> >
>
> This option is actually causing driv
Hi Tom,
2016-07-26 7:21 GMT+09:00 Tom Rini :
> This option was set in the main uniphier config file, but was not
> causing the driver to be built, so we just drop the line here.
>
This option is actually causing drivers/misc/i2c_eeprom.o built,
and I really need it.
yamada@beagle:~/workspace/u
On Mon, Jul 25, 2016 at 1:45 PM, Diego Dorta wrote:
> Remove unused define constant.
>
> Signed-off-by: Diego Dorta
Reviewed-by: Fabio Estevam
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Remove unused define constant.
Signed-off-by: Diego Dorta
---
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
index 88d3fbd..160c4c6 1006
From: Steve Arnold
This updates the defaults for trimslice so it matches the last vendor
config. Use the tegra-uboot-flasher tools to create mmc and spi flash
images and flash to the device. Can optionally replace boot.scr with
extlinux.conf configuration. Tested on Trimslice Diskless (with SSD)
Add an entry type for u-boot.img (a legacy U-Boot image) and a simple test.
Signed-off-by: Simon Glass
---
tools/binman/etype/u_boot_img.py| 17 +
tools/binman/func_test.py | 7 +++
tools/binman/test/36_u_boot_img.dts | 11 +++
3 files changed, 35 inse
This adds the basic code for binman, including command parsing, processing
of entries and generation of images.
So far no entry types are supported. These will be added in future commits
as examples of how to add new types.
See the README for documentation.
Signed-off-by: Simon Glass
---
tool
It is sometimes useful to be able to reference configuration options in a
device tree source file. Add the necessary includes so that this works.
Signed-off-by: Simon Glass
---
scripts/Makefile.lib | 5 +
1 file changed, 5 insertions(+)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.
Add an example usage of binman for an x86 board. This involves adding the
image definition to the device tree and using it in the Makefile. The
existing ifdtool features are no-longer needed.
This is for example only.
Signed-off-by: Simon Glass
---
Makefile | 45 +++
Add support for deleting a device tree property. With the fallback
implementation this uses fdtput. With libfdt it uses the API call and
updates the offsets afterwards.
Signed-off-by: Simon Glass
---
lib/libfdt/libfdt.swig | 12
tools/dtoc/fdt.py | 10 ++
tools
Add a standard command definition for binman so that it can be used in
makefiles.
Signed-off-by: Simon Glass
---
Makefile | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Makefile b/Makefile
index 7ce933c..6155f11 100644
--- a/Makefile
+++ b/Makefile
@@ -870,6 +870,12 @@ u-boot.ldr:
For tools which want to use input files and temporary output, it is useful
to have the handling of these dealt with in one place. Add a new library
which allows input files to be read, and output files to be written, all
based on a common directory structure.
Signed-off-by: Simon Glass
---
tool
Add an example usage of binman for a sunxi board. This involves adding the
image definition to the device tree and using it in the Makefile.
This is for example only.
Signed-off-by: Simon Glass
---
Makefile| 4 +---
arch/arm/dts/sun7i-a20-pcduino3.dts | 12
Provide easy helpers for reading integer, string and boolean values from
device-tree properties.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt_util.py | 25 +
1 file changed, 25 insertions(+)
diff --git a/tools/dtoc/fdt_util.py b/tools/dtoc/fdt_util.py
index 32f41d7..3a
Add a way to find the byte offset of a property within the device tree. This
is only supported with the normal libfdt implementation since fdtget does
not provide this information.
Signed-off-by: Simon Glass
---
lib/libfdt/libfdt.swig | 3 +++
tools/dtoc/fdt.py| 11 +++
tools
The style is to use single quotes for strings where possible. Adjust this
function.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt_util.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/dtoc/fdt_util.py b/tools/dtoc/fdt_util.py
index 3e25a8b..32f41d7 100644
--- a/tools
The structure of x86 ROMs is pretty complex. There are various binary blobs
to place in the image. Microcode requires special handling so that it is
available to very early code and can be used without any memory whatsoever.
Add support for the various entry types that are currently needed, along
Add entries to support some standard U-Boot binaries, such as u-boot.bin,
u-boot.dtb, etc. Also add some tests for these.
Signed-off-by: Simon Glass
---
tools/binman/etype/blob.py | 37 ++
tools/binman/etype/u_boot.py | 17 +
tools/binman/etype/u_
Since we want to be able to change the in-memory device tree using libfdt,
use a bytearray instead of a string. This makes interfacing from Python
easier.
Signed-off-by: Simon Glass
---
lib/libfdt/libfdt.swig | 8
tools/dtoc/fdt_normal.py | 2 +-
2 files changed, 9 insertions(+), 1 d
After any node/property deletion the device tree can be packed to remove
spare space. Add a way to perform this operation.
Note that for fdt_fallback, fdtput automatically packs the device tree after
deletion, so no action is required here.
Signed-off-by: Simon Glass
---
lib/libfdt/libfdt.swig
For binman we need to support deleting properties in the device tree. This
will change the offsets of nodes after the deletion. In preparation, add
code to keep track of when the offsets are invalid, and regenerate them.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt_normal.py | 46 +
If a source device tree is provide to the Fdt() constructors, compile it
automatically. This will be used in tests, where we want to build a
particular test .dts file and check that it works correctly in binman.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt_fallback.py | 2 ++
tools/dtoc/fdt_n
When tools want to display information of varying levels of importance, it
helps to provide the user with control over the verbosity of these messages.
Progress messages work best if they are displayed and then removed from the
display when no-longer relevant.
Add a new tout library (terminal out)
This is not used anywhere in dtoc, so drop it.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt_fallback.py | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/tools/dtoc/fdt_fallback.py b/tools/dtoc/fdt_fallback.py
index ddc4097..cb97cff 100644
--- a/tools/dtoc/fdt_fallback.py
Some functions have the same code in the subclasses. Move these into the
superclass to avoid duplication.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt.py | 57 ++
tools/dtoc/fdt_fallback.py | 16 -
tools/dtoc/fdt_normal.py | 16
These functions are identical in both subclasses. Move them into the base
class.
Note: In fact there is a bug in one version, which was fixed by this patch:
https://patchwork.ozlabs.org/patch/651697/
Signed-off-by: Simon Glass
---
tools/dtoc/fdt.py | 41 ++
These functions are currently in a separate fdt_util file. Since they are
only used from PropBase and subclasses, it makes sense for them to be in the
PropBase class.
Move these functions into fdt.py along with the list of types.
Signed-off-by: Simon Glass
---
tools/dtoc/dtoc.py | 17 +
At present we have two separate implementations of the Fdt library, one which
uses fdtget/fdtput and one which uses libfdt (via swig).
Before adding more functionality it makes sense to create a base class for
these. This will allow common functions to be shared, and make the Fdt API
a little clea
This should be in with the other system includes. Move it.
Signed-off-by: Simon Glass
---
tools/dtoc/dtoc.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/dtoc/dtoc.py b/tools/dtoc/dtoc.py
index ec80abe..e9ab46f 100755
--- a/tools/dtoc/dtoc.py
+++ b/tools/dtoc/dtoc
Rather than have dtc worry about which fdt library to use, move this into
a helper file. Add a function which creates a new Fdt object and scans it,
regardless of the implementation.
Signed-off-by: Simon Glass
---
tools/dtoc/dtoc.py | 18 +++---
tools/dtoc/fdt_select.py | 23 +
In preparation for creating an Fdt base class, rename this file to indicate
it is the normal Fdt implementation.
Signed-off-by: Simon Glass
---
tools/dtoc/{fdt.py => fdt_normal.py} | 0
tools/dtoc/fdt_select.py | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
rename tools/dto
Add a debug() at this point to help figure out what is wrong.
Signed-off-by: Simon Glass
---
arch/x86/cpu/intel_common/cpu.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/x86/cpu/intel_common/cpu.c b/arch/x86/cpu/intel_common/cpu.c
index 0fdef6f..ae42095 100644
---
It is more useful to have this method raise an error when something goes
wrong. Make this the default and adjust the few callers that don't want to
use it this way.
Signed-off-by: Simon Glass
---
tools/buildman/control.py | 2 +-
tools/patman/checkpatch.py | 3 ++-
tools/patman/command.py|
Add a debug() at this point to help figure out what is wrong.
Signed-off-by: Simon Glass
---
arch/x86/cpu/ivybridge/cpu.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/x86/cpu/ivybridge/cpu.c b/arch/x86/cpu/ivybridge/cpu.c
index 0f93905..85e361a 100644
--- a/arch/x
Generally the microcode is combined into a single block only (and removed
from the device tree) when there are multiple blocks. But this is not a
requirement.
Adjust the ivybridge code to avoid assuming this.
Signed-off-by: Simon Glass
---
arch/x86/cpu/intel_common/microcode.c | 12 +++
This series introduces binman, a tool designed to create firmware images.
It provides a way to bring together various binaries and place them in an
image, at particular positions and with configurable alignment.
Packaging of firmware is quite a different task from building the various
parts. In ma
On Fri, Jul 22, 2016 at 9:41 PM, Tom Rini wrote:
> On Thu, Jul 21, 2016 at 06:09:36PM +0800, macro.wav...@gmail.com wrote:
>
>> From: Hongbo Zhang
>>
>> This patch adds all the PSCI v1.0 functions in to the common framework, with
>> all the functions returning "not implemented" by default, as a c
1 - 100 of 222 matches
Mail list logo