On 06/01/14 18:42, Simon Glass wrote:
Hi Martin,
On 30 May 2014 04:33, Martin Ertsås marti...@gmail.com wrote:
Hi.
I'm trying to use u-boot as a payload to coreboot. Problem is that when
coreboot starts u-boot, it fails with panic(No tick base available);
When looking at the backtrace
Hi Stephen,
On 05/30/2014 02:28 AM, Lukasz Majewski wrote:
...
I've tested if raw u-boot can be downloaded and uploaded via DFU.
The u-boot size is 1MiB precisely.
Corresponding dfu_alt_info entry:
u-boot raw 0x80 0x800; \
...
2. Upload (raw):
dfu-util -a0 -U
From: Jeroen Hofstee
commit a0a37183bd7 ARM: omap: merge GPMC initialization code for
all platform needs CONFIG_NOR, CONFIG_NAND or CONFIG_CMD_ONENAND
to be set to access flash. Add CONFIG_NAND for tam3517 derived
boards to prevent the following error: nand: error: Unable to
find NAND settings in
Hi Stephen,
On May 23, 2014, at 9:47 PM, Stephen Warren wrote:
From: Stephen Warren swar...@nvidia.com
Rather than just returning -1 everywhere, try to return something
meaningful from mmc_select_hwpart(). Note that most other MMC functions
don't do this, including functions called from
On 06/01/2014 06:34 PM, Simon Glass wrote:
Hi,
On 27 May 2014 18:54, Masahiro Yamada yamad...@jp.panasonic.com wrote:
Hi York,
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index b770e25..38b9c7d 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -280,7 +280,7 @@
Hi Steve,
I wanted the discussion to settle a bit before I reply to this series.
On May 29, 2014, at 1:15 AM, Steve Rae wrote:
Each wrapper function:
- switches to the specified physical partition, then
- performs the original function, and then
- switches back to the original physical
Hi guys,
On Fri, 2014-05-30 at 11:41 +0200, Detlev Zundel wrote:
Hi Pavel,
On Wed 2014-05-28 16:29:50, Wolfgang Denk wrote:
In message 20140528124910.ga24...@amd.pavel.ucw.cz you wrote:
There are no differences between EBV socrates and socfpga boards,
currently.
Well, for
Hi Gupta,
On 02/06/2014 08:16, Gupta, Pekon wrote:
From: Jeroen Hofstee
commit a0a37183bd7 ARM: omap: merge GPMC initialization code for
all platform needs CONFIG_NOR, CONFIG_NAND or CONFIG_CMD_ONENAND
to be set to access flash. Add CONFIG_NAND for tam3517 derived
boards to prevent the
Hi Pavel,
On Tue, 2014-05-27 at 15:12 +0200, ZY - pavel wrote:
Altera Cyclone 5 board is very different board (big, rectangular,
expensive) than EBV Socrates (small, circular, cheap) board. Different
parts are used there, too, but same configuration of u-boot works on
both. Nevertheless,
Hi Darwin,
On Mon, 26 May 2014 09:11:35 -0700, Darwin Rambo dra...@broadcom.com
wrote:
Hi Albert,
The previous stage bootloader (which I had no control over) wanted it's
header to be aligned to a 512 byte MMC block boundary, presumably since
this allowed DMA operations without
Hi Minkyu,
On Sat, 31 May 2014 14:29:43 +0900, Minkyu Kang mk7.k...@samsung.com
wrote:
Dear Albert,
The following changes since commit 44cfc3a83f2a62963af2de8d983daf4c77e1db0c:
Merge branch 'u-boot-tegra/master' into 'u-boot-arm/master' (2014-05-15
17:19:45 +0200)
are available in
From: Stefano Babic [mailto:sba...@denx.de]
[...]
diff --git a/include/configs/tam3517-common.h
b/include/configs/tam3517-common.h
index 3522c1a..bd117d5 100644
--- a/include/configs/tam3517-common.h
+++ b/include/configs/tam3517-common.h
@@ -185,6 +185,7 @@
/* Configure the PISMO */
Hi Simon,
I found an odd behavior of Patman.
If I run Patman during git rebase -i,
Patman rewrites git-log, stripping all the Patman-tags.
(I lost some important tags such as Series-changes.)
I think git-log should be read-only during Patman operation.
I can't understand why Patman needs to
Hi, Fabio,
On Fri, May 30, 2014 at 4:23 AM, Alison Wang b18...@freescale.com wrote:
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ ethaddr=00:e0:0c:bc:e5:60\0 \
+ eth1addr=00:e0:0c:bc:e5:61\0 \
+ eth2addr=00:e0:0c:bc:e5:62\0 \
+ eth3addr=00:e0:0c:bc:e5:63\0 \
+
On Thu, May 29, 2014 at 06:37:36PM +0100, Rob Herring wrote:
On Thu, May 29, 2014 at 10:19 AM, York Sun york...@freescale.com wrote:
On 05/29/2014 06:19 AM, Rob Herring wrote:
On Wed, May 28, 2014 at 6:46 PM, York Sun york...@freescale.com wrote:
snip
+static void
I have an imx6 solo system and currently I am using the SD card to
boot the u-boot.
I would like to make it boot from NAND, but my first Block in NAND is a bad one.
Do I need u-boot with NAND SPL support?
Best regards
Andy
___
U-Boot mailing list
On Thu, May 29, 2014 at 09:49:05PM +0100, York Sun wrote:
Make MMU functions reusable. Platform code can setup its own MMU tables.
What exactly does platform code need to setup its own tables for?
Also fix a typo of TCR_EL3_IPS_BITS in cache_v8.c.
Signed-off-by: York Sun
GPMC can support simultaneous processing of 8 512Byte data chunks, in parallel
Signed-off-by: Pekon Gupta pe...@ti.com
---
include/linux/mtd/omap_gpmc.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/linux/mtd/omap_gpmc.h b/include/linux/mtd/omap_gpmc.h
index
This patch series should be picked above
http://lists.denx.de/pipermail/u-boot/2014-April/177323.html
*changes v3 - v4*
[PATCH 1/3] (new patch)
[PATCH 2/3] fixed BCH16 implementation for omap_gpmc.c
[PATCH 3/3] (no change)
include minor clean-up patch to use macro GPMC_MAX_SECTORS
*changes v2 -
updates documentation with explanation on how to select ECC schemes.
Signed-off-by: Pekon Gupta pe...@ti.com
---
doc/README.nand | 42 ++
1 file changed, 42 insertions(+)
diff --git a/doc/README.nand b/doc/README.nand
index 2bc5b39..70cf768 100644
---
This patch add support for BCH16_ECC to omap_gpmc driver.
*need to BCH16 ECC scheme*
With newer SLC Flash technologies and MLC NAND, and large densities, pagesizes
Flash devices have become more suspectible to bit-flips. Thus stronger
ECC schemes are required for protecting the data.
But stronger
On Fri, May 30, 2014 at 05:44:55PM +0900, Masahiro Yamada wrote:
The maintainers are no longer repsponding.
These boards are so old that nobody would have
motivation to maintain them.
I built all the other boards.
I confirmed there is no impact to the other boards.
Apply Wolfgang's
On Thu, May 29, 2014 at 11:54:06AM +0200, Wolfgang Denk wrote:
The quad100hd has been unmaintained and dead ever since it's been
added some 6 years ago. Remove it.
Also update README.scrapyard and insert some commit IDs for removed
boards.
Signed-off-by: Wolfgang Denk w...@denx.de
Cc:
Hi Akshay,
On 30 May 2014 07:45, Akshay Saraswat aksha...@samsung.com wrote:
Currently environment resides at the location where BL2 ends.
This may hold good in case there is an empty space at this
position. But what if this place already has a binary or is
expected to have one. To avoid such
Hi Akshay,
On 30 May 2014 07:45, Akshay Saraswat aksha...@samsung.com wrote:
Max footprint for SPL in both Exynos 5250 and 5420 is limited to 14 KB.
For Exynos5250 we need to keep it 14 KB because BL1 supports only fixed
size SPL downloading. But in case of Exynos5420 we need not restrict it
On 30 May 2014 07:45, Akshay Saraswat aksha...@samsung.com wrote:
Right now USB booting is enabled for Exynos5250 only. Moving all the
configs for USB boot mode from exynos5250-dt.h to exynos5-dt.h in order
to enableUSB booting for all Exynos5 SoCs.
Signed-off-by: Akshay Saraswat
Hi Akshay,
On 30 May 2014 07:45, Akshay Saraswat aksha...@samsung.com wrote:
SPI recieve and transfer code in exynos_spi driver has a logical bug.
We read data in a variable which can hold an integer. Then we assign
this integer 32 bit value to another variable which has data type uchar.
+U-Boot list again
Hi Jon,
On 30 May 2014 09:55, Jon Loeliger loeli...@gmail.com wrote:
Why is the scan only on the top level? My GPIO nodes are, for example,
under an SOC node.
Why? Do you have an SOC driver?
Hi Simon,
This gets to my earlier issue: I want to use the *exact* same
Dear Tom,
In message 20140602145948.GV5836@bill-the-cat you wrote:
powerpc: adder: remove orphan board
powerpc: mpc8260ads: remove orphan board
powerpc: zpc1900: remove orphan board
powerpc: rattler: remove orphan board
powerpc: ispan: remove orphan board
powerpc:
On 06/02/2014 12:14 AM, Lukasz Majewski wrote:
Hi Stephen,
On 05/30/2014 02:28 AM, Lukasz Majewski wrote:
...
I've tested if raw u-boot can be downloaded and uploaded via DFU.
The u-boot size is 1MiB precisely.
Corresponding dfu_alt_info entry:
u-boot raw 0x80 0x800; \
...
2. Upload
Dear Tom,
In message 20140602145956.GW5836@bill-the-cat you wrote:
The quad100hd has been unmaintained and dead ever since it's been
added some 6 years ago. Remove it.
...
Applied to u-boot/master, thanks!
Umm... I have neither seen a pull request nor an ACK from Stefan.
Should we not
On 06/01/2014 10:59 PM, Jaehoon Chung wrote:
Hi, Stephen.
Your patch-set looks good to me.
Acked-by: Jaehoon Chung jh80.ch...@samsung.com
If card didn't insert, can we display the other log instead of the below log?
#mmc rescan
#mmc dev 1
Card did not respond to voltage select!
On 06/02/2014 04:34 AM, Mark Rutland wrote:
On Thu, May 29, 2014 at 09:49:05PM +0100, York Sun wrote:
Make MMU functions reusable. Platform code can setup its own MMU tables.
What exactly does platform code need to setup its own tables for?
The general ARMv8 MMU table is not detail enough to
On 06/02/2014 12:42 AM, Pantelis Antoniou wrote:
Hi Steve,
I wanted the discussion to settle a bit before I reply to this series.
On May 29, 2014, at 1:15 AM, Steve Rae wrote:
Each wrapper function:
- switches to the specified physical partition, then
- performs the original function,
On Mon, Jun 02, 2014 at 05:06:13PM +0100, York Sun wrote:
On 06/02/2014 04:34 AM, Mark Rutland wrote:
On Thu, May 29, 2014 at 09:49:05PM +0100, York Sun wrote:
Make MMU functions reusable. Platform code can setup its own MMU tables.
What exactly does platform code need to setup its own
On Mon, Jun 02, 2014 at 05:52:56PM +0200, Wolfgang Denk wrote:
Dear Tom,
In message 20140602145956.GW5836@bill-the-cat you wrote:
The quad100hd has been unmaintained and dead ever since it's been
added some 6 years ago. Remove it.
...
Applied to u-boot/master, thanks!
Umm... I
I tested the patches on our custom Freescale i.MX28 board. I used ubi part,
ubi create, and ubi write and it worked as expected.
--
View this message in context:
http://u-boot.10912.n7.nabble.com/RFC-PATCH-v2-0-4-mtd-ubi-ubifs-resync-with-Linux-3-14-tp180464p181246.html
Sent from the U-Boot
Hi Minkyu,
On 30 May 2014 23:24, Minkyu Kang mk7.k...@samsung.com wrote:
On 30/05/14 01:10, Akshay Saraswat wrote:
From: Doug Anderson diand...@chromium.org
Setting ps_hold ought to be one of the first things we do when we
first boot up. If we wait until the main u-boot runs we won't set it
Dear Francesco Teodoro.
On 05/30/2014 01:35 PM, Francesco Teodoro wrote:
I'm using a SABRE SD board (from Freescale) based on i.MX6 and the u-boot
version is the 2014.04 one. What I've been trying to do is to activate the
secondary cores so that I would be able to use them. First of all I've
On Mon, Jun 2, 2014 at 4:03 AM, Andy Ng andreas2...@gmail.com wrote:
I have an imx6 solo system and currently I am using the SD card to
boot the u-boot.
I would like to make it boot from NAND, but my first Block in NAND is a bad
one.
Do I need u-boot with NAND SPL support?
Best regards
Since this commit my Ethernet Gadget on a custom Freescale i.MX28 board is
broken. Using tftp to download files I get in almost all cases a timeout:
This is one case:
This is another one:
I reverted this commit from my master branch it works again as expected.
--
View this message in
Sorry, my previous post was not shown correctly. The raw text was missing. I
removed the annotation.
Since this commit my Ethernet Gadget on a custom Freescale i.MX28 board is
broken. Using tftp to download files I get in almost all cases a timeout:
This is one case:
Updating rootfs ...
using
This series adds some necessary framework for IMX6 SPL support. The series
includes support for NAND SPL and has been tested with MMC as well. I have
tested this on five differing Ventana baseboards with a variety of memory
(32bit 512MB, 32bit 1024MB, 64bit 1024MB) and CPU configurations (IMX6Q,
This utilizes existing mxs_nand support layer to provide a method to load an
image off nand for SPL. The flash device will be detected in order to support
multiple flash devices instead of having layout hard coded at build time.
Cc: Stefan Roese s...@denx.de
Cc: Otavio Salvador
Add memory-mapped structures for MMDC iomux and configuration. Note that whi
the MMDC configuration registers are common between the IMX6DQ
(IMX6DUAL/IMX6QUAD) and IMX6SDL (IMX6SOLO/IMX6DUALLITE) types the iomux
registers differ. This requires two sets of structures.
Add structures to describe
Add a common header which can hopefully be shared amon imx6 SPL users
Cc: Stefan Roese s...@denx.de
Cc: Otavio Salvador ota...@ossystems.com.br
Cc: Andy Ng andreas2...@gmail.com
Cc: Eric Nelson eric.nel...@boundarydevices.com
Cc: Tapani Utriainen tap...@technexion.com
Cc: Tom Rini tr...@ti.com
Add comment block for the imx_ddr_size function and remove the extra unused
fields from struct esd_mmdc_regs which are also not common between IMX53 and
IMX6.
Cc: Stefan Roese s...@denx.de
Cc: Otavio Salvador ota...@ossystems.com.br
Cc: Andy Ng andreas2...@gmail.com
Cc: Eric Nelson
Add a common spl.c file to support boot device functions needed for SPL
such as detecting the boot device.
Cc: Stefan Roese s...@denx.de
Cc: Otavio Salvador ota...@ossystems.com.br
Cc: Andy Ng andreas2...@gmail.com
Cc: Eric Nelson eric.nel...@boundarydevices.com
Cc: Tapani Utriainen
Allow imx_iomux_v3_setup_multiple_pads to take a multi-cpu pad_list
and add macros for declaring the pad_list that take into account the
SoC types supported using CONFIG_MX6QDL (supports both the MX6Q and MX6DL
iomux).
Cc: Stefan Roese s...@denx.de
Cc: Otavio Salvador ota...@ossystems.com.br
Cc:
- add function for configuring iomux based on board-specific regs
- add function for configuring mmdc based on board-specific and
chip-specific data
Cc: Stefan Roese s...@denx.de
Cc: Otavio Salvador ota...@ossystems.com.br
Cc: Andy Ng andreas2...@gmail.com
Cc: Eric Nelson
use the new iomux function and a macros to create a multi-dimensional array
of iomux values without duplicating the defintions.
Cc: Stefan Roese s...@denx.de
Cc: Otavio Salvador ota...@ossystems.com.br
Cc: Andy Ng andreas2...@gmail.com
Cc: Eric Nelson eric.nel...@boundarydevices.com
Cc: Tapani
Switch to an SPL image. The SPL for Ventana does the following:
- setup i2c and read the factory programmed EEPROM to obtain DRAM config
and model for board-specific calibration data
- configure DRAM per CPU/size/layout/devices/calibration
- load u-boot.img from NAND and jump to it
This
Split the read_eeprom function out so that it can be shared (ie with SPL)
Cc: Stefan Roese s...@denx.de
Cc: Otavio Salvador ota...@ossystems.com.br
Cc: Andy Ng andreas2...@gmail.com
Cc: Eric Nelson eric.nel...@boundarydevices.com
Cc: Tapani Utriainen tap...@technexion.com
Cc: Tom Rini
Hi! http://netreign.com/_redirect?wynymaq917558
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 14-06-02 12:26 AM, Albert ARIBAUD wrote:
Hi Darwin,
On Mon, 26 May 2014 09:11:35 -0700, Darwin Rambo dra...@broadcom.com
wrote:
Hi Albert,
The previous stage bootloader (which I had no control over) wanted it's
header to be aligned to a 512 byte MMC block boundary, presumably since
this
Hi Tom,
On 24 May 2014 06:21, Tom Rini tr...@ti.com wrote:
On Fri, May 23, 2014 at 03:57:34PM -1000, Simon Glass wrote:
Hi Tom,
On 21 May 2014 10:46, Tom Rini tr...@ti.com wrote:
On Wed, May 21, 2014 at 10:10:50PM +0200, Wolfgang Denk wrote:
Dear Tom Rini,
In message
Hi Jon,
On 28 May 2014 09:22, Jon Loeliger loeli...@gmail.com wrote:
Hi U-Booters,
Over the past few days, I had an off-line conversation with Simon Glass
on the topic of the Driver Model. At his request, I've edited that
conversation into this piece of email for the U-Boot List in the
On 03/06/14 06:18, Simon Glass wrote:
Hi Minkyu,
On 30 May 2014 23:24, Minkyu Kang mk7.k...@samsung.com wrote:
On 30/05/14 01:10, Akshay Saraswat wrote:
From: Doug Anderson diand...@chromium.org
Setting ps_hold ought to be one of the first things we do when we
first boot up. If we wait
Hi Jon,
On 30 May 2014 08:49, Jon Loeliger loeli...@gmail.com wrote:
Folks,
I'd like to discuss the new Driver Model's parsing of the DTS file
for the purposes of instancing and binding devices as I was not
able to get the existing code to work anything like I was expecting.
The current
Hi Martin,
On 1 June 2014 23:59, Martin Ertsås marti...@gmail.com wrote:
On 06/01/14 18:42, Simon Glass wrote:
Hi Martin,
On 30 May 2014 04:33, Martin Ertsås marti...@gmail.com wrote:
Hi.
I'm trying to use u-boot as a payload to coreboot. Problem is that when
coreboot starts u-boot, it
Hi Marek,
On 1 June 2014 11:33, Marek Vasut ma...@denx.de wrote:
On Saturday, May 24, 2014 at 11:21:02 PM, Simon Glass wrote:
The root device should be probed just like any other device. The effect of
this is to mark the device as activated, so that it can be removed (along
with its children)
Hi Jeroen,
On 31 May 2014 14:32, Jeroen Hofstee jer...@myspectrum.nl wrote:
NOTE: smdk5420 snow smdkv310 apf27 arndale origen vpac270_ond_256 smdk5250
don't have a memset available.
You should add a message explaining the motivation for the change.
Can you add a memset()?
Regards,
Simon
On 31 May 2014 14:32, Jeroen Hofstee jer...@myspectrum.nl wrote:
When CONFIG_SYS_GENERIC_GLOBAL_DATA is not set the arch handles
the assignment of gd. At least in case of ARM/Aarch64 this means
board_init_r is alteady called with the new gd. Therefore only
assign gd if
On 31 May 2014 14:32, Jeroen Hofstee jer...@myspectrum.nl wrote:
Since crt0.S / crt0_64.S already allocate gd and assing it there
is no need to do it again board_f / board_r as it only wastes
stack space.
Acked-by: Simon Gass s...@chromium.org
---
arch/arm/include/asm/config.h | 2 --
1
On 31 May 2014 14:32, Jeroen Hofstee jer...@myspectrum.nl wrote:
---
arch/arm/lib/spl.c | 3 ---
1 file changed, 3 deletions(-)
Needs commit message/signoff, but this seems to be throughout the
series. Apart from that:
Acked-by: Simon Gass s...@chromium.org
diff --git
Hi, Marc:
In short, if you're setting GICD_SGIR[24] to 1, you're sending SGI0 to
all CPUs but yourself. This seems to match the name of the function,
doesn't it?
I described my understanding based on 2014.07-RC2 u-boot source code:
(For ARMv8 cores)
1. smp_kick_all_cpus() will send SGI0 to all
Hi Jeroen,
On 31 May 2014 14:32, Jeroen Hofstee jer...@myspectrum.nl wrote:
---
arch/arm/include/asm/global_data.h | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/include/asm/global_data.h
b/arch/arm/include/asm/global_data.h
index 63e4ad5..646d694 100644
Hi Masahiro,
On 2 June 2014 01:44, Masahiro Yamada yamad...@jp.panasonic.com wrote:
Hi Simon,
I found an odd behavior of Patman.
If I run Patman during git rebase -i,
Patman rewrites git-log, stripping all the Patman-tags.
(I lost some important tags such as Series-changes.)
I think
Hi,
On 1 June 2014 22:32, l3iggs . l3i...@live.com wrote:
Hello,
I'd like to test if a file on my TFTP server exists. I would expect that
using 'if tftp filename.ext; then echo exists; else echo doesnt; fi' woudl
work here. However, It always shows that the file exists. I expect that
Hi Thomas,
On 30 May 2014 11:55, Simon Glass s...@chromium.org wrote:
Hi Tom,
On 30 May 2014 11:51, Tom Rini tr...@ti.com wrote:
On Wed, May 28, 2014 at 09:34:25PM +0200, thomas.bet...@rohde-schwarz.com
wrote:
Hello all,
I have noticed that command repeat doesn't work as it should.
On 28 May 2014 07:05, Masahiro Yamada yamad...@jp.panasonic.com wrote:
Use make board_defconfig instead of make board_config.
FIXME!
This fixup is bad because it still depends on boards.cfg
to support options such as -a ARCH, -c CPU etc.
We want to delete it when switching to Kconfig.
We
On 28 May 2014 07:05, Masahiro Yamada yamad...@jp.panasonic.com wrote:
Use make board_defconfig instead of make board_config.
FIXME!
This fixup is bad because it still depends on boards.cfg
to support options such as -a ARCH, -c CPU etc.
We want to delete it when switching to Kconfig.
We
Hi Ian,
On 31 May 2014 10:36, Ian Campbell i...@hellion.org.uk wrote:
This has been disabled for ARM in initr_scsi since that function was
introduced. However it works fine for me on Cubieboard and Cubietruck (with
the
upcoming AHCI glue patch).
I also tested on two random ARM platforms
Hi Masahiro,
I see that we have a few files in tools/ which #include their
counterpart .c files in common/ or lib/. The most noticeable example
is libfdt.
Is there a better way of doing this? Would it be possible to pick up
the files automatically and still put the output file in tools/?
The
This series fixes a few problems that have come up since the secure boot
series was merged:
- A recent commit broken the assumption that u-boot.bin ends at a known
address (thus making things appended to U-Boot inaccessible from the code).
This is fixed for Beaglebone and a few other boards. A
This should include the hash so that image_binary_size is really at the
end of the image, and not some 300 bytes earlier.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3: None
Changes in v2:
- Add new patch to ensure the hash section is inside the image for am335x
Check that the image size matches the size we get from u-boot.bin. If it
doesn't, that generally means that some extra sections are being added to
u-boot.bin, meaning that it is not possible to access data appended to
the U-Boot binary. This is used for device tree, so needs to work.
This problem
Enable booting a FIT containing a kernel/device tree.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3:
- Also enable LZO and timestamps, plus increase the maximum kernel size
Changes in v2: None
include/configs/am335x_evm.h | 5 +
1 file changed, 5 insertions(+)
diff --git
In some cases, an externally-built device tree binary is required to be
attached to U-Boot. An example is when using image signing, since in that
case the .dtb file must include the public keys.
Add a DEV_TREE_BIN option to the Makefile, and update the documentation.
Usage is something like:
Enable the cache for all devices, unless CONFIG_SYS_DCACHE_OFF is defined.
This speeds up the Beaglebone Black boot considerable.
(Tested only on Beaglebone Black with SD card boot)
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3: None
Changes in v2:
- Update to cover all omap
This function is useful for displaying a hash value, so export it.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3:
- Rebase to master and update commit message
Changes in v2: None
common/hash.c | 7 +++
include/hash.h | 15 +++
2 files changed, 18
When adding hashes or signatures, the target FDT may be full. Detect this
and automatically try again after making 1KB of space.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3:
- Rebase to master
Changes in v2: None
tools/fit_check_sign.c | 4 +-
tools/fit_common.c | 25
Correct the binary output so that image_binary_size is really at the
end of the image.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3:
- Add new patch to ensure the hash section is inside the image for mx31ads
Changes in v2: None
board/freescale/mx31ads/u-boot.lds | 4 +++-
1
When writing values into an FDT it is possible that there will be
insufficient space. If the caller gets a useful error then it can
potentially deal with the situation.
Adjust these functions to return -ENOSPC when the FDT is full.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3:
Make the error handling common, and make sure the file is always closed
on error. Rename the parameter to be more description and add comments.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3:
- Add new patch to improve error handling in fit_common
Changes in v2: None
Correct the binary output so that image_binary_size is really at the
end of the image.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3:
- Add new patch to ensure the hash section is inside the image for cm_t335
Changes in v2: None
board/compulab/cm_t335/u-boot.lds | 4 ++--
1
Enable verified boot functionality for a new am335x_boneblack_vboot target.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3:
- Use verified boot only on a new board - am335x_boneblack_vboot
Changes in v2: None
boards.cfg | 1 +
include/configs/am335x_evm.h | 4
The current size of 1MB is not enough use to use DFU. Increase it for
ARMv7 boards, all of which should have 32MB or more SDRAM.
With this change it is possible to do 'dfu mmc 0' on a Beaglebone Black.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3: None
Changes in v2: None
Add support for device tree control and add device tree files for the
beaglebone black initially.
Signed-off-by: Simon Glass s...@chromium.org
---
Changes in v3: None
Changes in v2:
- Move device tree files into arch/arm/dts
arch/arm/dts/Makefile | 1 +
It is more common to have 0 mean OK, and -ve mean error. Change this
function to work the same way to avoid confusion.
Signed-off-by: Simon Glass s...@chromium.org
---
common/cmd_fdt.c | 2 +-
common/image-fit.c | 2 +-
common/image-sig.c | 4 ++--
tools/fit_check_sign.c | 3 +--
We want to use some of the functionality in this file, so make it
build on the host.
Signed-off-by: Simon Glass s...@chromium.org
---
common/bootm.c | 18 ++
tools/Makefile | 1 +
tools/bootm.c | 1 +
3 files changed, 16 insertions(+), 4 deletions(-)
create mode 100644
At present this tool only checks the configuration signing. Have it also
look at each of the images in the configuration and confirm that they
verify.
Signed-off-by: Simon Glass s...@chromium.org
---
common/bootm.c | 71 ++
The fit_check_sign tool checks that the configuration is correct, but does
not check each image within that configuration. This series adds that
feature, at least for uncompressed images.
In order to arrange this, cmd_bootm.c is split up into three files, one for
the command processing, one for
A small change allows this to operate on sandbox.
Signed-off-by: Simon Glass s...@chromium.org
---
common/bootm.c| 2 +-
include/configs/sandbox.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/bootm.c b/common/bootm.c
index 0b4fe7b..a19a9de 100644
---
This makes it possible to decompress an image without it being a kernel
and without intending to boot it (as it needed for host tools, for example).
Signed-off-by: Simon Glass s...@chromium.org
---
common/bootm.c | 75 +-
1 file changed,
As an example of an end-to-end process for using verified boot in U-Boot,
add a detailed description of the steps to be used for a Beaglebone
Black.
Signed-off-by: Simon Glass s...@chromium.org
---
doc/uImage.FIT/beaglebone_vboot.txt | 608
1 file changed,
These tools crash if no arguments are provided. Add checks to avoid this.
Signed-off-by: Simon Glass s...@chromium.org
---
tools/fit_check_sign.c | 9 +
tools/fit_info.c | 12
2 files changed, 21 insertions(+)
diff --git a/tools/fit_check_sign.c
This typo makes the comment confusing. Fix it.
Signed-off-by: Simon Glass s...@chromium.org
---
common/image-fit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/image-fit.c b/common/image-fit.c
index c0d7b8c..83fac9a 100644
--- a/common/image-fit.c
+++
This can be obtained by looking up the image type, so is redundant. It is
better to centralise this lookup to avoid errors.
Signed-off-by: Simon Glass s...@chromium.org
---
common/bootm.c | 3 +--
common/image-fdt.c | 1 -
common/image-fit.c | 29 -
This is not necessary and prevents using this header when building tools.
Signed-off-by: Simon Glass s...@chromium.org
---
include/command.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/command.h b/include/command.h
index d3f700f..6f06db1 100644
--- a/include/command.h
+++
1 - 100 of 107 matches
Mail list logo