Fix issues with ethernet in u-boot on rpi 3b+#1430
Open
JakubSzczudlo wants to merge 2 commits intoagherzan:kirkstonefrom
Open
Fix issues with ethernet in u-boot on rpi 3b+#1430JakubSzczudlo wants to merge 2 commits intoagherzan:kirkstonefrom
JakubSzczudlo wants to merge 2 commits intoagherzan:kirkstonefrom
Conversation
agherzan
requested changes
Mar 21, 2025
recipes-bsp/u-boot/files/0001-Fix-problems-with-ethernet-on-raspberrypi-3b+.patch
Outdated
Show resolved
Hide resolved
1ca9b5f to
ed9b0cc
Compare
agherzan
requested changes
Aug 20, 2025
Owner
agherzan
left a comment
There was a problem hiding this comment.
Thanks for this. Could you squash the commits and check https://meta-raspberrypi.readthedocs.io/en/latest/contributing.html for general contribution guidelines? Do you foresee any impact on non-RPi3+ boards?
ed9b0cc to
c65c4a5
Compare
When initializing network devices on raspberry pi 3b+ the lan78xx_eth get seq 1. Because of that this network device doesn't get MAC address from BCM2835_MBOX and fail to bind device. To address this issue and don't make much changes in u-boot we can also add MAC address for device of sequence number=1. Signed-off-by: Jakub Szczudlo <jakubszczudlo40@gmail.com>
c65c4a5 to
782443a
Compare
Author
|
@agherzan commits squashed and commit message updated as in guidelines. I don't see any impact on other raspberries because each one have only one ethernet port. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem accounter when I wanted to use TFTP to send files from server to raspberry. I found some dead links like the ones below:
https://lore.kernel.org/all/CANAwSgRQMQwTO0GjFpk0a9LHGhcwC2_C-YvWao8FnuQavZibRw@mail.gmail.com/T/
https://lists.denx.de/pipermail/u-boot/2024-February/546677.html
After some debugging I find the solution. It's easy to understand, don't break things and doesn't modify uboot in big manner
- What I did
Fixes problems with init of ethernet device in uboot
- How I did it
Add default MAC value not only for sequence 0 but also for sequence 1 device.
Also added screenshots

