Skip to content

prebuit bitstreams: include dtb files into distribution #243

Description

@frantony

Hi @enjoy-digital !

I'm trying to use barebox for booting Linux.
I use prebuilt arty_2020_12_30.zip bitstream for Arty from #164.

I need dtb file for booting linux and barebox. There is neither dtb-file nor even csr.json file attached to the issue #164.

The issue #164 recommends dtb regeneration, but at the moment dtb regeneration for Arty does not work (e.g. 'switches_interrupt' KeyError, see #239).

I used quick-and-dirty hack for litex_json2dts.py to suppress the 'switches_interrupt' KeyError, the generated file linux-on-litex-vexriscv/build/arty/arty.dts contains

  mac0: mac@f0006800 {
        compatible = "litex,liteeth";
        reg = <0xf0006800 0x7c>,
              <0xf0007000 0x0a>,
              <0xb0000000 0x2000>;
        ...
  };

these liteetch base addresses are inapplicable for arty_2020_12_30.zip bitstream. More appropriate addresses are:

  mac0: mac@f0004800 {
          compatible = "litex,liteeth";
          reg = <0xf0004800 0x7c /* base */
                 0xf0004000 0x0a /* mdio_base */
                 0xb0000000 0x2000>; /* buf_base */
        ...
  };

It is not obvious how to regenerate correct dtb for the prebuilt bitstream.

Could you please regenerate prebuit bitstreams, linux stuff and include dtb files into distribution?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions