New IT forum
27 June 2022, 05:13:36 pm *
Welcome, %1$s. Please login or register.

: GertDuino now in stock.
 
Pages: [1]

Author Topic: Cannot boot from SD  (Read 7062 times)

kosh

  • Newbie
  • *
  • Posts: 5
Cannot boot from SD
« on: 10 December 2013, 06:44:00 pm »

Hi!

I am using OpenRD ultimates with Debian wheezy as network probes and am now looking at the Mirabox as a possible successor, so I ordered one Mirabox + microSD card from NewIT.

Now I cannot get the Mirabox to boot from the SD card.

As far as I can see, the uBoot discovers the SD reader but cannot use it:

Code: [Select]
Marvell>> usb start
(Re)start USB...
USB:   Active port:     invalid port number 2, switching to port 0
Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 4 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
       scanning bus for storage devices... Device NOT ready
   Request Sense returned 02 3A 00
Device NOT ready
   Request Sense returned 02 3A 00
2 Storage Device(s) found
Marvell>> usb storage
  Device 0: Vendor: Generic  Rev: 9451 Prod: STORAGE DEVICE 
            Type: Removable Hard Disk
            Capacity: not available
  Device 1: Vendor: Generic  Rev: 9451 Prod: STORAGE DEVICE 
            Type: Removable Hard Disk
            Capacity: not available
Marvell>> ext2load usb 1:1 0x6400000 uImage
** Bad partition 1 **

I tried with FAT instead of ext2, but that doesn't work, either:

Code: [Select]
Marvell>> fatload usb 1:1 0x6400000 uImage
Device NOT ready
   Request Sense returned 02 3A 00
** Can't read from device 1 **

** Unable to use usb 1:1 for fatload **

I suppose the following should at least show a partition table:
Code: [Select]
Marvell>> usb part 1
print_part of 1
## Unknown partition table

The box itself works, booting into the old Debian on the NAND flash that Linux recognises the microSD card just fine:

Code: [Select]
scsi 2:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9451 PQ: 0 ANSI: 0
sd 2:0:0:0: [sda] Attached SCSI removable disk
scsi 3:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9451 PQ: 0 ANSI: 0
sd 3:0:0:0: [sdb] 30702592 512-byte logical blocks: (15.7 GB/14.6 GiB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1 sdb2 sdb3
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] Attached SCSI removable disk

So apparently the SD reader isn't broken. I'd love to boot from microSD, though.

Any help is appreciated.
Logged

Ralph Houston

  • New IT customer
  • Full Member
  • *
  • Posts: 136
Re: Cannot boot from SD
« Reply #1 on: 11 December 2013, 08:29:52 am »

So what's on the extra card? Do you have a reader to take a look?
If it's new I would send it back for replacement.
Good luck
Ralph
Logged

kosh

  • Newbie
  • *
  • Posts: 5
Re: Cannot boot from SD
« Reply #2 on: 11 December 2013, 05:49:21 pm »

The card contains Debian wheezy. I created it on my PC by copying an SD card that I use for the OpenRD clients.

So am I correctly assuming that fatload and ext2load are supposed to work the way I use them on a Mirabox with an SD card in the built-in reader and I am indeed looking at a hardware defect?
Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: Cannot boot from SD
« Reply #3 on: 11 December 2013, 09:47:55 pm »

Quote
Marvell>> usb storage
  Device 0: Vendor: Generic  Rev: 9451 Prod: STORAGE DEVICE 
            Type: Removable Hard Disk
            Capacity: not available
  Device 1: Vendor: Generic  Rev: 9451 Prod: STORAGE DEVICE 
            Type: Removable Hard Disk
            Capacity: not available
U-Boot has detected the card reader but thinks there is nothing inserted in it.
Read the posts about SD-Cards >= 16GB
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

NewIT_Malcolm

  • Administrator
  • Jr. Member
  • *****
  • Posts: 65
Re: Cannot boot from SD
« Reply #4 on: 13 December 2013, 08:50:59 am »

Try the internal jumper J29 which seems to switch between the internal and external microSD's.




Logged

Confusticated

  • New IT customer
  • Hero Member
  • *
  • Posts: 663
Re: Cannot boot from SD
« Reply #5 on: 13 December 2013, 09:30:54 am »

Thank you Malcolm for putting us back on the right track.
And that is why I normally refrain from posting to the MiraBox category ;)
« Last Edit: 13 December 2013, 09:41:12 am by Confusticated »
Logged
Advocatus Diaboli - My agenda is not to give you the answer, but to guide your thoughts so you derive it for yourself!

kosh

  • Newbie
  • *
  • Posts: 5
Re: Cannot boot from SD
« Reply #6 on: 13 December 2013, 05:44:53 pm »

Oh my.

I had read the topic https://newit.co.uk/forum/index.php/topic,4237.0.html but somehow overlooked the interesting line

Quote
Also the standard uboot does not seem to recognise cards of 16Gb or above that I have tested.

The good news for the weekend are that the 8GB cards I have been using with the OpenRD work fine with the Mirabox.

Now I'm looking forward to trying Debian wheezy next week.

Thanks for the help!
Logged
Pages: [1]
 
 

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