Project

General

Profile

Actions

Bug #838

closed

Modernize kernel build for zero/rpi2/rpi3/rpi4

Added by Hammel over 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
03 - Linux Kernel
Target version:
Start date:
13 Feb 2022
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

Description

See https://www.raspberrypi.org/documentation/linux/kernel/building.md

There are tweaks per platform, such as 32 vs 64 bit builds and which toolchain to build (64bit would use aarch64 which is not currently being built). I need to update the HW=<> option to make use of these.

The overlays and DTB's can be grabbed directly from the kernel build tree.

The build page referenced above still refers to the git repo that's been used for a while now.

See:
Actions #1

Updated by Hammel almost 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10
Actions #2

Updated by Hammel almost 3 years ago

  • Blocked by Bug #886: xcc needs pre-downloads for isl, expat added
Actions #3

Updated by Hammel almost 3 years ago

  • Blocked by deleted (Bug #886: xcc needs pre-downloads for isl, expat)
Actions #4

Updated by Hammel almost 3 years ago

  • % Done changed from 0 to 20

This is mostly done but there are problems. The 64bit toolchains don't build the 5.10.y kernel. But 5.10.y isn't even an active tag on the RPi github repo anymore. So I need to bump to the latest active, which is 5.15.y.

This is more complex than I expected so this will go into a branch - RM-838. I'll return to it after I finish the 2.0 release (which I may not be able to do until I bump the kernel anyway).

Actions #5

Updated by Hammel almost 3 years ago

  • Severity changed from 04 - Low to 01 - Critical
Actions #6

Updated by Hammel almost 3 years ago

  • Description updated (diff)
Actions #7

Updated by Hammel over 1 year ago

  • Target version changed from 2.0 - Harkonnen to 3.0 - Corrino
Actions #8

Updated by Hammel over 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 20 to 100

This is no longer necessary since we won't do 64bit builds because omxplayer doesn't support them.

The rest of the component builds are updated to utilize the information from the raspberry pi documentation. There may be additional user space work to do based on that documentation but that work does not relate to kernel builds.

Closing issue.

Actions

Also available in: Atom PDF