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
raspberrypi4-64: u-boot.bin is too large #3812
Comments
The change below is designed to resolve this issue. |
Hi. Jebr224, After I had this issue, I tried older releases and saw what happened to understand a change in which release could cause this. I picked up 2.8.0 release first and made it. I also made sure the 2.8.0 image actually was booted on my Raspberrypi4 platform. I pasted some of logs below just for Raspberrypi users reference. Step#1: Git clone 2.8.0 to my local machine.
Step#2: Set TEMPLATECONF for Raspberrypi.
Step#3: Set my environment by an openbmc script.
Step#4: Configure local.conf for my environment.
Step#5: Configure FLASH_SIZE for my environment.
Step#6: Start bitbake
Now, I will try your suggestion on my machine and update the result here. |
This issue has been automatically marked as stale because no activity has occurred in the last 6 months. It will be closed if no activity occurs in the next 30 days. If this issue should not be closed please add a comment. Thank you for your understanding and contributions. |
Hi Student2C0, i want to cpmpile openbmc for my raspberry 4B but i get lots of error , could i get your version about your environment? like python version ,etc. thank you |
Hi caohj1996, #1: HW environment #2: Open BMC Release #3: Python pkg
#4: Solution for u-boot.bin is too large
Partition sample : |
Hi, thanks for your help ,i have solved it,i will show you my solution link next line as a exchanging my idea to you |
Matt Spinler (12): PEL: Fixed serializing of elog properties PEL: Remove unnecessary call to restore resolution PEL: Use lg2 in PLMD related files PEL: Handle failing to start a PLDM cmd better PEL: Use lg2 in DataInterface files PEL: Use lg2 in Manager class PEL: Use lg2 in Registry class PEL: Use lg2 in user_data_json.cpp PEL: Use lg2 in PEL class PEL: Use lg2 in Repository class PEL: Use lg2 in SRC class PEL: Use lg2 in peltool.cpp Change-Id: Id6d03d61c1d3c1fb03482e002422f702f00ef1bf
DEBUG: obmc-phosphor-image-1.0-r0 do_generate_static: Compare needed=585520 available=524288 margin=-61232
Raspberrypi use exclusively sd cards (SDXC), so there I would think it is easy to give the u-boot partition the 61 KiB it needs, by moving the kernel offset up. I don't know how many other partitions would need to be adjusted.
Alternatively we could decrease the size of uboot. I don't know how managle an effor that would be.
Context:
https://stackoverflow.com/questions/69008701/image-is-too-large-keeps-on-happening-to-openbmc-image-for-raspberrypi-platfor/69034398#69034398
The text was updated successfully, but these errors were encountered: