Project

General

Profile

Actions

Feature #1005

closed

Change build order for development system

Added by Hammel 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
00 - Basic Build Issues
Target version:
Start date:
19 Jul 2023
Due date:
% Done:

100%

Estimated time:
Severity:
02 - High

Description

The correct order, which helps with step-wise updates of component versions, is:

  1. xcc
  2. kernel
  3. busybox
  4. rpifw
  5. gles
  6. buildroot
  7. pkg

This is arranged in config.mk, where the includes are listed.

The first three help to validate a basic boot operation works with a new toolchain. The toolchain can build a kernel to replace on a working SD card (from a previous build) in <boot>/kernel7.img. If that boots without crashes then busybox can be rebuilt and the initramfs.gz replace the one in <boot>/initramfs.gz. That will allow the boot to get as far as the old rootfs with squashfs/overlay in the initramfs. If that works, it's clear that the new toolchain CAN work though you never know what problems will be uncovered in the various user space tools in the rootfs.

Rpifw and gles are only meaningful once buildroot is done, but it can't be done until they are. So those three go together as a group.

Actions #1

Updated by Hammel 9 months ago

  • Priority changed from Urgent to Immediate
Actions #2

Updated by Hammel 9 months ago

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

Updated by Hammel 9 months ago

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

Updated config.mk and did a test build of everything. All is working.

Committed and pushed changes.

Closing issue.

Actions

Also available in: Atom PDF