Author Topic: Debian from nand [fast and safe image]  (Read 4322 times)

Offline ryba84

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +2/-0
    • View Profile
Debian from nand [fast and safe image]
« on: January 06, 2015, 06:09:58 pm »
Hello.

I want to share with my project. It is Debian Wheezy image with XFCE desktop (You can use any  of working distros on Cubieboard A10 after some modifications) running from RO root filesystem on nand. It uses patched linux-sunxi sources with AUFS support (needed).
Benefits of using this type of images:
  • very fast booting from nand
  • very fast working
  • it uses half of the normal disk space
To try just download this image: https://drive.google.com/file/d/0B1eyXhYZKHdUTHdIRjJwS3VVQWM/view?usp=sharing
md5sum for nand.img.gz:
Code: [Select]
b48a45f651fb3802aac80ac8a8320db0Installation on cubieboard nand (You have to run any linux from sdcard or sata disk):
Make sure You have proper copy of Your nand!!
On Cubieboard:
  • Unpack image from archive
Code: [Select]
tar zxf nand.img.tar.gz
  • And install it on nand:
    Code: [Select]
    dd if=nand.img of=/dev/nand bs=64kOr if You want You can do this over ssh session:
    • First unpack image on Your computer same as above
    • Then do:
    Code: [Select]
    dd if=nand.img bs=64k | ssh root@[cubie_address] dd of=/dev/nandWait some time and reboot cubie without sdcard.
    Default passwords:
    Code: [Select]
    root - toor
    cubie - cubie
    For now You cannot (as easy as in other cubie distros) install additional apps, change passwords, add users etc. but in near future it'll be possible. Only home folder is writable.
    It uses my custom initramfs (for now only crosscompilation is allowed and only for Cubieboard A10):
    https://github.com/ryba84/cubie_initramfs
    It's in early stage but I'll develop it. Patched linux-sunxi sources are on my github:
    https://github.com/ryba84/linux-sunxi-aufs
    Included in example image:
    • linux-sunxi kernel 3.4.103
    • full XFCE desktop with mali binary drivers and fbturbo driver
    • midori browser
    • networkmanager
    • smplayer with smtube but it lacks HW Video acceleration (libvdppau-sunxi preinstalled but mplayer2 from wheezy repository have no vdpau driver compiled in)
    • output on uart for debugging (and rescue shell in initramfs)
    If You like I can share instructions how to modify other Cubieboard images to work like this.
    Try it and share Your opinion.  Any feedback very appreciated.
    « Last Edit: January 07, 2015, 02:46:58 am by ryba84 »

    Offline actkk2000

    • Hero Member
    • *****
    • Posts: 572
    • Karma: +2/-11
      • View Profile
    Re: Debian from nand [fast and safe image]
    « Reply #1 on: April 30, 2015, 03:58:59 pm »
    Thx!  :) :)

    Offline comatoz

    • Newbie
    • *
    • Posts: 2
    • Karma: +0/-0
      • View Profile
    Re: Debian from nand [fast and safe image]
    « Reply #2 on: June 23, 2016, 02:26:34 am »
    Good afternoon,
    ryba84 thanks for the work accomplished.

    Link to the image is no longer available.
    Where else can download this image?