New IT forum
27 June 2022, 12:35:16 pm *
Welcome, %1$s. Please login or register.

: CubieBoard 2 and Cubietruck both now in stock.
 
Pages: [1]

Author Topic: [HOWTO] Debian Wheezy on the dreamplug  (Read 4422 times)

ghat

  • Newbie
  • *
  • Posts: 22
[HOWTO] Debian Wheezy on the dreamplug
« on: 06 January 2014, 11:52:00 am »

[UNDER UPDATE check back in a couple of days
Please dont reply/comment until you see this note]


Happy new year (2014) to all...
So I pulled back my dreamplug from its slumber and installed to the latest debian stable as of today...
I used a linux desktop to work, so all things are linux....

Here are the steps...
A. Upgrade u-boot

# wget http://http.debian.net/debian/pool/main/u/u-boot/u-boot_2012.04.01-2_armel.deb
# dpkg-deb -x u-boot_2012.04.01-2_armel.deb u-boot_2012.04.01-2_armel
# cp -r u-boot_2012.04.01-2_armel/usr/lib/u-boot/dreamplug /mnt
> usb start
> fatload usb 2 0x6400000 dreamplug/u-boot.kwb
> sf probe 0
> sf erase 0x0 0x80000
> sf write 0x6400000 0x0 0x${filesize}
> sf write 0x6400000 0x0 0x2FDEC

    Modification Date    File Size    Hex Size    md5sum
    May 31, 2012, 21:19    196076    2FDEC    4312c71b98049eab73332a3f283a1c5c

B. Install Debian

usb start
fatload usb 0:1 0x00800000 /uImage
fatload usb 0:1 0x01100000 /uInitrd

setenv bootargs console=ttyS0,115200n8 base-installer/initramfs-tools/driver-policy=most
bootm 0x00800000 0x01100000

setenv bootargs_console console=ttyS0,115200
setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x00800000 /uImage; ext2load usb 0:1 0x01100000 /uInitrd'
setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_usb; bootm 0x00800000 0x01100000'
saveenv


C. Fixed u-boot env
baudrate=115200
bootdelay=-1
eth1addr=f0:ad:4e:00:XX:YY
ethact=egiga0
ethaddr=f0:ad:4e:00:XX:YY
stderr=serial
stdin=serial
stdout=serial
x_bootargs=console=ttyS0,115200
x_bootargs_root=root=/dev/sdb2 rootdelay=10
x_bootcmd_ethernet=ping 192.168.1.1
x_bootcmd_kernel=ext2load usb 1:1 0x00800000 /uImage; ext2load usb 1:1 0x01100000 /uInitrd
x_bootcmd_kernel_img=ext2load usb 1:1 0x00800000 /uImage
x_bootcmd_kernel_ini=ext2load usb 1:1 0x01100000 /uInitrd
x_bootcmd_usb=usb start
bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel_img}; ${x_bootcmd_kernel_ini}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x00800000 0x01100000


References/Thanks:
http://www.cyrius.com/debian/kirkwood/sheevaplug/
https://wiki.debian.org/FreedomBox/DreamPlug/Firmware
https://wiki.debian.org/InstallingDebianOn/DreamPlug
« Last Edit: 06 January 2014, 11:53:55 am by ghat »
Logged

tennnn

  • Newbie
  • *
  • Posts: 2
Re: [HOWTO] Debian Wheezy on the dreamplug
« Reply #1 on: 08 February 2014, 08:33:45 am »

Great benefit to me is that the people who visit it.
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!