Skip to content

possibly incorrect regs generation #8

@stavinsky

Description

@stavinsky

vitis 2024.2

generated system-top.dts

/dts-v1/;
#include "pl.dtsi"
/ {
	device_id = "7a75t";
	#address-cells = <1>;
	#size-cells = <1>;
	slrcount = <1>;
	family = "microblaze";
	microblaze_0_local_memory_dlmb_bram_if_cntlr_memory: memory@0 {
		compatible = "xlnx,lmb-bram-if-cntlr-4.0";
		xlnx,ip-name = "lmb_bram_if_cntlr";
		device_type = "memory";
		memory_type = "memory";
		reg = <0x00000000 0x10000>;
	};
	mig_7series_0_memory: memory@80000000 {
		compatible = "xlnx,mig-7series-4.2";
		xlnx,ip-name = "mig_7series";
		device_type = "memory";
		memory_type = "memory";
		reg = <0x0 0x80000000 0x0 0x40000000>;
	};

this configuration fails in u-boot. but if I remove 64bit paddings in reg in mig memory - it works. Also address cells is 1, so something is definitely wrong.

this is how it behaves in u-boot

U-Boot 2024.01-00027-g492720c4196-dirty (Jul 19 2025 - 20:29:36 +0400)

DRAM:  Hardware exception at 0x7fe93fc0 address
Data bus error exception
Return address from exception 0x80159d04
### ERROR ### Please RESET the board ###

BTW: in petalinux everything generated correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions