[PATCH linux] dts: aspeed: merge initrd into kernel in flash layout
Andrew Geissler
geissonator at gmail.com
Sat Feb 4 03:36:39 AEDT 2017
On Thu, Feb 2, 2017 at 6:51 PM, Joel Stanley <joel at jms.id.au> wrote:
> On Wed, Feb 1, 2017 at 5:09 AM, Rick Altherr via openbmc
> <openbmc at lists.ozlabs.org> wrote:
>> openbmc/openbmc commit 1ed6fe335cda50cf60b7afddbe530077a1b25d27 includes
>> the initrd in the kernel image. Update the flash layout used by OpenBMC
>> dts accordingly. This is required for OpenBMC's kernel update mechanism
>> to work as the kernel image now exceeds the size of the original kernel
>> partition.
>
> Brad, Patrick: This change will mean new kernels can't boot on old
> flash layouts, and vice versa.
>
> All users will need to do a full-flash update to move to this version,
> and a full flash update to downgrade.
>
> Are we ok to proceed?
Ack, we just went through this with the last update and all hit
https://github.com/openbmc/openbmc/issues/1030. It was pretty
disruptive for all of us in the lab needing to pull the chips and
manually flash each. This is would be fine if we can just flash the
<system>.all.tar and all works ok, but that was not what we found in
https://github.com/openbmc/openbmc/issues/1030.
> Cheers,
>
> Joel
>
>>
>> Signed-off-by: Rick Altherr <raltherr at google.com>
>> ---
>> arch/arm/boot/dts/aspeed-bmc-opp-flash-layout.dtsi | 6 +-----
>> 1 file changed, 1 insertion(+), 5 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-flash-layout.dtsi b/arch/arm/boot/dts/aspeed-bmc-opp-flash-layout.dtsi
>> index 65095a40a203..4bcfd1bf8dc5 100644
>> --- a/arch/arm/boot/dts/aspeed-bmc-opp-flash-layout.dtsi
>> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-flash-layout.dtsi
>> @@ -12,13 +12,9 @@
>> label = "u-boot-env";
>> };
>> kernel at 80000 {
>> - reg = < 0x80000 0x280000 >;
>> + reg = < 0x80000 0x440000 >;
>> label = "kernel";
>> };
>> - initramfs at 300000 {
>> - reg = < 0x300000 0x1c0000 >;
>> - label = "initramfs";
>> - };
>> rofs at 0c0000 {
>> reg = < 0x4c0000 0x1740000 >;
>> label = "rofs";
>> --
>> 2.11.0.483.g087da7b7c-goog
>>
>> _______________________________________________
>> openbmc mailing list
>> openbmc at lists.ozlabs.org
>> https://lists.ozlabs.org/listinfo/openbmc
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc
More information about the openbmc
mailing list