![]() |
2008-01-22
, 15:05
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#2
|
![]() |
2008-01-22
, 16:27
|
|
Posts: 125 |
Thanked: 27 times |
Joined on Nov 2007
@ Bellshill, UK
|
#3
|
![]() |
2008-01-25
, 06:00
|
Posts: 31 |
Thanked: 32 times |
Joined on Jan 2008
@ Helsinki
|
#4
|
If you don't have modified initfs already installed then it is hard to install it on non-booting device. Still it is possible. Depends on how important the file is, see
http://www.gossamer-threads.com/lists/maemo/users/32921
mount -t jffs2 /dev/mtdblock4 /mnt/mtdblock4 mount /dev/mmcblk0p1 /mnt/mmcblk0p1 mount /dev/mmcblk1p1 /mnt/mmcblk1p1 mount /dev/mmcblk1p2 /mnt/mmcblk1p2 cp -r /mnt/mtdblock4/home /mnt/mmcblk0p1 cp -r /mnt/mtdblock4/home /mnt/mmcblk1p1 cp -r /mnt/mtdblock4/home /mnt/mmcblk1p2 umount /mnt/mtdblock4 umount /mnt/mmcblk0p1 umount /mnt/mmcblk1p1 umount /mnt/mmcblk1p2
![]() |
2008-01-29
, 20:35
|
Posts: 31 |
Thanked: 32 times |
Joined on Jan 2008
@ Helsinki
|
#5
|
./flasher-3.0.amd64 -F RX-44_2008SE_2.2007.50-2_PR_COMBINED_MR0_ARM.bin -u
# We are in USER state now text2screen -s 2 -H center -y 20 -T 0 -t "Copying data..." mount -t jffs2 /dev/mtdblock4 /mnt/mtdblock4 mount /dev/mmcblk0p1 /mnt/mmcblk0p1 tar cf /mnt/mmcblk0p1/mtdbl4.tgz /mnt/mtdblock4 umount /mnt/mtdblock4 umount /mnt/mmcblk0p1 text2screen -s 2 -H center -y 40 -T 0 -t "Copy done."
mkfs.jffs2 --root=myinitfs --eraseblock=128KiB --little-endian --no-cleanmarkers --output=myinitfs.jffs2
./flasher-3.0.amd64 -n myinitfs.jffs2 -f
![]() |
2008-02-24
, 04:30
|
Posts: 452 |
Thanked: 522 times |
Joined on Nov 2007
|
#6
|
![]() |
2008-02-24
, 08:16
|
Posts: 31 |
Thanked: 32 times |
Joined on Jan 2008
@ Helsinki
|
#7
|
I'm not sure if you missed a step or two; but two things I had to change to get this to work for me (Thanks btw, this was a lifesaver)
I created the two mounts in the /mnt/ directory, w/o them it didn't seem to want to mount.
So /mnt/mtdblock4 & /mnt/mmcblk0p1 where created with the same 755 privs and owner as the existing "new_root" directory in the myinitfs directory.
The mount command was set to:
mount -t vfat -o rw,nodev,nosuid,utf8,uid=29999,shortname=mixed,dma sk=0000,fmask=0000 /dev/mmcblk0p1 /mnt/mmcblk0p1
Since it was a card formatted with FAT32
I would gladly reflash it, but the problem is that there is one important file in my home directory in the internal memory. And I can't access that via USB.
Any ideas on how to get the thing either started up or how I could access the internal flash?
Are there any kernel command line options I could try with the flasher --boot option? It would even be enough to be able to boot in single user mode and busybox as the important file contains text only and I could copy the information by hand. I tried "flasher --boot single" but no effect...