Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

Making a Coolstream image from scratch

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hayalet18
    Senior Member
    • May 2011
    • 162

    Making a Coolstream image from scratch

    # **** BASIC NOTES ON HOW TO MAKE COOLSTREAM NEUTRINO IMAGES ****
    # **** SUBJECT TO UPDATES AS WE LEARN ****
    # **** BASED ON DESKTOP UBUNTU BUT CAN BE USED ON SERVER VERSION ****

    # Clean vmware install
    # Download Ubuntu Desktop 8.04.3
    # Install Ubuntu in VM ware

    # In synaptic package manager, install the following

    # gftp-gtk
    # autoconf
    # automake (DON'T install later versions! just install base automake)
    # libtool
    # gettext
    # make (already installed)
    # texinfo (makeinfo)
    # patch
    # gcc (already installed)
    # g++ 4.2
    # flex
    # bison
    # pkg-config (already installed)
    # infocmp (ncurses-bin, already installed)
    # python (already installed)
    # gawk
    # awk (couldn't find it but think it is part of gwark)
    # subversion
    # unp
    # libncurses5-dev
    # git-core
    # mtd-tools

    # Also in synaptics package manager, REMOVE the below (dash)
    # dash



    # Add Terminal Launcher to the desktop via APPLICATIONS then right click on TERMINAL
    # Now, Run the console and type (or paste in)....

    mkdir CoolStream
    mkdir Archive
    cd CoolStream
    git clone git://gitorious.org/neutrino-hd/buildsystem-cs.git cs-neutrino
    cd cs-neutrino

    # Edit below to your path

    ln -s /home/ss/Archive download

    #If stages below ask for username or password for coolstream svn, it is 'coolstream' for both

    make preqs
    make crosstool

    # make crosstool takes 80 mins here so go do summat else while it makes.........

    make bootstrap
    make gdb
    make gdb-remote

    # At the time of trying this, the svn for ffmpeg has a broken ffmpeg
    # This causes 'make neutrino' to fail with "undefined reference to `ff_cmap_read_palette"
    # A temp fix is to delete the ffmpeg folder and issue the below
    # Obviously, change your paths to suit from my "ss" path....

    # svn checkout -r 21602 svn://svn.ffmpeg.org/ffmpeg/trunk /home/ss/CoolStream/cs-neutrino/build_tmp/ffmpeg

    # Then try to 'make neutrino' if you have this problem....

    make neutrino

    make cskernel
    make openssl
    make rsync
    make procps
    make busybox
    make strace
    make e2fsprogs
    make autofs
    make samba
    make hotplug
    make skeleton
    make rootfs
    make system-tools-all

    mkfs.jffs2 -p -e 128KiB -r build_tmp/rootfs -o mtd2.img


    # ****TO MAKE CLEAN AFTER YOUR MODS WITHOUT NEW TOOLCHAIN ****

    make neutrino-clean;rm root/* -rf; rm deps/

    # Then do your mods
    # Then....

    make bootstrap
    make neutrino
    make cskernel
    make openssl
    make rsync
    make procps
    make busybox
    make strace
    make e2fsprogs
    make autofs
    make samba
    make hotplug
    make skeleton
    make rootfs
    make system-tools-all

    mkfs.jffs2 -p -e 128KiB -r build_tmp/rootfs -o mtd2.img
Working...