Skip to contentSkip to conversation

earlycon: earlycon_map: Couldn't map 0x0000000010010000

PATCH In review Andreas Schwab 3 participants 5 messages Dec 16, 2019 – Dec 17, 2019 RISC-V

lore
Share & tools
lore
#0 lore raw

earlycon appears to be broken in 5.5-rc.

[    0.000000] earlycon: earlycon_map: Couldn't map 0x0000000010010000
[    0.000000] earlycon: sifive0 at MMIO 0x0000000010010000 (options '')
[    0.000000] Malformed early option 'earlycon'

Andreas.

Signature · 3 lines
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
#1 lore raw
Quoted 5 lines · Andreas Schwab

earlycon appears to be broken in 5.5-rc.

[    0.000000] earlycon: earlycon_map: Couldn't map 0x0000000010010000
[    0.000000] earlycon: sifive0 at MMIO 0x0000000010010000 (options '')
[    0.000000] Malformed early option 'earlycon'

6bd33e1ece528f67646db33bf97406b747dafda0 is the first bad commit commit 6bd33e1ece528f67646db33bf97406b747dafda0

Author: Christoph Hellwig <[email protected]>
Date:   Mon Oct 28 13:10:41 2019 +0100

riscv: add nommu support

Andreas.

Signature · 3 lines
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
#2 lore raw

PATCH 1/1 riscv: Fix use of undefined config option CONFIG_CONFIG_MMU

In Kconfig files, config options are written without the CONFIG_ prefix.

Fixes 6bd33e1ece52 ("riscv: add nommu support")
---
 arch/riscv/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/Kconfig +1 -1
index b7fc77c0e860..298662e72572 100644
@@ -156,7 +156,7 @@ config GENERIC_HWEIGHT
 	def_bool y
 
 config FIX_EARLYCON_MEM
-	def_bool CONFIG_MMU
+	def_bool MMU
 
 config PGTABLE_LEVELS
 	int
Signature · 6 lines
2.24.1

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Reviewed-by on v1 1/1
#3 lore raw

Re: [PATCH] riscv: Fix use of undefined config option CONFIG_CONFIG_MMU

Quoted 25 lines · Andreas Schwab

In Kconfig files, config options are written without the CONFIG_ prefix.

Fixes 6bd33e1ece52 ("riscv: add nommu support")
---
 arch/riscv/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/Kconfig +1 -2
index b7fc77c0e860..298662e72572 100644
@@ -156,7 +156,7 @@ config GENERIC_HWEIGHT
        def_bool y
 
 config FIX_EARLYCON_MEM
-       def_bool CONFIG_MMU
+       def_bool MMU
 
 config PGTABLE_LEVELS
        int
--

2.24.1

Quoted 4 lines

--
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Thanks Andreas for cashing this down.

Regards,
Anup