toolchain icon indicating copy to clipboard operation
toolchain copied to clipboard

Initial support for >=3.6 firmwares, toolchain v4.x

Open ilyaluk opened this issue 2 years ago • 9 comments

This updates all libraries in toolchain/base images according to 3.6.0.1865 firmware.

Includes patches for glibc 2.35 (to be upstreamed) and for breakpad.

Updated crosstool-ng to latest master and regerated crosstool.config using it.

Does not include QT updates yet, waiting on reMarkable toolchain with up-to-date libqsgepaper

ilyaluk avatar Sep 06 '23 16:09 ilyaluk

Btw, @Eeems, ct-ng offers way smaller configs by exporting them:

root@64aab2c30c79:~/crosstool-ng# ./ct-ng saveconfig
Reporter name [Mattéo Delabre]:
Reporter URL [https://matteo.delab.re]:
Old comment:
  > Toolchain for the reMarkable - Adapted from arm-cortexa9_neon-linux-gnueabihf
Reporter comment (Ctrl-D to finish, '.' to use previous):
.
root@64aab2c30c79:~/crosstool-ng# cat samples/arm-remarkable-linux-gnueabihf/crosstool.config
CT_CONFIG_VERSION="4"
CT_EXPERIMENTAL=y
CT_ALLOW_BUILD_AS_ROOT=y
CT_ALLOW_BUILD_AS_ROOT_SURE=y
CT_ARCH_ARM=y
CT_ARCH_CPU="cortex-a9"
CT_ARCH_FPU="neon"
CT_ARCH_FLOAT_HW=y
CT_TARGET_VENDOR="remarkable"
CT_TARGET_ALIAS="arm-linux-gnueabihf"
CT_TOOLCHAIN_ENABLE_NLS=y
CT_KERNEL_LINUX=y
CT_LINUX_V_5_4=y
CT_BINUTILS_V_2_35=y
CT_BINUTILS_LINKER_LD_GOLD=y
CT_BINUTILS_GOLD_THREADS=y
CT_BINUTILS_LD_WRAPPER=y
CT_BINUTILS_PLUGINS=y
CT_GLIBC_V_2_35=y
CT_GLIBC_USE_LIBIDN_ADDON=y
# CT_GLIBC_ENABLE_DEBUG is not set
CT_GLIBC_LOCALES=y
CT_GLIBC_KERNEL_VERSION_NONE=y
CT_GCC_V_10=y
# CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set
CT_CC_LANG_CXX=y
CT_DEBUG_GDB=y
CT_GDB_V_11=y
# CT_GDB_CROSS_PYTHON is not set
CT_GDB_NATIVE=y
CT_GDB_NATIVE_STATIC=y
CT_GETTEXT_V_0_20_1=y
CT_ISL_V_0_22=y
CT_NCURSES_V_6_2=y
# CT_NCURSES_NEW_ABI is not set

Which yields the same .config after ./ct-ng arm-remarkable-linux-gnueabihf.

I can update the PR to include this config format.

ilyaluk avatar Sep 11 '23 17:09 ilyaluk

Btw, @Eeems, ct-ng offers way smaller configs by exporting them:

...

Which yields the same .config after ./ct-ng arm-remarkable-linux-gnueabihf.

I can update the PR to include this config format.

Sure, a simpler config will be easier to maintain.

Eeems avatar Sep 17 '23 17:09 Eeems

@jilyaluk poke, any chance you've had time to continue working on this?

Eeems avatar Dec 17 '23 18:12 Eeems

@jilyaluk poke again?

Eeems avatar Feb 08 '24 23:02 Eeems

@Eeems sorry, I did not have access to my reMarkable for quite some time, so could not test anything. Now I got it back, will look at this soon.

ilyaluk avatar Sep 15 '24 18:09 ilyaluk

Hey @Eeems, could you bump the v4.x branch in the repo to match v3.x? I'll rebase my branch

ilyaluk avatar Sep 27 '24 00:09 ilyaluk

Done.

Eeems avatar Sep 27 '24 00:09 Eeems