* How to fix: partition (SPL) size alignment incorrect
@ 2020-06-12 2:49 Adam Ford
2020-06-12 7:13 ` Miquel Raynal
0 siblings, 1 reply; 2+ messages in thread
From: Adam Ford @ 2020-06-12 2:49 UTC (permalink / raw)
To: u-boot
I am doing some spot checks on the da850evm which boots from SPI. It
seems OK, however, when I run the mtdparts, I expect to see the
partition map of the SPI flash.
Unfortunately, I get the following error:
nor0: partition (SPL) size alignment incorrect
Currently, it's setup as follows:
CONFIG_MTDPARTS_DEFAULT="mtdparts=spi0.0:32k(SPL),480k(u-boot),64k(u-boot-env),7552k(kernel-spare),64k(MAC-Address)"
This used to work, but I was hoping someone might have an idea on what
I can do to address it. I haven't had a chance to bisect yet.
Thanks in advance.
adam
^ permalink raw reply [flat|nested] 2+ messages in thread
* How to fix: partition (SPL) size alignment incorrect
2020-06-12 2:49 How to fix: partition (SPL) size alignment incorrect Adam Ford
@ 2020-06-12 7:13 ` Miquel Raynal
0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2020-06-12 7:13 UTC (permalink / raw)
To: u-boot
Hi Adam,
Adam Ford <aford173@gmail.com> wrote on Thu, 11 Jun 2020 21:49:12 -0500:
> I am doing some spot checks on the da850evm which boots from SPI. It
> seems OK, however, when I run the mtdparts, I expect to see the
> partition map of the SPI flash.
>
> Unfortunately, I get the following error:
> nor0: partition (SPL) size alignment incorrect
>
> Currently, it's setup as follows:
> CONFIG_MTDPARTS_DEFAULT="mtdparts=spi0.0:32k(SPL),480k(u-boot),64k(u-boot-env),7552k(kernel-spare),64k(MAC-Address)"
It's not very clear to me what the error might be but did you consider
the fact that the block size could be 64k instead of 32k?
> This used to work, but I was hoping someone might have an idea on what
> I can do to address it. I haven't had a chance to bisect yet.
If you're still testing with the same board, the above proposal is
unlikely to fix your issue.
Also, it might be worth adding traces in cmd/mtdparts.c to see whether
it is the start (unlikely, would mean there is a serious issue here),
or the end of the partition which is the culprit.
Cheers,
Miqu?l
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-12 7:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-12 2:49 How to fix: partition (SPL) size alignment incorrect Adam Ford
2020-06-12 7:13 ` Miquel Raynal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.