Why are the linux kernel so large?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-20 11:12 AM - edited ‎2024-08-20 11:13 AM
I compiled the linux kernel with STM32CubeIDE and notice that the linux kernel vmlinux is about 242 Mb.
Why so large?
Or do I looking at the wrong folder? I'm standing inside the build folder.
Solved! Go to Solution.
- Labels:
-
OpenSTLinux
-
Yocto
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-20 3:26 PM - edited ‎2024-08-20 3:26 PM
Hi! It was the "uImage" that I need to use if I'm using U-boot. Current uImage is about 8 Mb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-20 11:39 AM - edited ‎2024-08-20 11:40 AM
you probably want vmlinuz which is the compressed version. The size may be artificially large when compiling with kernel debug options on. The presence of debug symbols blows up the binary size.
- Please post an update with details once you've solved your issue. Your experience may help others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-20 3:26 PM - edited ‎2024-08-20 3:26 PM
Hi! It was the "uImage" that I need to use if I'm using U-boot. Current uImage is about 8 Mb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-20 3:30 PM - edited ‎2024-08-20 3:31 PM
Makes sense. probably stripped before being compressed. Run the 'file' utility on it and see what you get.
- Please post an update with details once you've solved your issue. Your experience may help others.
