Re: [QtMoko] Update v31 to v35

2011-04-15 Thread GRiera
Thank you, Meurisse. I'm going to try. Greetings.

On Thu, 14 Apr 2011 18:53:09 +0200
Vincent Meurisse openmoko-commun...@meurisse.org wrote:

 Hello,
 
  I am trying to upgrade 31 to 35 following the instructions:
  http://qtmoko.org/wiki/Update#Updates
  but does nothing.
 
 You first need to install the packages:
 edit the file /etc/apt/sources.list and add the line
 
 deb http://qtmoko.meurisse.org /
 
 then run:
 #apt-get update
 #apt-get install qtmoko
 
 Remember: do not try to update to v35 if you installed QtMoko on NAND.
 
 Regards
 -- 
 Vincent Meurisse
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GSM Firmware Flashed, now UBIFS problem and Kernel Panic

2011-04-15 Thread giacomo 'giotti' mariani

Hello,

If there is a better solution that preserves the FS,
  I would be happy to learn about it.
  

  I wonder if it would be possible to boot into a distro on the sd card
  and mount the nand partitions. Then you could save /home. Just a thought.
  

  Yes, it is: just mount  -t jffs2 /dev/mtdblock6 /mountpoint
  

  Thank you all for your input..

  I put a qtmoko v35 on an SD card.. an on terminal I did:

  mkdir /home/root/nandfs
  mount -t ubifs /dev/mtdblock6 /home/root/nandfs

  but sadly that doesn't work.. dmesg tells me:

  UBIFS error: ubifs_get_sb: cannot open /dev/mtdblock6, error -22

  Any ideas?

  Cheers,
  

I think you need to attach the ubifs before mounting.  See
http://openmoko-public-mailinglists.1958.n2.nabble.com/UBI-success-story-td4218730.html
for the steps, though unless you want to reformat, you shouldn't follow
all of them.

Ben

Alternatively, you can follow http://wiki.openmoko.org/wiki/UBIFS :
# apt-get install mtd-utils # if you are on qtmoko

# ubiattach /dev/ubi_ctrl -O 2048 -m 6
# mount -t ubifs ubi0:om-gta02-rootfs /media/om
# ls /media/om

Anyway it could be a problem related to ubifs instability, which is a 
topic recently discussed in mailing list [1]. You can follow that tread 
and try to:



Guy who'll have ubifs trubles please try to:

1. disable bulk read in fstab and check if problem will still exist.
2. do nanddump and post it or try to reproduce bug with nandsim. (i
guess ubifs guys can fix problem in case if such dump exist quite fast)


Regards
  Giacomo


[1] http://www.mail-archive.com/community@lists.openmoko.org/msg62518.html

--
##
giacomo 'giotti' mariani
gpg --keyserver pool.sks-keyservers.net --recv-key 0x99bfa859
O  ASCII ribbon campaign: stop HTML mail
www.asciiribbon.org
##


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GSM Firmware Flashed, now UBIFS problem and Kernel Panic

2011-04-15 Thread Ivan Matveev


 root@neo:~# cat /proc/mtd
 dev:size   erasesize  name
 mtd0: 0020 0001 physmap-flash.0
 mtd1: 0004 0002 qi
 mtd2: 0004 0002 depr-ub-env
 mtd3: 0080 0002 kernel
 mtd4: 000a 0002 depr
 mtd5: 0004 0002 identity-ext2
 mtd6: 0f6a 0002 rootfs
 root@neo:~# ubiattach /dev/ubi_ctrl -m 6 -d 0 -O 2048
 UBI device number 0, total 1972 LEBs (250396672 bytes, 238.8 MiB),
 available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
 root@neo:~# mkdir /tmp/qtmoko
 root@neo:~# mount -t ubifs ubi0_0 /tmp/qtmoko/

You can try:
mount -t ubifs /dev/mtdblock6 /tmp/qtmoko/



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community