Giter Club home page Giter Club logo

debian900's Introduction

DebiaN900

A set of scripts to facilitate the installation of Debian GNU/Linux on the N900.


FILES

build_kernel.sh - Checks out the kernel source from Git and builds it.

kernel.conf - The configuration file for build_kernel.sh.

install_debian.sh - Bootstraps a Debian system and runs post-install
configuration, pulling in a built kernel and modules.  Creates the file
configure_u-boot.sh to be run under Maemo.

debian.conf - The configuration file for install_debian.sh.

configure_u-boot.sh - Configures U-Boot on the N900.  This script is generated
by install_debian.sh.


GENERAL REQUIREMENTS

An N900 with pali's U-Boot installed.

A Linux PC with the following:
- A POSIX compatible shell
- GCC cross compiler for ARM Cortex-A processors
- QEMU with support for ARM emulation
- qemu-debootstrap
- Internet access


GENERAL USAGE

- If necessary, configure CROSS_COMPILE in kernel.conf with the prefix of your
cross compiler executable.

- Run build_kernel.sh on a PC to checkout and build a kernel.

- Create an ext4 slice on an SD card and mount it to /mnt or configure the mount
point in debian.conf.

As a safety measure, the Debian install script will only install to a clean
file system (it should contain nothing but the lost+found directory).  If the
script fails or is interrupted, anything that has been installed will need to be
removed before the script can be run again.

- Run install_debian.sh on your PC to install to the SD card.

- Unmount SD card.

- Copy configure_u-boot.sh to your N900 and execute it to complete the
installation.


LICENCE

Distributable under the terms of the GNU GPL version 3.


REFERENCES

http://wiki.debian.org/pkg-n900
http://wiki.debian.org/MaemoAndSqueeze
http://wiki.debian.org/n900-wheezy-armhf
http://elektranox.org/n900/index.html
http://elinux.org/N900


THANKS

Many thanks to all of those who have worked on the pkg-n900 project and a
special thanks to sre, pali, freemangordon and everyone else who has worked on
upstreaming N900 Linux kernel patches.

debian900's People

Contributors

dderby avatar niko2040 avatar sim6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

debian900's Issues

Add rfkill and dhcpcd5 to default packages

Hello and thanks for the debian900 script!

At least on my n900, I can't connect to any wifi-networks without rfkill unblocking. So I guess it makes sense to install this by default.

Also, I am not sure if there is a dhcp client installed by default, dhcpcd works for me.

Latest kernel will not boot

Device shuts off after running '${EXT_CARD}p1/boot.scr'

Last u-boot message is "mmc0 is current device"

cat /etc/bootmenu.d/30-Debian_GNU_Linux-jessie-armhf-4.7.0-rc4+.item
ITEM_NAME="Debian GNU/Linux jessie armhf 4.7.0-rc4+"
ITEM_DEVICE="${EXT_CARD}p1"
ITEM_FSTYPE="ext4"
ITEM_KERNEL="/boot/uImage-4.7.0-rc4+"
ITEM_INITRD="/boot/uInitrd-4.7.0-rc4+"
ITEM_CMDLINE="root=/dev/mmcblk0p1 rootwait ro console=tty0 vram=12M ubi.mtd=5"

cat /mnt/boot.scr
setenv mmcnum 0
setenv mmcpart 1
setenv mmctype ext4
setenv bootargs root=/dev/mmcblk0p1 rootwait ro console=tty0 vram=12M ubi.mtd=5
setenv setup_omap_atag
setenv mmckernfile /boot/uImage-4.7.0-rc4+
setenv mmcinitrdfile /boot/uInitrd-4.7.0-rc4+
setenv mmcscriptfile
run trymmckerninitrdboot

'nice -n' in build_kernel.sh

To not have problem with nice

nice -n $NICENESS make -j $JOBS rx51_defconfig
nice -n $NICENESS make -j $JOBS
nice -n $NICENESS make -j $JOBS modules_install

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.