Skip to content

tb323fu-linux t65

Choose a tag to compare

@joonhoekim joonhoekim released this 23 Nov 13:39

tb323fu-linux t65 — kernel for the Lenovo Legion Tab Y700 gen 5 (TB323FU)

7.3.0-tb323fu-t65: mainline v7.3 + patches 0001–0223 (kernel/patches),
tb323fu-linux 38f6c9a. What works: docs/hardware-status.md.

What's new

On top of kernel-t64:

  • microSD at 100 MHz (0223): at 202 MHz some cards get data CRC errors in this slot. On some tablets the card
    then fails to come up after a reboot, and a card that does come up can keep failing reads until the file system
    reports I/O errors (#26). The same cards read without
    errors at 100 MHz, so the slot is capped there. Reads are about half as fast (1 GiB: 47 instead of 92 MB/s on
    a card that worked at 202 MHz). The cause is the slot's BH201 retimer, which mainline does not calibrate;
    @Snail-Turbo found it and is working on a calibration in
    #66.

Known issues

  • The same as kernel-t64: with the MST monitor tested here, the first plug after boot can fail link training once
    before both screens come up, and a replug sometimes leaves a screen dark (unplug and plug again); daisy chains,
    4K screens and audio over MST are not tested; at 164 Hz the pen stops tracking.

Still true

  • The CPU cluster idle state stays out of runtime idle (patch 0118, cpuidle_psci_domain.allow_cluster_off=0): with
    it the tablet reset when left idle. Suspend still uses it.
  • No USB root shell in release images (how to build one).
  • No firmware inside: drivers that start before the root (GPU, Bluetooth) log a missing-firmware error and recover
    once it is mounted (details).

Install

  • With Open Device Helper: tb323fu-ctl kernel update (or About → Kernel Updates). It runs the kernel on trial
    and goes back by itself if it does not start.
  • By hand: python3 boot-repack-kernel.py stock-boot.img Image-tb323fu-t65 linux-boot.img, then write it to
    boot_a (docs/install.md).
    There is no ready-made boot.img: its header and signatures are Lenovo's and must match your tablet.
  • If it does not boot: hold volume up + down for 10 s to return to Android, or restore boot_a over EDL
    (docs/recovery.md).

You provide: your stock boot.img, the firmware from your own tablet
(firmware/), and
/etc/tb323fu/android-boot.sha256 for the way back to Android.

Files

File
Image-tb323fu-t65 the kernel (device tree, command line, initramfs and all 830 modules built in)
Image-tb323fu-t65.gz the same, compressed; what the helper downloads
modules-tb323fu-t65.tar.gz the modules alone, only for a root set to own modules
boot-repack-kernel.py puts the kernel into your stock boot image
config-tb323fu-t65, initramfs-t65.list, initramfs-t65.files kernel configuration, initramfs contents
busybox-1.36.1.config, busybox-1.36.1.tar.bz2, THIRD-PARTY-NOTICES.txt source, configuration and licences of the initramfs' third-party files
SHA256SUMS checksums (not a signature)

Source code (GPL)

  • Kernel: torvalds/linux v7.3 (c03c1a14507dfaf8b856c2608f9ac216021fc222) + kernel/patches
    at 38f6c9adff49f6a1947142657af013c1090f9a9c; configuration config-tb323fu-t65 = defconfig + kaanapali-oneplus-infiniti_defconfig
    • kernel/config/baldur.fragment, baldur-display.fragment, baldur-netfilter.fragment, baldur-extra.fragment.
      Origins of every patch: kernel/PROVENANCE.md.
  • Out-of-tree module snd-soc-aw882xx (GPL-2.0): kernel/out-of-tree/aw882xx.
  • Initramfs: kernel/initramfs, userspace/platform/src/keyhold.c, android/back-to-android.
  • BusyBox 1.36.1 (GPL-2.0), unmodified, source attached (sha256 b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314);
    static aarch64 binary sha256 9ebb421890774102b38919eced19cd3ccd51a984ac0599cbc763f1b09dad11e7.
  • Terminus Font (SIL OFL 1.1, console), wireless-regdb regulatory.db (ISC, sha256 2fb33ca0074db573e05ef7dd50bb45b63c0ff98b7e852e1105ebad536fae8e6b).

Licences of the repository: NOTICE. Modified builds use their own name: TRADEMARKS.md.