[ARMedslack] guruplug update

John O'Donnell unixjohn1969 at gmail.com
Mon May 24 05:08:12 UTC 2010


I installed that new u-boot and now I get ext2load.  This is so strange that 
Globalscale felt it necessary/wise to leave this out.

Converting the SD card /dev/sdc1 from FAT back to ext2 on my linux desktop.
Symlinks intact..  PLugged back into the plug. and....

Booting....
Sweeeeeet!

-------------------------------------------------------------
Hit any key to stop autoboot:  0
GuruPlug>> setenv bootargs_console console=ttyS0,115200
GuruPlug>> setenv bootargs_root 'root=/dev/sdc3 waitforroot=10 rootfs=ext3'
GuruPlug>> setenv bootcmd 'setenv bootargs $(bootargs_console) $(bootargs_root); 
run bootcmd_slk ; reset'
GuruPlug>> setenv bootcmd_slk 'usb start;ext2load usb 1:1 0x01100000 
uinitrd-kirkwood;ext2load usb 1:1 0x0080
0000 /uImage-kirkwood;bootm 0x00800000 0x01100000'
GuruPlug>> boot
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 4 USB Device(s) found
        scanning bus for storage devices... Device NOT ready
    Request Sense returned 02 3A 00
2 Storage Device(s) found
Loading file "uinitrd-kirkwood" from usb device 1:1 (usbdb1)


--------------------------------------------------
(.... this is taking a while....
minutes later and USB stick still blinking...
It didnt take this long to "fatload"....
DONE finally! - fatload was pretty instantaneous)
--------------------------------------------------

7700860 bytes read
Loading file "/uImage-kirkwood" from usb device 1:1 (usbdb1)
2056040 bytes read 

## Booting kernel from Legacy Image at 00800000 ... 

    Image Name:   Linux-2.6.33.4-kirkwood 

    Image Type:   ARM Linux Kernel Image (uncompressed) 

    Data Size:    2055976 Bytes =  2 MB 

    Load Address: 00008000 

    Entry Point:  00008000 

    Verifying Checksum ... OK 

## Loading init Ramdisk from Legacy Image at 01100000 ... 

    Image Name:   Slackware ARM Initial RAM disk f 

    Image Type:   ARM Linux RAMDisk Image (gzip compressed) 

    Data Size:    7700796 Bytes =  7.3 MB 

    Load Address: 00000000 

    Entry Point:  00000000 

    Verifying Checksum ... OK 

    Loading Kernel Image ... OK 

OK 

 

Starting kernel ... 

 

Uncompressing Linux... done, booting the kernel. 

[    0.000000] Linux version 2.6.33.4-kirkwood (root at wizbit) (gcc version 4.4.4 
(GCC) ) #2 PREEMPT Wed May 19
  11:14:40 BST 2010 

[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), 
cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache 

[    0.000000] Machine: Marvell GuruPlug Reference Board 

------------------------------------------------------------

fatload takes seconds compared to ext2load.
I timed a reboot

root at mary:~# date  # ext2load start
Mon May 24 00:51:29 EDT 2010
root at mary:~# date  # ext2load finish
Mon May 24 00:54:07 EDT 2010
root at mary:~#

This makes for a long boot time.


Why am I getting these UDEV errors during the init?

-------------------------------------------------------------
Going multiuser... 

Updating shared library links:  /sbin/ldconfig & 

cannot (un)set powersave mode 

udevd[976]: bind failed: Address already in use 

 

udevd[976]: error binding control socket, seems udevd is already running 

 

Triggering udev events:  /sbin/udevadm trigger --type=failed 

/etc/rc.d/rc.inet1:  /sbin/ifconfig lo 127.0.0.1 

/etc/rc.d/rc.inet1:  /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
----------------------------------------------------------------

Is this because udev is already started in the initrd? (I am only guessing)

SWEET!   I can use Slackware now!
Thanks Stuart!!!!
John

-- 
=== Never ask a geek why, just nod your head and slowly back away.===
+================================+==================================+
|  John O'Donnell                |                                  |
|  (Sr. Systems Engineer,        |    http://juanisan.homeip.net    |
|  Net Admin, Programmer, etc.)  |  E-Mail: unixjohn1969 at gmail.com  |
+================================+==================================+
No man is useless who has a friend, and if we are loved we are
indispensable.  -- Robert Louis Stevenson


More information about the ARMedslack mailing list