Hi,

  We added function flash_unlock in the the
u-boot-1.1.4\board\davinci\flash.c file and called from flash_init().
  Which helps us to write NOR flash using cp.b .
  If we unlock from U-Boot then JFFS2 image can be written using cp.b
command. This helped us to load the Jffs2 file system so that we won't
get read only file system error.

Thanks and Regards,
Srinivas


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, February 27, 2008 5:12 PM
To: [email protected]
Subject: Davinci-linux-open-source Digest, Vol 26, Issue 87

Send Davinci-linux-open-source mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit

http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Davinci-linux-open-source digest..."


Today's Topics:

   1. RE: Erasing protected NOR sector in linux (Butler, Craig)
   2. RE: Encode with DM355 (Mohammad Arif)
   3. Re: Encode with DM355 (Pepe Sanchez)


----------------------------------------------------------------------

Message: 1
Date: Wed, 27 Feb 2008 09:26:53 -0000
From: "Butler, Craig" <[EMAIL PROTECTED]>
Subject: RE: Erasing protected NOR sector in linux
To: "Joyab Bhabharawala" <[EMAIL PROTECTED]>,
        <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

If you have NOR partitioning working you can unlock a partition with
(mtd3 is the partition in this case);
flash_unlock /dev/mtd3

Then erase with;
flash_eraseall /dev/mtd3

single sectors I am unsure of, we use jffs2 for our file system and that
handles single sectors...


--
Kind Regards

Craig Butler






--------------------------------------------------------

Tyco Safety Products/CEM Systems Ltd.
Registered in Northern Ireland: NI 25728.  Registered Office: Unit 4
Ravenhill Business Park, Ravenhill Road, Belfast, BT6 8AW..

Please note that any views or opinions presented in this email are
solely those of the author and do not necessarily represent those of the
company. This email and any attachments are confidential and intended
solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
sender immediately and delete any copies in your possession.

________________________________


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Joyab Bhabharawala
Sent: 27 February 2008 04:21
To: [email protected]
Subject: Erasing protected NOR sector in linux


Hi,

    Can anybody tell me how can I erase a NOR sector that is protected
(in linux)?
Is there any linux command available for the same??

Thanks in advance,
Joyab

--
eInfochips Business Disclaimer:

This message may contain confidential, proprietary or legally Privileged
information. In case you are not the original intended Recipient of the
message, you must not, directly or indirectly, use, Disclose,distribute,
print, or copy any part of this message and you are requested to delete
it and inform the sender. Any views expressed in this message are those
of the individual sender unless otherwise stated.Nothing contained in
this message shall be construed as an offer or acceptance of any offer
by eInfochips Limited and/or eInfochips Inc("eInfochips") unless sent
with that express intent and with due authority of eInfochips.EInfochips
has taken enough precautions to prevent the spread of viruses. However
the company accepts no liability for any damage caused by any virus
transmitted by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://linux.omap.com/pipermail/davinci-linux-open-source/attachments/20
080227/e631337d/attachment-0001.htm

------------------------------

Message: 2
Date: Wed, 27 Feb 2008 18:13:39 +0800
From: "Mohammad Arif" <[EMAIL PROTECTED]>
Subject: RE: Encode with DM355
To: "Pepe Sanchez" <[EMAIL PROTECTED]>,
        <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hello,



You should use "make" command in "demos" directory. But before that
please make sure that you have modified ~/dvsdk_1_30_00_23/Rules.mk file
to match your environment.



If the ~/dvsdk_1_30_00_23/Rules.mk file is correctly matching your
environment, the "make" command should be able to build demo apps
(encode and decode) for you by compiling various files.





Thanks,

Arif
Software Manager

Asia Pacific Tech Labs
AwoX Pte Ltd
Website : www.awox.com

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Pepe Sanchez
Sent: Wednesday, February 27, 2008 5:14 PM
To: [email protected]
Subject: Encode with DM355



Hello

I am trying to compile TI's examples with my DVEVM355.

I haven't any problem when I make

arm_v5t_le-gcc hello.c -o hello

and I can see

Buongiorno DaVinci!.


However, when I try change and compile the example from
'~/dvsdk_1_30_00_23/demos/encode', I obtain some mistakes

I key : arm_v5t_le-gcc main.c -o test

and the output is:

________________________________________________________________________
_____
main.c:26:27: video/dm355fb.h: No existe el fichero  directorio
main.c:29:21: xdc/std.h: No existe el fichero  directorio
main.c:30:32: ti/sdo/ce/trace/gt.h: No existe el fichero  directorio
main.c:31:33: ti/sdo/ce/CERuntime.h: No existe el fichero  directorio
main.c:32:45: ti/sdo/ce/utils/trace/TraceUtil.h: No existe el fichero
directorio
main.c:35:24: rendezvous.h: No existe el fichero  directorio
main.c:36:22: fifoutil.h: No existe el fichero  directorio
main.c:37:19: pause.h: No existe el fichero  directorio In file included
from main.c:39:
display.h:32: error: error de decodificacin antes de "Rendezvous_Handle"
display.h:32: aviso: no hay punto y coma al final del struct o union
display.h:33: aviso: la definicin de datos no tiene tipo o clase de
almacenamiento
display.h:34: error: error de decodificacin antes de "hRendezvousPrime"
display.h:34: aviso: la definicin de datos no tiene tipo o clase de
almacenamiento
display.h:35: error: error de decodificacin antes de "hPause"
display.h:35: aviso: la definicin de datos no tiene tipo o clase de
almacenamiento
display.h:36: error: error de decodificacin antes de "outFifo"
display.h:36: aviso: la definicin de datos no tiene tipo o clase de
almacenamiento
display.h:37: error: error de decodificacin antes de "inFifo"
display.h:37: aviso: la definicin de datos no tiene tipo o clase de
almacenamiento
display.h:38: aviso: la definicin de datos no tiene tipo o clase de
almacenamiento

How I can add files like  dm355fb.h, xdc/std.h ... to my proyect?

If i compile 'main.c' I'll obtain the binary file to load in the target?
or I may compile all files in the encode folder?

Thank you very much for your answer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://linux.omap.com/pipermail/davinci-linux-open-source/attachments/20
080227/a9b02372/attachment-0001.htm

------------------------------

Message: 3
Date: Wed, 27 Feb 2008 12:41:45 +0100
From: "Pepe Sanchez" <[EMAIL PROTECTED]>
Subject: Re: Encode with DM355
To: "Mohammad Arif" <[EMAIL PROTECTED]>
Cc: [email protected]
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

I have used "make" command in "demos" directory. The result is a folder
called 'dvsdk' into my environment.

Then, I have followed instructions from 'encode.txt'. When I type
'./loadmodules.sh' the output is:

                    insmod: error inserting 'cmemk.ko': -1 Invalid
module format
                    ./mapdmaq: 1: Syntax error: word unexpected
(expecting
")")
                    insmod: error inserting 'dm350mmap.ko': -1 Invalid
module format

I don't know what is the problem...

On the other hand, if I want to change the main.c file, How could I
compile the new project? Must I repeat the same steps? Make command?

Thanks



2008/2/27, Mohammad Arif <[EMAIL PROTECTED]>:
>
>  Hello,
>
>
>
> You should use "make" command in "demos" directory. But before that
> please make sure that you have modified ~/dvsdk_1_30_00_23/Rules.mk
> file to match your environment.
>
>
>
> If the ~/dvsdk_1_30_00_23/Rules.mk file is correctly matching your
> environment, the "make" command should be able to build demo apps
> (encode and decode) for you by compiling various files.
>
>
>
>
>
> Thanks,
>
> Arif
> Software Manager
>
> Asia Pacific Tech Labs
> AwoX Pte Ltd
> Website : www.awox.com
>   ------------------------------
>
> *From:* [EMAIL PROTECTED]
[mailto:
> [EMAIL PROTECTED] *On Behalf Of
> *Pepe Sanchez
> *Sent:* Wednesday, February 27, 2008 5:14 PM
> *To:* [email protected]
> *Subject:* Encode with DM355
>
>
>
> Hello
>
>
>
> I am trying to compile TI's examples with my DVEVM355.
>
>
>
> I haven't any problem when I make
>
>
>
> arm_v5t_le-gcc hello.c -o hello
>
>
>
> and I can see
>
>
>
> Buongiorno DaVinci!.
>
>
>
>
>
> However, when I try change and compile the example from
> '~/dvsdk_1_30_00_23/demos/encode', I obtain some mistakes
>
>
>
> I key : arm_v5t_le-gcc main.c -o test
>
>
>
> and the output is:
>
>
>
> ______________________________________________________________________
> _______
>
> main.c:26:27: video/dm355fb.h: No existe el fichero  directorio
>
> main.c:29:21: xdc/std.h: No existe el fichero  directorio
>
> main.c:30:32: ti/sdo/ce/trace/gt.h: No existe el fichero  directorio
>
> main.c:31:33: ti/sdo/ce/CERuntime.h: No existe el fichero  directorio
>
> main.c:32:45: ti/sdo/ce/utils/trace/TraceUtil.h: No existe el fichero

> directorio
>
> main.c:35:24: rendezvous.h: No existe el fichero  directorio
>
> main.c:36:22: fifoutil.h: No existe el fichero  directorio
>
> main.c:37:19: pause.h: No existe el fichero  directorio
>
> In file included from main.c:39:
>
> display.h:32: error: error de decodificacin antes de
"Rendezvous_Handle"
>
> display.h:32: aviso: no hay punto y coma al final del struct o union
>
> display.h:33: aviso: la definicin de datos no tiene tipo o clase de
> almacenamiento
>
> display.h:34: error: error de decodificacin antes de
"hRendezvousPrime"
>
> display.h:34: aviso: la definicin de datos no tiene tipo o clase de
> almacenamiento
>
> display.h:35: error: error de decodificacin antes de "hPause"
>
> display.h:35: aviso: la definicin de datos no tiene tipo o clase de
> almacenamiento
>
> display.h:36: error: error de decodificacin antes de "outFifo"
>
> display.h:36: aviso: la definicin de datos no tiene tipo o clase de
> almacenamiento
>
> display.h:37: error: error de decodificacin antes de "inFifo"
>
> display.h:37: aviso: la definicin de datos no tiene tipo o clase de
> almacenamiento
>
> display.h:38: aviso: la definicin de datos no tiene tipo o clase de
> almacenamiento
>
>
>
> How I can add files like  dm355fb.h, xdc/std.h ... to my proyect?
>
>
>
> If i compile 'main.c' I'll obtain the binary file to load in the
target? or I may compile all files in the encode folder?
>
>
>
> Thank you very much for your answer.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://linux.omap.com/pipermail/davinci-linux-open-source/attachments/20
080227/486c2013/attachment.htm

------------------------------

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


End of Davinci-linux-open-source Digest, Vol 26, Issue 87
*********************************************************

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to