Messages in this thread | | | Date | Tue, 8 Sep 2015 15:21:05 +0200 | Subject | Re: [PATCH] arm: Handle starting up in secure mode | From | Linus Walleij <> |
| |
On Wed, Aug 26, 2015 at 12:39 PM, Dave Martin <Dave.Martin@arm.com> wrote:
> Shouldn't the bootloader or firmware be doing this stuff, and if not, > why not?
Firmware yes, bootloader no, or maybe.
Bootloaders IMO loads in images, checksum, even public key check or whatever, then sets up the basics and boot them.
Some hacks in U-Boot install PSCI handlers. It is neat, but a hack: a piece of code is compiled to a special offset and copied there by U-Boot to install the PSCI handlers. I would be fine if that software was not compiled as part of U-Boot, but another binary loaded by it.
This would be another such "neat hack" also leaving a minimal monitor behind IIUC.
I see the simplicity it brings to compile a load of stuff into U-Boot, but eahhhhhhh...
Yours, Linus Walleij
| |