[oe] [PATCH] u-boot-2009.03: Fix sector table direction for AMIC (hipox machine only)

Schuknecht, Mario m.schuknecht at DResearch.de
Wed Feb 16 15:16:16 UTC 2011


Hello Paul,

> 
> Dear Mario,
> 
> 
> thank you for your patch.
> 
> Am Mittwoch, den 16.02.2011, 14:26 +0100 schrieb Mario Schuknecht:
> 
> Just curious. What were the symptoms of this problem?
The symptom is that the uBoot command "saveenv" dont work.

> 
> > Signed-off-by: Mario Schuknecht <m.schuknecht at dresearch.de>
> > ---
> >  .../u-boot-2009.03/hipox/11-cfi-amic-fixup.patch   |   11 
> +++++++++++
> >  recipes/u-boot/u-boot_2009.03.bb                   |    1 +
> >  2 files changed, 12 insertions(+), 0 deletions(-)
> >  create mode 100644 
> recipes/u-boot/u-boot-2009.03/hipox/11-cfi-amic-fixup.patch
> > 
> > diff --git 
> a/recipes/u-boot/u-boot-2009.03/hipox/11-cfi-amic-fixup.patch 
> b/recipes/u-boot/u-boot-2009.03/hipox/11-cfi-amic-fixup.patch
> > new file mode 100644
> > index 0000000..a7432a5
> > --- /dev/null
> > +++ b/recipes/u-boot/u-boot-2009.03/hipox/11-cfi-amic-fixup.patch
> > @@ -0,0 +1,11 @@
> > +diff -Nurd u-boot-2009.03.orig//drivers/mtd/cfi_flash.c 
> u-boot-2009.03/drivers/mtd/cfi_flash.c
> > +--- u-boot-2009.03.orig//drivers/mtd/cfi_flash.c	
> 2011-02-11 15:18:38.000000000 +0100
> > ++++ u-boot-2009.03/drivers/mtd/cfi_flash.c	2011-02-11 
> 15:19:06.000000000 +0100
> > +@@ -1883,6 +1883,7 @@
> > + 		/* Do manufacturer-specific fixups */
> > + 		switch (info->manufacturer_id) {
> > + 		case 0x0001:
> > ++		case 0x0037: // AMIC
> > + 		case 0x00da: // Winbond
> > + 			flash_fixup_amd(info, &qry);
> > + 			break;
> 
> Has this fix been applied upstream yet? What uBoot versions are
> affected?

Yes, the fix has been applied
<http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/94465>.
In my opinion all uBoot versions are affected. There are special fixes
for AMD flashes. And the AMIC flash is an AMD clone. 

Mario
> 
> [...]
> 
> 
> Thanks,
> 
> Paul
> 




More information about the Openembedded-devel mailing list