linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* jffs2 partition on a TQM860L???
@ 2003-06-02 16:55 Steven Scholz
  2003-06-02 19:56 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Scholz @ 2003-06-02 16:55 UTC (permalink / raw)
  To: Linuxppc-Embedded


Hi there,

I want to use JFFS2 as root fs on a TQM860L with 8MB flash.
This flash is seperated into two flash banks each 4MB.

(How) can I define one big jffs2 partition (in
./drivers/mtd/maps/tqm8xxl.c) that contains sectors from both flash banks?

Thanks a million,

Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: jffs2 partition on a TQM860L???
  2003-06-02 16:55 jffs2 partition on a TQM860L??? Steven Scholz
@ 2003-06-02 19:56 ` Wolfgang Denk
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2003-06-02 19:56 UTC (permalink / raw)
  To: Steven Scholz; +Cc: Linuxppc-Embedded


In message <3EDB8199.8090805@imc-berlin.de> you wrote:
>
> I want to use JFFS2 as root fs on a TQM860L with 8MB flash.
> This flash is seperated into two flash banks each 4MB.
>
> (How) can I define one big jffs2 partition (in
> ./drivers/mtd/maps/tqm8xxl.c) that contains sectors from both flash banks?

Just use a more recent version  of  the  MTD  code,  for  example  as
contained  in our linuxppc_2_4_devel tree. It will automagically join
adjacent flash banks into one MTD device.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"An open mind has but one disadvantage: it collects dirt."
                                                    - a saying at RPI

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: jffs2 partition on a TQM860L???
       [not found] <20030604095429.EFD9AC5492@atlas.denx.de>
@ 2003-06-04 10:15 ` Steven Scholz
  0 siblings, 0 replies; 3+ messages in thread
From: Steven Scholz @ 2003-06-04 10:15 UTC (permalink / raw)
  To: Linuxppc-Embedded


Wolfgang Denk schrieb:
> In message <3EDDB269.1080609@imc-berlin.de> you wrote:
>
>>I do use your linuxppc_2_4_devel tree. But still I don't know how to
>>configure one big JFFS2 partition that spawns over two flash banks!
>
>
> Just type "make TQM860L_config ; make oldconfig".
>
>
>>Or maybe I don't understand the difference betwenn the two sturcts:
>>
>>/* partition definition for first flash bank
>>  * also ref. to "drivers\char\flash_config.c"
>>  */
>>static struct mtd_partition tqm8xxl_partitions[] = {
>>...
>>
>>/* partition definition for second flahs bank */
>>static struct mtd_partition tqm8xxl_fs_partitions[] = {
>
>
> You must be confusing source versions. In the linuxppc_2_4_devel tree
> there is just one declaration for tqm8xxl_partitions[].
>
> tqm8xxl_fs_partitions[] was only used in older versions of our tree.
>
> Best regards,
>
> Wolfgang Denk
>

Oh! I see. Apparently while updating to a newer MTD version this file
was overwritten with an older version!

Thanks again!

Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-04 10:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-02 16:55 jffs2 partition on a TQM860L??? Steven Scholz
2003-06-02 19:56 ` Wolfgang Denk
     [not found] <20030604095429.EFD9AC5492@atlas.denx.de>
2003-06-04 10:15 ` Steven Scholz

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).