New IT forum
29 June 2022, 06:59:36 am *
Welcome, %1$s. Please login or register.

: MiraBox now in stock.
 
Pages: [1] 2

Author Topic: Mirabox not boot  (Read 14305 times)

josue

  • Newbie
  • *
  • Posts: 22
Mirabox not boot
« on: 10 May 2013, 04:26:26 pm »

hello,

I have a problem with my boot Mirabox.

I recently received and I applied this basic tutorial:

http://www.plugcomputer.org/Documentation/quickstart/

Following this I could not restart. Same problem as here.

https://newit.co.uk/forum/index.php/topic,3964.0.html

Then I started using tftp to restore the system (I have not managed to boot from sd card):

https://newit.co.uk/forum/index.php?topic=3880.0

Following the restoration I came over to start on the flash memory. Here is my printenv:

Code: [Select]
Marvell>> printenv
bootdelay=3
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
stdin=serial
stdout=serial
stderr=serial
console=console=ttyS0,115200
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:6m(boot),-(rootfs)
enaMonExt=no
pexMode=RC
setL2CacheWT=no
sata_dma_mode=yes
sata_delay_reset=0
enaExtDisk=no
MALLOC_len=5
ethprime=egiga0
netbsd_en=no
vxworks_en=no
bootargs_root=root=/dev/nfs rw
bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none
image_name=uImage
load_addr=0x02000000
bootcmd=tftpboot $load_addr $image_name;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$(lcd0_p
standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr;
disaMvPnp=no
ethaddr=00:50:43:14:39:24
eth1addr=00:50:43:5d:39:24
ethmtu=1500
eth1mtu=1500
mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500
usb0Mode=host
usb1Mode=host
usbActive=2
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
enaAutoRecovery=yes
eeeEnable=no
pcieTune=no
ethact=egiga0
bootargs=console=ttyS0,115200 mtdparts=armada-nand:6m(boot),-(rootfs) root=/dev/nfs rw nfsroot=10.4.50.5:/mnt/ARM_FS/ ip=10.4.50.165:10.4.50.5:10.4.50.254:255.255.255.0:KW40:eth0:none mv_net_)

Environment size: 1669/524284 bytes

I tried to set the "bootcmd" correctly but I get an error.

Code: [Select]
Marvell>> printenv bootcmd=nand read 0x6400000 0x400000 0x400000; bootm 0x6400000
bootcmd=tftpboot $load_addr $image_name;setenv bootargs $console $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$(lcd0_p
## Error: "read" not defined
## Error: "0x6400000" not defined
## Error: "0x400000" not defined
## Error: "0x400000" not defined
Wrong Image Format for bootm command
ERROR: can't get kernel image!


How to put everything in order as it was new?
Logged

Ralph Houston

  • New IT customer
  • Full Member
  • *
  • Posts: 136
Re: Mirabox not boot
« Reply #1 on: 10 May 2013, 05:43:32 pm »

Surely you need to use sentence not printenv?
Regards,
Ralph
Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: Mirabox not boot
« Reply #2 on: 10 May 2013, 10:19:01 pm »

Quote
sentence
setenv
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

Ralph Houston

  • New IT customer
  • Full Member
  • *
  • Posts: 136
Re: Mirabox not boot
« Reply #3 on: 10 May 2013, 11:11:53 pm »

Quote
sentence setenv
New iPad thinks it knows best...
Logged

josue

  • Newbie
  • *
  • Posts: 22
Re: Mirabox not boot
« Reply #4 on: 17 May 2013, 05:02:39 pm »

hello,

Thank you for your answers. Regarding the SD card it was the SD card that was defective. I managed to flash my mirabox without error, but to start I get an error. "Verifying Checksum ... Bad Data CRC ERROR: can not get kernel picture! "And not start on the nand. Here is my starting gear:

Code: [Select]
Unknown command 'reboot' - try 'help'
Marvell>> reset
BootROM 1.08
Booting from NAND flash
DDR3 Training Sequence - Ver 2.1.6
DDR3 Training Sequence - Number of DIMMs detected: 1
DDR3 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2009.08 (Sep 16 2012 - 22:50:06)Marvell version: 1.1.2 NQ
U-Boot Addressing:
       Code:            00600000:006AFFF0
       BSS:             006F8E40
       Stack:           0x5fff70
       PageTable:       0x8e0000
       Heap address:    0x900000:0xe00000
Board: DB-88F6710-BP
SoC:   MV6710 A1
CPU:   Marvell PJ4B v7 UP (Rev 1) LE
       CPU @ 1200Mhz, L2 @ 600Mhz
       DDR @ 600Mhz, TClock @ 200Mhz
       DDR 16Bit Width, FastPath Memory Access
PEX 0: Detected No Link.
PEX 1: Root Complex Interface, Detected Link X1
DRAM:   1 GB
       CS 0: base 0x00000000 size 512 MB
       CS 1: base 0x20000000 size 512 MB
       Addresses 14M - 0M are saved for the U-Boot usage.
NAND:  1024 MiB
Bad block table found at page 262016, version 0x01
Bad block table found at page 261888, version 0x01
FPU not initialized
USB 0: Host Mode
USB 1: Host Mode
Modules/Interfaces Detected:
       RGMII0 Phy
       RGMII1 Phy
       PEX0 (Lane 0)
       PEX1 (Lane 1)
phy16= 72
phy16= 72
MMC:   MRVL_MMC: 0
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x400000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 06400000 ...
   Image Name:   Linux-2.6.35.9
   Created:      2012-08-24   2:13:39 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3439332 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
Marvell>>

And my Printenv :

Code: [Select]
Marvell>> printenv
bootdelay=3
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
console=console=ttyS0,115200
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:6m(boot),-(rootfs)
sata_delay_reset=0
enaExtDisk=no
MALLOC_len=5
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none
image_name=uImage
ethaddr=00:50:43:20:20:01
eth1addr=00:50:43:84:20:01
ethmtu=1500
eth1mtu=1500
mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500
usb0Mode=host
usb1Mode=host
usbActive=2
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
autoload=no
eeeEnable=no
ethact=egiga0
bootcmd=nand read 0x6400000 0x400000 0x400000; bootm 0x6400000
bootargs=console=ttyS0,115200 $mtdparts ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
load_addr=0x02000000
loadaddr=0x02000000
standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr;
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
pexMode=RC
setL2CacheWT=no
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no

Environment size: 1205/524284 bytes

Thank you very much for your answers

good Day
« Last Edit: 17 May 2013, 06:20:54 pm by josue »
Logged

Ralph Houston

  • New IT customer
  • Full Member
  • *
  • Posts: 136
Re: Mirabox not boot
« Reply #5 on: 20 May 2013, 07:17:03 am »

Look like the new SD card is bad too - did it come from NewIT or did you dd one yourself?
Regards
Ralph
Logged

josue

  • Newbie
  • *
  • Posts: 22
Re: Mirabox not boot
« Reply #6 on: 20 May 2013, 05:57:32 pm »

Hello,

I did not specify. With another sdcard everything works but the problem is the internal memory (nand).

good day

Josué Tille
Logged

josue

  • Newbie
  • *
  • Posts: 22
Re: Mirabox not boot
« Reply #7 on: 23 May 2013, 08:17:40 pm »

hello,

Maybe I'm wrong explained. I have them many problems. Now my problem is the following:

I can flash the kernel my Mirabox and suite has this never happens I was started on the internal memory.

I followed the explanation here: https://newit.co.uk/forum/index.php?topic=3880.0

Here is the error I have to start:

Code: [Select]
  Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!

Here is my report u-boot startup:

Code: [Select]
Unknown command 'reboot' - try 'help'
Marvell>> reset
BootROM 1.08
Booting from NAND flash
DDR3 Training Sequence - Ver 2.1.6
DDR3 Training Sequence - Number of DIMMs detected: 1
DDR3 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2009.08 (Sep 16 2012 - 22:50:06)Marvell version: 1.1.2 NQ
U-Boot Addressing:
       Code:            00600000:006AFFF0
       BSS:             006F8E40
       Stack:           0x5fff70
       PageTable:       0x8e0000
       Heap address:    0x900000:0xe00000
Board: DB-88F6710-BP
SoC:   MV6710 A1
CPU:   Marvell PJ4B v7 UP (Rev 1) LE
       CPU @ 1200Mhz, L2 @ 600Mhz
       DDR @ 600Mhz, TClock @ 200Mhz
       DDR 16Bit Width, FastPath Memory Access
PEX 0: Detected No Link.
PEX 1: Root Complex Interface, Detected Link X1
DRAM:   1 GB
       CS 0: base 0x00000000 size 512 MB
       CS 1: base 0x20000000 size 512 MB
       Addresses 14M - 0M are saved for the U-Boot usage.
NAND:  1024 MiB
Bad block table found at page 262016, version 0x01
Bad block table found at page 261888, version 0x01
FPU not initialized
USB 0: Host Mode
USB 1: Host Mode
Modules/Interfaces Detected:
       RGMII0 Phy
       RGMII1 Phy
       PEX0 (Lane 0)
       PEX1 (Lane 1)
phy16= 72
phy16= 72
MMC:   MRVL_MMC: 0
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x400000, size 0x400000
 4194304 bytes read: OK
## Booting kernel from Legacy Image at 06400000 ...
   Image Name:   Linux-2.6.35.9
   Created:      2012-08-24   2:13:39 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3439332 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
Marvell>>

And my Printenv :

Code: [Select]
Marvell>> printenv
bootdelay=3
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
console=console=ttyS0,115200
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:6m(boot),-(rootfs)
sata_delay_reset=0
enaExtDisk=no
MALLOC_len=5
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none
image_name=uImage
ethaddr=00:50:43:20:20:01
eth1addr=00:50:43:84:20:01
ethmtu=1500
eth1mtu=1500
mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500
usb0Mode=host
usb1Mode=host
usbActive=2
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
autoload=no
eeeEnable=no
ethact=egiga0
bootcmd=nand read 0x6400000 0x400000 0x400000; bootm 0x6400000
bootargs=console=ttyS0,115200 $mtdparts ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
load_addr=0x02000000
loadaddr=0x02000000
standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr;
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
pexMode=RC
setL2CacheWT=no
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no

Environment size: 1205/524284 bytes


Thank you very much for your answers

« Last Edit: 23 May 2013, 08:20:24 pm by josue »
Logged

Ralph Houston

  • New IT customer
  • Full Member
  • *
  • Posts: 136
Re: Mirabox not boot
« Reply #8 on: 23 May 2013, 09:12:09 pm »

I haven't got a Mirabox, but this really looks as if the kernel storage is corrupt.
Is nand flash storage in the Mirabox? If so, it's broken.
If your Mirabox is fairly new, you should return it for a new one.
Can you put the kernel on the SD and try to load it from there?
That's what happens on the DreamPlug, which is what I have got.
Sorry I can't be more help.
Good luck
Ralph
Logged

josue

  • Newbie
  • *
  • Posts: 22
Re: Mirabox not boot
« Reply #9 on: 25 May 2013, 01:59:59 pm »

Hello,

Thank you for your ansever. But I have one question.

Is it possible to fix the problem fully formatting the internal memoir? Or the problem is only hardware ?

Thank you

Good day

Josué
Logged

Ralph Houston

  • New IT customer
  • Full Member
  • *
  • Posts: 136
Re: Mirabox not boot
« Reply #10 on: 27 May 2013, 08:06:43 am »

Hi Josué
As I say, I don't have a Mirabox, so I don't know how to help you any further.
Theoretically, you should be able to avoid bad blocks, but NewIT generally insists on using dd to copy data, and dd does not tolerate non-perfect media.
Can anyone else help here?
Best regards and good luck
Ralph
Logged

kage

  • Newbie
  • *
  • Posts: 6
Re: Mirabox not boot
« Reply #11 on: 28 May 2013, 03:42:30 pm »

hello,

You should take a look there: https://newit.co.uk/forum/index.php/topic,3880.msg10345.html#msg10345
you'll be able to format the nand partitions and put a new kernel

Be careful, don't touch to /dev/mtd0 or you may brick uboot and it is much more complicated to repair.
Logged

josue

  • Newbie
  • *
  • Posts: 22
Re: Mirabox not boot
« Reply #12 on: 08 June 2013, 09:19:34 pm »

Hello,


Thank you for your reply. But I have formating my mirabox with this tropic and  it will not start.
Good day

Josué
Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: Mirabox not boot
« Reply #13 on: 10 June 2013, 12:16:16 pm »

Is this still your problem ?
Quote
  Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

josue

  • Newbie
  • *
  • Posts: 22
Re: Mirabox not boot
« Reply #14 on: 10 June 2013, 07:22:48 pm »

Hello,

Yes, exactly.

Josué
Logged
Pages: [1] 2
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!