Skip to content
Snippets Groups Projects

[loong64] Build kernel image and udebs

Merged Ghost User requested to merge (removed):loong64 into master

The configuration file(config.loongson-3) comes from the Linux source code and was processed using the kconfigurator tool.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Bastian Blank marked this merge request as draft

    marked this merge request as draft

  • Ghost User added 88 commits

    added 88 commits

    Compare with previous version

  • 15 ## file: drivers/acpi/Kconfig
    16 ##
    17 CONFIG_ACPI=y
    18 CONFIG_ACPI_SPCR_TABLE=y
    19 CONFIG_ACPI_FAN=m
    20 CONFIG_ACPI_DOCK=y
    21 CONFIG_ACPI_IPMI=m
    22 CONFIG_ACPI_THERMAL=y
    23 CONFIG_ACPI_PCI_SLOT=y
    24 CONFIG_ACPI_HOTPLUG_MEMORY=y
    25
    26 ##
    27 ## file: drivers/ata/Kconfig
    28 ##
    29 CONFIG_ATA=y
    30 CONFIG_SATA_AHCI=y
  • Ghost User added 1 commit

    added 1 commit

    • c2314d8a - [loong64] Build kernel image and udebs for loong64

    Compare with previous version

  • Ghost User added 3 commits

    added 3 commits

    Compare with previous version

  • Ghost User added 14 commits

    added 14 commits

    Compare with previous version

  • 130
    131 ##
    132 ## file: drivers/net/ethernet/stmicro/stmmac/Kconfig
    133 ##
    134 CONFIG_STMMAC_ETH=m
    135
    136 ##
    137 ## file: drivers/pci/hotplug/Kconfig
    138 ##
    139 CONFIG_HOTPLUG_PCI=y
    140 CONFIG_HOTPLUG_PCI_SHPC=y
    141
    142 ##
    143 ## file: drivers/pcmcia/Kconfig
    144 ##
    145 CONFIG_PCCARD=m
  • I suggest the following configs should be added:

    CONFIG_SECCOMP=y
    CONFIG_ARCH_MMAP_RND_BITS=12
    
    CONFIG_16KB_3LEVEL=y
    
    CONFIG_ARCH_FORCE_MAX_ORDER=12
    CONFIG_CPU_HAS_LSX=y
    CONFIG_CPU_HAS_LASX=y
    CONFIG_CPU_HAS_LBT=y

    and since grub2 is releasing its loongarch support, I also suggest including bootloaders: grub-efi-loong64 in the [image] section.

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading