* Re: NOR flash partitions gone
2008-02-15 19:11 NOR flash partitions gone Sean MacLennan
@ 2008-02-15 18:14 ` Scott Wood
2008-02-15 18:17 ` Anton Vorontsov
1 sibling, 0 replies; 4+ messages in thread
From: Scott Wood @ 2008-02-15 18:14 UTC (permalink / raw)
To: Sean MacLennan; +Cc: 'linuxppc-dev'
Sean MacLennan wrote:
> I did a git pull of Josh's for-2.6.25 tree. Now the NOR partitions are
> no longer setup.
>
> nor_flash@0,0 {
> compatible = "amd,s29gl032a", "cfi-flash";
> bank-width = <2>;
> reg = <0 0 400000>;
> #address-cells = <1>;
> #size-cells = <1>;
> partition@300000 {
> label = "fpga";
> reg = <300000 40000>;
> };
> partition@340000 {
> label = "env";
> reg = <340000 40000>;
> };
> partition@380000 {
> label = "u-boot";
> reg = <380000 80000>;
> };
> };
>
>
>
> It still detects the chip, it just doesn't configure the partitions. Any
> ideas?
Try turning off command line partition support -- there's a bug in it
that was exposed by changes to the OF physmap code (in particular, it
returns -EINVAL rather than zero when no command line partitions are
present).
-Scott
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NOR flash partitions gone
2008-02-15 19:11 NOR flash partitions gone Sean MacLennan
2008-02-15 18:14 ` Scott Wood
@ 2008-02-15 18:17 ` Anton Vorontsov
2008-02-15 19:39 ` Sean MacLennan
1 sibling, 1 reply; 4+ messages in thread
From: Anton Vorontsov @ 2008-02-15 18:17 UTC (permalink / raw)
To: Sean MacLennan; +Cc: 'linuxppc-dev'
On Fri, Feb 15, 2008 at 02:11:06PM -0500, Sean MacLennan wrote:
> I did a git pull of Josh's for-2.6.25 tree. Now the NOR partitions are
> no longer setup.
>
> nor_flash@0,0 {
> compatible = "amd,s29gl032a", "cfi-flash";
> bank-width = <2>;
> reg = <0 0 400000>;
> #address-cells = <1>;
> #size-cells = <1>;
> partition@300000 {
> label = "fpga";
> reg = <300000 40000>;
> };
> partition@340000 {
> label = "env";
> reg = <340000 40000>;
> };
> partition@380000 {
> label = "u-boot";
> reg = <380000 80000>;
> };
> };
>
>
>
> It still detects the chip, it just doesn't configure the partitions. Any
> ideas?
Probably CONFIG_MTD_OF_PARTS is not set?
Good luck,
--
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.net/bd2
^ permalink raw reply [flat|nested] 4+ messages in thread
* NOR flash partitions gone
@ 2008-02-15 19:11 Sean MacLennan
2008-02-15 18:14 ` Scott Wood
2008-02-15 18:17 ` Anton Vorontsov
0 siblings, 2 replies; 4+ messages in thread
From: Sean MacLennan @ 2008-02-15 19:11 UTC (permalink / raw)
To: 'linuxppc-dev'
I did a git pull of Josh's for-2.6.25 tree. Now the NOR partitions are
no longer setup.
nor_flash@0,0 {
compatible = "amd,s29gl032a", "cfi-flash";
bank-width = <2>;
reg = <0 0 400000>;
#address-cells = <1>;
#size-cells = <1>;
partition@300000 {
label = "fpga";
reg = <300000 40000>;
};
partition@340000 {
label = "env";
reg = <340000 40000>;
};
partition@380000 {
label = "u-boot";
reg = <380000 80000>;
};
};
It still detects the chip, it just doesn't configure the partitions. Any
ideas?
Cheers,
Sean
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NOR flash partitions gone
2008-02-15 18:17 ` Anton Vorontsov
@ 2008-02-15 19:39 ` Sean MacLennan
0 siblings, 0 replies; 4+ messages in thread
From: Sean MacLennan @ 2008-02-15 19:39 UTC (permalink / raw)
To: avorontsov; +Cc: 'linuxppc-dev'
Anton Vorontsov wrote:
> Probably CONFIG_MTD_OF_PARTS is not set?
>
> Good luck,
>
That was it! Thanks!
Cheers,
Sean
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-02-15 18:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-15 19:11 NOR flash partitions gone Sean MacLennan
2008-02-15 18:14 ` Scott Wood
2008-02-15 18:17 ` Anton Vorontsov
2008-02-15 19:39 ` Sean MacLennan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).