Skip to content
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

rockpro64-uboot: update to 2025.01. #53925

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tsndqst
Copy link
Contributor

@tsndqst tsndqst commented Jan 11, 2025

Testing the changes

  • I tested the changes in this PR: YES

I tested the U-Boot install methods that I documented in the README.voidlinux file.

  • Writing U-Boot to eMMC using the /usr/lib/rockpro64-uboot/u-boot-rockchip.bin image and booting from eMMC.
  • Writing U-Boot to SPI using the /usr/lib/rockpro64-uboot/u-boot-rockchip-spi.bin image and booting from USB.

@tsndqst
Copy link
Contributor Author

tsndqst commented Jan 11, 2025

@Anachron I think you'll be interested in this PR. Sorry it took me so long to get back to you about booting from USB. I tried some things without luck and just this week found a method that works.

I updated u-boot to 2025.1 and found simpler ways to write u-boot to the board. I tested booting from USB (with no other storage attached) after using dd if=/usr/lib/rockpro64-uboot/u-boot-rockchip-spi.bin of=/dev/mtd0 to write u-boot to SPI.

@tsndqst tsndqst force-pushed the rockpro64-uboot-2025.01 branch from bc2ceb2 to 6885e11 Compare January 11, 2025 02:17
@Anachron
Copy link
Contributor

Hey @tsndqst thanks for the PR, I did flash a New uboot to PSI but still had no success.

I will get another miniPC soon, so I will maybe be able to dig into it once I migrated my stuff from the rockpro64 away.

@tsndqst
Copy link
Contributor Author

tsndqst commented Jan 11, 2025

Hey @tsndqst thanks for the PR, I did flash a New uboot to PSI but still had no success.

Sorry to hear that. Were you able to see any output on the serial console?

@Anachron
Copy link
Contributor

Anachron commented Jan 23, 2025

Hey, I am going to get back to this!

I have successfully moved all my services from my RockPro64 NAS to my new media center.

Currently updated my RockPro64 and also applied this PR, lets see how it goes ...

Edit: Okay, I finally am able to boot from USB 3.0, I think this can be merged (even though I am still having issues with my device, but that is not related to this PR).

Edit 2: Is it normaly that I cannot boot from the SD card itself when I flashed the SPI to it? It's not like I need it, but it would've been nice knowing it in advance because I currently cannot boot until I reinstalled Void on a ssd. :)

Edit3: I read somewhere else that this happens and since I am able to boot Armbian for RockPro64 I think it's good enough to merge this.

@tsndqst
Copy link
Contributor Author

tsndqst commented Feb 4, 2025

@Anachron For what it's worth I tested it again today and I was able to boot from SD card with nothing else plugged in. It did take a couple tries. The first time I forgot that I had changed the boot_targets variable in u-boot. Putting it back to the original list allowed it to boot from SD card. If you weren't able to boot Armbian I'd suggest looking at that but since it's just void you had problems with I'm not sure what's wrong.

@tsndqst tsndqst force-pushed the rockpro64-uboot-2025.01 branch from 6885e11 to af03728 Compare February 23, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants