Skip to content

tb323fu-linux t69

Choose a tag to compare

@joonhoekim joonhoekim released this 01 Dec 17:34
ae20d09

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

7.3.0-tb323fu-t69: mainline v7.3 + patches 0001–0229 (kernel/patches),
tb323fu-linux ae20d09. What works: docs/hardware-status.md.

What's new

On top of kernel-t67:

  • No more display stalls of about 200 ms on the internal screen (0229, by @Snail-Turbo in
    #72): the internal panel runs on two DSI links that share one
    display controller path, and each frame flushed that path twice. The second flush sometimes did not complete, the
    frame waited out its timeout and the next one waited again, which showed up as vblank timeout: 400000 pairs in
    the kernel log and as mouse stutter. Each frame now flushes once.
  • Unplugging a USB-C monitor during suspend no longer stalls a later resume (0228, 0155): the firmware reports
    such an unplug without a DisplayPort notification, so the kernel kept treating the monitor as connected, and a
    later resume waited on the missing monitor (33 s in one test; in another the hardware watchdog fired and the
    tablet crashed). The unplug is now reported, and the replay of the last DisplayPort state on resume, which lets
    a monitor attached at boot be detected, now runs in the background instead of holding up resume (0155 is now
    Yongxing Mou's version of that change).

Known issues

  • The same as kernel-t67: with the root on the microSD, the opt-in microSD retimer calibration (202 MHz) cannot be
    turned on yet: it starts only when the card is attached again, a rebind would remove the root, and the release
    kernel uses its built-in command line, so sd_retimer_o2.calibrate=1 cannot be passed at boot.
  • The same as kernel-t67: 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-t69 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-t69 the kernel (device tree, command line, initramfs and all 830 modules built in)
Image-tb323fu-t69.gz the same, compressed; what the helper downloads
modules-tb323fu-t69.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-t69, initramfs-t69.list, initramfs-t69.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 ae20d09a9dd196e6ab9366a447746c0d727ea70d; configuration config-tb323fu-t69 = 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.