Changeset 1cab1bf for chapter02


Ignore:
Timestamp:
06/11/2023 08:40:42 PM (16 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2
Children:
cc44a47b
Parents:
dae9e98
git-author:
Xi Ruoyao <xry111@…> (06/10/2023 04:47:59 PM)
git-committer:
Xi Ruoyao <xry111@…> (06/11/2023 08:40:42 PM)
Message:

loongarch: hostreqs: Reword the rationale for host kernel requirement

Highlight the "old-world" vs. "new-world" issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter02/hostreqs.xml

    rdae9e98 r1cab1bf  
    9494      that version when building <application>glibc</application> in
    9595      <xref linkend="chapter-cross-tools"/> and
    96       <xref linkend="chapter-building-system"/>, so the workarounds for
    97       older kernels are not enabled and the compiled
    98       <application>glibc</application> is slightly faster and smaller.
    99       As at June 2023, &min-kernel; is the oldest kernel release still
    100       supported by the kernel developers.</para>
    101 
    102       <para>If the host kernel is earlier than &min-kernel; you will need to replace
    103       the kernel with a more up-to-date version. There are two ways
    104       you can go about this. First, see if your Linux vendor provides a &min-kernel;
    105       or later kernel package. If so, you may wish to install it. If your
    106       vendor doesn't offer an acceptable kernel package, or you would prefer not to
    107       install it, you can compile a kernel yourself. Instructions for
    108       compiling the kernel and configuring the boot loader (assuming the host
    109       uses GRUB) are located in <xref linkend="chapter-bootable"/>.</para>
     96      <xref linkend="chapter-building-system"/>, and
     97      &min-kernel; is the oldest kernel release supported by Glibc for
     98      LoongArch.</para>
     99
     100      <important>
     101        <para>
     102          If a Linux distribution on LoongArch provides a kernel older than
     103          &min-kernel;, it indicates the distribution is using a preliminary
     104          version of the kernel ABI.  The preliminary draft was rejected by
     105          the kernel maintainers and it's fundamentally incompatible with
     106          the packages we will built for LFS.  Such <quote>old-world</quote>
     107          distributions (for example, Loongnix) cannot be used as a host
     108          distro for building LFS.
     109        </para>
     110
     111        <para>
     112          Do not attempt to update the kernel to &min-kernel; or later on
     113          a old-world distro because doing so will cause a boot failure.
     114          Use a <quote>new-world</quote> distribution providing Linux Kernel
     115          &min-kernel; or newer instead.  You may need to contact the vendor
     116          of your hardware to get a firmware update for booting a new-world
     117          distribution because the boot protocol of LoongArch is stabilized
     118          after the launch of the early LoongArch hardwares.
     119        </para>
     120      </important>
    110121
    111122      <para>We require the host kernel to support UNIX 98 pseudo terminal
Note: See TracChangeset for help on using the changeset viewer.