• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Can't boot debian from SD Card  (Read 2612 times)
horrendo
Newbie
*

Karma: 0
Posts: 6


View Profile
« on: March 12, 2011, 12:37:01 AM »

Hi,

I had a go at installing Debian on my sheevaplug.  I was following instructions from here :

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

I upgraded u-boot from http://newit.co.uk/u-boot/

Once I worked out that CoolTerm needs DEBIAN_FRONTEND=text on the installer boot args, I was able to get through the install with no problems.

Unfortunately it won't boot.

Here's the end of the install and the first boot ...


Software selection
------------------

At the moment, only the core of the system is installed. To tune the system to
your needs, you can choose to install one or more of the following predefined
collections of software.
Choose software to install:
  1. Graphical desktop environment      6. Mail server   
  2. Web server                         7. SQL database   
  3. Print server                       8. SSH server   
  4. DNS server                         9. Laptop   
  5. File server                       10. Standard system utilities
Prompt: '?' for help, default=10> 8

..20%..30%..40%..50%..60%..70%..80%..90%..100%
Making the system bootable  ..33%..66%..100%
Finishing the installation  ..11%..23%..35%..41%
Finish the installation
-----------------------

Installation complete

Installation is complete, so it is time to boot into your new system. Make sure
to remove the installation media (CD-ROM, floppies), so that you boot into the
new system rather than restarting the installation.
[Press enter to continue]

..52%..64%..70%..82%..94%
The system is g
Sent SIGKILL to all processes

Requesting system reboot
[ 2099.868972] Restarting system.
.
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Dec 23 2009 - 13:32:43) Marvell version: 3.4.27

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFB00

Soc: 88F6281 A1 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0
Marvell>>  setenv bootargs_console console=ttyS0,115200

Marvell>> setenv bootcmd_mmc 'mmcinit; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd'

Marvell>> setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000'

Marvell>> saveenv

Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>> run bootcmd

SDHC found. Card desciption is:
Manufacturer:       0x1c, OEM "SV"
Product name:       "SDC  ", revision 1.0
Serial number:      911
Manufacturing date: 3/2009
CRC:                0x00, b0 = 0

1431936 bytes read

5695451 bytes read
## Booting image at 00800000 ...
   Image Name:   Debian kernel
   Created:      2011-03-12   7:19:35 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1431872 Bytes =  1.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... Bad Data CRC



Any clues as to what I do now?

Thanks,

H.
Logged

horrendo
Newbie
*

Karma: 0
Posts: 6


View Profile
« Reply #1 on: March 12, 2011, 01:04:55 AM »

In case it's relevant (or I screwed something up), here's the transcript of the install prior to the bit I already posted (as far back as I had buffered anyway) ...



 12. Finish partitioning and write changes to disk
Prompt: '?' for help, default=12>

If you continue, the changes listed below will be written to the disks.
Otherwise, you will be able to make further changes manually.

WARNING: This will destroy all data on any partitions you have removed as well
as on the partitions that are going to be formatted.

The partition tables of the following devices are changed:
   MMC/SD card #1 (mmcblk0)

The following partitions are going to be formatted:
   partition #1 of MMC/SD card #1 (mmcblk0) as ext2
   partition #2 of MMC/SD card #1 (mmcblk0) as ext3
   partition #5 of MMC/SD card #1 (mmcblk0) as swap
Write the changes to disks?
  1. Yes      2. No
Prompt: '?' for help, default=2> 1

Please wait... 
Please wait...  ..12%..22%..32%..41%..51%..61%..71%..80%..90%..100%
Partitions formatting  ..33%
Installing the base system  ..17%..20%..30%..40%..50%..60%..70%..83%..91%..100%
Configuring apt  ..16%..25%..30%..41%..50%..66%..75%..67%..75%..70%..80%..91%..84%..91%..100%
Select and install software  ..10%
Configuring popularity-contest
------------------------------

The system may anonymously supply the distribution developers with statistics
about the most used packages on this system. This information influences
decisions such as which packages should go on the first distribution CD.

If you choose to participate, the automatic submission script will run once
every week, sending statistics to the distribution developers. The collected
statistics can be viewed on http://popcon.debian.org/.

This choice can be later modified by running "dpkg-reconfigure
popularity-contest".
Participate in the package usage survey?
  1. Yes      2. No
Prompt: '?' for help, default=2>
Logged

tbm
Full Member
***

Karma: 7
Posts: 121



View Profile WWW
« Reply #2 on: March 12, 2011, 11:35:03 AM »

This is a SheevaPlug without eSATA, right?  If so, can you please try upgrading u-boot to the version mentioned in the link on http://www.cyrius.com/debian/kirkwood/sheevaplug/install.html
Logged

horrendo
Newbie
*

Karma: 0
Posts: 6


View Profile
« Reply #3 on: March 12, 2011, 12:58:03 PM »

That fixed it.  Thanks a lot !!!

H.
Logged

Pages: [1]
Print
Jump to: