Debian on NanoNote (Install in memcard)

Debian on NanoNote (Install in memcard)

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:
6. refresh the last uboot:
wget http://downloads.qi-hardware.com/people/xiangfu/tmp/openwrt-xburst-qi_lb60-u-boot.bin
(remember this is “tmp” folder I may delete the files under “tmp” folder,
if the file is delete then it already include by official releasse)
sudo usbboot -c “boot;nprog 0 openwrt-xburst-qi_lb60-u-boot.bin 0 0 -n”

7. then press [M] when power-on. now “apt-get update” :-)

安装完后引导就可看到 Login: 直接输入 root 回车。接下来设置一个 swap 文件,为了是apt-get install 可以成功。
1. # dd if=/dev/zero of=/swapfile bs=1024 count=65536
2. # mkswap /swapfile
3. # swapon /swapfile
4.To enable it at boot time, edit /etc/fstab to include:
# /swapfile swap swap defaults 0 0

接下来我就安装了 fbterm 和 emacs23-nox
# apt-get install fbterm emacs

运行 emacs a.c (下面是 fbgrab 的截图)

emacs.fbterm.debian.ben.nanonote

emacs M-x irc /join #qi-hardware (下面是 fbgrab 的截图)
irc.emacs.debian.ben.nanonote