opencomputeproject/OpenNetworkLinux

[ONL Arm64] ONL-BOOT partition size cannot be customized

AntheaJiang opened this issue · 6 comments

Hi:
I'm working on ONL Arm64,and I found "ONL-BOOT" partition cannot be customized, but any three partition size can be customized seccessfully. Has anyone ever encountered such a problem:
ONL-BOOT partition size is always 16GB no matter what size I set in package/platform/xx/arm64/xx/platform-config/r0/src/lib/xxxx-r0.yml
image
Here is the code configuration:
image

I tried to set the "ONL-BOOT" size to 64MiB,it doesn't work,and the log is just like below:
image

Also I tried to change "ONL-BOOT" partition format to "ext4" just like other three partition, still didn't work.:
image

Off-topic:

I'm working on ONL Arm64

Please keep in mind, that Open Network Linux is currently unmaintained, and it is not recommended to use it due to outdated software. (It of course depends on your threat model, how exposed the device is.)

Thanks for your support.
And I didn't change any code in this file:
image

Hello, I am the maintainer for ONL. What do you have configured here:



On Wed, Dec 6, 2023, 1:42 AM AntheaJiang @.> wrote: Also I tried to change "ONL-BOOT" partition format to "ext4" just like other three partition, still didn't work.: image.png (view on web) https://github.com/opencomputeproject/OpenNetworkLinux/assets/87740133/395afea6-5350-4da0-a1a4-ae3fc48a2a0b — Reply to this email directly, view it on GitHub <#967 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP5WH4ECPB3AF4T5JPLW5LYIA4ZFAVCNFSM6AAAAABAJCGJK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBSGUZDONBWGI . You are receiving this because you are subscribed to this thread.Message ID: @.>

It seems the size of partition "ON-BOOT" has some dependency on device.
If install on /dev/sda.ONL-BOOT's size can keep the same with the configuration in yaml
but if install on /dev/emmc.ONL-BOOT's size will be 16GiB always No matter what value is set in yaml

Here is the comparte result.Parted Tool give different partition for ONL-BOOT with the same size configuration.
I couldn't find the root cause.and have to give up.Just keep 16GiB for ONL-BOOT partition on /dev/mmcblk0p1.
image