mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Holger Schurig <holgerschurig@gmail.com>
To: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: SFI NOR sizes totally off ?!?
Date: Mon, 23 Jun 2014 11:28:09 +0200	[thread overview]
Message-ID: <CAOpc7mF_bAvNVebmS7F2ow4fj6peFgjxyY=1F-NQyvfb88XqHg@mail.gmail.com> (raw)

Seems like "ls -l" is right, but "devinfo" is wrong:

barebox:/ ls -l /dev/m25p0
crw-------   67108864 /dev/m25p0
barebox:/ devinfo m25p0
Parameters:
  size: 5468012149590870304
  erasesize: 4096
  writesize: 1
  oobsize: 0
barebox:/ of_dump /soc/aips-bus@02000000/spba-bus@02000000/ecspi@02010000
ecspi@02010000 {
        #address-cells = <0x1>;
        #size-cells = <0x0>;
        compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
        reg = <0x2010000 0x4000>;
        interrupts = <0x0 0x21 0x4>;
        clocks = <0x2 0x72 0x2 0x72>;
        clock-names = "ipg", "per";
        dmas = <0x4 0x7 0x7 0x1 0x4 0x8 0x7 0x2>;
        dma-names = "rx", "tx";
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <0x5>;
        fsl,spi-num-chipselects = <0x3>;
        cs-gpios = <0x6 0x18 0x0 0x6 0x19 0x0 0x6 0x1a 0x0>;
        spiflash@0 {
                #address-cells = <0x1>;
                #size-cells = <0x1>;
                compatible = "n25q512ax3", "m25p80";
                spi-max-frequency = <0x989680>;
                reg = <0x0>;
        };
};

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2014-06-23  9:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-23  9:28 Holger Schurig [this message]
2014-06-23  9:59 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOpc7mF_bAvNVebmS7F2ow4fj6peFgjxyY=1F-NQyvfb88XqHg@mail.gmail.com' \
    --to=holgerschurig@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox