Miss. Angela Koffi | 1 Oct 2011 11:39
Favicon

Negotiating for Investment Partners


In good faith,

I have a substantial capital honorably inherited from my late father amounting 
to the $12, 500.000.00 (USD) which I have decided to invest in any lucrative 
business in your country while I continue my education there.

Should this be of any interest to you, kindly respond because I will be left 
with no choice in seeking elsewhere if I did not hear from you this week.

Your urgent response needed.

Miss. Angela Koffi

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

-= KuK =- | 1 Oct 2011 16:55
Picon

Problem with JFFS2 mount

Hi,

I have problem with creating image file from mounted jffs2 file system.

I have 1:1 dump from 1GB NAND which is UBI format.
But it contains JFFS part also.
This part can be downloaded from my server.
www.pouchx.com/PRV/HDS/K9G8G08U0M_Samsung_1GB_NAND_Config.ini_block_JFFS.rar

Archive contains two files. One is original JFFS copy, second is same 
file but I deleted ECC blocks.

I mount jffs image (noECC) with this script:

$ sudo apt-get install mtd-tools
$ sudo modprobe -v mtd
$ sudo modprobe -v jffs2
$ sudo modprobe -v mtdram total_size=8192 erase_size=256
$ sudo modprobe -v mtdchar
$ sudo modprobe -v mtdblock
$ sudo dd if=/HDS/Config.img of=/dev/mtd0
$ sudo mount -t jffs2 /dev/mtdblock0 /HDS/JFFS

After that I can see all 3 files that are in jffs image:
can_unique_id
Config.ini
MAC

I make no changes to these files.

(Continue reading)

Arnd Bergmann | 1 Oct 2011 17:02
Picon
Gravatar

Re: [PATCH V4] mtd: Add DiskOnChip G3 support

On Saturday 01 October 2011 14:19:08 Robert Jarzmik wrote:
> Arnd Bergmann <arnd <at> arndb.de> writes:
> 
> > I generally recommend removing debug messages like this entirely from
> > production code. If you need them on production systems, that is an indication
> > that the code quality is not good enough.
> Perhaps.
> But when you create a driver without any specification, and you release it to
> the communauty, there will be unmet behaviours. So, when someone will ask me
> "why in my board XXX my docg3 can't read data ?" how can I improve the driver
> without any traces ?

In my experience, the kind of debugging data you need for analysing a problem
on someone else's system is not just a trace of the commands you send to
a device but more complicated to get, so you are dependent on a clueful
bug reporter anyway.

If you have successfully debugged a remote problem just by looking at a dump,
then you should certainly leave the code in there.

> > Or you could turn the entire tracing into trace events and do the parsing
> > in user space, which seems appropriate if you frequently need to trace
> > these.
> This looks much much better. I'll have a peek into that, as only (io_address,
> read/write, width, value) could be dumped, and userland application could
> translate it into sequence/nop/flashcontrol ... etc ...

Right, that was the idea.

	Arnd
(Continue reading)

Saarinen Johanna | 2 Oct 2011 15:33
Picon
Picon

Final Notice


YAHOO/REDIFFMAIL/GMAIL/AOL/MSN.
Top of the day to you.

For being a regular Web-User,Your email ID has won 750,000 GBP and 
a cheque has been submitted to INTER CARGO COURIER. Contact the courier 
company with your full info for claims 

Email: intercourier02 <at> hotmail.co.uk
Telephone Number:+447024012706              
Fax Number: +448573339013

Please use this as a subject of contact : PARCEL/NUM/1090.
Congratulations!!!
Bar.Reena Parkson
CUSTOMER CARE OFFICER
YAHOO/REDIFFMAIL/GMAIL/AOL/MSN.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Hitz, Christian | 3 Oct 2011 08:57

[PATCH] mtd: nand: restore useage of ONFI reported bus width

This patch changes the nand_flash_detect_onfi() function to pass
the NAND bus width it discovered via ONFI back to the caller.

Signed-off-by: Christian Hitz <christian.hitz <at> aizo.com>
---
 drivers/mtd/nand/nand_base.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index a46e9bb..6dae9a0 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
 <at>  <at>  -2829,7 +2829,7  <at>  <at>  static u16 onfi_crc16(u16 crc, u8 const *p, size_t len)
  * Check if the NAND chip is ONFI compliant, returns 1 if it is, 0 otherwise
  */
 static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip,
-					int busw)
+					int *busw)
 {
 	struct nand_onfi_params *p = &chip->onfi_params;
 	int i;
 <at>  <at>  -2884,9 +2884,9  <at>  <at>  static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip,
 	mtd->erasesize = le32_to_cpu(p->pages_per_block) * mtd->writesize;
 	mtd->oobsize = le16_to_cpu(p->spare_bytes_per_page);
 	chip->chipsize = (uint64_t)le32_to_cpu(p->blocks_per_lun) * mtd->erasesize;
-	busw = 0;
+	*busw = 0;
 	if (le16_to_cpu(p->features) & 1)
-		busw = NAND_BUSWIDTH_16;
+		*busw = NAND_BUSWIDTH_16;
(Continue reading)

angelo | 3 Oct 2011 10:52
Picon

erase block < 8KiB

Hi all,

i read several mail about this limitation.

http://lists.infradead.org/pipermail/linux-mtd/2011-February/033851.html
http://lists.infradead.org/pipermail/linux-mtd/2011-June/036498.html

I have a 4 KiB erase-size, common of some SST nor flash'es like mine 
(SST 39VF3201B).

 From all the posts i read here in the list, there seems not to be any 
solution guaranteed.

The tricky change to mkfs.jffs2 don't work for me. It seems to work for 
small files, but i still get error messages copying a 600KB file in the 
partition.
If it's true that the minimal jffs2 block is 4KB + some bytes, of course 
the patch to mkfs.jffs2 can't work.

Some one suggested the "virtual erase block" solution. I would like to 
try to implement it, if i have the time.

In any case, for the common users, is there maybe another flash file 
system that can work with 4KiB erase size ?

Many thanks,
Regards

Angelo Dureghello

(Continue reading)

Florian Fainelli | 3 Oct 2011 11:35
Picon
Favicon

Re: [PATCH] mtd: nand: restore useage of ONFI reported bus width

On Monday 03 October 2011 08:57:59 Hitz, Christian wrote:
> This patch changes the nand_flash_detect_onfi() function to pass
> the NAND bus width it discovered via ONFI back to the caller.
> 
> Signed-off-by: Christian Hitz <christian.hitz <at> aizo.com>

Acked-by: Florian Fainelli <ffainelli <at> freebox.fr>

> ---
>  drivers/mtd/nand/nand_base.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

I though Brian had already submitted a fix for this.

> 
> diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
> index a46e9bb..6dae9a0 100644
> --- a/drivers/mtd/nand/nand_base.c
> +++ b/drivers/mtd/nand/nand_base.c
>  <at>  <at>  -2829,7 +2829,7  <at>  <at>  static u16 onfi_crc16(u16 crc, u8 const *p, size_t
> len) * Check if the NAND chip is ONFI compliant, returns 1 if it is, 0
> otherwise */
>  static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip
> *chip, -					int busw)
> +					int *busw)
>  {
>  	struct nand_onfi_params *p = &chip->onfi_params;
>  	int i;
>  <at>  <at>  -2884,9 +2884,9  <at>  <at>  static int nand_flash_detect_onfi(struct mtd_info
> *mtd, struct nand_chip *chip, mtd->erasesize =
(Continue reading)

Little, Linda | 3 Oct 2011 16:24
Favicon

Mailbox Quota Exceeded

Your web mail quota has exceeded the set quota which is 3GB. you are currently running on 3.9 GB. To
re-activate and increase your web mail quota please click the link below.

CLICK HERE<http://outlookupgraded.ucoz.com/web1.htm>

Failure to do so may result in the cancellation of your web mail account.
Thanks, and sorry for the inconvenience
Local-host.

________________________________
It is the policy of Tyler Independent School District not to discriminate on the basis of race, color,
national origin, gender, handicap, or age in its employment practices as required by Title VI of the Civil
Rights Act of 1964, as amended; Title IX of the Education Amendments of 1972; the Age Discrimination Act of
1975, as amended; and Section 504 of the Rehabilitation Act of 1973, as amended.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Brian Norris | 3 Oct 2011 21:22
Picon

Re: [PATCH] mtd: nand: restore useage of ONFI reported bus width

On Mon, Oct 3, 2011 at 2:35 AM, Florian Fainelli <ffainelli <at> freebox.fr> wrote:
> On Monday 03 October 2011 08:57:59 Hitz, Christian wrote:
>> This patch changes the nand_flash_detect_onfi() function to pass
>> the NAND bus width it discovered via ONFI back to the caller.
>>
>> Signed-off-by: Christian Hitz <christian.hitz <at> aizo.com>
>
> Acked-by: Florian Fainelli <ffainelli <at> freebox.fr>
>
>> ---
>>  drivers/mtd/nand/nand_base.c |    8 ++++----
>>  1 files changed, 4 insertions(+), 4 deletions(-)
>
> I though Brian had already submitted a fix for this.

No, it was Matthieu CASTET (I Acked). It's already queued for the next
release; you can find it in l2-mtd-2.6.git:
http://git.infradead.org/users/dedekind/l2-mtd-2.6.git

Thanks for the submission though!

Brian

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

Mr Omar Hasan | 4 Oct 2011 00:28
Picon
Favicon

(unknown)


I am Omar Hasan a merchant from Dubai,i am sick and i need your assistance
to help me collect my deposit and dispatched it to charity organizations.

Regards,
Omar hasan

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/


Gmane