Is there a written spec or description of how a boot program (u-boot, UEFI, hypervisor) boots an OS on ARM platforms?
ePAPR-type device trees are used to describe a platform, but what about the type of information in sections 5.3, 5.4 and 5.5 of the ePAPR: -initial mapped areas -state of MMU at the point the boot program transfers control to the OS, initial MMU mappings -initial state of registers -mechanisms to start secondary CPUs-- e.g. spin table
Besides reading code is this stuff written down anywhere? ...for both ARM v7 and ARM v8.
Thanks, Stuart Yoder
On Mon, 2013-07-22 at 19:56 +0000, Yoder Stuart-B08248 wrote:
Is there a written spec or description of how a boot program (u-boot, UEFI, hypervisor) boots an OS on ARM platforms?
There's some information in the Linux source in the file Documentation/arm/Booting.
On Tue, 2013-07-23 at 09:16 +0100, Jon Medhurst (Tixy) wrote:
On Mon, 2013-07-22 at 19:56 +0000, Yoder Stuart-B08248 wrote:
Is there a written spec or description of how a boot program (u-boot, UEFI, hypervisor) boots an OS on ARM platforms?
There's some information in the Linux source in the file Documentation/arm/Booting.
And similar for arm64 in Documentation/arm64/booting.txt
On Mon, Jul 22, 2013 at 8:56 PM, Yoder Stuart-B08248 B08248@freescale.com wrote:
Is there a written spec or description of how a boot program (u-boot, UEFI, hypervisor) boots an OS on ARM platforms?
ePAPR-type device trees are used to describe a platform, but what about the type of information in sections 5.3, 5.4 and 5.5 of the ePAPR: -initial mapped areas -state of MMU at the point the boot program transfers control to the OS, initial MMU mappings -initial state of registers -mechanisms to start secondary CPUs-- e.g. spin table
Historically each ARM SoC did its own thing for secondary CPU startup. New platforms are expected to use the PSCI spec (which unfortunately isn't an open document, but ARM partners can get access).
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0022b/index.h...
PSCI support has been merged into the kernel. Just 'git grep PSCI'.
g.
On 23 July 2013 12:33, Grant Likely grant.likely@secretlab.ca wrote:
Historically each ARM SoC did its own thing for secondary CPU startup. New platforms are expected to use the PSCI spec (which unfortunately isn't an open document, but ARM partners can get access).
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0022b/index.h...
I believe that's just behind the same "you need to create an account on the website and login" wall as the main ARM ARM, isn't it? You don't need to be an ARM partner.
thanks -- PMM
On Tue, Jul 23, 2013 at 12:39 PM, Peter Maydell peter.maydell@linaro.org wrote:
On 23 July 2013 12:33, Grant Likely grant.likely@secretlab.ca wrote:
Historically each ARM SoC did its own thing for secondary CPU startup. New platforms are expected to use the PSCI spec (which unfortunately isn't an open document, but ARM partners can get access).
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0022b/index.h...
I believe that's just behind the same "you need to create an account on the website and login" wall as the main ARM ARM, isn't it? You don't need to be an ARM partner.
You're right. My mistake. Sorry for the noise.
g.
Thanks for the references.
Stuart
-----Original Message----- From: glikely@secretlab.ca [mailto:glikely@secretlab.ca] On Behalf Of Grant Likely Sent: Tuesday, July 23, 2013 7:04 AM To: Peter Maydell Cc: Yoder Stuart-B08248; boot-architecture@lists.linaro.org; linaro-dev@lists.linaro.org Subject: Re: ARM client program boot architecture
On Tue, Jul 23, 2013 at 12:39 PM, Peter Maydell peter.maydell@linaro.org wrote:
On 23 July 2013 12:33, Grant Likely grant.likely@secretlab.ca wrote:
Historically each ARM SoC did its own thing for secondary CPU startup. New platforms are expected to use the PSCI spec (which unfortunately isn't an open document, but ARM partners can get access).
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0022b/index.h...
I believe that's just behind the same "you need to create an account on the website and login" wall as the main ARM ARM, isn't it? You don't need to be an ARM partner.
You're right. My mistake. Sorry for the noise.
g.