On Apr 15, 2016 21:14, "Steve Rae" wrote:
>
> Maxime,
>
> I suspect that the issue fixed
> in commit c7529dbfastboot: sparse: fix block addressing for
> don't care chunk type
>
> complicated the assumptions which led to the implementation of the
"sessionId"
> in commit 1f8690asparse: I
On Tuesday 26 April 2016 11:46 PM, Sam Protsenko wrote:
> With FIT images support enabled, u-boot.img size increases up to 612 KiB.
> Extend "bootloader" partition size accordingly.
>
> With extended "bootloader" partition there is no gap between "misc" and
> "efs" partitions anymore. Keep "efs"
On Thursday 28 April 2016 01:39 AM, Daniel Allred wrote:
> Adds support for creating bootable images for AM43xx HS
> and DRA7xx/AM57xx HS devices.
Entire series looks good to me.
Reviewed-by: Lokesh Vutla
Thanks and regards,
Lokesh
>
> Daniel Allred (9):
> doc: Add info on using secure de
+ Michal
Hi Simon,
On Wednesday 20 April 2016 08:11 PM, Simon Glass wrote:
> On 13 April 2016 at 23:15, Lokesh Vutla wrote:
>> This provides a way to load a FIT containing U-Boot and a selection of device
>> tree files from a File system.
>>
>> Signed-off-by: Lokesh Vutla
>> ---
>> Changes sinc
Hi,
On 05/02/2016 12:25 AM, Simon Glass wrote:
> i Vignesh,
>
> On 21 April 2016 at 02:42, Vignesh R wrote:
[...]
+static int davinci_ofdata_to_platadata(struct udevice *bus)
+{
+ struct davinci_spi_slave *ds = dev_get_priv(bus);
+ const void *blob = gd->fdt_blo
Hi Michal,
On Thursday 28 April 2016 03:01 PM, Michal Simek wrote:
> Support U-Boot SPL to load FIT image from fat partition.
> Fit image can be setup via CONFIG_SPL_FS_LOAD_KERNEL_NAME.
> Falcon mode is not supported.
>
> Signed-off-by: Michal Simek
> ---
>
> common/spl/spl_fat.c | 50 +++
On Thursday 28 April 2016 02:06 PM, Michal Simek wrote:
> If bl_len is not aligned it can caused a problem because another code
> expects that start is aligned.
What about loading of U-boot image and dtb image? I have posted a
similar patch for solving this[1]. Can you see if it helps?
[1] http
On 05/01/2016 09:17 PM, Derald D. Woods wrote:
On 05/01/2016 08:57 PM, Tom Rini wrote:
On Sun, May 01, 2016 at 08:32:48PM -0500, Derald D. Woods wrote:
On 05/01/2016 03:37 AM, Masahiro Yamada wrote:
Hi Adam,
2016-04-30 3:06 GMT+09:00 Adam Ford :
On Fri, Apr 29, 2016 at 12:53 PM, Tom Rini
w
The A80 uses the AXP809 as its primary PMIC.
Signed-off-by: Chen-Yu Tsai
---
Without actual SPL support, this patch has only been compile tested.
---
arch/arm/mach-sunxi/Makefile | 1 +
arch/arm/mach-sunxi/pmic_bus.c | 6 +-
board/sunxi/board.c| 20 +++-
drivers/power/Kconfi
The SW output of the PMIC supplies the ethernet PHY with power.
Signed-off-by: Chen-Yu Tsai
---
configs/Sinovoip_BPI_M3_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/Sinovoip_BPI_M3_defconfig
b/configs/Sinovoip_BPI_M3_defconfig
index 13dbb98689e3..29694ce1ef73 100644
---
Adds poweroff support for axp818 pmic.
Signed-off-by: Chen-Yu Tsai
---
drivers/power/Kconfig | 1 +
drivers/power/axp818.c | 11 +++
include/axp818.h | 3 +++
3 files changed, 15 insertions(+)
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 02cb8e7ba687..d13753
The AXP818 has a switchable output, SW. This is commonly used for
controlling power to the LCD backlight.
Signed-off-by: Chen-Yu Tsai
---
board/sunxi/board.c| 1 +
drivers/power/Kconfig | 7 +++
drivers/power/axp818.c | 10 ++
include/axp818.h | 1 +
include/axp_pmic.h
The user should always select an SoC variant to support. Not choosing
one doesn't make sense for a bootloader.
Signed-off-by: Chen-Yu Tsai
---
board/sunxi/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index fa7872031b9d..95500a1bcdb0 100644
The ELDO enable bits and registers are contiguous for axp221. Instead
of a switch case testing against the index, just use the index to shift
the bit or register offset.
Signed-off-by: Chen-Yu Tsai
---
drivers/power/axp221.c | 27 +++
1 file changed, 7 insertions(+), 20 d
The newer chips use a newer display pipeline, which is not supported.
Signed-off-by: Chen-Yu Tsai
---
board/sunxi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index a24d5c238da9..059e9146cc5c 100644
--- a/board/sunxi/Kconfi
Description said eldo2 instead of fldo2, a copy-paste error.
Fixes: 38491d9c6515 ("power: axp818: Add support for FLDOs")
Signed-off-by: Chen-Yu Tsai
---
drivers/power/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index
A83T, H3, and A64 have a dedicated pin for card detect on the PF
pingroup. This is used in all designs. Set it as the default.
Signed-off-by: Chen-Yu Tsai
---
board/sunxi/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 49a937a8b61a..a24
In most other places, we sort SoC descriptions by family (sunXi) first,
then by the chip name (A20).
Signed-off-by: Chen-Yu Tsai
---
board/sunxi/Kconfig | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 95
On 05/01/2016 08:57 PM, Tom Rini wrote:
On Sun, May 01, 2016 at 08:32:48PM -0500, Derald D. Woods wrote:
On 05/01/2016 03:37 AM, Masahiro Yamada wrote:
Hi Adam,
2016-04-30 3:06 GMT+09:00 Adam Ford :
On Fri, Apr 29, 2016 at 12:53 PM, Tom Rini wrote:
On Fri, Apr 29, 2016 at 09:59:00AM -0500,
2016-05-02 10:57 GMT+09:00 Tom Rini :
> On Sun, May 01, 2016 at 08:32:48PM -0500, Derald D. Woods wrote:
>> On 05/01/2016 03:37 AM, Masahiro Yamada wrote:
>> >Hi Adam,
>> >
>> >
>> >2016-04-30 3:06 GMT+09:00 Adam Ford :
>> >>On Fri, Apr 29, 2016 at 12:53 PM, Tom Rini wrote:
>> >>>On Fri, Apr 29, 2
On Sun, May 01, 2016 at 08:32:48PM -0500, Derald D. Woods wrote:
> On 05/01/2016 03:37 AM, Masahiro Yamada wrote:
> >Hi Adam,
> >
> >
> >2016-04-30 3:06 GMT+09:00 Adam Ford :
> >>On Fri, Apr 29, 2016 at 12:53 PM, Tom Rini wrote:
> >>>On Fri, Apr 29, 2016 at 09:59:00AM -0500, Adam Ford wrote:
> >>>
On 05/01/2016 03:37 AM, Masahiro Yamada wrote:
Hi Adam,
2016-04-30 3:06 GMT+09:00 Adam Ford :
On Fri, Apr 29, 2016 at 12:53 PM, Tom Rini wrote:
On Fri, Apr 29, 2016 at 09:59:00AM -0500, Adam Ford wrote:
Does anyone with an OMAP3 board have any issues with this patch? I
will admit I haven'
On Sun, 2016-05-01 at 12:55 -0600, Simon Glass wrote:
> Hi,
>
> On 30 April 2016 at 20:18, Vagrant Cascadian wrote:
>
> Please can you add a commit message?
I don't understand these "empty/missing commit message" remarks when there's a
one-line changelog (in the subject). Do you seriously want
Hi,
On 17 March 2016 at 10:18, Stephen Warren wrote:
> On 03/16/2016 11:48 PM, Jagan Teki wrote:
>>
>> On 16 March 2016 at 21:04, Stephen Warren wrote:
>>>
>>> On 03/16/2016 08:27 AM, Jagan Teki wrote:
On 14 March 2016 at 23:44, Stephen Warren wrote:
>
> On 03/14/2016 11:32 AM
Hi Andreas,
On 27 April 2016 at 01:28, Andreas Bießmann
wrote:
> Hi Simon,
>
> On 23.02.2016 06:55, Simon Glass wrote:
>> At present FIT images are set up by providing a device tree source file
>> which is a file with a .its extension. We want to support automatically
>> creating this file based
There is an extra close() call which is not needed.
Reported-by: Coverity (CID: 143065)
Signed-off-by: Simon Glass
---
tools/fit_image.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/fit_image.c b/tools/fit_image.c
index ddefa72..0551572 100644
--- a/tools/fit_image.c
+++ b/tools/fit
On 05/01/2016 08:57 PM, Tom Rini wrote:
> On Sun, May 01, 2016 at 12:36:12AM +0200, Marek Vasut wrote:
>
>> The exynos5 platforms use DM in U-Boot and do not use DM in SPL. The serial
>> driver, serial_s5p.c, is DM-only. This is OK for U-Boot, but in SPL, this
>> will fail with the following compi
Enable building the MMC code for sandbox. This increases build
coverage for sandbox.
Signed-off-by: Simon Glass
---
Changes in v2: None
configs/sandbox_defconfig | 2 ++
include/configs/sandbox.h | 2 ++
test/dm/blk.c | 4 ++--
3 files changed, 6 insertions(+), 2 deletions(-)
diff
Add support for enabling CONFIG_BLK with MMC. This involves changing a
few functions to use struct udevice and adding a MMC block device driver.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/mmc.c | 48 +--
drivers/mmc/mmc_pr
This function returns an error code and its caller may be able to fix the
error. For example fit_handle_file() expands the device tree to fit if there
is a lack of space.
In this case the caller does not want an error displayed. It is confusing,
since it suggests that something is wrong, when it f
Some build systems want to be quiet unless there is a problem. At present
mkimage displays quite a bit of information when generating a FIT file. Add
a '-q' flag to silence this.
Signed-off-by: Simon Glass
---
tools/imagetool.c | 3 ++-
tools/imagetool.h | 1 +
tools/mkimage.c | 5 -
3 fi
This reverts commit 6dd795d147f0aa6ed3df14a9ae2f0d66267f5724.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/block/sandbox.c | 97 -
1 file changed, 97 deletions(-)
diff --git a/drivers/block/sandbox.c b/drivers/block/sandbox.c
index
Instead of looking up the MMC device by number, just pass it in. This makes
it possible to use this function with driver model.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/mmc.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/drivers/mmc/mmc.
Update the existing drivers to set up this new pointer. This will be required
by the MMC uclass.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/omap_hsmmc.c | 1 +
drivers/mmc/pic32_sdhci.c | 7 ++-
drivers/mmc/rockchip_dw_mmc.c | 1 +
drivers/mmc/socfpga_dw_mmc.c
Return -EINVAL instead of -1 in this function, to provide a more meaningful
error.
Signed-off-by: Simon Glass
---
Changes in v2: None
disk/part.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/disk/part.c b/disk/part.c
index 3039f5f..6a1c02d 100644
--- a/disk/part.c
This driver will require generic MMC and block-device support in a future
commit. To avoid test errors, make this change now.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/Makefile | 4
test/dm/Makefile | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff -
Add an emulation of an SD card to sandbox, allowing MMC to be used in tests.
The emulation is very simple, supporting only card detection and reading
test data.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/Kconfig | 11 +++-
drivers/mmc/sandbox_mmc.c | 134
Implement the functions in mmc_legacy.c for driver-model block devices, so
that MMC can use driver model for these. This allows CONFIG_BLK to be enabled
with DM_MMC.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/Makefile | 4 +-
drivers/mmc/mmc-uclass.c | 106 +++
At present the MMC subsystem maintains its own list of MMC devices. This
cannot work with driver model, which needs to maintain this itself. Move the
list code into a separate 'legacy' file. The core MMC code remains, and will
be shared with the driver-model implementation.
Signed-off-by: Simon Gl
Drop use of the table in part.c for this feature.
Signed-off-by: Simon Glass
---
Changes in v2: None
disk/part.c | 12 +---
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/disk/part.c b/disk/part.c
index e635d90..db5dd5d 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -71,9
Add a simple test which checks that a sandbox-emulated SD card can be used
correctly. This tests plumbing through the MMC stack's block-device
implementaion.
Signed-off-by: Simon Glass
---
Changes in v2:
- Rebase to master
test/dm/Makefile | 4 +---
test/dm/mmc.c| 19 +++
Binding an MMC device when CONFIG_BLK is enabled requires that a block
device be bound as a child of the MMC device. Add a function to do this.
The mmc_create() method will be used only when DM_BLK is disabled.
Add an unbind method also.
Signed-off-by: Simon Glass
---
Changes in v2: None
driv
This function is defined after it is used. In preparation for making it
static, move it up a little. Also drop the printf() which should not appear
in a driver.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/mmc.c | 45 +
1 file chang
This member should be explained, since it is not obvious why it is needed.
Add a comment.
Signed-off-by: Simon Glass
---
Changes in v2: None
include/blk.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/blk.h b/include/blk.h
index 3fa373e..66a1c55 100644
--- a/include/blk.h
++
This is not needed since we can use the functions provided by the legacy
block device support.
Signed-off-by: Simon Glass
---
Changes in v2: None
disk/part.c | 67 ++-
lib/efi_loader/efi_disk.c | 27 +++
2 files changed,
The MMC block device is contained within struct mmc. But with driver model
this will not be the case. Add a function to obtain the block device. We
can later implement this for CONFIG_BLK.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/mmc.c | 5 +
include/mmc.h | 8 +++
Avoid calling directly into the MMC code - use the new API call instead.
Signed-off-by: Simon Glass
---
Changes in v2: None
cmd/mmc.c | 8 +---
common/env_mmc.c| 4 ++--
common/spl/spl_mmc.c| 2 +-
drivers/dfu/dfu_mmc.c | 13 +
drivers/mmc/mmc.c
The block device uclass does not currently support selecting a particular
hardware partition but this is needed for MMC. Add it so that the blk API
can support MMC properly.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/block/blk-uclass.c | 29 +
includ
Bring this in for SPL so that we can use generic code for loading from
block devices.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/Makefile b/drivers/Makefile
index 696b3ac..99dd07f 100644
--- a/drivers/Makefile
Implement this method so that hardware partitions will work correctly with
MMC.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/mmc.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 2211ac6..e270f5f 100644
-
Mark the device name as allocated so that it will be freed correctly when the
device is unbound.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/block/blk-uclass.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/block/blk-uclass.c b/drivers/
Some devices have a name that is stored in allocated memory. At present
there is no mechanism to free this memory when the device is unbound.
Add a device flag to track whether a name is allocated and a function to
add the flag. Free the memory when the device is unbound.
Signed-off-by: Simon Gla
Due to code ordering the block devices are not numbered sequentially. Fix
this.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/block/blk-uclass.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/block/blk-uclass.c b/drivers/block/blk-uc
This series adds support for using CONFIG_BLK with MMC, such that it uses
the block interface correctly. The old interface in part.c is removed.
With driver model, when CONFIG_BLK is enabled, MMC devices must have a child
block device. A new mmc_bind() function takes care of this. It should be
cal
Hi,
On 27 April 2016 at 09:14, Andreas Dannenberg wrote:
> On Wed, Apr 27, 2016 at 08:34:50AM -0600, Simon Glass wrote:
>> Hi Andreas,
>>
>> On 14 April 2016 at 17:07, Andreas Dannenberg wrote:
>> >
>> > Hi Simon, thanks for the feedback. Additional comments inlined...
>> >
>> > On Mon, Apr 04,
Hi,
On 26 April 2016 at 13:32, Joe Hershberger wrote:
> On Fri, Jan 22, 2016 at 4:42 PM, Joe Hershberger
> wrote:
>> On Sun, Jan 17, 2016 at 3:52 PM, Simon Glass wrote:
>>> Some ethernet devices may be on a PCI bus. Probe the first PCI controller to
>>> find these, so that ethernet init will co
Hi Andreas,
On 30 April 2016 at 19:01, Andreas Bießmann
wrote:
> The getopt(3) optstring '-' is a GNU extension which is not available on BSD
> systems like OS X.
>
> Remove this dependency by implementing argument parsing in another way. This
> will also change the lately introduced '-b' switch
Hi,
On 20 April 2016 at 21:22, Qianyu Gong wrote:
> Hi Simon,
>
>> -Original Message-
>> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass
>> Sent: Wednesday, April 20, 2016 10:41 PM
>> To: Qianyu Gong
>> Cc: u-boot@lists.denx.de; Mingkai Hu ; Yao Yuan
>> ; jt...@op
Hi Teddy,
On 1 May 2016 at 11:10, Teddy Reed wrote:
> When building a FIT with external data (-E), an SPL may require absolute
> positioning for executing the external firmware. To acheive this use the
> (-p) switch which will replace the amended "data-offset" with "data-position"
> indicating th
Hi Stephen,
On 28 April 2016 at 17:08, Stephen Warren wrote:
> From: Stephen Warren
>
> This will allow a driver's bind function to use the driver data. One
> example is the Tegra186 GPIO driver, which instantiates child devices
> for each of its GPIO ports, yet supports two different HW instanc
Hi Stephen,
On 29 April 2016 at 13:21, Stephen Warren wrote:
> On 04/29/2016 11:42 AM, Simon Glass wrote:
>>
>> Hi Stephen,
>>
>> On 29 April 2016 at 10:53, Simon Glass wrote:
>>>
>>> Hi Stephen,
>>>
>>> On 29 April 2016 at 10:27, Stephen Warren wrote:
On 04/29/2016 08:02 AM, Simon Gl
On 12 April 2016 at 14:50, Stephen Warren wrote:
> On 04/09/2016 08:45 PM, Simon Glass wrote:
>>
>> Enable building the IDE code for sandbox.
>
>
> It might be worth mentioning dumy/fake/compile-only in the commit
> subject/description lest anyone think they can actually try out emulated
> devices
Hi Stephen,
On 12 April 2016 at 14:56, Stephen Warren wrote:
> On 04/09/2016 08:45 PM, Simon Glass wrote:
>>
>> Allow a devnum parameter of -1 to indicate that the device number should
>> be
>> alocated automatically. The next highest available device number for that
>> interface type is used.
>
Hi Stephen,
On 12 April 2016 at 14:49, Stephen Warren wrote:
> On 04/09/2016 08:45 PM, Simon Glass wrote:
>>
>> Add driver-model block-device support to the IDE implementation.
>
>
>> diff --git a/include/ide.h b/include/ide.h
>
>
>> +struct udevice;
>> +#ifdef CONFIG_BLK
>> +ulong ide_read(struc
On Sun, May 01, 2016 at 12:56:21PM -0600, Simon Glass wrote:
> Hi,
>
> On 24 April 2016 at 00:50, Beniamino Galvani wrote:
> > This adds platform code for the Amlogic Meson GXBaby (S905) SoC and a
> > board definition for ODROID-C2. This initial submission only supports
> > UART and Ethernet (thr
On Sun, May 01, 2016 at 12:36:12AM +0200, Marek Vasut wrote:
> The exynos5 platforms use DM in U-Boot and do not use DM in SPL. The serial
> driver, serial_s5p.c, is DM-only. This is OK for U-Boot, but in SPL, this
> will fail with the following compile error:
>
> drivers/built-in.o: In function
Hi Stephen,
On 12 April 2016 at 14:28, Stephen Warren wrote:
> On 04/09/2016 08:45 PM, Simon Glass wrote:
>>
>> There is quite a bit of duplicated common code related to block devices
>> in the IDE and SCSI implementations.
>>
>> Create some helper functions that can be used to reduce the duplica
Hi,
On 24 April 2016 at 00:50, Beniamino Galvani wrote:
> This adds platform code for the Amlogic Meson GXBaby (S905) SoC and a
> board definition for ODROID-C2. This initial submission only supports
> UART and Ethernet (through the existing Designware driver). DTS files
> are the ones submitted
Hi Stephen,
On 12 April 2016 at 14:40, Stephen Warren wrote:
> On 04/09/2016 08:45 PM, Simon Glass wrote:
>>
>> Now that the MMC code accesses devices by number, we can implement this
>> same
>> interface for driver model, allowing MMC to support using driver model for
>> block devices.
>>
>> Add
Hi Stephen,
On 12 April 2016 at 14:31, Stephen Warren wrote:
> On 04/09/2016 08:45 PM, Simon Glass wrote:
>>
>> Add a legacy block interface for systemace.
>
>
>> diff --git a/drivers/block/systemace.c b/drivers/block/systemace.c
>
>
>> +static int systemace_get_devp(int dev, struct blk_desc **de
Hi Timothy,
On 18 April 2016 at 15:30, Timothy Pearson
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> All,
>
> I recently ported U-Boot over to the RK3288-based Veyron Speedy 4GB
> Chromebook in an attempt to gain KVM (hypervisor) support [1]. However,
> in addition to the GIC bein
Hi Robert,
On 29 April 2016 at 23:45, Robert P. J. Day wrote:
>
> was perusing the wiki page on "fdt":
>
> http://www.denx.de/wiki/view/DULG/UBootCmdFDT
>
> and it's fairly loaded with examples of commands that generate only
> the error message:
>
> libfdt fdt_path_offset() returned FDT_ERR_B
Hi Arun,
On 28 April 2016 at 14:48, Arun Kuttiyara Varghese
wrote:
> Hi All,
>
> I was trying to enable the secured boot in u-boot for gumstix overo storm.
>
> based on http://www.denx-cs.de/doku/?q=m28verifiedboot
>
> After I prepared by SD cards, u-boot is not able to boot
> and gives the below
Hi Teddy,
On 27 April 2016 at 11:32, Teddy Reed wrote:
> Hello all,
>
> I'm looking to support "multiple levels" of keys within u-boot's
> verified boot. I need something similar to UEFI's key enrollment key
> (KEK) and db/dbx model such that I can support on-line signing of new
> kernels/rootfs/
Hi Wenyou,
On 24 April 2016 at 21:48, 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
It is possible to combine
+Masahiro
Hi Peng,
On 28 April 2016 at 07:13, Peng Fan wrote:
> Hi,
>
> Since we are moving towards to use dtb and driver model,
> we still lack of a clk framework.
>
> I just have an idea to introduce linux clk framework to u-boot, then
> in driver code, we can do as linux "clk_enable/clk_disab
Hi Thomas,
On 28 April 2016 at 13:27, Thomas Hoff wrote:
> Hello,
>
> Could someone help point me in the right direction about chainloading
> u-boot on an acer cb5 chromebook (nyan_big)? I'd like to be able to do a
> nonverified uboot similar to what was done here:
> https://www.chromium.org/chro
+Minkyu
On 30 April 2016 at 16:36, Marek Vasut wrote:
> If CONFIG_SPL_SERIAL_SUPPORT is not defined in
> include/configs/exynos5-common.h
> the following error is produced during the build of the SPL:
>
> arch/arm/mach-exynos/built-in.o: In function `do_lowlevel_init':
> ...u-boot/arch/arm/mach-
Hi Robert,
On 30 April 2016 at 00:12, Robert P. J. Day wrote:
>
> puzzled by this in cmd/fdt.c:
>
> /* Temporary #ifdef - some archs don't have fdt_blob yet */
> #ifdef CONFIG_OF_CONTROL
> if (argc && !strcmp(*argv, "-c")) {
> control = 1;
>
On 30 April 2016 at 16:36, Marek Vasut wrote:
> The exynos5 platforms use DM in U-Boot and do not use DM in SPL. The serial
> driver, serial_s5p.c, is DM-only. This is OK for U-Boot, but in SPL, this
> will fail with the following compile error:
>
> drivers/built-in.o: In function `get_current':
>
On 30 April 2016 at 16:35, Marek Vasut wrote:
> If serial support is not compiled into U-Boot, which may be the case
> for some SPL builds, the following warning will be generated in disk.c:
>
> cmd/disk.c: In function 'common_diskboot':
> cmd/disk.c:16:6: warning: variable 'dev' set but not used
Hi,
On 30 April 2016 at 20:18, Vagrant Cascadian wrote:
Please can you add a commit message?
> Signed-off-by: Vagrant Cascadian
> ---
>
> board/bf533-ezkit/flash.c | 2 +-
> board/mpl/pip405/pip405.c | 2 +-
> board/tqc/tqm5200/cmd_stk52xx.c|
Hi Maxime,
On 4 April 2016 at 12:25, Maxime Ripard
wrote:
> The device tree overlays are a good way to deal with user-modifyable
> boards or boards with some kind of an expansion mechanism where we can
> easily plug new board in (like the BBB or the raspberry pi).
>
> However, so far, the usual m
i Vignesh,
On 21 April 2016 at 02:42, Vignesh R wrote:
> Hi,
>
> On 04/20/2016 08:10 PM, Simon Glass wrote:
>> On 12 April 2016 at 05:33, Vignesh R wrote:
>>> Convert davinci_spi driver to comply with SPI DM framework.
>>>
>>> Signed-off-by: Vignesh R
>>> ---
>>> drivers/spi/davinci_spi.c | 32
On 28 April 2016 at 03:31, Michal Simek wrote:
> Support U-Boot SPL to load FIT image from fat partition.
> Fit image can be setup via CONFIG_SPL_FS_LOAD_KERNEL_NAME.
> Falcon mode is not supported.
>
> Signed-off-by: Michal Simek
> ---
>
> common/spl/spl_fat.c | 50 +
On 28 April 2016 at 02:36, Michal Simek wrote:
> If bl_len is not aligned it can caused a problem because another code
> expects that start is aligned.
>
> Signed-off-by: Michal Simek
> ---
>
> Not sure if this is the right way how to ensure it.
> But patch is pointing to the problem. For example
Hi Michal,
On 28 April 2016 at 02:43, Michal Simek wrote:
> Support loading FIT in SPL for RAM bootmode.
> CONFIG_SPL_LOAD_FIT_ADRESS points to address where FIT image is stored
> in memory.
>
> Signed-off-by: Michal Simek
> ---
>
> Not sure if solution with CONFIG_SPL_LOAD_FIT_ADDRESS is accept
Hi Michal,
On 20 April 2016 at 22:47, Michal Simek wrote:
> Hi Simon,
>
> On 20.4.2016 16:41, Simon Glass wrote:
>> Hi Michal,
>>
>> On 14 April 2016 at 07:02, Michal Simek wrote:
>>> Fix fdtdec_get_alias_seq() which is not checking full path to certain
>>> node and it incorrectly provides incor
Hi Mugunthan,
On 28 April 2016 at 04:06, Mugunthan V N wrote:
> Provide an api to check whether the given device or machine is
> compatible with the given compat string which helps in making
> decisions in drivers based on device or machine compatible.
>
> Idea taken from Linux.
>
> Signed-off-by
On 25 April 2016 at 19:45, Peng Fan wrote:
> Hi Mario,
>
> On Mon, Apr 25, 2016 at 03:25:37PM +0200, Mario Six wrote:
>>A DM driver for PCA953x was recently introduced by Peng Fan, which lacked
>>support for the 40 GPIO versions.
>>
>>This patch adds support for these chips.
>>
>>Signed-off-by: Ma
On 21 April 2016 at 02:14, Bin Meng wrote:
> On Thu, Apr 21, 2016 at 3:31 PM, Heiko Schocher wrote:
>> Hello Simon,
>>
>> Am 21.04.2016 um 08:19 schrieb Stefan Roese:
>>>
>>> This patch adds support for the PCI(e) based I2C cores. Which can be
>>> found for example on the Intel Bay Trail SoC. It
On 25 April 2016 at 19:20, Peng Fan wrote:
> Introduce driver to support "fairchild,74hc595" devices.
> 1. Take linux drivers/drivers/gpio/gpio-74x164.c as reference.
> 2. Following the naming used in Linux driver with gen_7x164 as the prefix.
> 3. Enable CONFIG_DM_74X164 to use this driver.
> 4.
Hi Peng,
On 25 April 2016 at 19:20, Peng Fan wrote:
> Introduce dm_spi_claim_bus, dm_spi_release_bus and dm_spi_xfer
>
> Signed-off-by: Peng Fan
> Cc: Simon Glass
> Cc: Jagan Teki
> ---
>
> V3:
> As Simon suggested, introduce new API. New patch.
This looks great. But can you please adjust th
Hi Mario,
On 26 April 2016 at 08:08, Mario Six wrote:
> Signed-off-by: Mario Six
Please always add a commit message.
> ---
> drivers/gpio/gpio-uclass.c | 30 ++
> include/asm-generic/gpio.h | 29 +
> 2 files changed, 59 insertions(+)
>
>
On 25 April 2016 at 19:20, Peng Fan wrote:
> When doing xfer, should use device->parent, but not device
> When doing bit xfer, should use "!!(tmpdout & 0x80)", but not
> "(tmpdout & 0x80)"
>
> Signed-off-by: Peng Fan
> Cc: Simon Glass
> Cc: Jagan Teki
> Reviewed-by: Simon Glass
> ---
>
> V3:
>
Hi Mario,
On 26 April 2016 at 08:08, Mario Six wrote:
> Signed-off-by: Mario Six
Commit message please.
> ---
> drivers/gpio/mpc85xx_gpio.c | 41 +
> 1 file changed, 41 insertions(+)
Reviewed-by: Simon Glass
>
> diff --git a/drivers/gpio/mpc85xx_gpio
I've been using the following patch for my configurations, please excuse the
top-posting. I think the only difference is enabling the uclass mod_exp driver
to initialize without needing relocation.
---
This allows a board to configure verified boot within the SPL using
a FIT or FIT with externa
For those that have asked me about this, I have dug into the past and cannot
find my experiment. In the end I managed to reduce U-Boot proper down to
about 100KB of code (by dropping CONFIG_CMD and removing video and USB
drivers) and this was small enough to fit in SRAM. So SPL was not needed.
Tha
This function is implemented by the legacy block functions now. Drop it.
We cannot yet make sata_dev_desc[] private to common/sata.c as it is used by
the SATA drivers. This will require the SATA interface to be reworked.
Signed-off-by: Simon Glass
---
Changes in v2: None
disk/part.c| 2 +-
This function is implemented by the legacy block functions now. Drop it.
Signed-off-by: Simon Glass
---
Changes in v2: None
common/scsi.c | 7 ---
common/spl/spl_sata.c | 2 +-
disk/part.c | 2 +-
include/part.h| 2 --
4 files changed, 2 insertions(+), 11 deletion
1 - 100 of 151 matches
Mail list logo