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.
2024-08-20 03:26 PM - edited 2024-08-20 03:26 PM
Hi! It was the "uImage" that I need to use if I'm using U-boot. Current uImage is about 8 Mb.
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.
2024-08-20 03:26 PM - edited 2024-08-20 03:26 PM
Hi! It was the "uImage" that I need to use if I'm using U-boot. Current uImage is about 8 Mb.
2024-08-20 03:30 PM - edited 2024-08-20 03:31 PM
Makes sense. probably stripped before being compressed. Run the 'file' utility on it and see what you get.