... ... ...
RAMDISK: squashfs filesystem found at block 0
RAMDISK: Loading 6233KiB [1 disk] into ram disk... done.
SQUASHFS error: Filesystem uses "lzma" compression. This is not supported
List of all partitions:
1f00 64 mtdblock0 (driver?)
1f01 64 mtdblock1 (driver?)
1f02 1536 mtdblock2 (driver?)
1f03 6336 mtdblock3 (driver?)
1f04 192 mtdblock4 (driver?)
0800 1465138584 sda driver: sd
0801 530113 sda1 00000000-01
0802 1073744437 sda2 00000000-02
0803 390347370 sda3 00000000-03
0804 514080 sda4 00000000-04
0810 1465138584 sdb driver: sd
0811 530113 sdb1 00000000-01
0812 1073744437 sdb2 00000000-02
0813 390347370 sdb3 00000000-03
0814 514080 sdb4 00000000-04
No filesystem could mount root, tried: ext3 ext2 ext4 squashfs minix vfat msdos
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
Marvell>> loadb r
## Ready for binary (kermit) download to 0x00100000 at 115200 bps...
## Total Size = 0x00000000 = 0 Bytes
## Start Addr = 0x00100000
Un-Protect Flash Bank # 1
Erase Ramdisk from 0xff9a0000 to 0xfff7ffff Can't erase unknown flash type - aborted
Erased 1 sectors
Can't erase unknown flash type - aborted
Erased 1 sectors
Can't erase unknown flash type - aborted
Erased 1 sectors
Hi,
first, my appreciation for all this knowledge and value provided to this tiny linux box and their users.
After some months enjoying ALT-F RC3, I tried a flash to RC4 using web UI on my DNS-323 box.
Something was not ok,
something I missed or I did wrong; the box kept power blue Led flashing slow and permanently, for about an hour, and I powered it off. When powered on again, always started blinking quick for seconds, then at slow rate.
I tried the reset button: once for 15 seconds, other 25, and no result.
All my "loadb" flashing attempts fail the same way: it seems I try to send a cero size kernel/ramdisk that is not properly written to flash. I have not even the chance to issue command "send </home/user/myRC3kernelfile>.
No matter the file name of kernel, no matter the path I run kermit. The same on windows with Teraterm.
Marvell>> loadb r
## Ready for binary (kermit) download to 0x00100000 at 115200 bps...
## Total Size = 0x00000000 = 0 Bytes
## Start Addr = 0x00100000
Un-Protect Flash Bank # 1
Erase Ramdisk from 0xff9a0000 to 0xfff7ffff Can't erase unknown flash type - aborted
Erased 1 sectors
Can't erase unknown flash type - aborted
Erased 1 sectors
Can't erase unknown flash type - aborted
Erased 1 sectors
See a flashing log attached as sample with details.
Most of the references I used to learn what I tried here were related to B1 Hardware; I have C1.
Is there anything I can do to recover from this? Shall I consider my box bricked?
Any advice is highly appreciated.
Kind Regards / Jesus
Hi,
thanks for the quick response, with clarified addresses, references, and advices.
I tried options 1, 2 and 3 with no success.
set LINE /dev/xxx
set speed 115200
set serial 8N1
set flow-control none
set carrier-watch off
set reliable
fast
set prefixing all
set file type bin
set rec pack 4096
set send pack 4096
set window 5
connect
If I cannot loadb neither erase on flash. I have not tried to touch uBoot area.
I have not explored option 4 yet; I need some time to learn how to get a uBoot image.
I think the flash is not usable,
On Thursday, September 11, 2014 11:42:04 PM UTC+1, Jesus Carreras wrote:Hi,
thanks for the quick response, with clarified addresses, references, and advices.
I tried options 1, 2 and 3 with no success.-Have you tried the procedure described in the second post of this thread? It applies to the rev-C1 boards, and the poster seems to have success with it.
-Also, have you clarified if you can actually transfer (send) files to the box? As I told, sending a kernel should take some 90 seconds -- does it? For completion, my kermit .kermrc contains:
set LINE /dev/xxx
set speed 115200
set serial 8N1
set flow-control none
set carrier-watch off
set reliable
fast
set prefixing all
set file type bin
set rec pack 4096
set send pack 4096
set window 5
connectWhen you try '1', does the kernel starts executing? Does it stops with the same panic error?Including logs, as you did in the first post, can help, as some details are not apparent for the untrained eye
Marvell>> loadb k
## Ready for binary (kermit) download to 0x00100000 at 115200 bps...
## Total Size = 0x00151adc = 1383132 Bytes
## Start Addr = 0x00100000
Un-Protect Flash Bank # 1
Erase Kernel from 0xff820000 to 0xff99ffff Can't erase unknown flash type - aborted
Erased 1 sectors
... ... ...
Kernel Size = 1383132
Copy to Flash... done
Protect Flash Bank # 1
Marvell>> cp 0x00100000 02000000 1383132
Marvell>> bootm 02000000 0xff9a0000
## Booting image at 02000000 ...
Image Name: Alt-F-0.1RC3, kernel 2.6.35.14
... ... ...
If I cannot loadb neither erase on flash. I have not tried to touch uBoot area.
I have not explored option 4 yet; I need some time to learn how to get a uBoot image.Before doing that you must be sure that you can transfer files from the computer to the box using u-boot, and that you can execute them.The '1' option above does all that, loading a kernel at address 0x100000 and executing it -- if that fails, i.e., the kernel does not starts executing, then you can't either download and execute a new u-boot.Notice that the procedure described in the '4' link is to start a new u-boot, not to flash one -- after starting and executing it, you can then try to flash it or a new kernel and rootfs.
I think the flash is not usable,I'm not so certain about that. The symptoms are not clear-cut. You could flash and can run the new RC4 kernel, but you couldn't flash a new rootfs.A flash chip has no real "partitions", the mtdx "partitions" are just a convenience for the user, they are just a region of the flash memory with a start address and a length -- there is no partition table in the flash chip.as it is able to read only, but not make changes from my loadb or erase commands.
Kind regards,
/Jesus
/mnt/md127/DOCS/FLASH/RC3 # mtd_debug info /dev/mtd2
mtd.type = MTD_NORFLASH
mtd.flags = MTD_CAP_NORFLASH
mtd.size = 1572864 (1M)
mtd.erasesize = 65536 (64K)
mtd.writesize = 1
mtd.oobsize = 0
regions = 0
/mnt/md127/DOCS/FLASH/RC3 # mtd_debug -h
usage: mtd_debug info <device>
mtd_debug read <device> <offset> <len> <dest-filename>
mtd_debug write <device> <offset> <len> <source-filename>
mtd_debug erase <device> <offset> <len>
/mnt/md127/DOCS/FLASH/RC3 # mtd_debug erase /dev/mtd2 0x0 1572864
Erased 1572864 bytes from address 0x00000000 in flash
/mnt/md127/DOCS/FLASH/RC3 # mtd_debug write /dev/mtd2 0x0 1383132 uK
ernel
Copied 1383132 bytes from uKernel to address 0x00000000 in flash
/mnt/md127/DOCS/FLASH/RC3 # mtd_debug info
usage: mtd_debug info <device>
mtd_debug read <device> <offset> <len> <dest-filename>
mtd_debug write <device> <offset> <len> <source-filename>
mtd_debug erase <device> <offset> <len>
/mnt/md127/DOCS/FLASH/RC3 # mtd_debug info /dev/mtd2
mtd.type = MTD_NORFLASH
mtd.flags = MTD_CAP_NORFLASH
mtd.size = 1572864 (1M)
mtd.erasesize = 65536 (64K)
mtd.writesize = 1
mtd.oobsize = 0
regions = 0
/mnt/md127/DOCS/FLASH/RC3 #
Hi,
now I discovered I was using kermit transfer the wrong way. Escape sequence "Ctrl-\-c" does not work with my spanish setup. I went back to my PC with Teraterm, this time avoiding the "Ctrl-\-c" and using a menu for kermit mode file tranfer. So no problems to loadb files to the box now.
El viernes, 12 de septiembre de 2014 17:42:08 UTC+2, João Cardoso escribió:
On Thursday, September 11, 2014 11:42:04 PM UTC+1, Jesus Carreras wrote:Hi,
thanks for the quick response, with clarified addresses, references, and advices.
I tried options 1, 2 and 3 with no success.-Have you tried the procedure described in the second post of this thread? It applies to the rev-C1 boards, and the poster seems to have success with it.
Yes, option '1' worked OK, as in the thread , so I could run RC3 Kernel in my box. The binary transfer lasted about 5 mins. at 4KB/sec.
This box deserves the latest and greatest available.
I will pay attention to the details this time: steps, available RAM, etc.
Thank you so much for providing me this experience.
I will post more input as I try again this change.
KR/Jesus
Hello,
finally, I could upgrade successfully from RC3 to RC4 using the WebUI. This time the steps took about the time estimated in the WebUI messages. Flashing the kernel: 47 seconds, flashing the rootfs: 191 seconds.
I need to say I did not reproduce the start conditions I had on my first trial; This time I repartitioned the disks for raid1 only, I removed some applications I was not using, and chose to erase all flashed settings in the upgrade. Then reboot, change some configuration, and ready to go...
Kind regards,
/Jesús