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

Not booting from SD card #12

Open
aaronw2 opened this issue Jun 22, 2024 · 6 comments
Open

Not booting from SD card #12

aaronw2 opened this issue Jun 22, 2024 · 6 comments

Comments

@aaronw2
Copy link

aaronw2 commented Jun 22, 2024

I am attempting to upgrade U-Boot on my board but there is no output after it starts. I did change v2024.01 instead of the release candidate.

DDR 9fffbe1e78 cym 24/02/04-10:09:20,fwver: v1.16
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
Manufacturer ID:0x1
CH0 RX Vref:29.3%, TX Vref:23.8%,22.8%
CH1 RX Vref:27.9%, TX Vref:21.8%,21.8%
CH2 RX Vref:29.3%, TX Vref:22.8%,21.8%
CH3 RX Vref:29.7%, TX Vref:23.8%,21.8%
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out
U-Boot SPL board init
U-Boot SPL 2017.09-g1b1171b7c71-220418 #fa (Apr 18 2024 - 11:12:44)
Trying to boot from MMC2
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
Trying fit image at 0x4000 sector

Verified-boot: 0

Checking atf-1 0x00040000 ... sha256(bb1bbbc832...) + OK

Checking u-boot 0x00a00000 ... sha256(0903e8ca8a...) + OK

Checking fdt-1 0x00acd868 ... sha256(e7f2834e1d...) + OK

Checking atf-2 0x000f0000 ... sha256(30812190d0...) + OK

Checking atf-3 0xff100000 ... sha256(cb7bdbec2b...) + OK

Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 721.912/886.428 ms

Note that I am quite familiar with U-Boot since I am a developer who works on U-Boot and ATF for a different ARM SoC vendor.

My toolchain is also gcc-14, if that makes any difference.

@inindev
Copy link
Owner

inindev commented Jun 22, 2024

I have noticed problems even with gcc-13, so I now build with gcc-12. Give gcc-12 a try.

Do the known working images work for you?
https://github.com/inindev/uboot-rockchip/releases/tag/v2024.07-rc4

@aaronw2
Copy link
Author

aaronw2 commented Jun 22, 2024 via email

@inindev
Copy link
Owner

inindev commented Jun 22, 2024

I am unsure there is an issue with gcc-13 (the one I had trouble with), but I did see it sporadically hang on the boot prompt rather than default boot (I would need to select an option from the menu). I just assumed there was a new optimization flag or setting that u-boot has not accounted for at this point. Let me know if gcc-12 makes a difference for you.

@aaronw2
Copy link
Author

aaronw2 commented Jun 23, 2024 via email

@aaronw2
Copy link
Author

aaronw2 commented Jun 26, 2024 via email

@inindev
Copy link
Owner

inindev commented Jun 29, 2024

my output is a little different than yours:

on the 2301_lts
~~~~~~~~~~~~~~~
=> usb start
starting USB...
Bus usb@fc800000: USB EHCI 1.00
Bus usb@fc840000:

then I lose control of my usb serial console...


on the 2301
~~~~~~~~~~~
=> usb start
starting USB...
Bus usb@fc800000: USB EHCI 1.00
Bus usb@fc840000: USB OHCI 1.0
Bus usb@fc880000: USB EHCI 1.00
Bus usb@fc8c0000: USB OHCI 1.0
scanning bus usb@fc800000 for devices... 1 USB Device(s) found
scanning bus usb@fc840000 for devices... 1 USB Device(s) found
scanning bus usb@fc880000 for devices... 1 USB Device(s) found
scanning bus usb@fc8c0000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

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

No branches or pull requests

2 participants