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

odroidxu3-v2012.07: f7055b383cf349058b0a1e286905c27f9d67cd7f introduced regression: Only one CPU is inicialized #13

Open
ynezz opened this issue Dec 7, 2014 · 2 comments

Comments

@ynezz
Copy link

ynezz commented Dec 7, 2014

Hi,

I've compiled my custom u-boot today and noticed slowdown of the whole system as there's only one CPU correctly initialized. This lead me to revert of f7055b3 which fixes the issue and all 8 CPUs are correctly initialized now.

Thanks.

@ynezz
Copy link
Author

ynezz commented Dec 7, 2014

Situation before f7055b3 revert:

[    1.117572] [c0] CPU1: failed to boot: -38
[    2.127585] [c0] CPU2: failed to boot: -38
[    3.137603] [c0] CPU3: failed to boot: -38
[    4.147637] [c0] CPU4: failed to boot: -38
[    5.157640] [c0] CPU5: failed to boot: -38
[    6.167655] [c0] CPU6: failed to boot: -38
[    7.177673] [c0] CPU7: failed to boot: -38
[    7.177721] [c0] Brought up 1 CPUs
[    7.177737] [c0] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    7.177750] [c0] CPU: All CPU(s) started in SVC mode.

after the revert:

[    0.119797] [c1] CPU1: Booted secondary processor
[    0.119826] [c1] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101
[    0.129784] [c2] CPU2: Booted secondary processor
[    0.129808] [c2] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102
[    0.139781] [c3] CPU3: Booted secondary processor
[    0.139807] [c3] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103
[    0.148652] [c4] CPU4: Booted secondary processor
[    0.149535] [c4] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.158636] [c5] CPU5: Booted secondary processor
[    0.159518] [c5] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.168658] [c6] CPU6: Booted secondary processor
[    0.169540] [c6] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.178651] [c7] CPU7: Booted secondary processor
[    0.179533] [c7] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.179730] [c0] Brought up 8 CPUs
[    0.179791] [c0] SMP: Total of 8 processors activated (384.00 BogoMIPS).
[    0.179803] [c0] CPU: All CPU(s) started in SVC mode.

@suriyanr
Copy link
Contributor

What BL2 did you fuse with the problem. I think you used an older BL2 with your newer u-boot.bin. If you use the HYP enabled BL2 with the re compiled u-boot (without reverting any commit) you should be fine. Use the ones from https://github.com/hardkernel/u-boot/tree/odroidxu3-v2012.07/sd_fuse/hardkernel and please update comment.

elginsk8r pushed a commit to elginsk8r/u-boot that referenced this issue Feb 27, 2022
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