-
Notifications
You must be signed in to change notification settings - Fork 183
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
Blackbird fails to build pnor with BOOTKERNEL image too large #5686
Comments
That is a side effect of the padding logic that runs. There is a dd command that pads up to the space but if it is a single byte too big then it jumps to the next multiplier. You can check the intermediate object sizes to see how close you really are. As to the reasons for the size increase, the skiboot folks can probably help more with that.
In general that is probably fine. I don't think we're out of space in the layout. But it would be good to understand what is going on first. |
@dcrowell77 great thanks for the guidance
Could you please elaborate further on where the dd padding happens? I dig in the output and find out there are traces related to dd padding as in:
Is that the right place^? Btw, I also find out more interesting information about the
as you could see GCC 8 and 9 produces 17MiB zImage.epar whilst GCC 11 produces a 20MiB. I am going to try to compare the content of |
Yes, you found the place, specifically it is the "ibs=19660800" option. This is all part of the scripts under openpower-pnor. |
I got following error when trying to build the firmware with GCC 11.3.0 (buildroot 2023.02-op-build):
The size is doubled that of the allocated space. I was thinking of increasing the physical size of BOOTKERNEL in the
output/build/openpower-pnor-3e9fa97dd8ac5e92de1e71178d41529e6ef9d9f1/p9Layouts/defaultPnorLayout_64.xml
but feeling something is not quite right.So it's seems to me the XZ compression might have not worked as expected or some extra modules that might have occupied the space. The latter I could confirm not the case:
The first hypothesis might be plausible. I've double checked the blackbird config and confirm
BR2_LINUX_KERNEL_XZ=y
and the kernel flag has set up in accordingly:Any suggestion how to troubleshoot this issue? Many thanks
The text was updated successfully, but these errors were encountered: