bootrom: move to 0x10000 for more space (DTB on multicore is big)
This commit is contained in:
parent
34f8ce653a
commit
ac205ca10a
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
DRAM_BASE = 0x80000000;
|
DRAM_BASE = 0x80000000;
|
||||||
ROM_BASE = 0x1000;
|
ROM_BASE = 0x10000;
|
||||||
|
|
||||||
. = ROM_BASE;
|
. = ROM_BASE;
|
||||||
.text.start : { *(.text.start) }
|
.text.start : { *(.text.start) }
|
||||||
|
@ -305,8 +305,8 @@ trait PeripheryBootROM {
|
|||||||
this: HasTopLevelNetworks =>
|
this: HasTopLevelNetworks =>
|
||||||
val coreplex: CoreplexRISCVPlatform
|
val coreplex: CoreplexRISCVPlatform
|
||||||
|
|
||||||
private val bootrom_address = 0x1000
|
private val bootrom_address = 0x10000
|
||||||
private val bootrom_size = 0x1000
|
private val bootrom_size = 0x10000
|
||||||
private lazy val bootrom_contents = GenerateBootROM(coreplex.dtb)
|
private lazy val bootrom_contents = GenerateBootROM(coreplex.dtb)
|
||||||
val bootrom = LazyModule(new TLROM(bootrom_address, bootrom_size, bootrom_contents, true, peripheryBusConfig.beatBytes))
|
val bootrom = LazyModule(new TLROM(bootrom_address, bootrom_size, bootrom_contents, true, peripheryBusConfig.beatBytes))
|
||||||
bootrom.node := TLFragmenter(peripheryBusConfig.beatBytes, cacheBlockBytes)(peripheryBus.node)
|
bootrom.node := TLFragmenter(peripheryBusConfig.beatBytes, cacheBlockBytes)(peripheryBus.node)
|
||||||
|
@ -124,5 +124,5 @@ trait HardwiredResetVectorModule extends HasTopLevelNetworksModule {
|
|||||||
val outer: HardwiredResetVector
|
val outer: HardwiredResetVector
|
||||||
val io: HardwiredResetVectorBundle
|
val io: HardwiredResetVectorBundle
|
||||||
|
|
||||||
outer.coreplex.module.io.resetVector := UInt(0x1040) // boot ROM: hang
|
outer.coreplex.module.io.resetVector := UInt(0x10040) // boot ROM: hang
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user