Difference between revisions of "Debian-jessie-armel-odroidxu"

From odroid US
Jump to: navigation, search
Line 32: Line 32:
  
 
Details on how the image was built are here: [[debian-jessie-armel-7.1-odroidxu Build Notes]]
 
Details on how the image was built are here: [[debian-jessie-armel-7.1-odroidxu Build Notes]]
 +
 +
=== Kernel Build ===
 +
There is some issue with the default default config from github, it will not compile.  Here is a snippet showing how I worked around it
 +
 +
<pre>
 +
// Fetch kernel source
 +
mkdir -p /usr/src 2>/dev/null
 +
cd /usr/src/
 +
git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidxu-3.4.y linux-3.4.y
 +
#
 +
cd linux-3.4.y
 +
# pick up configuration that will build
 +
wget http://odroid.us/odroid/odroidxu/patches/odroidxu_ubuntu_more_netfilter_stuff
 +
cp odroidxu_ubuntu_more_netfilter_stuff  arch/arm/configs
 +
# Use the new config
 +
make odroidxu_ubuntu_more_netfilter_stuff
 +
# make it
 +
make -j8
 +
# ...
 +
 +
</pre>

Revision as of 21:53, 20 January 2014

Image Files

First a reminder about my images. *.img.xz means it is a compressed multi-partition image. You need to use xz to decompress it before writing it to SD Card.

  • .rootfs.tgz is just the root file system partition contents. Only needed to quickly get back to the original flash contents
  • .boot.tgz is just the boot partition contents. Only needed in case you wreck something and can no longer boot.
  • .md5sum are md5 checksum files you <should> use to make sure the associated file was downloaded properly.

debian-jessie-armel-base-7.1-odroidxu

Features

  • Runs only on odroidxu
  • Debian Jessie. soft-floating point only (armel)
  • linux-3.4.75 from HK
  • Follows layout of HK supported Debian images

    Issues

  • Do not run kernel-update.sh. It wrecks the /boot/uInitrd file. (I saved a copy in /root/boot-backup)
    # Install this missing package so kernel-update.sh will work
    apt-get install initramfs-tools
    # Mount the boot partition as read/write to let kernel-update.sh write files
    mount -o remount,rw /boot
    
  • There are kernel complaints on initialization:
    s5p_mfc_load_firmware:179: Firmware is not present in the /lib/firmware directory nor compiled in kernel.
    

    Files

    Look for the files here: http://odroid.us/odroid/odroidxu/debian/

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

    Kernel Build

    There is some issue with the default default config from github, it will not compile. Here is a snippet showing how I worked around it

    // Fetch kernel source
    mkdir -p /usr/src 2>/dev/null
    cd /usr/src/
    git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidxu-3.4.y linux-3.4.y
    #
    cd linux-3.4.y
    # pick up configuration that will build
    wget http://odroid.us/odroid/odroidxu/patches/odroidxu_ubuntu_more_netfilter_stuff 
    cp odroidxu_ubuntu_more_netfilter_stuff  arch/arm/configs
    # Use the new config
    make odroidxu_ubuntu_more_netfilter_stuff 
    # make it
    make -j8
    # ...