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

addtional kernel image in root #262

Closed
lordfolken opened this issue Feb 8, 2022 · 5 comments
Closed

addtional kernel image in root #262

lordfolken opened this issue Feb 8, 2022 · 5 comments

Comments

@lordfolken
Copy link
Contributor

When umount /boot you will find a kernel image /boot/

lrwxrwxrwx    1 root     root            13 Feb  8 21:28 uImage -> uImage-5.10.2
-rw-r--r--    1 root     root       5121552 Feb  8 21:28 uImage-5.10.2

we can save another 4.9MB.

@MaxKellermann
Copy link
Collaborator

Stupid question - why does our image have a /boot partition? Right now, it appears to have no use, it only add redundancy and complexity.
@linuxianer99?

@mihu-ov
Copy link
Member

mihu-ov commented Feb 9, 2022

No technical answer, just some OV history: Linux on the CB2 started with non-mainline U-Boot and kernel provided by linux-sunxi.org. Even when U-Boot and kernel got mainlined we were still stuck on the old 3.4 kernel for MALI support until @kedder managed to make OV work with LIMA and mainline kernel. We probably have the /boot partition because that´s the way it was supposed to be at one stage of linux-sunxi development.

@MaxKellermann
Copy link
Collaborator

OK, so we can easily remove the boot partition if we want.
I was just wondering if we should remove the kernel from /boot (on the root partition), or just eliminate the boot partition. The former is extra work, and the latter would not only save the time to do that, but also allow easier kernel updates - right now, the kernel cannot be updated with opkg; without a boot partition, it can.

@linuxianer99
Copy link
Member

Stupid question - why does our image have a /boot partition? Right now, it appears to have no use, it only add redundancy and complexity. @linuxianer99?

Because the sdimg class in the sunxi-layer did this. There was no other reason.
I am fine, to reduce complexity.

@kedder
Copy link
Member

kedder commented Feb 9, 2022

I see no reason to keep /boot partition either.

iglesiasmarianod pushed a commit to iglesiasmarianod/meta-openvario that referenced this issue Apr 20, 2022
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

5 participants