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

rstmgr missing from dts #6

Open
olafmandel opened this issue Sep 29, 2016 · 1 comment
Open

rstmgr missing from dts #6

olafmandel opened this issue Sep 29, 2016 · 1 comment

Comments

@olafmandel
Copy link

The file arch/arm/boot/socfpga.dtsi from the kernel sources used by the linux-altera recipe specifies a rstmgr called rst and uses it in the resets lines of e.g. gmac1 (the ethernet MAC). This becomes the default DTB as described in the atlas_sd_card_image_creation.s script and the Linux kernel initializes Ethernet fine with that.

But when I try to use the ATLAS_SOC_GHRD/soc_system.dts to boot the machine, both the rst block and all resets lines are missing and the kernel fails to initialize the hardware with messages like these:

altera_hps2fpga_bridge sopc@0:fpgabridge@0: Could not get hps2fpga reset control!
altera_hps2fpga_bridge: probe of sopc@0:fpgabridge@0 failed with error -22
altera_hps2fpga_bridge sopc@0:fpgabridge@1: Could not get lwhps2fpga reset control!
altera_hps2fpga_bridge: probe of sopc@0:fpgabridge@1 failed with error -22
altera_hps2fpga_bridge sopc@0:fpgabridge@2: Could not get fpga2hps reset control!
altera_hps2fpga_bridge: probe of sopc@0:fpgabridge@2 failed with error -22
stmmaceth ff702000.ethernet: snps,phy-addr property is deprecated
stmmaceth ff702000.ethernet: Could not get reset control!
stmmaceth ff702000.ethernet: No sysmgr-syscon node found
stmmaceth ff702000.ethernet: Unable to parse OF data

Any idea how I can convince the sopc2dts tool to create a valid DTS and DTB?

@dwesterg
Copy link
Owner

i gave up on sopc2dts generating the entire dts and instead rip out the fpga portion and use the kernel dts source as a starting point. When i release the newer atlas ghrd it uses dts overlays for the fpga and the original kernel dts source.

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