• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  Hardware and U-Boot firmware / U-Boot stuff / Re: Put /boot on a sd card and root and all the other stuff on an usb disk on: August 27, 2009, 01:39:53 PM
but then I have to put mountpoint "/" on the sd card.
I only want to put "/boot" on the sd card....
But as far as I know all mountpoints are managed in /etc/fstab...


I've put an ext2 filesystem on my SD-card and  copied /boot onto it. Then I combined the usb-disc and SD-card sections for U-boot in Martin Michlmayr's guide
http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html so the system will use /dev/sda1 as the root-fs, but wiil boot from the SD-card.

Code:
setenv bootargs_root 'root=/dev/sda1 rootdelay=10'
setenv bootcmd_mmc 'mmcinit; ext2load mmc 0 0x0800000 uInitrd; ext2load mmc 0 0x400000 uImage'
setenv bootcmd 'setenv bootargs $(console) $(bootargs_root); run bootcmd_mmc; bootm 0x400000 0x0800000'
saveenv

/Svend
2  Hardware and U-Boot firmware / Hardware / Can't boot from large usb harddrive on: August 26, 2009, 02:07:44 PM
I've recently installed debian lenny on my sheevaplug using the instructions from Martin Michlmayr at http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html
I used a small external USB harddrive (a 40 Gb 2,5'' disc) - no problems.

But when I try the same thing using a 1 TB external usb disc, the plug won't find any usable partitions to boot.
I've installed lenny on the first primary partition. The partition works fine from my desktop box.

--- snip from seriel output after reset ---

Hit any key to stop autoboot:  0 
(Re)start USB...                 
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... T T T T 1 Storage Device(s) found
** Bad partition 1 **                                                       
** Bad partition 1 **                                                       
## Booting image at 00400000 ...           
Bad Magic Number                                                           
Marvell>>


--- snip end ---

Any suggestions?

/Svend
Pages: [1]