Debian-wheezy-revision-history

From odroid US
Revision as of 21:37, 6 September 2016 by Osterluk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

debian-wheezy-2

initial release

debian-wheezy-3

Added curl package, updated to kernel 3.0.57

debian-wheezy-devel-4

  • This is setup for native compiling. linux-3.0.57 is ready to build in /usr/src/linux.
  • Added prerequsites for building the kernel
  • Added sudo
  • Built and installed the kernel per this tutorial: Kernel compiling
  • odroidu2-20130205-debian-wheezy-devel

  • This is setup for native compiling.
  • A private kernel build is installed: linux-3.0.61
  • The kernel source is removed from /usr/src/ in the interest of a smaller image
  • Fixed locale setup. Added all locales.
  • Set the timezone to GMT+8 (USA Pacific)
  • Added ntpupdate package to update time from network
  • The MAC ID is chosen randomly on first boot, but stored persistently in /etc/smsc95xx_mac_addr. For example the expected file contents would be like: A6:2A:DC:0B:56:74. You can edit the file to set the MAC ID if you need a specific one.
  • Issues

    On first boot, the mac id file is not created, the root file system has not been mounted read/write at that time. Make up your own random mac id and do something like this:

    echo A6:2A:DC:0B:56:74 > /etc/smsc95xx_mac_addr
    

    You will see a message like: FATAL: Could not load /lib/modules/3.0.61/modules.dep: No such file or directory. This is not actually fatal, it is coming from the initrd -- which does not have a set of kernel modules matching the kernel, 3.0.61.

    debian-wheezy-*-6

    base

    Details on how the base was built are here: debian-wheezy-base-6 Build Notes

    • Kernel bumped to 3.0.68, a private build from Hardkernel sources using odroidu2_ubuntu_defconfig
    • The base packages provided by debootstrap are included. These are somewhat different than the previous cdebootstrap minimal flavor.
    • Persistent MACID generated. You will want to use your own random MACID (file is /etc/smsc95xx_mac_addr)
    • fstab updated to mount boot partition
    • timezone was set to USA pacific. You will want to re-run: dpkg-reconfigure tzdata
    • root is allowed to log in on the serial console (USB-UART kit)
    • boot scripts modified to load by device name instead of UUID

    base 6.1

    This is provided as a root file system image only, not as an SD-Card image

    • Installed openssh-server

    This is the dpkg selections list. See Remove Unwanted Packages under [Debian Tips] to see how this file can help you rollback your system to this previous setup.

    adduser						install
    apt						install
    apt-utils					install
    aptitude					install
    aptitude-common					install
    base-files					install
    base-passwd					install
    bash						install
    bsdmainutils					install
    bsdutils					install
    ca-certificates					install
    coreutils					install
    cpio						install
    cron						install
    curl						install
    dash						install
    debconf						install
    debconf-i18n					install
    debian-archive-keyring				install
    debianutils					install
    diffutils					install
    dpkg						install
    e2fslibs:armhf					install
    e2fsprogs					install
    findutils					install
    gcc-4.7-base:armhf				install
    gnupg						install
    gpgv						install
    grep						install
    groff-base					install
    gzip						install
    hostname					install
    ifupdown					install
    info						install
    initscripts					install
    insserv						install
    install-info					install
    iproute						install
    iptables					install
    iputils-ping					install
    isc-dhcp-client					install
    isc-dhcp-common					install
    kmod						install
    krb5-locales					install
    libacl1:armhf					install
    libapt-inst1.5:armhf				install
    libapt-pkg4.12:armhf				install
    libattr1:armhf					install
    libblkid1:armhf					install
    libboost-iostreams1.49.0			install
    libbsd0:armhf					install
    libbz2-1.0:armhf				install
    libc-bin					install
    libc6:armhf					install
    libcap2:armhf					install
    libclass-isa-perl				install
    libcomerr2:armhf				install
    libcurl3:armhf					install
    libcwidget3					install
    libdb5.1:armhf					install
    libedit2:armhf					install
    libept1.4.12					install
    libgcc1:armhf					install
    libgcrypt11:armhf				install
    libgdbm3:armhf					install
    libgnutls26:armhf				install
    libgpg-error0:armhf				install
    libgssapi-krb5-2:armhf				install
    libidn11:armhf					install
    libk5crypto3:armhf				install
    libkeyutils1:armhf				install
    libkmod2:armhf					install
    libkrb5-3:armhf					install
    libkrb5support0:armhf				install
    libldap-2.4-2:armhf				install
    liblocale-gettext-perl				install
    liblzma5:armhf					install
    libmount1					install
    libncurses5:armhf				install
    libncursesw5:armhf				install
    libnewt0.52					install
    libnfnetlink0					install
    libopts25					install
    libp11-kit0:armhf				install
    libpam-modules:armhf				install
    libpam-modules-bin				install
    libpam-runtime					install
    libpam0g:armhf					install
    libpipeline1:armhf				install
    libpopt0:armhf					install
    libprocps0:armhf				install
    libreadline6:armhf				install
    librtmp0:armhf					install
    libsasl2-2:armhf				install
    libsasl2-modules:armhf				install
    libselinux1:armhf				install
    libsemanage-common				install
    libsemanage1:armhf				install
    libsepol1:armhf					install
    libsigc++-2.0-0c2a:armhf			install
    libslang2:armhf					install
    libsqlite3-0:armhf				install
    libss2:armhf					install
    libssh2-1:armhf					install
    libssl1.0.0:armhf				install
    libstdc++6:armhf				install
    libswitch-perl					install
    libtasn1-3:armhf				install
    libtext-charwidth-perl				install
    libtext-iconv-perl				install
    libtext-wrapi18n-perl				install
    libtinfo5:armhf					install
    libudev0:armhf					install
    libusb-0.1-4:armhf				install
    libustr-1.0-1:armhf				install
    libuuid1:armhf					install
    libwrap0:armhf					install
    libx11-6:armhf					install
    libx11-data					install
    libxapian22					install
    libxau6:armhf					install
    libxcb1:armhf					install
    libxdmcp6:armhf					install
    libxext6:armhf					install
    libxmuu1:armhf					install
    login						install
    logrotate					install
    lsb-base					install
    man-db						install
    manpages					install
    mawk						install
    mount						install
    multiarch-support				install
    nano						install
    ncurses-base					install
    ncurses-bin					install
    ncurses-term					install
    net-tools					install
    netbase						install
    netcat-traditional				install
    ntp						install
    openssh-blacklist				install
    openssh-blacklist-extra				install
    openssh-client					install
    openssh-server					install
    openssl						install
    passwd						install
    perl						install
    perl-base					install
    perl-modules					install
    procps						install
    readline-common					install
    rsyslog						install
    sed						install
    sensible-utils					install
    sudo						install
    sysv-rc						install
    sysvinit					install
    sysvinit-utils					install
    tar						install
    tasksel						install
    tasksel-data					install
    tcpd						install
    traceroute					install
    tzdata						install
    u-boot-tools					install
    uboot-mkimage					install
    udev						install
    util-linux					install
    vim-common					install
    vim-tiny					install
    wget						install
    whiptail					install
    xauth						install
    xz-utils					install
    zlib1g:armhf					install
    

    gnome 6.1

    Details on how the gnome image was build is here: debian-wheezy-gnome-6 Build Notes

    • Started with debian-wheezy-base-6.1
    • Installed gnome
    • Created xorg.conf
    • Started gdm3

    xfce 6.1

    Details on how the xfce image was build is here: debian-wheezy-xfce-6 Build Notes

    • Started with debian-wheezy-base-6.1
    • Installed xfce4, xfce4-goodies, xdm and iceweasel
    • Created xorg.conf


    debian-wheezy-armel-*-6

    Notice this is armel -- not the usual armhf

    • Kernel is Hardkernel 3.0.68, a private build from Hardkernel sources using odroidu2_ubuntu_mali_defconfig

    armel-base-6.1

    • Started with an soft-float image created with cdebootstrap and a sheevaplug -- don't have detailed notes
    • Brought it up-to-date with the hardfloat image contents


    armel-xfce-6.1

    • Started with debian-wheezy-armel-base-6.1
    • Installed xfce4, xdm and iceweasel (xfce-goodies not in armel repository)
    • Created xorg.conf

    In order to login as user, you need to update Xwrapper.conf so allowed_users=anybody. You can paste this in a terminal as root:

    cat >/etc/X11/Xwrapper.config <<EOF
    # Xwrapper.config (Debian X Window System server wrapper configuration file)
    #
    # This file was generated by the post-installation script of the x11-common
    # package using values from the debconf database.
    #
    # See the Xwrapper.config(5) manual page for more information.
    #
    # This file is automatically updated on upgrades of the x11-common package
    # *only* if it has not been modified since the last upgrade of that package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command as root:
    #   dpkg-reconfigure x11-common
    allowed_users=anybody
    
    EOF
    

    debian-wheezy-*-7.1

    Details on how the base was built are here: debian-wheezy-base-6 Build Notes. Version 7 started with the same root file system as version 6.

    • Kernel bumped to 3.8.13.3, the official build from Hardkernel, extracted from their SD-Card image.
    • The base packages provided by debootstrap are included
    • Persistent MACID generated. You will want to use your own random MACID (file is /etc/smsc95xx_mac_addr)
    • fstab mounts the boot partition
    • timezone was set to USA pacific. You will want to re-run: dpkg-reconfigure tzdata
    • root is allowed to log in on the serial console (USB-UART kit)
    • boot scripts left completely alone they boot devices by UUID

    base 7.1.0

    This is provided as an SD-Card image.

    • Generally unmodified from base 6.1
    • Updated to Wheezy 7.1 using apt-get

    This is the dpkg selections list. See Remove Unwanted Packages under [Debian Tips] to see how this file can help you rollback your system to this previous setup.

    adduser						install
    apt						install
    apt-utils					install
    aptitude					install
    aptitude-common					install
    base-files					install
    base-passwd					install
    bash						install
    bsdmainutils					install
    bsdutils					install
    ca-certificates					install
    coreutils					install
    cpio						install
    cron						install
    curl						install
    dash						install
    debconf						install
    debconf-i18n					install
    debian-archive-keyring				install
    debianutils					install
    diffutils					install
    dpkg						install
    dselect						install
    e2fslibs:armhf					install
    e2fsprogs					install
    findutils					install
    gcc-4.7-base:armhf				install
    gnupg						install
    gpgv						install
    grep						install
    groff-base					install
    gzip						install
    hostname					install
    ifupdown					install
    info						install
    initscripts					install
    insserv						install
    install-info					install
    iproute						install
    iptables					install
    iputils-ping					install
    isc-dhcp-client					install
    isc-dhcp-common					install
    kmod						install
    krb5-locales					install
    libacl1:armhf					install
    libapt-inst1.5:armhf				install
    libapt-pkg4.12:armhf				install
    libattr1:armhf					install
    libblkid1:armhf					install
    libboost-iostreams1.49.0			install
    libbsd0:armhf					install
    libbz2-1.0:armhf				install
    libc-bin					install
    libc6:armhf					install
    libcap2:armhf					install
    libclass-isa-perl				install
    libcomerr2:armhf				install
    libcurl3:armhf					install
    libcwidget3					install
    libdb5.1:armhf					install
    libedit2:armhf					install
    libept1.4.12					install
    libgcc1:armhf					install
    libgcrypt11:armhf				install
    libgdbm3:armhf					install
    libgnutls26:armhf				install
    libgpg-error0:armhf				install
    libgssapi-krb5-2:armhf				install
    libidn11:armhf					install
    libk5crypto3:armhf				install
    libkeyutils1:armhf				install
    libkmod2:armhf					install
    libkrb5-3:armhf					install
    libkrb5support0:armhf				install
    libldap-2.4-2:armhf				install
    liblocale-gettext-perl				install
    liblzma5:armhf					install
    libmount1					install
    libncurses5:armhf				install
    libncursesw5:armhf				install
    libnewt0.52					install
    libnfnetlink0					install
    libopts25					install
    libp11-kit0:armhf				install
    libpam-modules:armhf				install
    libpam-modules-bin				install
    libpam-runtime					install
    libpam0g:armhf					install
    libpipeline1:armhf				install
    libpopt0:armhf					install
    libprocps0:armhf				install
    libreadline6:armhf				install
    librtmp0:armhf					install
    libsasl2-2:armhf				install
    libsasl2-modules:armhf				install
    libselinux1:armhf				install
    libsemanage-common				install
    libsemanage1:armhf				install
    libsepol1:armhf					install
    libsigc++-2.0-0c2a:armhf			install
    libslang2:armhf					install
    libsqlite3-0:armhf				install
    libss2:armhf					install
    libssh2-1:armhf					install
    libssl1.0.0:armhf				install
    libstdc++6:armhf				install
    libswitch-perl					install
    libtasn1-3:armhf				install
    libtext-charwidth-perl				install
    libtext-iconv-perl				install
    libtext-wrapi18n-perl				install
    libtinfo5:armhf					install
    libudev0:armhf					install
    libusb-0.1-4:armhf				install
    libustr-1.0-1:armhf				install
    libuuid1:armhf					install
    libwrap0:armhf					install
    libx11-6:armhf					install
    libx11-data					install
    libxapian22					install
    libxau6:armhf					install
    libxcb1:armhf					install
    libxdmcp6:armhf					install
    libxext6:armhf					install
    libxmuu1:armhf					install
    login						install
    logrotate					install
    lsb-base					install
    man-db						install
    manpages					install
    mawk						install
    mount						install
    multiarch-support				install
    nano						install
    ncurses-base					install
    ncurses-bin					install
    ncurses-term					install
    net-tools					install
    netbase						install
    netcat-traditional				install
    ntp						install
    openssh-blacklist				install
    openssh-blacklist-extra				install
    openssh-client					install
    openssh-server					install
    openssl						install
    passwd						install
    perl						install
    perl-base					install
    perl-modules					install
    procps						install
    readline-common					install
    rsyslog						install
    sed						install
    sensible-utils					install
    sudo						install
    sysv-rc						install
    sysvinit					install
    sysvinit-utils					install
    tar						install
    tasksel						install
    tasksel-data					install
    tcpd						install
    traceroute					install
    tzdata						install
    u-boot-tools					install
    uboot-mkimage					install
    udev						install
    util-linux					install
    vim-common					install
    vim-tiny					install
    wget						install
    whiptail					install
    xauth						install
    xz-utils					install
    zlib1g:armhf					install
    

    debian-wheezy-armhf-base-7.0-odroidxu

    This image set is for HardKernel's odroidxu platform -- only. The kernel is linux-3.4.5 based and the processor is Exynos 5410.

    I based this image on the official Hardkernel Debian build for odroidxu: debian_wheezy_armhf_odroidxu_20130827_HDMI.img, then I removed packages to get back to a minimal setup. This is a different approach than I used for odroidu2, where I bootstrapped using QEMU. There are some data files and configuration files left over from the precursor image.

    This image is closely related to the official build, only smaller, with a small set of packages.

    The HK kernel upgrade scheme can be applied. u-boot and the unpartitioned space are all standard.

    Basically, I used the selection list from my 6.1 build and applied it to a booted target. See "Remove Unwanted Packages" in [Debian Tips]


    Set up to remove unwanted locales:

    apt-get install localepurge
    dpkg-reconfigure localepurge
    

    Set up en_US.UTF8 locale:

    apt-get install locales
    dpkg-reconfigure locales
    
    #Add:
    #en_US.UTF8
    

    Added the following to /etc/network/interfaces (to allow eth0 to come up automatically)

    auto eth0
    iface eth0 inet dhcp
    

    Then I uploaded the image, clipped it to fit on SD-Card, compressed it, created the md5sum, extracted and compressed just the root file system, created the md5sum.


    debian-jessie-armel-7.1-odroidxu

    debian-jessie-armel-odroidxu

    Details on how the image was built are here: debian-jessie-armel-7.1-odroidxu Build Notes


    odroid-c1-wheezy-armel-devel

    This is a work in progress -- not complete

    native kernel build part:

    preparation:

    apt-get install ntp ccache 
    apt-get install ncurses-dev build-essential git bc lzop u-boot-tools
    
    

    build:

    export GIT_SSL_NO_VERIFY=1
    git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidc-3.10.y
    cd linux
    make odroidc_defconfig 
    make -j8 uImage 
    make -j8 modules