Glomation
 
Advanced Search
Welcome, Guest. Please login or register.

Login with username, password and session length
February 05, 2012, 07:45:19 AM
News: Welcome to GLomation peer support forum
Pages: [1]
Topic Tools  
Read July 19, 2010, 04:30:43 AM #0
mimmus

What about armel debian port?

Hi all.

I installed:

http://www.glomationinc.com/download/debian-lenny-arm-base.tgz

on my board but I read that debian-arm platform is now deprecated.

Does someone has successfully installed the armel port (if exists) of Debian on this board?
 
Read July 28, 2010, 07:38:34 AM #1
admin

Re: What about armel debian port?

Below are the steps that can be used to build a Debian file system on a ARM platform,

1) Download debootstrap-udeb package from Debian website
 wget http://http.us.debian.org/debian/pool/main/d/debootstrap/debootstrap-udeb_0.3.3.2etch1_arm.udeb
unpack it with the following command,
    dpkg-deb -x debootstrap-udeb_0.3.3.2etch1_arm.udeb /
to install the bootstrap package

2) Mount a clean partition on /mnt and run the bootstrap program to install base package
   debootstrap etch /mnt http://ftp.us.debian.org/debian/

3) edit /etc/inittab to setup serial line
for example,
T0:23:respawn:/sbin/getty -L ttyAM0 57600 vt100



Substitute the Debian distribution version with the one to be installed in step 1 and 2.

 
Read August 26, 2010, 03:55:33 PM #2
mimmus

Re: What about armel debian port?

Ok I managed to get it!

The procedure is:

  • Get http://http.us.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.23.tar.gz
  • Read README and install debootstrap
  • Run debootstrap --arch=armel --foreign stable /mnt/mountedusborssd http://ftp.us.debian.org/debian/
  • Compile new kernel for armel platform, using the GESC documentation but with emdebian armel toolchain.

    I used the following packages:

    libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi gcc-4.3-arm-linux-gnueabi g++-4.3-arm-linux-gnueabi

    from apt source:

    deb http://www.emdebian.org/debian/ lenny main

  • Create /dev/ttyS0, set a getty to ttyS0 and boot it on GESC9260 to run "second stage" (read some more documentation for this).
  • Make a lot of manual configuration to configure the just bootstrapped debian (you'll found a lot of guides online).

more complicate as stated, but it works.
 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re