[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] problems with flatfs



Hello together,

thanks for your hints, but I've got a closer specified problem to solve now:
when booting, uclinux should print the following lines on minicom:

....
microblaze auto-config flash probe(0x21000000,8388608,2): 800000 at 21000000
amd/fujitsu extended query table v1.0 at 0x0041
flash: ....
flash: ....
number of cfi chips: 1

what I get instead is:

....
microblaze auto-config flash probe(0x21000000,8388608,4): 800000 at 21000000
cfi: found no flash device at location zero
....

can you tell me where i can change the 'four' at the end of the brackets to a 'two' ?

thanks,

sigi



Vijai S Kumar wrote:

hi john
i think the partition is ok in this case.
but i think mr. sigi and others forgot to enabled the "direct char device access support" in kernel config.
so if u want to use flatfsd than u can try with this feature enabled.
i think it will be ok.

thanx

vijai kumar
Reliance Infocomm, Gurgaon
India
Inactive hide details for John Williams <jwilliams@xxxxxxxxxxxxxx>John Williams <jwilliams@xxxxxxxxxxxxxx>



	

                        * John Williams <jwilliams@xxxxxxxxxxxxxx> *
                        Sent by: owner-microblaze-uclinux@xxxxxxxxxxxxxx

                        02/28/2006 03:52 AM
                        Please respond to microblaze-uclinux

	

To: microblaze-uclinux@xxxxxxxxxxxxxx
cc: (bcc: Vijai S Kumar/Services/INFOCOMM/RIL)
Subject: Re: [microblaze-uclinux] problems with flatfs
Importance: Normal Sender's OU: Reliance



Hi Sigi,

flatfsd expects there to be a writeable flash partition on
/dev/flash/config.  All of the standard mb-uclinux MTD flash maps
(drivers/mtd/maps/mb_auto.c for example) create such a partition.

The message you are seeing "failed to write flatfs, no such device" says
that you don't have a flash partition in place.

If you don't want to use flatfsd, simply disable it in the user/vendor
-> misc applications menuconfig.

There's a great intro to flatfsd on ucdot.org, let me try to find
it...ah, there is is:

http://www.ucdot.org/article.pl?sid=04/01/18/2312200&mode=thread <http://www.ucdot.org/article.pl?sid=04/01/18/2312200&mode=thread>

This also links to an article by Greg Ungerer about flash usage in
uClinux generally - well worth a read.

Regards,

John





Sigmund Homolya wrote:

> Sigmund Homolya wrote:
>
>> Sigmund Homolya wrote:
>>
>>> hi everybody,
>>>
>>> when booting uclinux on a spartan 3smb rev2 board, i get an error
>>> concerning flatfs.
>>> after logging in netflash doesn't work, to overwrite the demaged OS.
>>> what can i do ?
>>>
>>> greetings, sigi
>>> ___________________________
>>> microblaze-uclinux mailing list
>>> microblaze-uclinux@xxxxxxxxxxxxxx
>>> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux <http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux>
>>> Mailing List Archive :
>>> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/ <http://www.itee.uq.edu.au/%7Elistarch/microblaze-uclinux/>
>>>
>>>
>> hi together,
>>
>> attached is the error message as jpg. (sorry windows)
>>
>> greetings, sigi
>> ___________________________
>> microblaze-uclinux mailing list
>> microblaze-uclinux@xxxxxxxxxxxxxx
>> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux <http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux>
>> Mailing List Archive :
>> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/ <http://www.itee.uq.edu.au/%7Elistarch/microblaze-uclinux/>
>>
>>
>
>
> ------------------------------------------------------------------------
>


--
Dr John Williams, Research Fellow,
Embedded Systems Group / Reconfigurable Computing
School of ITEE, The University of Queensland, Brisbane, Australia
(p) +61 7 33652185  (f) +61 7 33654999 (m) +61 403969243
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux <http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/ <http://www.itee.uq.edu.au/%7Elistarch/microblaze-uclinux/>


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/