Hello,
In fact relocating the whole file after the bad block was my first intention. I agree that proceeding this way wouldn't allow the TFTP update process to load up the min-sytem recovery environment. My thought was to launch it manually from u-boot.
But finally when I realized that u-boot...
Hello,
I DID RECOVER MY MIN-SYSTEM! :)
As I've seen in the mtd8 images that there were a lot of spare space at the end of the partition and as the bad block in my cam was at the begining of the partition I first decided to relocate the useful data after the bad block and to boot manually to the...
Hello Alastair.
Thanks again for your help. Without you I would not have been able to get my cam back!
"Just for fun" :) now that the cam works, I'm wondering if I could get a recovery mode available. I see several potential options:
Option 1: Find a way to "recover" mtdblock8.
As far as I...
YES!
Modifing the u-boot bootargs parameter to start init=/bin/sh I could prevent the CAM from rebooting!
HKVS # setenv bootargs console=ttyS0 initrd=0xc0a00000,0x400000 rw root=/dev/ram dbg=0 init=/bin/sh
HKVS # boot
Then launching all but the last line of /etc/init.d/rcS manually I've got...
Hello,
Thank you for your help!
I have the same results as you for commands "ubinfo" and "cat /proc/mtd"
# ubinfo -a -d 1
ubi1
Volumes count: 1
Logical eraseblock size: 129024 bytes, 126.0 KiB
Total amount of logical eraseblocks: 192 (24772608...
Hi,
I've been able to mount a share from my NAS using the following sequence:
# ifconfig eth0 192.168.0.20
# mkdir /mnt/tmp
# mount -t cifs //MyNasIpAddr/MyShare /mnt/tmp -o username=MyUsername,password=MyPassword,iocharset=utf8,file_mode=0777,dir_mode=0777
I've saved the current state of mtd8...
Yes, I've noticed the filename was fogotten! ;-)
I've tried with a SD Card formatted in FAT32. It doesn't seem to be available :
# ls /dev
amb_gadget loop5 mtd3 mtdblock5 tty14 tty39 tty63
ambac loop6 mtd3ro mtdblock6 tty15 tty4 tty7...
Hello Alastairs and Thank You for the reply!
After my previous post I've tried the followin bootargs configuration
bootargs=console=ttyS0 initrd=0xc0a00000,0x400000 rw root=/dev/ram dbg=0 init=/bin/sh
It let me have a shell prompt but barely nothing functional. Then I've launched :
#...