Skip to content

Conversation

mcd500
Copy link

@mcd500 mcd500 commented May 31, 2021

The jh7100 SoC have e24(rv32) in hart0 and u73(rv64) in
hart1 and hart2. Prevent opensbi to choose hart0 for the
booting core for the os since e24 is not compatible with u73.

Signed-off-by: Akira Tsukamoto [email protected]

The jh7100 SoC have e24(rv32) in hart0 and u73(rv64) in
hart1 and hart2. Prevent opensbi to choose hart0 for the
booting core for the os since e24 is not compatible with u73.

Signed-off-by: Akira Tsukamoto <[email protected]>
@mcd500 mcd500 force-pushed the Fedora-fix-boot-hang branch from e0bbc28 to f2a339b Compare May 31, 2021 05:10
@mcd500
Copy link
Author

mcd500 commented May 31, 2021

@davidlt Please do not merge this PR yet, I seem to drop some of the changes before I push it to my branch

@mcd500 mcd500 closed this May 31, 2021
@mcd500 mcd500 changed the title jh7100: fix hand during os boot by not to choose hart0 jh7100: fix hang during os boot by not to choose hart0 May 31, 2021
@mcd500
Copy link
Author

mcd500 commented May 31, 2021

It seems to be booting ok, so I will reopen the PR.

OpenSBI v0.5-408-gb846c80
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : StarFive VIC7100
Platform Features         : timer,mfdeleg
Platform HART Count       : 2
Firmware Base             : 0x80000000
Firmware Size             : 108 KB
Runtime SBI Version       : 0.3

Domain0 Name              : root
Domain0 Boot HART         : 1
Domain0 HARTs             : 1*,2*
Domain0 Region00          : 0x0000000080000000-0x000000008001ffff ()
Domain0 Region01          : 0x0000000000000000-0x0000007fffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080200000
Domain0 Next Arg1         : 0x0000000088000000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 1
Boot HART Domain          : root
Boot HART ISA             : rv64imafdcsux
Boot HART Features        : scounteren,mcounteren
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 36
Boot HART MHPM Count      : 0
Boot HART MHPM Count      : 0
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109


U-Boot 2021.04-13662-ga18449847e (May 26 2021 - 20:54:21 +0900)

CPU:   rv64imafdc
DRAM:  8 GiB
MMC:   sdio0@10000000: 0, sdio1@10010000: 1
Net:   dwmac.10020000
Autoboot in 2 seconds
MMC CD is 0x0, force to True.
MMC CD is 0x0, force to True.
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1964 bytes read in 8 ms (239.3 KiB/s)
Fedora-riscv64-vic7100-xfce-dev-Rawhide-20210516233526.n.0 Boot Options.
1:      debug
2:      Custom-kernel aligh
3:      Custom-kernel sd-aligh
4:      Custom-kernel sd
5:      Fedora-riscv64-vic7100-xfce-dev-Rawhide-20210516233526.n.0 (5.10.6-210.0.riscv6)

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.

1 participant