Skip to content

Minor improvements to secure boot and enable on beaglebone

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20140611221827.GC7841@bill-the-cat

Versions newest first

  1. v3 Latest14 patches 0 repliesNew

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14ti: am335x: Fix the U-Boot binary output+0 -00 replies
2/14cm_t335: Fix the U-Boot binary output+0 -00 replies
3/14mx31ads: Fix the U-Boot binary output+0 -00 replies
5/14am33xx/omap: Allow cache enable for all Sitara/OMAP+0 -00 replies
6/14hash: Export the function to show a hash+0 -00 replies
7/14fdt: Add DEV_TREE_BIN option to specify a device tree binary file+0 -00 replies
7/14fdt: Add DEV_TREE_BIN option to specify a device tree binary file+0 -01 reply
8/14fdt: Update functions which write to an FDT to return -ENOSPC+0 -00 replies
9/14Improve error handling in fit_common+0 -00 replies
10/14mkimage: Automatically make space in FDT when full+0 -00 replies
11/14arm: ti: Increase malloc size to 16MB for armv7 boards+0 -00 replies
12/14am33xx/omap: Enable CONFIG_OF_CONTROL+0 -00 replies
13/14am33xx/omap: Enable FIT support+0 -00 replies
14/14am33xx/omap: Add a new board to enable verified boot+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/14] Minor improvements to secure boot and enable on beaglebone
Quoted 33 lines · Simon Glass

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 new test is added to the Makefile to ensure that it does not break again. All boards have been tested to make sure the problem does not appear elsewhere.

- A way is needed to provide an externally-build device tree binary for U-Boot. This allows signing to happen outside the U-Boot build system.

- The .img files generated by an OMAP build need to include the FDT if one is appended.

- Adding signatures to an FDT can cause the FDT to run out of space. The fix is to regenerate the FDT from scratch with different dtc parameters, so pretty painful. Instead, we automatically expand the FDT.

The last commit enables verified boot on a Beaglebone Black with a special configuration. Use 'am335x_boneblack_vboot' for this. This will soon disable support for legacy images.

Changes in v3:
- Add new patch to ensure the hash section is inside the image for cm_t335
- Add new patch to ensure the hash section is inside the image for mx31ads
- Rebase to master and update commit message
- Fix typo in commit message
- Add new patch to improve error handling in fit_common
- Rebase to master
- Also enable LZO and timestamps, plus increase the maximum kernel size
- Use verified boot only on a new board - am335x_boneblack_vboot

Quoted 7 lines

Changes in v2:
- Add new patch to ensure the hash section is inside the image for am335x
- Add new patch to check u-boot.bin size against symbol table
- Update to cover all omap devices
- Adjust for kbuild changes
- Fix line over 80cols
- Move device tree files into arch/arm/dts

Note that I applied this directly to master since it's largely TI boards or generic code, I hope you don't mind Albert.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140611/800f9765/attachment.pgp>