Here is a fix for the issue where badblocks were not being handled correctly with the new SHR-U kernel. There was an uninitialized value in the nand chip description. There may be others.

I did git diff in openembedded/recipes, let me know if I need to do the patch in a different way.

Ben
diff --git a/recipes/linux/linux-2.6.37/openmoko.patch b/recipes/linux/linux-2.6.37/openmoko.patch
index e609755..4990ee1 100644
--- a/recipes/linux/linux-2.6.37/openmoko.patch
+++ b/recipes/linux/linux-2.6.37/openmoko.patch
@@ -25531,7 +25531,7 @@ index 0000000..46b613c
 +#endif /* _IEEE80211_NODE_H_ */
 diff --git a/drivers/ar6000/include/ini_dset.h b/drivers/ar6000/include/ini_dset.h
 new file mode 100644
-index 0000000..410f2b52
+index 0000000..410f2b5
 --- /dev/null
 +++ b/drivers/ar6000/include/ini_dset.h
 @@ -0,0 +1,40 @@
@@ -43353,10 +43353,18 @@ index 0000000..f47e88b
 +MODULE_AUTHOR("Andy Green <[email protected]>");
 +MODULE_ALIAS("platform:glamo-mci");
 diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
-index 33d832d..cb5d2c0 100644
+index 33d832d..a49329e 100644
 --- a/drivers/mtd/nand/s3c2410.c
 +++ b/drivers/mtd/nand/s3c2410.c
-@@ -813,7 +813,7 @@ static void s3c2410_nand_init_chip(struct s3c2410_nand_info *info,
+@@ -773,6 +773,7 @@ static void s3c2410_nand_init_chip(struct s3c2410_nand_info *info,
+ 	chip->priv	   = nmtd;
+ 	chip->options	   = set->options;
+ 	chip->controller   = &info->controller;
++        chip->badblockbits = 8;
+ 
+ 	switch (info->cpu_type) {
+ 	case TYPE_S3C2410:
+@@ -813,7 +814,7 @@ static void s3c2410_nand_init_chip(struct s3c2410_nand_info *info,
  	nmtd->mtd.owner    = THIS_MODULE;
  	nmtd->set	   = set;
  
@@ -51089,7 +51097,7 @@ index e97bdf1..0000000
 -MODULE_DESCRIPTION("ALSA SoC WM8753 Neo1973 GTA02");
 -MODULE_LICENSE("GPL");
 diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c
-index f4f2ee7..dc5893d4 100644
+index f4f2ee7..dc5893d 100644
 --- a/sound/soc/s3c24xx/neo1973_wm8753.c
 +++ b/sound/soc/s3c24xx/neo1973_wm8753.c
 @@ -1,15 +1,16 @@
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to