All,

Thanks for all of the suggestions. I was able to get the system booted by flashing the original u-boot (U-Boot 2011.06-02334-g8f495d9-dirty (Mar 28 2011 - 05:21:06) - which does not support ext2) and installing an older version of armedslack which uses kernel 2.6.38.4. I replaced uImage-kirkwood with dream-2.6.38.4-uImage to get around the problem pointed out by Innes earlier with MTD support causing the boot sequence to hang on dreamplugs. The older kernel is not really a problem for me and it matches what I'm running on my Sheevaplug anyway.

So it appears that my problem was caused by the version of u-boot I was trying to use (to get ext2 support) and not by incorrect environmental variables or by corrupted files.

I had one problem after following the instructions in INSTALL_KIRKWOOD.TXT. I created a FAT16 /boot partition as Stuart suggests in the documentation and specified that partition for /boot during installation, but the Slackware installation did not write /boot there for some reason. So I had to reboot via tftpboot and copy the files from my ext4 partition to the FAT partition. I'd like to use ext2 for the boot partition (FAT apparently does not support symbolic links), but at this point I'm afraid of bricking the box again by trying to use another version of u-boot that supports ext2. If anyone has been successful with that, I'd like to find out the secret!

                                    Thanks,
                                       Jim

------------------------------------------------------------------------
**

On Mon, Feb 6, 2012 at 8:27 PM, Jim Hammack <[email protected] <mailto:[email protected]>> wrote:

    I've been trying to install ARMedslack on my Dreamplug (ser:
    1148-XXXXXX) by following Stuart's excellent instructions in
    INSTALL_KIRKWOOD.TXT, but have been unable to get the system to
    boot.   I believe it is due to a problem with my u-boot which I
    scrambled earlier.  I have been able to find only one version of
    u-boot that will run on this machine (the guruplug version from
    http://www.armedslack.org/maint_kirkwooduboot loads but hangs
    after a 'reset').  This one works:

    Marvell>> version

    U-Boot 2011.03-00012-g1a93b51-dirty-pingtoo-v1.2 (Jun 15 2011 -
    22:44:57)
    Marvell-DreamPlug
    armv5tel-softfloat-linux-gnueabi-gcc (Gentoo 4.4.4-r2 p1.3,
    pie-0.4.5) 4.4.4
    GNU ld (GNU Binutils) 2.20.1.20100303

    I am following Stuart's instructions with two exceptions:

    1. I am using dream-2.6.38.4-uImage (renamed uImage-kirkwood)
    from with-linux instead of uImage-kirkwood from the distribution
    due to a known problem with uImage-kirkwood on the Dreamplug.
     (http://lists.armedslack.org/2011-August/000978.html)
    2.  I am using a fat16 boot partition rather that the ext2
    partition Stuart uses in his documentation, so I have changed all
    references to "ext2load" to "fatload" in the bootcmd

    The system loads uinitrd-kirkwood okay, then loads
    uImage-kirkwood (which is really dream-2.6.38.4-uImage), but
    hangs after:

    "Uncompressing Linux... done, booting the kernel."

    I don't think this is the problem, but does anyone see any
    problems with my u-boot variables?  Also, I've read that newer
    Dreamplugs (#114 and later) have some differences from the
    earlier version.  Could this be why the majority of u-boot
    versions I've found do not run on this machine?  Any ideas on
    where I can find a suitable u-boot? I tried the version
    referenced here:
    (http://www.newit.co.uk/forum/index.php?topic=1977.0) but that
    version hangs also.

    Any input is appreciated!

                                   Thanks,
                                       Jim

    printenv and boot details follow:

    Marvell>> printenv
    arcNumber=2659
    baudrate=115200
    bootargs_console=console=ttyS0,115200
    bootargs_root=root=/dev/sda3 waitforroot=10 rootfs=ext4
    bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); run
    bootcmd_slk ; reset
    bootcmd_slk=usb start;fatload usb 0:1 0x01100000
    /uinitrd-kirkwood;fatload usb 0:1 0x00800000
    /uImage-kirkwood;bootm 0x00800000 0x01100000
    bootdelay=3
    eth1addr=02:50:43:ba:45:cb
    ethact=egiga0
    ethaddr=00:DE:AD:C0:FF:EE
    ipaddr=192.168.2.1
    mainlineLinux=yes
    serial_num=DS2-1148-000934
    serverip=192.168.2.7
    stderr=serial
    stdin=serial
    stdout=serial

    Environment size: 561/65532 bytes
    Marvell>> reset

    U-Boot 2011.03-00012-g1a93b51-dirty-pingtoo-v1.2 (Jun 15 2011 -
    22:44:57)
    Marvell-DreamPlug

    SoC:   Kirkwood 88F6281_A1
    DRAM:  512 MiB
    SF: Got idcodes
    00000000: c2 20 15 c2 20    . ..
    SF: Detected MX25L1605D with page size 256, total 2 MiB
    In:    serial
    Out:   serial
    Err:   serial
    Net:   egiga0, egiga1
    88E1121 Initialized on egiga0
    88E1121 Initialized on egiga1
    Hit any key to stop autoboot:  0
    (Re)start USB...
    USB:   Register 10011 NbrPorts 1
    USB EHCI 1.00
    scanning bus for devices... EHCI timed out on TD - token=0x80008c80
    4 USB Device(s) found
          scanning bus for storage devices... Device NOT ready
      Request Sense returned 02 3A 00
    2 Storage Device(s) found
    reading /uinitrd-kirkwood

    5755094 bytes read
    reading /uImage-kirkwood

    2033192 bytes read
    ## Booting kernel from Legacy Image at 00800000 ...
      Image Name:   Linux-2.6.38.4-kirkwood
      Image Type:   ARM Linux Kernel Image (uncompressed)
      Data Size:    2033128 Bytes = 1.9 MiB
      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:    5755030 Bytes = 5.5 MiB
      Load Address: 00000000
      Entry Point:  00000000
      Verifying Checksum ... OK
      Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.


    _______________________________________________
    ARMedslack mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.armedslack.org/mailman/listinfo/armedslack




_______________________________________________
ARMedslack mailing list
[email protected]  <mailto:[email protected]>
http://lists.armedslack.org/mailman/listinfo/armedslack

_______________________________________________
ARMedslack mailing list
[email protected] <mailto:[email protected]>
http://lists.armedslack.org/mailman/listinfo/armedslack




_______________________________________________
ARMedslack mailing list
[email protected]
http://lists.armedslack.org/mailman/listinfo/armedslack


_______________________________________________
ARMedslack mailing list
[email protected]
http://lists.armedslack.org/mailman/listinfo/armedslack
_______________________________________________
ARMedslack mailing list
[email protected]
http://lists.armedslack.org/mailman/listinfo/armedslack

Reply via email to