当前位置:首页>Linux>飞腾 D3000M: 更换 Linux 6.6 内核及启动步骤

飞腾 D3000M: 更换 Linux 6.6 内核及启动步骤

  • 2026-02-08 16:22:06
飞腾 D3000M: 更换 Linux 6.6 内核及启动步骤
0. 前言
本文档记录在 D3000M 上烧录 Ubuntu + Phytium-Linux-Kernel-6.6 的过程。
1.既有麒麟操作系统下安装 Linux
1.1构建根文件系统
首先临时配个网络
sudo ip link set enaphyt56i0 up# 清掉旧地址(没有也没关系)sudo ip addr flush dev enaphyt56i0# 配 IP/掩码sudo ip addr add 192.168.1.73/16 dev enaphyt56i0# 配默认路由sudo ip route replace default via 192.168.0.1 dev enaphyt56i0# 配 DNS(临时)sudo sh -c 'printf "nameserver 192.168.0.1\nnameserver 8.8.8.8\n" > /etc/resolv.conf'# 验证ip addr show enaphyt56i0ip routeping -c 3192.168.0.1ping -c 3192.168.1.78ping -c 38.8.8.8ping -c 3 ports.ubuntu.com
分区表建立新分区,并格式化为 ext4
sudo apt updatesudo apt install -y gdisksudo sgdisk -d 8 /dev/nvme0n1sudo sgdisk -n 8:0:0 -t 8:8300 -c 8:"UBUNTU_ROOT" /dev/nvme0n1sudo partprobe /dev/nvme0n1sudo mkfs.ext4 -F -L ubuntu-root /dev/nvme0n1p8lsblkkylin@kylin-pc:/mnt/ubuntu$ lsblkNAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTmmcblk0      179:0028.9G  0 disk mmcblk0boot0 179:3204M  1 disk mmcblk0boot1 179:6404M  1 disk nvme0n1      259:00238.5G  0 disk ├─nvme0n1p1  259:10512M  0 part /boot/efi├─nvme0n1p2  259:202G  0 part /boot├─nvme0n1p3  259:3051.1G  0 part /├─nvme0n1p4  259:4016G  0 part ├─nvme0n1p5  259:5034G  0 part /data├─nvme0n1p6  259:6015.7G  0 part [SWAP]├─nvme0n1p7  259:7030G  0 part /media/kylin/75a059f9-ca40-4665-8436-eb0f└─nvme0n1p8  259:8089.2G  0 part
挂载 Ubuntu 分区到 /mnt/ubuntu
sudo mkdir -p /mnt/ubuntusudo mount /dev/nvme0n1p8 /mnt/ubuntudf -hT /mnt/ubuntu
安装 debootstrap 并拉 Ubuntu 22.04(jammy)ARM64 rootfs
sudo apt updatesudo apt install -y debootstrap ca-certificatessudo debootstrap --arch=arm64 jammy /mnt/ubuntu http://ports.ubuntu.com/#可能会由于 debootstrap 版本太旧导致:No such script: /usr/share/debootstrap/scripts/jammy#如果想要使用22.04,那么可以先拉20.04sudo debootstrap --arch=arm64 focal /mnt/ubuntu http://ports.ubuntu.com/
进入 chroot
sudo mount --bind /dev  /mnt/ubuntu/devsudo mount --bind /proc /mnt/ubuntu/procsudo mount --bind /sys  /mnt/ubuntu/syssudo chroot /mnt/ubuntu /bin/bash
更新源(可选)
cat > /etc/apt/sources.list <<'EOF'deb http://ports.ubuntu.com/ jammy main restricted universe multiversedeb http://ports.ubuntu.com/ jammy-updates main restricted universe multiversedeb http://ports.ubuntu.com/ jammy-security main restricted universe multiverseEOFapt updateapt dist-upgrade -y
做一些配置
#起个名字echo d3000m-ubuntu > /etc/hostname#设置密码passwd#建立个用户adduser zhaousermod -aG sudo zhao#装点工具apt install vim ssh net-tools pciutils usbutils -y
到这一步,已经有了一套能用的 Ubuntu 根文件系统了,只是它现在还没有内核而已
因此下面就需要安装飞腾 6.6 的内核
退出 chroot,回到麒麟系统
exit
1.2下载飞腾 6.6 内核源码并编译
安装相关依赖
sudo apt updatesudo apt install -y debhelper dh-exec \  bc bison flex libssl-dev libelf-dev libncurses-dev dwarves \  fakeroot dpkg-dev rsync xz-utils kmod cpiosudo apt install -y build-essential bc bison flex libssl-dev libelf-dev \                    libncurses-dev dwarves fakeroot dpkg-dev rsync gitsudo apt installbuild-essential bc flex bison libssl-dev libncurses5-dev dwarves -y
拉取源码
cd ~git clone --branch linux-6.6 https://gitee.com/phytium_embedded/phytium-linux-kernel.gitcd phytium-linux-kernel
配置
make ARCH=arm64 phytium_defconfig
编译
make -j$(nproc) ARCH=arm64 bindeb-pkg
编译完成后会在上一层目录生成多个。deb 文件,后面要拷进 Ubuntu rootfs 里。
把内核 。deb 安装进刚才的 Ubuntu 根里
sudo mount /dev/nvme0n1p8 /mnt/ubuntusudo mount --bind /dev  /mnt/ubuntu/devsudo mount --bind /proc /mnt/ubuntu/procsudo mount --bind /sys  /mnt/ubuntu/syssudo cp ~/linux-image-6.6*.deb /mnt/ubuntu/root/sudo cp ~/linux-headers-6.6*.deb /mnt/ubuntu/root/sudo chroot /mnt/ubuntu /bin/bash
安装
cd /rootdpkg -i linux-image-6.6*.debdpkg -i linux-headers-6.6*.deb
如果装的时候缺依赖,可以先:
apt -f install
装完后看 /boot:
ls -l /boot
应该能看到 vmlinuz-6.6... 和 initrd.img-6.6...
更新 initramfs
apt updateapt install initramfs-tools -yupdate-initramfs -c -k 6.6.63-phytium-embedded-v3.3+
安装元包
apt updateapt install -y ubuntu-standardapt install -y sudo openssh-server network-manager ca-certificates \               vim less curl wget net-tools iproute2 locales tzdatasystemctl enable sshsystemctl enable--now NetworkManager
卸载
exitsyncsudo umount /mnt/ubuntu/dev /mnt/ubuntu/proc /mnt/ubuntu/sys /mnt/ubuntu/runsudo umount /mnt/ubuntusync
fsck
sudo fsck.ext4 -f -y /dev/nvme0n1p8
1.3配置 Grub
配置 Grub 之前需要先了解 D3000M 板卡默认的启动路径
当前真实链路是:
UEFI NVRAM BootOption → \EFI\kylin\shimaa64.efi → \EFI\kylin\grubaa64.efi → 读取 \EFI\kylin\grub.cfg
因此我们需要将新安装的 Ubuntu 系统给添加到该 grub.cfg 上,让固件能够识别该路径
挂载 ESP
#已经挂载了ls /boot/efi/EFI/kylin
拿到 Ubuntu rootfs(p8)的 UUID
sudo blkid -s UUID -o value /dev/nvme0n1p8sudo mount /dev/nvme0n1p8 /mnt/ubuntuls -l /mnt/ubuntu/bootsudo umount /mnt/ubuntu##你一般会看到:#/boot/vmlinuz-6.6.xx-...#/boot/initrd.img-6.6.xx-...# 并且还有两个很方便的“永远指向最新”的软链接:#/boot/vmlinuz#/boot/initrd.img
写入 custom.cfg
记得将 UUID 替换
sudo tee /boot/efi/EFI/kylin/custom.cfg > /dev/null <<'EOF'menuentry 'Ubuntu 22.04 (Jammy) on nvme0n1p8 (Phytium 6.6.63 v3.3+)' --unrestricted {insmod part_gpt    insmod ext2# p8: ubuntu-root    search --no-floppy --fs-uuid --set=root c1900155-2575-4919-a5c1-0ed0d1b2fc04    linux  /boot/vmlinuz-6.6.63-phytium-embedded-v3.3+ root=UUID=c1900155-2575-4919-a5c1-0ed0d1b2fc04 ro rootwait    initrd /boot/initrd.img-6.6.63-phytium-embedded-v3.3+}EOF
落盘、重启
syncreboot
重启后,即可选择我们对应新安装的 Ubuntu 启动,其对应位飞腾 6.6 内核
1.4重编/替换内核
1.4.1修改源码
在麒麟里把 p8 挂上
sudo mkdir -p /mnt/ubuntusudo mount /dev/nvme0n1p8 /mnt/ubuntuls /mnt/ubuntu/boot
把这个 config 拷回你的内核源码目录作为 .config
cd ~/phytium-linux-kernelcp /mnt/ubuntu/boot/config-6.6.63-phytium-embedded-v3.3+ .config
更新一下配置
make ARCH=arm64 olddefconfig
修改源码
卸载 p8
sudo umount /mnt/ubuntu
1.4.2重新编译内核
cd ~/phytium-linux-kernel# 示例:加个后缀标识这次改动export LOCALVERSION=-phytium-custom1make -j"$(nproc)" ARCH=arm64 LOCALVERSION=$LOCALVERSION bindeb-pkg
编完 deb 会在上一级目录
ls -lh ../*.deb
挂载并 chroot
sudo mount /dev/nvme0n1p8 /mnt/ubuntusudo mount --bind /dev  /mnt/ubuntu/devsudo mount --bind /proc /mnt/ubuntu/procsudo mount --bind /sys  /mnt/ubuntu/syssudo mount --bind /run  /mnt/ubuntu/run# 拷贝 debsudo cp ../*.deb /mnt/ubuntu/root/sudo chroot /mnt/ubuntu /bin/bash
在 chroot 里安装 deb
cd /rootdpkg -i ./*.deb || apt -f install -y
确认 /boot 里出现新内核
ls -lh /boot | egrep "vmlinuz|initrd|config|System.map"exit
干净卸载
syncsudo umount /mnt/ubuntu/dev /mnt/ubuntu/proc /mnt/ubuntu/sys /mnt/ubuntu/runsudo umount /mnt/ubuntusyncsudo fsck.ext4 -f -y /dev/nvme0n1p8
1.4.3更新 Grub 入口
在 Ubuntu(p8) 里做软链接
sudo mount /dev/nvme0n1p8 /mnt/ubuntusudo mount --bind /dev  /mnt/ubuntu/devsudo mount --bind /proc /mnt/ubuntu/procsudo mount --bind /sys  /mnt/ubuntu/syssudo mount --bind /run  /mnt/ubuntu/run# 拷贝 debsudo cp ../*.deb /mnt/ubuntu/root/sudo chroot /mnt/ubuntu /bin/bashcd /bootls -1 vmlinuz-* initrd.img-* | tail -n 10
找到最新版本
sudoln-sfvmlinuz-6.6.63-phytium-embedded-v3.3+-phytium-custom1vmlinuz-currentsudoln-sfinitrd.img-6.6.63-phytium-embedded-v3.3+-phytium-custom1initrd-current
修改 custom.cfg
sudo tee /boot/efi/EFI/kylin/custom.cfg > /dev/null <<'EOF'menuentry 'Ubuntu 22.04 on nvme0n1p8 (current kernel)' --unrestricted {    insmod part_gpt    insmod ext2search --no-floppy --fs-uuid --set=root c1900155-2575-4919-a5c1-0ed0d1b2fc04    linux  /boot/vmlinuz-current root=UUID=c1900155-2575-4919-a5c1-0ed0d1b2fc04 ro rootwait    initrd /boot/initrd-current}EOFsyncsudo umount /mnt/ubuntu/dev /mnt/ubuntu/proc /mnt/ubuntu/sys /mnt/ubuntu/runsudo umount /mnt/ubuntusync
2.空 Nvme 下安装 Linux 启动盘
验证环境:
  1. M.2 双协议/SATA 通用硬盘底座接 NVMe 连接虚拟机
  2. 虚拟机系统:Ubuntu 20.04
2.1构建根文件系统
硬盘分区
#查看启动盘符lsblk -o NAME,SIZE,MODEL,SERIAL,TYPE,MOUNTPOINTsudo fdisk -l /dev/sdX#设置目标盘变量DISK=/dev/sdX# 把新 NVMe 做成 GPT:ESP + ROOT#ESP 用 FAT32(UEFI 必须),ROOT 用 ext4sudo apt updatesudo apt install -y gdisk dosfstools e2fsprogssudo sgdisk -Z $DISK# 1) ESP 512MiBsudo sgdisk -n 1:1MiB:+512MiB -t 1:EF00 -c 1:ESP $DISK# 2) ROOT 剩余所有空间sudo sgdisk -n 2:0:0       -t 2:8300 -c 2:UBUNTU_ROOT $DISKsudo partprobe $DISKlsblk $DISK#格式化sudo mkfs.vfat -F32 -n ESP ${DISK}1sudo mkfs.ext4 -F -L ubuntu-root ${DISK}2#取 UUIDROOT_UUID=$(sudo blkid -s UUID -o value ${DISK}2)ESP_UUID=$(sudo blkid -s UUID -o value ${DISK}1)echo ROOT_UUID=$ROOT_UUIDecho ESP_UUID=$ESP_UUID
安装 ubuntu
# 挂载到 /mnt/ubuntusudo mkdir -p /mnt/ubuntusudo mount ${DISK}2 /mnt/ubuntusudo mkdir -p /mnt/ubuntu/boot/efisudo mount ${DISK}1 /mnt/ubuntu/boot/efidf -hT /mnt/ubuntu /mnt/ubuntu/boot/efi# 在 amd64 机器上 debootstrap 出 arm64 Jammy rootfssudo apt install -y debootstrap qemu-user-static binfmt-support ca-certificates# 第一阶段(foreign)sudo debootstrap --arch=arm64 --foreign jammy /mnt/ubuntu http://ports.ubuntu.com/# 把 qemu 放进 rootfs,才能 chroot 执行 arm64 程序sudo cp /usr/bin/qemu-aarch64-static /mnt/ubuntu/usr/bin/# 绑定必要目录sudo mount --bind /dev  /mnt/ubuntu/devsudo mount --bind /proc /mnt/ubuntu/procsudo mount --bind /sys  /mnt/ubuntu/syssudo mount --bind /run  /mnt/ubuntu/runsudo cp -L /etc/resolv.conf /mnt/ubuntu/etc/resolv.conf# 进入 chroot 执行第二阶段sudo chroot /mnt/ubuntu /debootstrap/debootstrap --second-stage
完整配置 Ubuntu
#进入 chrootsudo chroot /mnt/ubuntu /bin/bashcat > /etc/apt/sources.list <<'EOF'deb http://ports.ubuntu.com/ jammy main restricted universe multiversedeb http://ports.ubuntu.com/ jammy-updates main restricted universe multiversedeb http://ports.ubuntu.com/ jammy-security main restricted universe multiverseEOF#避免 sudo: unable toresolve hostecho d3000m-ubuntu > /etc/hostnamecat > /etc/hosts <<'EOF'127.0.0.1 localhost127.0.1.1 d3000m-ubuntuEOFexitROOT_UUID=$(sudo blkid -s UUID -o value ${DISK}2)ESP_UUID=$(sudo blkid -s UUID -o value ${DISK}1)echo ROOT_UUID=$ROOT_UUIDecho ESP_UUID=$ESP_UUID# fstab:根分区 + ESPcat > /etc/fstab <<EOFUUID=${ROOT_UUID}  /         ext4  defaults,noatime,errors=remount-ro  01UUID=${ESP_UUID}   /boot/efi  vfat  umask=007701EOF#ROOT_UUID和ESP_UUID根据实际替换#进入 chrootsudo chroot /mnt/ubuntu /bin/bash# 创建用户adduser zhaousermod -aG sudo zhaopasswd rootexit
2.2下载飞腾 6.6 内核源码并编译
安装依赖
sudo apt updatesudo apt install -y git build-essential bc bison flex \  libssl-dev libelf-dev libncurses-dev dwarves \  fakeroot dpkg-dev rsync xz-utils kmod cpio \  gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu
拉取代码并编译
cd ~git clone --branch linux-6.6 https://gitee.com/phytium_embedded/phytium-linux-kernel.gitcd phytium-linux-kernelmake ARCH=arm64 phytium_defconfigmake -j"$(nproc)" ARCH=arm64 \  CROSS_COMPILE=aarch64-linux-gnu- \  KBUILD_DEBARCH=arm64 \  bindeb-pkg#编完 deb 在上一级目录:ls -lh ../*.deb
把飞腾 6.6 内核 deb 装进 /mnt/ubuntu(arm64 rootfs)
sudo cp ../*.deb /mnt/ubuntu/root/sudo chroot /mnt/ubuntu /bin/bashcd /rootdpkg -i ./*.deb || apt -f install -y# 确认 /boot 有 vmlinuzls -lh /boot | egrep "vmlinuz|System.map|config" || trueexit
2.3配置 Grub
在宿主机上安装 ARM64 UEFI GRUB(生成 /EFI/BOOT/BOOTAA64.EFI)
sudo apt updatesudo apt install -y grub-efi-arm64-bin grub-commonsudo grub-install \--target=arm64-efi \--efi-directory=/mnt/ubuntu/boot/efi \--boot-directory=/mnt/ubuntu/boot \--removable --no-nvram --rechecksudo ls -l /mnt/ubuntu/boot/efi/EFI/BOOT/BOOTAA64.EFI
写一个最小的 grub.cfg
KVER="6.6.63-phytium-embedded-v3.3+"ROOT_UUID=$(sudo blkid -s UUID -o value /dev/sdc2)sudo mkdir -p /mnt/ubuntu/boot/grubsudo tee /mnt/ubuntu/boot/grub/grub.cfg >/dev/null <<EOFsetdefault=0set timeout=5ROOT_PARTUUID=$(sudo blkid -s PARTUUID -o value ${DISK}2)ESP_PARTUUID=$(sudo blkid -s PARTUUID -o value ${DISK}1)echo ROOT_PARTUUID=$ROOT_PARTUUIDecho ESP_PARTUUID=$ESP_PARTUUIDecho ROOT_UUID=$ROOT_UUIDsudo mkdir -p /mnt/ubuntu/boot/grubsudo tee /mnt/ubuntu/boot/grub/grub.cfg >/dev/null <<EOFsetdefault=0set timeout_style=countdownset timeout=3insmod part_gptinsmod ext2search --no-floppy --fs-uuid --set=root xxxxxxxxxxxxxxmenuentry "Ubuntu 22.04 (Phytium 6.6.63) (NVMe)" {    linux  /boot/vmlinuz-6.6.63-phytium-embedded-v3.3+ root=UUID=xxxxxxxxxxxxxx rw rootwait console=ttyAMA0,115200n8 console=tty0    initrd /boot/initrd.img-6.6.63-phytium-embedded-v3.3+}EOFxxxxxxxxxxxxxx为$ROOT_UUID
卸载干净
syncsudo umount -l /mnt/ubuntu/dev /mnt/ubuntu/proc /mnt/ubuntu/sys /mnt/ubuntu/runsudo umount -l /mnt/ubuntu/boot/efisudo umount -l /mnt/ubuntusyncsudo fsck.ext4 -f -y ${DISK}2
2.4启动 D3000M Linux
配置网络
sudo ip link set enaphyt56i0 up# 清掉旧地址(没有也没关系)sudo ip addr flush dev enaphyt56i0# 配 IP/掩码sudo ip addr add 192.168.1.73/16 dev enaphyt56i0# 配默认路由sudo ip route replace default via 192.168.0.1 dev enaphyt56i0# 配 DNS(临时)sudo sh -c 'printf "nameserver 192.168.0.1\nnameserver 8.8.8.8\n" > /etc/resolv.conf'# 验证ip addr show enaphyt56i0ip routeping -c 3192.168.0.1ping -c 3192.168.1.78ping -c 38.8.8.8ping -c 3 ports.ubuntu.com
安装 initrd 
ls -lh /boot | egrep "vmlinuz|initrd|System.map|config" || trueuname -rsudo apt updatesudo apt install -y kmod initramfs-toolssudo update-initramfs -c -k6.6.63-phytium-embedded-v3.3+ls -lh /boot/initrd.img-6.6.63-phytium-embedded-v3.3+
安装完整系统(可选)
sudo apt updatesudo apt install -y ubuntu-standard \  sudo vim less curl wget ca-certificates \  openssh-server network-manager \  iproute2 net-tools pciutils usbutils xdg-user-dirssudo systemctl enable--now sshsudo systemctl enable--now NetworkManager

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-02-08 21:24:15 HTTP/2.0 GET : https://f.mffb.com.cn/a/474330.html
  2. 运行时间 : 0.192461s [ 吞吐率:5.20req/s ] 内存消耗:4,996.66kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=d15ee7729a4ed46404f68a16ad6e68ee
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000590s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000865s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000334s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.004163s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.001757s ]
  6. SELECT * FROM `set` [ RunTime:0.000738s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.001645s ]
  8. SELECT * FROM `article` WHERE `id` = 474330 LIMIT 1 [ RunTime:0.017632s ]
  9. UPDATE `article` SET `lasttime` = 1770557055 WHERE `id` = 474330 [ RunTime:0.006399s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 67 LIMIT 1 [ RunTime:0.000825s ]
  11. SELECT * FROM `article` WHERE `id` < 474330 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.006439s ]
  12. SELECT * FROM `article` WHERE `id` > 474330 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.007375s ]
  13. SELECT * FROM `article` WHERE `id` < 474330 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.011297s ]
  14. SELECT * FROM `article` WHERE `id` < 474330 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.020254s ]
  15. SELECT * FROM `article` WHERE `id` < 474330 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.035879s ]
0.195064s