From subsecret
Jump to: navigation, search
No edit summary
No edit summary
Line 40: Line 40:
  make
  make
  make install
  make install
make modules_install
*kernel image can now be found in /boot and modules in /lib/modules/
*kernel image can now be found in /boot and modules in /lib/modules/


=Helpful resources=
=Helpful resources=
https://wiki.debian.org/M68k/sbuildQEMU
https://wiki.debian.org/M68k/sbuildQEMU

Revision as of 18:00, 12 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

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

Video guide

https://www.youtube.com/playlist?list=PL64Swv1hBtXdFMdVrkMYUEHZq6eKqD0_D

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
  • Set (from outside chroot) sid-m68k-sbuild/etc/apt/sources.list to
deb http://ftp.ports.debian.org/debian-ports/ sid main
  • exit and re-enter chroot
  • Run from within chroot
apt-get install debian-ports-archive-keyring

How to build Amiga kernel yourself

  • Get newest kernel from kernel.org
  • Extract kernel
  • Enter m68k chroot environment
  • Run
make amiga_defconfig
make
make install
make modules_install
  • kernel image can now be found in /boot and modules in /lib/modules/

Helpful resources

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