Debian

From Qi-Hardware
Revision as of 09:24, 13 June 2010 by Calamar (Talk | contribs)
Jump to: navigation, search

Contents

Install Debian to SD Card

Prepare SD card:

  1. format your sd card to one ext2 partition.
  2. wget http://mister-muffin.de/nanonote/debian-sid-mipsel.tar.lzma
  3. tar xvf debian-sid-mipsel.tar.lzma -C /PATH/TO/YOUR/SDCARD/
  4. wget http://pyneo.org/downloads/nano/openwrt-xburst-qi_lb60-uImage.bin
  5. cp openwrt-xburst-qi_lb60-uImage.bin /PATH/TO/YOUR/SDCARD/boot/uImage

Prepare bootloader:

  1. refresh the last uboot. after reflash uboot we can press [M] when power-on to boot from sd card. then "apt-get update" :-)
$ wget http://downloads.qi-hardware.com/people/xiangfu/tmp/openwrt-xburst-qi_lb60-u-boot.bin
$ sudo usbboot -c "boot;nprog 0 openwrt-xburst-qi_lb60-u-boot.bin 0 0 -n"

Setup swapfile

You will surely need it since you'll get a lot of complains when, for instance, depackaging stuff.

# dd if=/dev/zero of=/swapfile bs=1024 count=65536
# mkswap /swapfile
# swapon /swapfile

To enable it at boot time, edit /etc/fstab to include: /swapfile swap swap defaults 0 0

Install Package

# apt-get install fbterm emacs23-nox

Screenshot

Emacs.debian.ben.nanonote.png Irc.emacs.debian.ben.nanonote.png Mult.windows.emacs.debian.ben.nanonote.png

Framebuffer utils

  apt-get install fbterm

gives a slightly smaller font. have to play with fonts still to get it smaller.

  apt-get install fbi

nice image viewer.

gmu on debian

After some fiddling with libraries, got it working on debian. A very nice and lightweight music player. Runs very smoothly :)

an important final detail was to add the correct fb mode to /etc/fb.modes: (just the output of fbset)

   mode "320x240-103"
     # D: 19.884 MHz, H: 27.090 kHz, V: 103.005 Hz
     geometry 320 240 320 240 32
     timings 50291 140 273 20 2 1 1
     rgba 8/16,8/8,8/0,8/24
   endmode


Working on packaging in - calamarz

Mplayer

 apt-get install mplayer

Use this script to transcode video. Holy cow, it works!

Personal tools
Namespaces
Variants
Actions
Navigation
interactive
Toolbox
Print/export