dderby / debian900 Goto Github PK
View Code? Open in Web Editor NEWDebiaN900 - A set of scripts to facilitate the installation of Devuan or Debian GNU/Linux on the Nokia N900
License: GNU General Public License v3.0
DebiaN900 - A set of scripts to facilitate the installation of Devuan or Debian GNU/Linux on the Nokia N900
License: GNU General Public License v3.0
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.
There is a temporary workaround in place however a proper fix is preferred.
It's not present in Arch Linux and this Stack post suggests simply symlinking it...
http://unix.stackexchange.com/questions/153691/no-qemu-debootstrap-in-arch-linux
Can we simply move to standard deboostrap?
Starts at 18.411315, takes about 180 seconds. Running linux-n900 4.6-rc1.
Most video accelerated software in Debian is built for GL rather than GLES.
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.
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
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
not qemu-arm-static
.
We should add some configuration of the qemu executable
Some packages update initrd however the standard initrd is not used by U-Boot and needs to be converted to a uInitrd image that U-Boot can understand.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
There is a temporary workaround in place however a proper fix is preferred.
SGX driver and userspace are not configured.
This will allow the rest of the OS to reside on F2FS, Btrfs or other filesystems which are not supported by U-Boot.
very hard to see keys in dark :D
this script can help
http://talk.maemo.org/showpost.php?p=1428334&postcount=53
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.