rcn-ee / repos

repos.rcn-ee.com
41 stars 30 forks source link

Update the PRU GCC toolchain #54

Closed dinuxbg closed 2 years ago

dinuxbg commented 2 years ago

This update is needed to allow loading of GCC-built PRU firmware by mainline kernels 5.10 and later. I've tested on armhf bullseye chroot with qemu, on amd64 host.

The necessary fixes for kernel 5.10 remoteproc are already merged upstream: https://sourceware.org/pipermail/binutils/2021-September/118057.html https://sourceware.org/pipermail/binutils/2021-November/118668.html https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586176.html

While waiting for the official Binutils 2.38 and GCC 12 releases, let's use locally-generated snapshot tarballs. They have been created from non-modified GIT HEADs of upstream development trees: binutils: commit 2749ac133972d027fe9482acc81f6e88c4f36812 gcc: commit aeedb00a1ae2ccd10b1a5f00ff466081aeadb54b I'll host those tarballs for at least one more year. By then we should update to the official upstream releases.

One notable change is that now gnuprumcu package must be built last, after binutils-pru and gcc-pru.

Signed-off-by: Dimitar Dimitrov dimitar@dinux.eu

RobertCNelson commented 2 years ago

AWESOME!!!!

RobertCNelson commented 2 years ago

@dinuxbg also pushed this to the 'arm64" repo.... http://repos.rcn-ee.net/debian-arm64/pool/main/g/gcc-pru/