Talk:Installing to NAND

From linux-sunxi.org
Jump to: navigation, search

Need complement or at least warning Popolon (talk) 07:54, 13 June 2014 (UTC) :

  • I followed instructions on a Cubieboard2 (A20), this destroyed my NAND partition table, I was unable to restore it by dd back the backup
  • Need working instructions to restore the backuped table.
  • Notice : the problem could be due to NAND driver or usage of sudo instead of root account ??? Finally managed to use it, with the same instruction than yesterday (copy/paste of the history) typing command already sudoed in root bash, instead of sudo command. Need more tests.

libv> Nope, you failed to catch something crucial in the usage of nand-part.

The bug seems to be related to image I used, I reflashed the image and had again the same problem. To resolve it I needed fist to write the table partition from another imagePopolon (talk) 20:28, 29 June 2014 (UTC)
The problem seems to be related to Debieez image I used, (debian-nand.img file from february 15, 2014). This system image is very nice and really stable, but the size of the partitions are strangely smaller than the whole NAND, the boot partition start far behind the 2MB. When nand-part is used on this image it only destroy the table partition. The only solution was to restore using dd the https://sites.google.com/site/patandlesliewood/mk802/hb-nand.mbr.gz mbr image. and then I was able to use nand-part as explained.Popolon (talk) 23:12, 5 July 2014 (UTC)

libv> did you notice that bit in the nand documentation where there is a different partition table type for A10 and A20? Could your image be for A10?

Strangely, The Debieez image I used was for A20 (http://dl.cubieboard.org/software/a20-cubieboard/debian/debieez-v1.01/), and I used it on a Cubieboard2 (A20). I didn't put the parameter (-f a20, if I remember it complain about this and didn't work). After nand-part destroyed the partition (without -f arg as said), I then installed by dd this hb-nand.mbr, (that is, yes, for A10, I didn't noticed this at download time), but I was then able to use nand-part. I was able to write back the whole nand table using previous informations, mount and read/write files from the previous partition and change the second partition size to use all the end of the NAND flash... This is a little weird so. Perhaps Debieez author made some errors about that, but overwritting A10 partition image allowed me to work with nand-part, that was not the case with the A20 (that boot) Debieez image. I suppose something is really broken on Debieez image and nand-part is not able to manage this.Popolon (talk) 23:48, 6 July 2014 (UTC)

libv> This is turning into an email thread, start over by detailedly describing your problem to the linux-sunxi mailing list.

Personal tools
Namespaces

Variants
Actions
Navigation
Tools