Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AntheaJiang opened this issue Dec 6, 2023 · 6 comments
Open

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

AntheaJiang opened this issue Dec 6, 2023 · 6 comments

Comments

@AntheaJiang
Copy link

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

@AntheaJiang
Copy link
Author

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

@paulmenzel
Copy link

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.)

@sonoble
Copy link
Contributor

sonoble commented Dec 6, 2023 via email

@AntheaJiang
Copy link
Author

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: @.>

@AntheaJiang
Copy link
Author

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

@AntheaJiang
Copy link
Author

AntheaJiang commented Dec 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants