Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Debian Wheezy install on SheevaPlug MMC/SD

In this howto I’m going to explain how to install debian wheezy on a sheevaplug SD (i want to maintain my old squeeze on NAND flash). We need at least Marvell U-boot 3.4.19.

We assume that our server is 192.168.1.2 and sheeva ip is 192.168.1.7.

Setup TFTP server and download these file on tftp root directory (usually /var/lib/tftpboot):

cd /var/lib/tftpboot

wget ftp://ftp.debian.org/debian/dists/wheezy/main/installer-armel/current/images/kirkwood/netboot/marvell/sheevaplug/uImage

wget ftp://ftp.debian.org/debian/dists/wheezy/main/installer-armel/current/images/kirkwood/netboot/marvell/sheevaplug/uInitrd

Connect the sheeva through USB to our pc and connect to it with putty or minicom or similar. Power it on and press enter to stop the boot process, and copy these commands:

setenv serverip 192.168.1.2

setenv ipaddr 192.168.1.7

setenv netmask 255.255.255.0

tftpboot 0x00800000 uImage

tftpboot 0x01100000 uInitrd

setenv bootargs console=ttyS0,115200n8 base-installer/initramfs-tools/driver-policy=most priority=low

bootm 0x00800000 0x01100000

If you don’t want an “expert” setup process remove “priority=low”.

Now install your debian in a normal way, keep in mind to load mmc module.

When you need to partition your MMC/SD device my suggestion is to createat least one different partition for /boot (100MB is enough) with ext2 format. Create this as the FIRST partition. If you don’t do this you could have trouble on booting your new system.

Remember to execute “Make the system bootable” voice menĂ¹.

When your sheeva reboot stop again the boot process and execute these:

setenv bootargs_console console=ttyS0,115200

setenv bootcmd_mmc ‘mmcinit; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd’

setenv bootcmd ‘setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000’

run bootcmd

Now it should start with your debian wheezy fresh install!

If all went ok reboot again, stop the boot process and we set-up sheevaplug to boot default from MMC/SD:

setenv bootargs_console console=ttyS0,115200

setenv bootcmd_mmc ‘mmcinit; ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd’

setenv bootcmd ‘setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000’

saveenv

Finish!

Execute “run bootcmd” again, and your sheeva is ready to go!

2 comments to Debian Wheezy install on SheevaPlug MMC/SD

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

*