From subsecret
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
=Upgrading Amiga Linux kernel=
=Upgrading Amiga Linux kernel=
This is a guide on how to upgrade the kernel for Debian 3.1 for Amiga.<br/>
This is a guide on how to upgrade the kernel for Debian 3.1 for Amiga.<br/>
Before upgrading the kernel, do the following:
 
==Before upgrading the kernel==
*Start up the machine
*install ntpdate (apt-get install ntpdate) as real time clock will be broken after kernel upgrade
*Replace module init tools with newer version: [http://files.subsecret.dk/amiga/module-init-tools-3.15-m68k.tar.gz module-init-tools-3.15-m68k.tar.gz]
*Replace module init tools with newer version: [http://files.subsecret.dk/amiga/module-init-tools-3.15-m68k.tar.gz module-init-tools-3.15-m68k.tar.gz]
*Extract kernel 4.8.14 modules in /lib/modules/ [http://files.subsecret.dk/amiga/modules-4.8.14.tar.gz modules-4.8.14.tar.gz]
*Extract kernel 4.8.14 modules in /lib/modules/ [http://files.subsecret.dk/amiga/modules-4.8.14.tar.gz modules-4.8.14.tar.gz]
*Finally launch Linux with new kernel [http://files.subsecret.dk/amiga/vmlinuz-4.8.14.tar.gz vmlinuz-4.8.14.tar.gz]
*Finally launch Linux with new kernel [http://files.subsecret.dk/amiga/vmlinuz-4.8.14.tar.gz vmlinuz-4.8.14.tar.gz]
==Known Bugs===
Known bugs: Real Time Clock will not work with new kernel. Use NTP to sync time instead.
Known bugs: Real Time Clock will not work with new kernel. Use NTP to sync time instead.
=QEMU m68k chroot environment=
 
=How to build new Amiga kernel yourself=
==QEMU m68k chroot environment==
*Use Ubuntu linux distribution for this (Fedora seems to have problems with qemu-m68k binfmt)
*Use Ubuntu linux distribution for this (Fedora seems to have problems with qemu-m68k binfmt)
*Install debootstrap: apt-get install debootstrap
*run apt-get install qemu-user-static
*run apt-get install qemu-user-static
*Build qemu-m68k-static binary build from branch qemu-m68k-680x0-v2.7.0 at https://github.com/vivier/qemu-m68k
*Build qemu-m68k-static binary build from branch qemu-m68k-680x0-v2.7.0 at https://github.com/vivier/qemu-m68k

Revision as of 13:16, 11 March 2017

Upgrading Amiga Linux kernel

This is a guide on how to upgrade the kernel for Debian 3.1 for Amiga.

Before upgrading the kernel

Known Bugs=

Known bugs: Real Time Clock will not work with new kernel. Use NTP to sync time instead.

How to build new Amiga kernel yourself

QEMU m68k chroot environment

  • Use Ubuntu linux distribution for this (Fedora seems to have problems with qemu-m68k binfmt)
  • Install debootstrap: apt-get install debootstrap
  • run apt-get install qemu-user-static
  • Build qemu-m68k-static binary build from branch qemu-m68k-680x0-v2.7.0 at https://github.com/vivier/qemu-m68k
  • Or download from here: qemu-m68k-static.tar.gz
  • Run
debootstrap --no-check-gpg --variant=buildd --foreign --arch=m68k unstable sid-m68k-sbuild http://ftp.ports.debian.org/debian-ports/
  • Copy the qemu-m68-static into sid-m68k-sbuild/usr/bin
  • Chroot into sid-m68k-sbuild
  • Run
debootstrap/debootstrap --second-stage

How to build Amiga kernel yourself

Sources

https://wiki.debian.org/M68k/sbuildQEMU