• Home
  • Help
  • Search
  • Login
  • Register
Pages: 1 2 [3]
Author Topic: GuruPlug Server Plus Boot from microSD  (Read 28638 times)
civodul
Newbie
*

Karma: 0
Posts: 1


View Profile
« Reply #30 on: October 04, 2010, 03:28:23 PM »

Hello!

FYI the patch at http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/85701 fixes U-Boot so that it can read from the second logical unit (LUN) of the microSD card reader, which corresponds to the external microSD slot.  This in turn makes it possible to boot a kernel stored on a microSD card, yeaah!  :-)
Logged

ozmothecat
Newbie
*

Karma: 0
Posts: 1


View Profile
« Reply #31 on: October 05, 2010, 06:35:17 PM »

Can anyone compile and confirm this to be working?
Logged

Juanisan
Newbie
*

Karma: 0
Posts: 20


View Profile
« Reply #32 on: October 06, 2010, 11:53:47 PM »

Code:
U-Boot 2010.06-02239-gf106056-dirty (Oct 07 2010 - 02:03:44)
Marvell-GuruPlug (Juanisan microSD patch 20101007)

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MiB
NAND:  512 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
Hit any key to stop autoboot:  0
GuruPlug>> usb start
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 5 USB Device(s) found
       scanning bus for storage devices... Device NOT ready
   Request Sense returned 02 3A 00
3 Storage Device(s) found
GuruPlug>> usb part
## Unknown partition table


Partition Map for USB device 1  --   Partition Type: DOS

Partition     Start Sector     Num Sectors     Type
    1                    5           65605       4
    2                65610        15695775      83


Partition Map for USB device 2  --   Partition Type: DOS

Partition     Start Sector     Num Sectors     Type
    1                   63           64449       4
    3               209664         7660800      83
GuruPlug>> usb tree

Device Tree:
  1  Hub (480 Mb/s, 0mA)
  |  u-boot EHCI Host Controller
  |
  +-2  Hub (480 Mb/s, 100mA)
    |   USB2.0 Hub
    |
    +-3  Mass Storage (480 Mb/s, 500mA)
    |     USB Storage 000000009909
    | 
    +-4  Mass Storage (480 Mb/s, 500mA)
    |     MobileMate SD+ 02692
    | 
    +-5  Vendor specific (480 Mb/s, 250mA)
         ASIX Elec. Corp. AX88x72A 000002
       
GuruPlug>>

I patched it and it seems to detect the 8GB micro SD card.  I have a usb->SD dongle on the system as well with 4GB which would be the MobileMate.

My u-boot.kwb with the patch file from that link that I used is at
http://juanisan.homeip.net/guruplug

Will try to boot from micro SD.

Heh!!!  I WAS BOOTING FROM THE MICRO SD AFTERALL!  I was loading the kernel and uimage (Slackware 13.1) from usb 1:1.  I never changed my environment and I thought I was booting from the USB dongle when in reality I was booting from the micro USB card which had a copy of the /boot FAT partition which got remapped after the patch and the USB stick got bumped to slot #2.  Damn this works!

Logged

rworkman
Newbie
*

Karma: 1
Posts: 4



View Profile WWW
« Reply #33 on: November 28, 2010, 08:59:16 AM »

That uboot sorta works here, but it hangs after "boot the kernel"
Even worse, trying to tftp the previous uboot image back over to reflash it resulted in reproducable hang as well, so I had to restore it with openocd.
More details here:  http://lists.armedslack.org/pipermail/armedslack/2010-November/000611.html

Odd that it worked the first two times I booted though.
Logged

Juanisan
Newbie
*

Karma: 0
Posts: 20


View Profile
« Reply #34 on: December 08, 2010, 02:05:40 AM »

That is strange.  I have had to boot my guruplug many times for months until updating to a recent kernel with my modified UAP  drivers due to NFS lockup issues.  NFS would hang on me more than once a week while constantly using ktorrent over NFS to my main PC terrabyte drives.

I had to reboot frequently.

I use the same uboot to boot off the micro SD card.

Now with the new kernel and slackware-current, I have never had to reboot in the last month.

This is the most stable I have ever had this plug and I use it daily.

root@guruslack:~# uname -a
Linux guruslack 2.6.36-kirkwood #2 PREEMPT Sun Oct 24 10:18:13 BST 2010 armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell GuruPlug Reference Board GNU/Linux

Logged

Pages: 1 2 [3]
Print
Jump to: