-
Notifications
You must be signed in to change notification settings - Fork 32
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
uboot SPL updates #197
Merged
Merged
uboot SPL updates #197
Conversation
This file contains 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
b39a9e9
to
f9d2d08
Compare
f9d2d08
to
068fce5
Compare
a58bb7b
to
890fc3f
Compare
v2.5.1 dts * changed RTC from twi0 to twi2 (compared to v2.5.0) * processed the change in traces for power latches node 2 and 3 (compared to v2.5.0) v2.5.0 => * doubled the ubi partition * removed the usb-otg traces for nodes 2-4. Node 2, 3, and 4’s USB0 interface is connected directly to the USB hub which means the USB host/client mode switching does not make sense anymore.
This commit adds logic to read the EEPROM inside SPL. This is used to early initialize the correct hardware and load the correct hardware device tree. Secondly, moved from vanilla uboot repostory + patches to a turing-machines fork of u-boot (patches are applied on top). This is an attempt to have a more tight integration with git.
This enables us to re-use the same bootloader for both 2.4 and 2.5 boards. The significant difference between the two, as far as the bootloader is concerned, is the size difference of the flash.
Booting with FIT inamge turing-pi2-istall.its results in a magic error, when the kernel tries to read the initramfs. Revert back to legacy booting until issue is resolved
890fc3f
to
a57beac
Compare
added a uboot variable that can be used to write a given eeprom version in the EEPROM. This variable is to be used as a last resort to change the contents of the eeprom. first set the correct version inside the `eeprom_ver` variable before calling `run burn_eeprom`. Other content in the eeprom is untouched. Except the first 2 bytes that will be set to 0xFF. Crc gets recalculated and written as well.
enabling a second i2c bus causes initialization errors for the i2c driver in uboot. disabling external rtc declaration in uboot for now
a57beac
to
81458af
Compare
We dont have eth switch management yet in Linux. However move the reset out of the uboot environment so that we can cleanly patch it out later. Added a condition to assert to correct reset pin depending on the hw version.
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.
This commit adds logic to read the EEPROM inside SPL. This is used to
early initialize the correct hardware and load the correct hardware
device tree.
Secondly, moved from vanilla uboot repostory + patches to a
turing-machines fork of u-boot (patches are applied on top). This is an
attempt to have a more tight integration with git.