New IT forum Follow us on Twitter
17 May 2012, 04:01:32 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: EFIKA MX reviewed in Linux User & Developer issue 104
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: ext2load not working in uboot?  (Read 3070 times)
akc42
New IT customer
Newbie
*
Posts: 19


« on: 16 November 2009, 11:22:42 am »

I (successfully I think) updated uboot to 3.4.24, at least typing the version command in it says

U-Boot 1.1.4 (Nov 10 2009 - 11:35:01) Marvell version: 3.4.24

I am now trying to follow the steps here

http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html

to install Debian

On the sheeva plug I formated a 4GB SD card with 3 partitions, 1 has ext2 (3G) which I also did a mke2fs on, the others are formatted to be LVM and swap

I copied the uInitrd and uImage files mentioned on the web site to a usb stick on my other computer, and then on the sheeva plug mounted both the sd card and the usb stick and copied these two files into the root of the ext2 filesystem.

I umounted, and rebooted and then set the environment variables as instructed.

I am now at the stage where it says do an mmcinit, followed by ext2load

When I type ext2load (and the other parameters) it says

Marvell>>ext2load mmc 0:1 0x0800000 /uInitrd
Unknown command ext2load' - try 'help'
Marvell>> ext2load
Usage:
ext2load- load binary file from a Ext2 filesystem

It seems to only half know about the command.

What am I doing wrong?
 

Logged
vioan
Newbie
*
Posts: 4


« Reply #1 on: 16 November 2009, 11:31:53 am »

Ok, so, first your command is not correct written, there is no "mmc 0:1" in that tutorial. Second, copy/paste the entire command line from that tutorial.

second, look here for some issues with 3.4.24 and that tutorial:

http://plugcomputer.org/plugforum/index.php?topic=967.msg5941

Cheers!
Logged
vioan
Newbie
*
Posts: 4


« Reply #2 on: 16 November 2009, 11:35:45 am »

ah, ok, you have ext2 file system and replaced fatload with ext2load.

try 3-4 times "Enter" in console and after that the command will work, I had the same issues with "setenv" command but after a few "enter-s" followed by simple "setenv" command, everything worked well.
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #3 on: 16 November 2009, 07:10:31 pm »

ah, ok, you have ext2 file system and replaced fatload with ext2load.

try 3-4 times "Enter" in console and after that the command will work, I had the same issues with "setenv" command but after a few "enter-s" followed by simple "setenv" command, everything worked well.

Maybe I'll have to try that, vioan. I'm actually having a similar problem to akc42, although I've been working from a different page.

akc42 - Sorry I don't have a quick solution for you, as soon as I figure out debian installation I'll try to post here how I manage to do it.
Logged
akc42
New IT customer
Newbie
*
Posts: 19


« Reply #4 on: 17 November 2009, 12:44:46 am »

ah, ok, you have ext2 file system and replaced fatload with ext2load.

try 3-4 times "Enter" in console and after that the command will work, I had the same issues with "setenv" command but after a few "enter-s" followed by simple "setenv" command, everything worked well.

Maybe I'll have to try that, vioan. I'm actually having a similar problem to akc42, although I've been working from a different page.

akc42 - Sorry I don't have a quick solution for you, as soon as I figure out debian installation I'll try to post here how I manage to do it.

I tried that, but it failed to read the uImage file complaining that the file was off the end of the partition.

What I didn't think through, was that I have the files on a usb stick, I can boot the debian installer from those files and install the full system onto the SD card.  So I am in the middle of that process now.
Logged
akc42
New IT customer
Newbie
*
Posts: 19


« Reply #5 on: 17 November 2009, 09:52:05 am »

ah, ok, you have ext2 file system and replaced fatload with ext2load.

try 3-4 times "Enter" in console and after that the command will work, I had the same issues with "setenv" command but after a few "enter-s" followed by simple "setenv" command, everything worked well.

Maybe I'll have to try that, vioan. I'm actually having a similar problem to akc42, although I've been working from a different page.

akc42 - Sorry I don't have a quick solution for you, as soon as I figure out debian installation I'll try to post here how I manage to do it.

I tried that, but it failed to read the uImage file complaining that the file was off the end of the partition.

What I didn't think through, was that I have the files on a usb stick, I can boot the debian installer from those files and install the full system onto the SD card.  So I am in the middle of that process now.

It failed to boot the SD card with CRC error

HOWEVER, I downgraded to uboot 3.4.19, and it then worked perfectly.

I now have a Debian Squeeze system running on the sheeva plug, booting from the SD card.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!