User Tools

Site Tools


raspberry:cross-platform-compile:setup-for-different-debian-versions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
raspberry:cross-platform-compile:setup-for-different-debian-versions [2026/09/13 09:26] – [Distribution vs. Revision Strategy] oscarraspberry:cross-platform-compile:setup-for-different-debian-versions [2026/09/13 09:28] (current) – [Links] oscar
Line 109: Line 109:
   - **Pinned baseline policy:** Pin package versions or repository snapshots to a tested production baseline.   - **Pinned baseline policy:** Pin package versions or repository snapshots to a tested production baseline.
  
 +
 +----
 ## Inspect the target ## Inspect the target
  
Line 147: Line 149:
 The output can be copied back to the development host.  The output can be copied back to the development host. 
  
 +
 +----
 ## Raspberry Pi Repositories ## Raspberry Pi Repositories
 Raspberry Pi OS requires two separate repositories because it combines standard Linux software with custom hardware-specific code created by Raspberry Pi Ltd.   Raspberry Pi OS requires two separate repositories because it combines standard Linux software with custom hardware-specific code created by Raspberry Pi Ltd.  
Line 184: Line 188:
  deb http://archive.raspberrypi.com/debian/ bookworm main  deb http://archive.raspberrypi.com/debian/ bookworm main
 ``` ```
 +
 +----
 ## Prepare repository signing keys ## Prepare repository signing keys
 The following two repositories are essential for the Raspberry Pi, and we need both to be setup on the build host as well:   The following two repositories are essential for the Raspberry Pi, and we need both to be setup on the build host as well:  
Line 287: Line 293:
 # mv rpios-bookwork-x-cross-armhf.list rpios-bookwork-x-cross-armhf.list.disabed # mv rpios-bookwork-x-cross-armhf.list rpios-bookwork-x-cross-armhf.list.disabed
 ``` ```
 +
 +----
 ## Choose target development packages ## Choose target development packages
  
Line 311: Line 319:
 sysroot by adding `--simulate` to the command in the next section. sysroot by adding `--simulate` to the command in the next section.
  
 +
 +----
 ## Resolve and download the sysroot ## Resolve and download the sysroot
 ### Enable Source list ### Enable Source list
Line 368: Line 378:
 ``` ```
  
 +
 +----
 ## Compile a direct GCC test ## Compile a direct GCC test
  
Line 407: Line 419:
 and run it there before using the environment for production releases. and run it there before using the environment for production releases.
  
 +
 +----
 ## CPU compatibility warning ## CPU compatibility warning
  
Line 441: Line 455:
 Never combine armhf and arm64 files in one sysroot. Never combine armhf and arm64 files in one sysroot.
  
 +
 +----
 ## Links ## Links
   * [[https://manpages.debian.org/trixie/mmdebstrap/mmdebstrap.1.en.html|Debian `mmdebstrap` manual]]   * [[https://manpages.debian.org/trixie/mmdebstrap/mmdebstrap.1.en.html|Debian `mmdebstrap` manual]]
raspberry/cross-platform-compile/setup-for-different-debian-versions.1789291609.txt.gz · Last modified: by oscar