Welcome! Log In Create A New Profile

Advanced

Install Debian after OpenWrt

Posted by Domos 
Install Debian after OpenWrt
November 16, 2010 02:58AM
Hi,

I have Openwrt installed on Dockstar.

I would like to install Debian on USB disque Free agent for Dockstar.

- First, I need update uboot with Jeff'version.

Can you confirm this manual method extract from Jeff'script.
I don't know if nand commands of mtd-utils OpenWrt package are exactly the same with original OS of Dockstar !

--Download and install the latest uBoot
  
  # wget http://jeff.doozan.com/debian/uboot/files/uboot/uboot.mtd0.dockstar.jeff-2010-10-23.kwb
  # wget http://jeff.doozan.com/debian/uboot/files/uboot/uboot.mtd0.dockstar.jeff-2010-10-23.kwb.md5
  # wget http://jeff.doozan.com/debian/uboot/files/uboot/uboot.mtd0.dockstar.original.kwb
  # wget http://jeff.doozan.com/debian/uboot/files/uboot/uboot.mtd0.dockstar.original.kwb.md5
  
  # wget http://jeff.doozan.com/debian/uboot/files/environment/uboot.environment
  # wget http://jeff.doozan.com/debian/uboot/files/environment/uboot.environment.md5
  
	=> Verify md5sum
  

--Write new uBoot to mtd0, Erase the first 512k
  
  # flash_eraseall /dev/mtd0 0 4
  # nandwrite /dev/mtd0 uboot.mtd0.dockstar.jeff-2010-10-23.kwb


--Dump mtd0 and compare the checksum, to make sure it installed properly  
  # nanddump -no -l 0x80000 -f mtd0.uboot /dev/mtd0
	=> Compare md5sum copied uboot with uboot.mtd0.dockstar.jeff-2010-10-23.kwb.md5 


--Install the uBoot environment
  # flash_eraseall /dev/mtd0 0xc0000 1
  # nandwrite -s 786432 /dev/mtd0 uboot.environment

  uboot.environment contain all variables diplay with env command in uboot shell ? 
  Is uboot pre-configured for booting with first usb storage ?


- Next for Debian install on the USB disk, I think use debootstrap / mkimage commands on a PC => it's possible ?

- Finaly, if possible, configure uboot to boot on OpenWrt if there is no USB disk otherwise on Debian.

thanks for your help
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: