20250407在荣品的PRO-RK3566开发板使用Rockchip原厂的buildroot系统时加入ll命令【直接编译进IMG】

./buildroot/system/skeleton/etc/profile
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ ./build.sh cleanall


.bashrc

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'


20250407在荣品的PRO-RK3566开发板使用Rockchip原厂的buildroot系统时加入ll命令【直接编译进IMG】
2025/4/7 14:30


缘起:在ubuntu20.04下使用ll命令习惯了。
在Rockchip的Android10/11/12/13下也解决了ll命令的使用。
在Rockchip的buildroot下使用ll命令一直没有解决。


荣品提供了修改开发板中profile的方法。
在串口终端中使用VI直接修改/etc/profile:
root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# diff profile profile.bak1 


感觉还是直接编译进IMG固件靠谱,这样就不用每次刷机都要自己修改了!

rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ find . -name profile
./rtos/bsp/imx6sx/iMX6_Platform_SDK/sdk/common/profile
./kernel/include/config/branch/profile
./kernel/include/config/arch/has/gcov/profile
./buildroot/system/skeleton/etc/profile
./buildroot/output/rockchip_rk3566/host/aarch64-buildroot-linux-gnu/sysroot/etc/profile
./buildroot/output/rockchip_rk3566/build/host-gcc-initial-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566/build/host-gcc-initial-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566/build/host-gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566/build/host-gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566/build/busybox-1.36.1/examples/bootfloppy/etc/profile
./buildroot/output/rockchip_rk3566/build/linux-headers-custom/include/config/branch/profile
./buildroot/output/rockchip_rk3566/build/linux-headers-custom/include/config/arch/has/gcov/profile
./buildroot/output/rockchip_rk3566/build/gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566/build/gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566/build/gcc-final-12.3.0/libgo/go/internal/profile
./buildroot/output/rockchip_rk3566/target/etc/profile
./buildroot/output/rockchip_rk3566_recovery/host/aarch64-buildroot-linux-gnu/sysroot/etc/profile
./buildroot/output/rockchip_rk3566_recovery/build/host-gcc-initial-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566_recovery/build/host-gcc-initial-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566_recovery/build/host-gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566_recovery/build/host-gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566_recovery/build/busybox-1.36.1/examples/bootfloppy/etc/profile
./buildroot/output/rockchip_rk3566_recovery/build/linux-headers-custom/include/config/branch/profile
./buildroot/output/rockchip_rk3566_recovery/build/linux-headers-custom/include/config/arch/has/gcov/profile
./buildroot/output/rockchip_rk3566_recovery/build/gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566_recovery/build/gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566_recovery/build/gcc-final-12.3.0/libgo/go/internal/profile
./buildroot/output/rockchip_rk3566_recovery/target/etc/profile
./yocto/poky/meta/recipes-core/base-files/base-files/profile
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 


根据经验/很容易知道/很艰难得知:./buildroot/system/skeleton/etc/profile
./buildroot/output/rockchip_rk3566/target/etc/profile
./buildroot/output/rockchip_rk3566_recovery/target/etc/profile


但是直接修改output目录中的:profile不知道是否有效。
./buildroot/output/rockchip_rk3566/target/etc/profile
./buildroot/output/rockchip_rk3566_recovery/target/etc/profile


但是使用./build.sh cleanall的后劲很足的。基本上宣告你要重新/从新开始。2小时时间没有了!
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ ./build.sh cleanall


.bashrc

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case $- in
    *i*) ;;
      *) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color|*-256color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
    # We have color support; assume it's compliant with Ecma-48
    # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
    # a case would tend to support setf rather than setaf.)
    color_prompt=yes
    else
    color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# Add an "alert" alias for long running commands.  Use like so:
#   sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi


编译步骤:完整的LOG:
rootroot@rootroot-X99-Turbo:~$ cd RK3566_RK3568_Linux5.10_V1.2.0/
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ ll
total 104
drwxr-xr-x 26 rootroot rootroot 4096 4月   7 13:42 ./
drwxr-xr-x 34 rootroot rootroot 4096 4月   7 15:50 ../
drwxr-xr-x  4 rootroot rootroot 4096 4月   3  2024 app/
drwxr-xr-x 18 rootroot rootroot 4096 4月   7 12:02 buildroot/
lrwxrwxrwx  1 rootroot rootroot   39 4月   3  2024 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx  1 rootroot rootroot   22 4月   3  2024 common -> device/rockchip/common/
drwxr-xr-x  9 rootroot rootroot 4096 10月 22 10:32 debian/
drwxr-xr-x  3 rootroot rootroot 4096 4月   3  2024 device/
drwxr-xr-x  6 rootroot rootroot 4096 10月 22 10:32 docs/
drwxr-xr-x 29 rootroot rootroot 4096 10月 22 10:32 external/
drwxrwxr-x  2 rootroot rootroot 4096 3月  28 15:50 Image01原始/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 09:30 Image02修改DTS了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 10:11 Image03打开gc2093了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 15:10 Image04更新gmac1了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 15:49 Image05打开gc2093-更新gmac1+4GB处理/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 18:20 Image06配置gmac1/
drwxrwxr-x  2 rootroot rootroot 4096 4月   7 09:32 Image07尝试加入ll/
drwxrwxr-x  2 rootroot rootroot 4096 4月   7 12:33 Image08确认ll/
drwxr-xr-x 26 rootroot rootroot 4096 4月   7 12:33 kernel/
lrwxrwxrwx  1 rootroot rootroot   31 4月   3  2024 Makefile -> device/rockchip/common/Makefile
drwxrwxr-x 10 rootroot rootroot 4096 4月   7 12:33 output/
drwxr-xr-x  3 rootroot rootroot 4096 4月   3  2024 prebuilts/
lrwxrwxrwx  1 rootroot rootroot   32 4月   3  2024 README.md -> device/rockchip/common/README.md
drwxr-xr-x  7 rootroot rootroot 4096 4月   3  2024 .repo/
drwxr-xr-x  9 rootroot rootroot 4096 4月   3  2024 repo/
drwxr-xr-x  9 rootroot rootroot 4096 4月   7 10:31 rkbin/
lrwxrwxrwx  1 rootroot rootroot   41 4月   3  2024 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
lrwxrwxrwx  1 rootroot rootroot   15 4月   7 12:33 rockdev -> output/firmware/
drwxr-xr-x 16 rootroot rootroot 4096 10月 22 10:32 rtos/
drwxr-xr-x  5 rootroot rootroot 4096 4月   3  2024 tools/
drwxr-xr-x 27 rootroot rootroot 4096 4月   7 10:31 u-boot/
drwxr-xr-x  9 rootroot rootroot 4096 10月 22 10:32 yocto/
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ find . -name profile
./rtos/bsp/imx6sx/iMX6_Platform_SDK/sdk/common/profile
./kernel/include/config/branch/profile
./kernel/include/config/arch/has/gcov/profile
./buildroot/system/skeleton/etc/profile
./buildroot/output/rockchip_rk3566/host/aarch64-buildroot-linux-gnu/sysroot/etc/profile
./buildroot/output/rockchip_rk3566/build/host-gcc-initial-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566/build/host-gcc-initial-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566/build/host-gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566/build/host-gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566/build/busybox-1.36.1/examples/bootfloppy/etc/profile
./buildroot/output/rockchip_rk3566/build/linux-headers-custom/include/config/branch/profile
./buildroot/output/rockchip_rk3566/build/linux-headers-custom/include/config/arch/has/gcov/profile
./buildroot/output/rockchip_rk3566/build/gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566/build/gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566/build/gcc-final-12.3.0/libgo/go/internal/profile
./buildroot/output/rockchip_rk3566/target/etc/profile
./buildroot/output/rockchip_rk3566_recovery/host/aarch64-buildroot-linux-gnu/sysroot/etc/profile
./buildroot/output/rockchip_rk3566_recovery/build/host-gcc-initial-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566_recovery/build/host-gcc-initial-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566_recovery/build/host-gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566_recovery/build/host-gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566_recovery/build/busybox-1.36.1/examples/bootfloppy/etc/profile
./buildroot/output/rockchip_rk3566_recovery/build/linux-headers-custom/include/config/branch/profile
./buildroot/output/rockchip_rk3566_recovery/build/linux-headers-custom/include/config/arch/has/gcov/profile
./buildroot/output/rockchip_rk3566_recovery/build/gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/vector/profile
./buildroot/output/rockchip_rk3566_recovery/build/gcc-final-12.3.0/libstdc++-v3/testsuite/23_containers/unordered_map/profile
./buildroot/output/rockchip_rk3566_recovery/build/gcc-final-12.3.0/libgo/go/internal/profile
./buildroot/output/rockchip_rk3566_recovery/target/etc/profile
./yocto/poky/meta/recipes-core/base-files/base-files/profile
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ ll
total 104
drwxr-xr-x 26 rootroot rootroot 4096 4月   7 13:42 ./
drwxr-xr-x 34 rootroot rootroot 4096 4月   7 15:50 ../
drwxr-xr-x  4 rootroot rootroot 4096 4月   3  2024 app/
drwxr-xr-x 18 rootroot rootroot 4096 4月   7 12:02 buildroot/
lrwxrwxrwx  1 rootroot rootroot   39 4月   3  2024 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx  1 rootroot rootroot   22 4月   3  2024 common -> device/rockchip/common/
drwxr-xr-x  9 rootroot rootroot 4096 10月 22 10:32 debian/
drwxr-xr-x  3 rootroot rootroot 4096 4月   3  2024 device/
drwxr-xr-x  6 rootroot rootroot 4096 10月 22 10:32 docs/
drwxr-xr-x 29 rootroot rootroot 4096 10月 22 10:32 external/
drwxrwxr-x  2 rootroot rootroot 4096 3月  28 15:50 Image01原始/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 09:30 Image02修改DTS了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 10:11 Image03打开gc2093了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 15:10 Image04更新gmac1了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 15:49 Image05打开gc2093-更新gmac1+4GB处理/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 18:20 Image06配置gmac1/
drwxrwxr-x  2 rootroot rootroot 4096 4月   7 09:32 Image07尝试加入ll/
drwxrwxr-x  2 rootroot rootroot 4096 4月   7 12:33 Image08确认ll/
drwxr-xr-x 26 rootroot rootroot 4096 4月   7 12:33 kernel/
lrwxrwxrwx  1 rootroot rootroot   31 4月   3  2024 Makefile -> device/rockchip/common/Makefile
drwxrwxr-x 10 rootroot rootroot 4096 4月   7 12:33 output/
drwxr-xr-x  3 rootroot rootroot 4096 4月   3  2024 prebuilts/
lrwxrwxrwx  1 rootroot rootroot   32 4月   3  2024 README.md -> device/rockchip/common/README.md
drwxr-xr-x  7 rootroot rootroot 4096 4月   3  2024 .repo/
drwxr-xr-x  9 rootroot rootroot 4096 4月   3  2024 repo/
drwxr-xr-x  9 rootroot rootroot 4096 4月   7 10:31 rkbin/
lrwxrwxrwx  1 rootroot rootroot   41 4月   3  2024 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
lrwxrwxrwx  1 rootroot rootroot   15 4月   7 12:33 rockdev -> output/firmware/
drwxr-xr-x 16 rootroot rootroot 4096 10月 22 10:32 rtos/
drwxr-xr-x  5 rootroot rootroot 4096 4月   3  2024 tools/
drwxr-xr-x 27 rootroot rootroot 4096 4月   7 10:31 u-boot/
drwxr-xr-x  9 rootroot rootroot 4096 10月 22 10:32 yocto/
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ ./build.sh --help

############### Rockchip Linux SDK ###############

Manifest: rk356x_linux5.10_release_v1.5.0_20240620.xml
Version: linux-5.10-gen-rkr8

Log colors: message notice warning error fatal

Usage: build.sh [OPTIONS]
Available options:
chip[:<chip>[:<config>]]              choose chip
defconfig[:<config>]                  choose defconfig
 *_defconfig                          switch to specified defconfig
    available defconfigs:
    rockchip_defconfig
    rockchip_rk3566_evb2_lp4x_v10_32bit_defconfig
    rockchip_rk3566_evb2_lp4x_v10_defconfig
    rockchip_rk3568_evb1_ddr4_v10_32bit_defconfig
    rockchip_rk3568_evb1_ddr4_v10_defconfig
    rockchip_rk3568_evb8_lp4_v10_32bit_defconfig
    rockchip_rk3568_evb8_lp4_v10_defconfig
    rockchip_rk3568_pcie_ep_lp4x_v10_defconfig
 olddefconfig                         resolve any unresolved symbols in .config
 savedefconfig                        save current config to defconfig
 menuconfig                           interactive curses-based configurator
config                                modify SDK defconfig
print-parts                            print partitions
list-parts                             alias of print-parts
mod-parts                              interactive partition table modify
edit-parts                             edit raw partitions
new-parts:<offset>:<name>:<size>...    re-create partitions
insert-part:<idx>:<name>[:<size>]      insert partition
del-part:(<idx>|<name>)                delete partition
move-part:(<idx>|<name>):<idx>         move partition
rename-part:(<idx>|<name>):<name>      rename partition
resize-part:(<idx>|<name>):<size>      resize partition
misc                                  pack misc image
kernel[:dry-run]                     build kernel
recovery-kernel[:dry-run]            build kernel for recovery
modules[:dry-run]                    build kernel modules
linux-headers[:dry-run]              build linux-headers
kernel-config[:dry-run]              modify kernel defconfig
kconfig[:dry-run]                    alias of kernel-config
kernel-make[:<arg1>:<arg2>]          run kernel make
kmake[:<arg1>:<arg2>]                alias of kernel-make
wifibt[:<dst dir>[:<chip>]]           build Wifi/BT
amp                                  build and pack amp system
buildroot-config[:<config>]           modify buildroot defconfig
bconfig[:<config>]                    alias of buildroot-config
buildroot-make[:<arg1>:<arg2>]        run buildroot make
bmake[:<arg1>:<arg2>]                 alias of buildroot-make
rootfs[:<rootfs type>]                build default rootfs
buildroot                             build buildroot rootfs
yocto                                 build yocto rootfs
debian                                build debian rootfs
recovery                              build recovery
security-createkeys                   create keys for security
security-misc                         build misc with system encryption key
security-ramboot                      build security ramboot
security-system                       build security system
loader[:dry-run]                     build loader (u-boot)
uboot[:dry-run]                      build u-boot
u-boot[:dry-run]                     alias of uboot
uefi[:dry-run]                       build uefi
extra-parts                           pack extra partition images
firmware                              pack and check firmwares
edit-package-file                     edit package-file
edit-ota-package-file                 edit package-file for OTA
updateimg                             build update image
ota-updateimg                         build update image for OTA
all                                   build images
release                               release images and build info
all-release                           build and release images
shell                                 setup a shell for developing
cleanall                              cleanup
clean[:module[:module]]...            cleanup modules
    available modules:
    all
    amp
    config
    extra-parts
    firmware
    kernel
    loader
    misc
    recovery
    rootfs
    security
    updateimg
post-rootfs <rootfs dir>              trigger post-rootfs hook scripts
help                                  usage

Default option is 'all'.
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ ./build.sh cleanall

############### Rockchip Linux SDK ###############

Manifest: rk356x_linux5.10_release_v1.5.0_20240620.xml
Version: linux-5.10-gen-rkr8

Log colors: message notice warning error fatal

Log saved at /home/rootroot/RK3566_RK3568_Linux5.10_V1.2.0/output/sessions/2025-04-07_16-18-28
Using last kernel version(5.10)
make: Entering directory '/home/rootroot/RK3566_RK3568_Linux5.10_V1.2.0/kernel'
  CLEAN   certs
  CLEAN   drivers/firmware/efi/libstub
  CLEAN   drivers/misc/lkdtm
  CLEAN   drivers/scsi
  CLEAN   drivers/tty/vt
  CLEAN   fs/unicode
  CLEAN   kernel
  CLEAN   lib
  CLEAN   net/wireless
  CLEAN   usr
  CLEAN   vmlinux.symvers modules-only.symvers modules.builtin modules.builtin.modinfo
  CLEAN   scripts/basic
  CLEAN   scripts/dtc
  CLEAN   scripts/kconfig
  CLEAN   scripts/mod
  CLEAN   scripts
  CLEAN   include/config include/generated .config .version Module.symvers
make: Leaving directory '/home/rootroot/RK3566_RK3568_Linux5.10_V1.2.0/kernel'
make: Entering directory '/home/rootroot/RK3566_RK3568_Linux5.10_V1.2.0/u-boot'
  CLEAN   dts/../arch/arm/dts
  CLEAN   dts
  CLEAN   examples/standalone
  CLEAN   tools
  CLEAN   tools/lib tools/common
  CLEAN   spl/arch spl/board spl/cmd spl/common spl/disk spl/drivers spl/dts spl/env spl/fs spl/lib spl/u-boot-spl spl/u-boot-spl-dtb.bin spl/u-boot-spl-nodtb.bin spl/u-boot-spl.bin spl/u-boot-spl.dtb spl/u-boot-spl.lds spl/u-boot-spl.map spl/u-boot-spl.sym spl/u-boot.cfg tpl/arch tpl/board tpl/common tpl/disk tpl/drivers tpl/dts tpl/fs tpl/u-boot-spl.lds tpl/u-boot-tpl tpl/u-boot-tpl-nodtb.bin tpl/u-boot-tpl.bin tpl/u-boot-tpl.map tpl/u-boot-tpl.sym tpl/u-boot.cfg
  CLEAN   u-boot-nodtb.bin.digest u-boot-nodtb.bin u-boot.lds u-boot.cfg.configs u-boot-nodtb.bin.gz u-boot.map u-boot.bin u-boot.cfg u-boot.srec u-boot-dtb.bin u-boot.dtb u-boot u-boot.sym System.map u-boot-nodtb.bin bl31_0x00040000.bin bl31_0xfdcce000.bin u-boot.bin bl31_0xfdcc1000.bin tee.bin bl31_0x0006b000.bin bl31_0x00069000.bin bl31_0xfdcd0000.bin u-boot-dtb.bin rk356x_spl_loader_v1.21.114.bin uboot.img bl31_0x00040000.bin.gz u-boot-nodtb.bin.gz tee.bin.gz .cc
  CLEAN   scripts/basic
  CLEAN   scripts/dtc
  CLEAN   scripts/kconfig
  CLEAN   include/config include/generated spl tpl
  CLEAN   .config .config.old include/autoconf.mk.dep include/autoconf.mk include/config.h
make: Leaving directory '/home/rootroot/RK3566_RK3568_Linux5.10_V1.2.0/u-boot'
Running build.sh - cleanall succeeded.
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ ll
total 100
drwxr-xr-x 25 rootroot rootroot 4096 4月   7 16:19 ./
drwxr-xr-x 34 rootroot rootroot 4096 4月   7 15:50 ../
drwxr-xr-x  4 rootroot rootroot 4096 4月   3  2024 app/
drwxr-xr-x 18 rootroot rootroot 4096 4月   7 12:02 buildroot/
lrwxrwxrwx  1 rootroot rootroot   39 4月   3  2024 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx  1 rootroot rootroot   22 4月   3  2024 common -> device/rockchip/common/
drwxr-xr-x  9 rootroot rootroot 4096 10月 22 10:32 debian/
drwxr-xr-x  3 rootroot rootroot 4096 4月   3  2024 device/
drwxr-xr-x  6 rootroot rootroot 4096 10月 22 10:32 docs/
drwxr-xr-x 29 rootroot rootroot 4096 10月 22 10:32 external/
drwxrwxr-x  2 rootroot rootroot 4096 3月  28 15:50 Image01原始/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 09:30 Image02修改DTS了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 10:11 Image03打开gc2093了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 15:10 Image04更新gmac1了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 15:49 Image05打开gc2093-更新gmac1+4GB处理/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 18:20 Image06配置gmac1/
drwxrwxr-x  2 rootroot rootroot 4096 4月   7 09:32 Image07尝试加入ll/
drwxrwxr-x  2 rootroot rootroot 4096 4月   7 12:33 Image08确认ll/
drwxr-xr-x 26 rootroot rootroot 4096 4月   7 16:18 kernel/
lrwxrwxrwx  1 rootroot rootroot   31 4月   3  2024 Makefile -> device/rockchip/common/Makefile
drwxr-xr-x  3 rootroot rootroot 4096 4月   3  2024 prebuilts/
lrwxrwxrwx  1 rootroot rootroot   32 4月   3  2024 README.md -> device/rockchip/common/README.md
drwxr-xr-x  7 rootroot rootroot 4096 4月   3  2024 .repo/
drwxr-xr-x  9 rootroot rootroot 4096 4月   3  2024 repo/
drwxr-xr-x  9 rootroot rootroot 4096 4月   7 10:31 rkbin/
lrwxrwxrwx  1 rootroot rootroot   41 4月   3  2024 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
drwxr-xr-x 16 rootroot rootroot 4096 10月 22 10:32 rtos/
drwxr-xr-x  5 rootroot rootroot 4096 4月   3  2024 tools/
drwxr-xr-x 25 rootroot rootroot 4096 4月   7 16:19 u-boot/
drwxr-xr-x  9 rootroot rootroot 4096 10月 22 10:32 yocto/
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ cd kernel/
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ ll
total 53376
drwxr-xr-x  26 rootroot rootroot     4096 4月   7 16:18 ./
drwxr-xr-x  25 rootroot rootroot     4096 4月   7 16:19 ../
drwxr-xr-x   2 rootroot rootroot     4096 10月 22 10:32 android/
drwxr-xr-x  26 rootroot rootroot     4096 4月   3  2024 arch/
drwxr-xr-x   3 rootroot rootroot     4096 4月   7 16:18 block/
-rw-rw-r--   1 rootroot rootroot 37247488 4月   7 10:36 boot.img
-rw-r--r--   1 rootroot rootroot     1410 4月   3  2024 boot.its
-rw-r--r--   1 rootroot rootroot      296 4月   3  2024 build.config.aarch64
-rw-r--r--   1 rootroot rootroot      429 4月   3  2024 build.config.allmodconfig
-rw-r--r--   1 rootroot rootroot      152 4月   3  2024 build.config.allmodconfig.aarch64
-rw-r--r--   1 rootroot rootroot      148 4月   3  2024 build.config.allmodconfig.arm
-rw-r--r--   1 rootroot rootroot      151 4月   3  2024 build.config.allmodconfig.x86_64
-rw-r--r--   1 rootroot rootroot     1214 4月   3  2024 build.config.amlogic
-rw-r--r--   1 rootroot rootroot      198 4月   3  2024 build.config.arm
-rw-r--r--   1 rootroot rootroot      378 4月   3  2024 build.config.common
-rw-r--r--   1 rootroot rootroot      824 10月 22 10:32 build.config.db845c
-rw-r--r--   1 rootroot rootroot       63 4月   3  2024 build.config.gki
-rw-r--r--   1 rootroot rootroot     1416 4月   3  2024 build.config.gki.aarch64
-rw-r--r--   1 rootroot rootroot      638 4月   3  2024 build.config.gki.aarch64.fips140
-rw-r--r--   1 rootroot rootroot      230 4月   3  2024 build.config.gki.aarch64.fips140_eval_testing
-rw-r--r--   1 rootroot rootroot      106 4月   3  2024 build.config.gki-debug.aarch64
-rw-r--r--   1 rootroot rootroot      105 4月   3  2024 build.config.gki-debug.x86_64
-rw-r--r--   1 rootroot rootroot      664 4月   3  2024 build.config.gki_kasan
-rw-r--r--   1 rootroot rootroot      148 4月   3  2024 build.config.gki_kasan.aarch64
-rw-r--r--   1 rootroot rootroot      148 4月   3  2024 build.config.gki_kasan.x86_64
-rw-r--r--   1 rootroot rootroot      629 4月   3  2024 build.config.gki_kprobes
-rw-r--r--   1 rootroot rootroot      151 4月   3  2024 build.config.gki_kprobes.aarch64
-rw-r--r--   1 rootroot rootroot      150 4月   3  2024 build.config.gki_kprobes.x86_64
-rw-r--r--   1 rootroot rootroot      142 4月   3  2024 build.config.gki.x86_64
-rw-r--r--   1 rootroot rootroot      740 4月   3  2024 build.config.hikey960
-rw-r--r--   1 rootroot rootroot      544 4月   3  2024 build.config.khwasan
-rw-r--r--   1 rootroot rootroot      478 4月   3  2024 build.config.rockchip
-rw-r--r--   1 rootroot rootroot      274 4月   3  2024 build.config.x86_64
drwxr-xr-x   2 rootroot rootroot     4096 4月   7 16:18 certs/
-rw-r--r--   1 rootroot rootroot    16673 4月   3  2024 .clang-format
-rw-r--r--   1 rootroot rootroot       59 4月   3  2024 .cocciconfig
-rw-r--r--   1 rootroot rootroot      496 4月   3  2024 COPYING
-rw-r--r--   1 rootroot rootroot   100478 4月   3  2024 CREDITS
drwxr-xr-x   4 rootroot rootroot    16384 4月   7 16:18 crypto/
drwxr-xr-x  82 rootroot rootroot     4096 10月 22 10:32 Documentation/
drwxr-xr-x 144 rootroot rootroot     4096 4月   7 16:18 drivers/
drwxr-xr-x  80 rootroot rootroot    12288 4月   7 16:18 fs/
-rw-r--r--   1 rootroot rootroot       71 4月   3  2024 .get_maintainer.ignore
lrwxrwxrwx   1 rootroot rootroot       28 4月   3  2024 .git -> ../.repo/projects/kernel.git/
-rw-r--r--   1 rootroot rootroot       62 4月   3  2024 .gitattributes
-rw-r--r--   1 rootroot rootroot     1944 4月   3  2024 .gitignore
drwxr-xr-x  29 rootroot rootroot     4096 4月   7 16:18 include/
drwxr-xr-x   2 rootroot rootroot     4096 4月   7 16:18 init/
drwxr-xr-x   2 rootroot rootroot     4096 4月   7 16:18 io_uring/
drwxr-xr-x   2 rootroot rootroot     4096 4月   7 16:18 ipc/
-rw-r--r--   1 rootroot rootroot     1327 4月   3  2024 Kbuild
-rw-r--r--   1 rootroot rootroot      555 4月   3  2024 Kconfig
drwxr-xr-x  21 rootroot rootroot    12288 4月   7 16:18 kernel/
drwxr-xr-x  21 rootroot rootroot    24576 4月   7 16:18 lib/
drwxr-xr-x   6 rootroot rootroot     4096 4月   3  2024 LICENSES/
-rw-r--r--   1 rootroot rootroot    12936 4月   3  2024 logo.bmp
-rw-r--r--   1 rootroot rootroot    22364 4月   3  2024 logo_kernel.bmp
-rw-r--r--   1 rootroot rootroot    18204 4月   3  2024 .mailmap
-rw-r--r--   1 rootroot rootroot   577590 4月   3  2024 MAINTAINERS
-rw-r--r--   1 rootroot rootroot    68440 10月 22 10:32 Makefile
drwxr-xr-x   5 rootroot rootroot    12288 4月   7 16:18 mm/
drwxr-xr-x  72 rootroot rootroot     4096 4月   7 16:18 net/
-rw-r--r--   1 rootroot rootroot      438 4月   3  2024 OWNERS
-rw-r--r--   1 rootroot rootroot      727 4月   3  2024 README
-rw-r--r--   1 rootroot rootroot     6402 4月   3  2024 README.md
-rw-rw-r--   1 rootroot rootroot   207872 4月   7 12:33 resource.img
drwxr-xr-x  33 rootroot rootroot     4096 4月   3  2024 samples/
-rw-r--r--   1 rootroot rootroot        0 4月   3  2024 .scmversion
drwxr-xr-x  17 rootroot rootroot     4096 4月   7 16:18 scripts/
drwxr-xr-x  13 rootroot rootroot     4096 4月   7 16:18 security/
drwxr-xr-x  26 rootroot rootroot     4096 4月   7 16:18 sound/
drwxr-xr-x  37 rootroot rootroot     4096 4月   3  2024 tools/
drwxr-xr-x   3 rootroot rootroot     4096 4月   7 16:18 usr/
drwxr-xr-x   4 rootroot rootroot     4096 4月   7 16:18 virt/
-rw-rw-r--   1 rootroot rootroot 16039936 4月   7 10:36 zboot.img
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ ll *.img
-rw-rw-r-- 1 rootroot rootroot 37247488 4月   7 10:36 boot.img
-rw-rw-r-- 1 rootroot rootroot   207872 4月   7 12:33 resource.img
-rw-rw-r-- 1 rootroot rootroot 16039936 4月   7 10:36 zboot.img
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ rm *.img
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ ll
total 1128
drwxr-xr-x  26 rootroot rootroot   4096 4月   7 16:20 ./
drwxr-xr-x  25 rootroot rootroot   4096 4月   7 16:19 ../
drwxr-xr-x   2 rootroot rootroot   4096 10月 22 10:32 android/
drwxr-xr-x  26 rootroot rootroot   4096 4月   3  2024 arch/
drwxr-xr-x   3 rootroot rootroot   4096 4月   7 16:18 block/
-rw-r--r--   1 rootroot rootroot   1410 4月   3  2024 boot.its
-rw-r--r--   1 rootroot rootroot    296 4月   3  2024 build.config.aarch64
-rw-r--r--   1 rootroot rootroot    429 4月   3  2024 build.config.allmodconfig
-rw-r--r--   1 rootroot rootroot    152 4月   3  2024 build.config.allmodconfig.aarch64
-rw-r--r--   1 rootroot rootroot    148 4月   3  2024 build.config.allmodconfig.arm
-rw-r--r--   1 rootroot rootroot    151 4月   3  2024 build.config.allmodconfig.x86_64
-rw-r--r--   1 rootroot rootroot   1214 4月   3  2024 build.config.amlogic
-rw-r--r--   1 rootroot rootroot    198 4月   3  2024 build.config.arm
-rw-r--r--   1 rootroot rootroot    378 4月   3  2024 build.config.common
-rw-r--r--   1 rootroot rootroot    824 10月 22 10:32 build.config.db845c
-rw-r--r--   1 rootroot rootroot     63 4月   3  2024 build.config.gki
-rw-r--r--   1 rootroot rootroot   1416 4月   3  2024 build.config.gki.aarch64
-rw-r--r--   1 rootroot rootroot    638 4月   3  2024 build.config.gki.aarch64.fips140
-rw-r--r--   1 rootroot rootroot    230 4月   3  2024 build.config.gki.aarch64.fips140_eval_testing
-rw-r--r--   1 rootroot rootroot    106 4月   3  2024 build.config.gki-debug.aarch64
-rw-r--r--   1 rootroot rootroot    105 4月   3  2024 build.config.gki-debug.x86_64
-rw-r--r--   1 rootroot rootroot    664 4月   3  2024 build.config.gki_kasan
-rw-r--r--   1 rootroot rootroot    148 4月   3  2024 build.config.gki_kasan.aarch64
-rw-r--r--   1 rootroot rootroot    148 4月   3  2024 build.config.gki_kasan.x86_64
-rw-r--r--   1 rootroot rootroot    629 4月   3  2024 build.config.gki_kprobes
-rw-r--r--   1 rootroot rootroot    151 4月   3  2024 build.config.gki_kprobes.aarch64
-rw-r--r--   1 rootroot rootroot    150 4月   3  2024 build.config.gki_kprobes.x86_64
-rw-r--r--   1 rootroot rootroot    142 4月   3  2024 build.config.gki.x86_64
-rw-r--r--   1 rootroot rootroot    740 4月   3  2024 build.config.hikey960
-rw-r--r--   1 rootroot rootroot    544 4月   3  2024 build.config.khwasan
-rw-r--r--   1 rootroot rootroot    478 4月   3  2024 build.config.rockchip
-rw-r--r--   1 rootroot rootroot    274 4月   3  2024 build.config.x86_64
drwxr-xr-x   2 rootroot rootroot   4096 4月   7 16:18 certs/
-rw-r--r--   1 rootroot rootroot  16673 4月   3  2024 .clang-format
-rw-r--r--   1 rootroot rootroot     59 4月   3  2024 .cocciconfig
-rw-r--r--   1 rootroot rootroot    496 4月   3  2024 COPYING
-rw-r--r--   1 rootroot rootroot 100478 4月   3  2024 CREDITS
drwxr-xr-x   4 rootroot rootroot  16384 4月   7 16:18 crypto/
drwxr-xr-x  82 rootroot rootroot   4096 10月 22 10:32 Documentation/
drwxr-xr-x 144 rootroot rootroot   4096 4月   7 16:18 drivers/
drwxr-xr-x  80 rootroot rootroot  12288 4月   7 16:18 fs/
-rw-r--r--   1 rootroot rootroot     71 4月   3  2024 .get_maintainer.ignore
lrwxrwxrwx   1 rootroot rootroot     28 4月   3  2024 .git -> ../.repo/projects/kernel.git/
-rw-r--r--   1 rootroot rootroot     62 4月   3  2024 .gitattributes
-rw-r--r--   1 rootroot rootroot   1944 4月   3  2024 .gitignore
drwxr-xr-x  29 rootroot rootroot   4096 4月   7 16:18 include/
drwxr-xr-x   2 rootroot rootroot   4096 4月   7 16:18 init/
drwxr-xr-x   2 rootroot rootroot   4096 4月   7 16:18 io_uring/
drwxr-xr-x   2 rootroot rootroot   4096 4月   7 16:18 ipc/
-rw-r--r--   1 rootroot rootroot   1327 4月   3  2024 Kbuild
-rw-r--r--   1 rootroot rootroot    555 4月   3  2024 Kconfig
drwxr-xr-x  21 rootroot rootroot  12288 4月   7 16:18 kernel/
drwxr-xr-x  21 rootroot rootroot  24576 4月   7 16:18 lib/
drwxr-xr-x   6 rootroot rootroot   4096 4月   3  2024 LICENSES/
-rw-r--r--   1 rootroot rootroot  12936 4月   3  2024 logo.bmp
-rw-r--r--   1 rootroot rootroot  22364 4月   3  2024 logo_kernel.bmp
-rw-r--r--   1 rootroot rootroot  18204 4月   3  2024 .mailmap
-rw-r--r--   1 rootroot rootroot 577590 4月   3  2024 MAINTAINERS
-rw-r--r--   1 rootroot rootroot  68440 10月 22 10:32 Makefile
drwxr-xr-x   5 rootroot rootroot  12288 4月   7 16:18 mm/
drwxr-xr-x  72 rootroot rootroot   4096 4月   7 16:18 net/
-rw-r--r--   1 rootroot rootroot    438 4月   3  2024 OWNERS
-rw-r--r--   1 rootroot rootroot    727 4月   3  2024 README
-rw-r--r--   1 rootroot rootroot   6402 4月   3  2024 README.md
drwxr-xr-x  33 rootroot rootroot   4096 4月   3  2024 samples/
-rw-r--r--   1 rootroot rootroot      0 4月   3  2024 .scmversion
drwxr-xr-x  17 rootroot rootroot   4096 4月   7 16:18 scripts/
drwxr-xr-x  13 rootroot rootroot   4096 4月   7 16:18 security/
drwxr-xr-x  26 rootroot rootroot   4096 4月   7 16:18 sound/
drwxr-xr-x  37 rootroot rootroot   4096 4月   3  2024 tools/
drwxr-xr-x   3 rootroot rootroot   4096 4月   7 16:18 usr/
drwxr-xr-x   4 rootroot rootroot   4096 4月   7 16:18 virt/
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ ll *.img\
> ^C
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ ll *.img
ls: cannot access '*.img': No such file or directory
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ ll
total 1128
drwxr-xr-x  26 rootroot rootroot   4096 4月   7 16:20 ./
drwxr-xr-x  25 rootroot rootroot   4096 4月   7 16:19 ../
drwxr-xr-x   2 rootroot rootroot   4096 10月 22 10:32 android/
drwxr-xr-x  26 rootroot rootroot   4096 4月   3  2024 arch/
drwxr-xr-x   3 rootroot rootroot   4096 4月   7 16:18 block/
-rw-r--r--   1 rootroot rootroot   1410 4月   3  2024 boot.its
-rw-r--r--   1 rootroot rootroot    296 4月   3  2024 build.config.aarch64
-rw-r--r--   1 rootroot rootroot    429 4月   3  2024 build.config.allmodconfig
-rw-r--r--   1 rootroot rootroot    152 4月   3  2024 build.config.allmodconfig.aarch64
-rw-r--r--   1 rootroot rootroot    148 4月   3  2024 build.config.allmodconfig.arm
-rw-r--r--   1 rootroot rootroot    151 4月   3  2024 build.config.allmodconfig.x86_64
-rw-r--r--   1 rootroot rootroot   1214 4月   3  2024 build.config.amlogic
-rw-r--r--   1 rootroot rootroot    198 4月   3  2024 build.config.arm
-rw-r--r--   1 rootroot rootroot    378 4月   3  2024 build.config.common
-rw-r--r--   1 rootroot rootroot    824 10月 22 10:32 build.config.db845c
-rw-r--r--   1 rootroot rootroot     63 4月   3  2024 build.config.gki
-rw-r--r--   1 rootroot rootroot   1416 4月   3  2024 build.config.gki.aarch64
-rw-r--r--   1 rootroot rootroot    638 4月   3  2024 build.config.gki.aarch64.fips140
-rw-r--r--   1 rootroot rootroot    230 4月   3  2024 build.config.gki.aarch64.fips140_eval_testing
-rw-r--r--   1 rootroot rootroot    106 4月   3  2024 build.config.gki-debug.aarch64
-rw-r--r--   1 rootroot rootroot    105 4月   3  2024 build.config.gki-debug.x86_64
-rw-r--r--   1 rootroot rootroot    664 4月   3  2024 build.config.gki_kasan
-rw-r--r--   1 rootroot rootroot    148 4月   3  2024 build.config.gki_kasan.aarch64
-rw-r--r--   1 rootroot rootroot    148 4月   3  2024 build.config.gki_kasan.x86_64
-rw-r--r--   1 rootroot rootroot    629 4月   3  2024 build.config.gki_kprobes
-rw-r--r--   1 rootroot rootroot    151 4月   3  2024 build.config.gki_kprobes.aarch64
-rw-r--r--   1 rootroot rootroot    150 4月   3  2024 build.config.gki_kprobes.x86_64
-rw-r--r--   1 rootroot rootroot    142 4月   3  2024 build.config.gki.x86_64
-rw-r--r--   1 rootroot rootroot    740 4月   3  2024 build.config.hikey960
-rw-r--r--   1 rootroot rootroot    544 4月   3  2024 build.config.khwasan
-rw-r--r--   1 rootroot rootroot    478 4月   3  2024 build.config.rockchip
-rw-r--r--   1 rootroot rootroot    274 4月   3  2024 build.config.x86_64
drwxr-xr-x   2 rootroot rootroot   4096 4月   7 16:18 certs/
-rw-r--r--   1 rootroot rootroot  16673 4月   3  2024 .clang-format
-rw-r--r--   1 rootroot rootroot     59 4月   3  2024 .cocciconfig
-rw-r--r--   1 rootroot rootroot    496 4月   3  2024 COPYING
-rw-r--r--   1 rootroot rootroot 100478 4月   3  2024 CREDITS
drwxr-xr-x   4 rootroot rootroot  16384 4月   7 16:18 crypto/
drwxr-xr-x  82 rootroot rootroot   4096 10月 22 10:32 Documentation/
drwxr-xr-x 144 rootroot rootroot   4096 4月   7 16:18 drivers/
drwxr-xr-x  80 rootroot rootroot  12288 4月   7 16:18 fs/
-rw-r--r--   1 rootroot rootroot     71 4月   3  2024 .get_maintainer.ignore
lrwxrwxrwx   1 rootroot rootroot     28 4月   3  2024 .git -> ../.repo/projects/kernel.git/
-rw-r--r--   1 rootroot rootroot     62 4月   3  2024 .gitattributes
-rw-r--r--   1 rootroot rootroot   1944 4月   3  2024 .gitignore
drwxr-xr-x  29 rootroot rootroot   4096 4月   7 16:18 include/
drwxr-xr-x   2 rootroot rootroot   4096 4月   7 16:18 init/
drwxr-xr-x   2 rootroot rootroot   4096 4月   7 16:18 io_uring/
drwxr-xr-x   2 rootroot rootroot   4096 4月   7 16:18 ipc/
-rw-r--r--   1 rootroot rootroot   1327 4月   3  2024 Kbuild
-rw-r--r--   1 rootroot rootroot    555 4月   3  2024 Kconfig
drwxr-xr-x  21 rootroot rootroot  12288 4月   7 16:18 kernel/
drwxr-xr-x  21 rootroot rootroot  24576 4月   7 16:18 lib/
drwxr-xr-x   6 rootroot rootroot   4096 4月   3  2024 LICENSES/
-rw-r--r--   1 rootroot rootroot  12936 4月   3  2024 logo.bmp
-rw-r--r--   1 rootroot rootroot  22364 4月   3  2024 logo_kernel.bmp
-rw-r--r--   1 rootroot rootroot  18204 4月   3  2024 .mailmap
-rw-r--r--   1 rootroot rootroot 577590 4月   3  2024 MAINTAINERS
-rw-r--r--   1 rootroot rootroot  68440 10月 22 10:32 Makefile
drwxr-xr-x   5 rootroot rootroot  12288 4月   7 16:18 mm/
drwxr-xr-x  72 rootroot rootroot   4096 4月   7 16:18 net/
-rw-r--r--   1 rootroot rootroot    438 4月   3  2024 OWNERS
-rw-r--r--   1 rootroot rootroot    727 4月   3  2024 README
-rw-r--r--   1 rootroot rootroot   6402 4月   3  2024 README.md
drwxr-xr-x  33 rootroot rootroot   4096 4月   3  2024 samples/
-rw-r--r--   1 rootroot rootroot      0 4月   3  2024 .scmversion
drwxr-xr-x  17 rootroot rootroot   4096 4月   7 16:18 scripts/
drwxr-xr-x  13 rootroot rootroot   4096 4月   7 16:18 security/
drwxr-xr-x  26 rootroot rootroot   4096 4月   7 16:18 sound/
drwxr-xr-x  37 rootroot rootroot   4096 4月   3  2024 tools/
drwxr-xr-x   3 rootroot rootroot   4096 4月   7 16:18 usr/
drwxr-xr-x   4 rootroot rootroot   4096 4月   7 16:18 virt/
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0/kernel$ cd ..
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ ll
total 100
drwxr-xr-x 25 rootroot rootroot 4096 4月   7 16:19 ./
drwxr-xr-x 34 rootroot rootroot 4096 4月   7 15:50 ../
drwxr-xr-x  4 rootroot rootroot 4096 4月   3  2024 app/
drwxr-xr-x 18 rootroot rootroot 4096 4月   7 12:02 buildroot/
lrwxrwxrwx  1 rootroot rootroot   39 4月   3  2024 build.sh -> device/rockchip/common/scripts/build.sh*
lrwxrwxrwx  1 rootroot rootroot   22 4月   3  2024 common -> device/rockchip/common/
drwxr-xr-x  9 rootroot rootroot 4096 10月 22 10:32 debian/
drwxr-xr-x  3 rootroot rootroot 4096 4月   3  2024 device/
drwxr-xr-x  6 rootroot rootroot 4096 10月 22 10:32 docs/
drwxr-xr-x 29 rootroot rootroot 4096 10月 22 10:32 external/
drwxrwxr-x  2 rootroot rootroot 4096 3月  28 15:50 Image01原始/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 09:30 Image02修改DTS了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 10:11 Image03打开gc2093了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 15:10 Image04更新gmac1了/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 15:49 Image05打开gc2093-更新gmac1+4GB处理/
drwxrwxr-x  2 rootroot rootroot 4096 4月   5 18:20 Image06配置gmac1/
drwxrwxr-x  2 rootroot rootroot 4096 4月   7 09:32 Image07尝试加入ll/
drwxrwxr-x  2 rootroot rootroot 4096 4月   7 12:33 Image08确认ll/
drwxr-xr-x 26 rootroot rootroot 4096 4月   7 16:20 kernel/
lrwxrwxrwx  1 rootroot rootroot   31 4月   3  2024 Makefile -> device/rockchip/common/Makefile
drwxr-xr-x  3 rootroot rootroot 4096 4月   3  2024 prebuilts/
lrwxrwxrwx  1 rootroot rootroot   32 4月   3  2024 README.md -> device/rockchip/common/README.md
drwxr-xr-x  7 rootroot rootroot 4096 4月   3  2024 .repo/
drwxr-xr-x  9 rootroot rootroot 4096 4月   3  2024 repo/
drwxr-xr-x  9 rootroot rootroot 4096 4月   7 10:31 rkbin/
lrwxrwxrwx  1 rootroot rootroot   41 4月   3  2024 rkflash.sh -> device/rockchip/common/scripts/rkflash.sh*
drwxr-xr-x 16 rootroot rootroot 4096 10月 22 10:32 rtos/
drwxr-xr-x  5 rootroot rootroot 4096 4月   3  2024 tools/
drwxr-xr-x 25 rootroot rootroot 4096 4月   7 16:19 u-boot/
drwxr-xr-x  9 rootroot rootroot 4096 10月 22 10:32 yocto/
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ 
rootroot@rootroot-X99-Turbo:~/RK3566_RK3568_Linux5.10_V1.2.0$ ./build.sh 

############### Rockchip Linux SDK ###############

Manifest: rk356x_linux5.10_release_v1.5.0_20240620.xml
Version: linux-5.10-gen-rkr8

Log colors: message notice warning error fatal

Parsing supported commands...

Log saved at /home/rootroot/RK3566_RK3568_Linux5.10_V1.2.0/output/sessions/2025-04-07_16-26-28
WARN: /home/rootroot/RK3566_RK3568_Linux5.10_V1.2.0/output/defconfig not exists
Pick a defconfig:

1. rockchip_defconfig
2. rockchip_rk3566_evb2_lp4x_v10_32bit_defconfig
3. rockchip_rk3566_evb2_lp4x_v10_defconfig
4. rockchip_rk3568_evb1_ddr4_v10_32bit_defconfig
5. rockchip_rk3568_evb1_ddr4_v10_defconfig
6. rockchip_rk3568_evb8_lp4_v10_32bit_defconfig
7. rockchip_rk3568_evb8_lp4_v10_defconfig
8. rockchip_rk3568_pcie_ep_lp4x_v10_defconfig
Which would you like? [1]: 3


终端的完整LOG:
root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# ll
total 76
drwxr-xr-x  20 root root  4096 Aug  4 09:00 ./
drwxr-xr-x  20 root root  4096 Aug  4 09:00 ../
-rw-r--r--   1 root root     0 Aug  4 09:00 .resized
-rw-r--r--   1 root root     0 Apr  3  2024 .skip_fsck
lrwxrwxrwx   1 root root     7 Apr  7  2025 bin -> usr/bin/
-rw-r--r--   1 root root   489 Apr  3  2024 busybox.fragment
lrwxrwxrwx   1 root root     8 Apr  7  2025 data -> userdata/
drwxr-xr-x  14 root root  3660 Aug  4 09:00 dev/
drwxr-xr-x  25 root root  4096 Aug  4 09:00 etc/
drwxr-xr-x   2 root root  4096 Apr  7  2025 info/
lrwxrwxrwx   1 root root     7 Apr  7  2025 lib -> usr/lib/
lrwxrwxrwx   1 root root     3 Apr  7  2025 lib64 -> lib/
lrwxrwxrwx   1 root root    11 Apr  7  2025 linuxrc -> bin/busybox*
drwx------   2 root root 16384 Apr  7  2025 lost+found/
drwxr-xr-x  11 root root  4096 Apr  7  2025 media/
drwxr-xr-x   5 root root  4096 Apr  7  2025 mnt/
drwxr-xr-x   3 root root  4096 Aug  4 09:00 oem/
drwxr-xr-x   3 root root  4096 Apr  7  2025 opt/
dr-xr-xr-x 213 root root     0 Aug  4 09:00 proc/
drwxr-xr-x  17 root root  4096 Apr  7  2025 rockchip-test/
drwx------   2 root root  4096 Apr  3  2024 root/
drwxr-xr-x  11 root root   540 Aug  4 09:00 run/
lrwxrwxrwx   1 root root     8 Apr  7  2025 sbin -> usr/sbin/
lrwxrwxrwx   1 root root    10 Apr  7  2025 sdcard -> mnt/sdcard/
dr-xr-xr-x  14 root root     0 Aug  4 09:00 sys/
drwxr-xr-x   3 root root  4096 Apr  7  2025 system/
drwxrwxrwt   6 root root   240 Aug  4 09:00 tmp/
lrwxrwxrwx   1 root root     9 Apr  7  2025 udisk -> mnt/udisk/
drwxr-xr-x   4 root root  4096 Aug  4 09:00 userdata/
drwxr-xr-x   7 root root  4096 Apr  7  2025 usr/
drwxr-xr-x   6 root root  4096 Apr  7  2025 var/
lrwxrwxrwx   1 root root     6 Apr  7  2025 vendor -> system/
root@rk3566-buildroot:/# 
root@rk3566-buildroot:/# cat /etc/
cat: /etc/: Is a directory
root@rk3566-buildroot:/# cd /etc/
root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# ll
total 376
drwxr-xr-x 25 root root   4096 Aug  4 09:00  ./
drwxr-xr-x 20 root root   4096 Aug  4 09:00  ../
drwxr-xr-x  3 root root   4096 Apr  7  2025  alsa/
-rw-r--r--  1 root root   2319 Apr  7  2025  bash.bashrc
-rw-r--r--  1 root root    535 Apr  7  2025  bindresvport.blacklist
drwxr-xr-x  3 root root   4096 Apr  7  2025  chromium/
-rw-r--r--  1 root root    371 Apr  7  2025  chrony.conf
drwxr-xr-x  3 root root   4096 Apr  7  2025  dbus-1/
-rw-r--r--  1 root root   1429 Apr  7  2025  dhcpcd.conf
-rw-r-xr-x  1 root root    101 Apr  7  2025  dnsmasq.conf*
drwxr-xr-x  2 root root   4096 Aug  4 09:00  dropbear/
drwxr-xr-x  3 root root   4096 Apr  7  2025  fonts/
-rw-r--r--  1 root root    660 Apr  7  2025  fstab
-rw-r--r--  1 root root    694 Apr  7  2025  fuse.conf
drwxr-xr-x  2 root root   4096 Oct 22  2024  generate_logs.d/
-rw-r--r--  1 root root    439 Apr  7  2025  group
-rw-r--r--  1 root root 128729 Apr  7  2025  hostapd.conf
-rw-r--r--  1 root root     17 Apr  7  2025  hostname
-rw-r--r--  1 root root     47 Apr  7  2025  hosts
drwxr-xr-x  2 root root   4096 Apr  7  2025  init.d/
-rw-r--r--  1 root root   1302 Apr  7  2025  inittab
-rw-r--r--  1 root root    215 Apr  3  2024  input-event-daemon.conf
drwxr-xr-x  2 root root   4096 Oct 22  2024  input-event-daemon.conf.d/
-rw-r--r--  1 root root   1180 Apr  7  2025  inputrc
drwxr-xr-x  2 root root   4096 Apr  7  2025  iqfiles/
drwxr-xr-x  2 root root   4096 Apr  3  2024  irqbalance.d/
-rw-r--r--  1 root root     35 Apr  7  2025  issue
-rw-r--r--  1 root root  27425 Apr  7  2025  ld.so.cache
drwxr-xr-x  2 root root   4096 Apr  7  2025  libinput/
drwxr-xr-x  2 root root   4096 Apr  7  2025  libnl/
-rw-r--r--  1 root root    782 Apr  7  2025  mke2fs.conf
lrwxrwxrwx  1 root root     19 Apr  3  2024  mtab -> ../proc/self/mounts
-rw-r--r--  1 root root    767 Apr  7  2025  netconfig
drwxr-xr-x  7 root root   4096 Apr  3  2024  network/
-rw-r--r--  1 root root    230 Apr  7  2025  nsswitch.conf
-rw-r--r--  1 root root    224 Apr  7  2025  os-release
-rw-r--r--  1 root root    544 Apr  7  2025  passwd
drwxr-xr-x  5 root root   4096 Apr  7  2025  pm/
-rw-r--r--  1 root root    549 Apr  7  2025  profile
-rwxr-xr-x  1 root root    459 Apr  3  2024 'profile - 副本'*
drwxr-xr-x  2 root root   4096 Apr  7  2025  profile.d/
-rw-r--r--  1 root root   2744 Apr  3  2024  protocols
drwxr-xr-x  2 root root   4096 Apr  7  2025  pulse/
drwxr-xr-x  2 root root   4096 Apr  7  2025  rc_keymaps/
-rw-r--r--  1 root root   7692 Apr  7  2025  rc_maps.cfg
lrwxrwxrwx  1 root root     18 Apr  3  2024  resolv.conf -> ../tmp/resolv.conf
-rw-r--r--  1 root root  10873 Apr  3  2024  services
-rw-------  1 root root    253 Apr  7  2025  shadow
-rw-r--r--  1 root root     27 Apr  7  2025  shells
drwxr-xr-x  5 root root   4096 Apr  7  2025  ssl/
drwxr-xr-x  9 root root   4096 Apr  7  2025  terminfo/
drwxr-xr-x  3 root root   4096 Apr  7  2025  udev/
drwxr-xr-x  2 root root   4096 Apr  7  2025  usbdevice.d/
drwxr-xr-x  4 root root   4096 Apr  7  2025  usbmount/
-rw-r-xr-x  1 root root    125 Apr  7  2025  wpa_supplicant.conf*
drwxr-xr-x  4 root root   4096 Apr  3  2024  xdg/
root@rk3566-buildroot:/etc# cat profile
export PATH="/usr/bin:/usr/sbin"

if [ "$PS1" ]; then
  if [ "$BASH" ]; then
    # The file bash.bashrc already sets the default PS1.
    # PS1='\h:\w\$ '
    if [ -f /etc/bash.bashrc ]; then
      . /etc/bash.bashrc
    fi
  else
    if [ "`id -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
export EDITOR='/bin/vi'

# Source configuration files from /etc/profile.d
for i in /etc/profile.d/*.sh ; do
    if [ -r "$i" ]; then
        . $i
    fi
done
unset i
root@rk3566-buildroot:/etc# 
root@rk3566-buildroot:/etc# poweroff
root@rk3566-buildroot:/etc# Stopping input-event-daemon: done
fstrim: Stopping fstrim process (589)...
stop auto-reboot finished
Stopping dnsmasq: OK
Stopping pulseaudio: E: [pulseaudio] main.c: Failed to kill daemon: No such process
OK
Stopping dropbear sshd: OK
stoping weston... [09:01:26.084] caught signal 15
done.
[09:01:26.087] event5  - adc-keys: device removed
Stopping chrony: [09:01:26.108] event6  - Logitech USB Optical Mouse: device removed
OK
[09:01:26.121] event2  - rk805 pwrkey: device removed
Stopping dhcpcd...
no /sbin/dhcpcd found; none killed
[09:01:26.153] event0  - hdmi_cec_key: device removed
Stopping network: [09:01:26.173] event1  - fe6e0030.pwm: device removed
[09:01:26.190] event4  - bt-powerkey: device removed
[   40.298902] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp0
OK
Stopping bluetoothd: OK
[   40.343636] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_enable] Update mode to 1920x1080p60, type: 11(if:800, flag:0x0) for vp0 dclk: 148500000
Stopping Wi-Fi/BT...Done
Stopping system message bus: done
Saving random seed: /etc/xdg/weston/weston.ini.d/02-desktop.ini: "shell/locking" from "false" to "true"
arm_release_ver: g13p0-01eac0, rk_so_ver: 10
OK
Stopping irqbalance: OK
[   40.484003] dwc3 fcc00000.dwc3: request 0000000049088e8f was not queued to ep0out
[   40.484219] android_work: sent uevent USB_STATE=DISCONNECTED
Stopping klogd: OK
Stopping syslogd: OK
log-guardian: Stopping log-guardian (316)...
[   40.611027] ffs_data_put(): freeing
umount: /var/log: target is busy.
[   40.648632] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
The system is going down NOW!
Sent SIGTERM to all processes
Terminated
Terminated
E: [pulseaudio] core-util.c: Failed to create secure directory (/userdata/.pulse/.config/pulse): No such file or directory
Sent SIGKILL to all processes
Requesting system poweroff
[   42.678265] rk808 0-0020: reboot: not restore POWER_EN
[   42.694530] mpp_rkvdec2 fdf80200.rkvdec: shutdown device
[   42.695015] mpp_rkvdec2 fdf80200.rkvdec: shutdown success
[   42.695512] mpp_rkvenc fdf40000.rkvenc: shutdown device
[   42.695975] mpp_rkvenc fdf40000.rkvenc: shutdown success
[   42.706856] fan53555-regulator 0-001c: fan53555..... reset
[   42.708339] fan53555-regulator 0-001c: reset: force fan53555_reset ok!
[   42.709425] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp0
[   42.728262] [WLAN_RFKILL]: Enter rfkill_wlan_shutdown
[   42.728721] [WLAN_RFKILL]: rockchip_wifi_power: 0
[   42.729148] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[   42.729666] wifi power off
[   42.833952] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[   42.834478] [WLAN_RFKILL]: wifi shut off power [GPIO73-0]
[   42.834962] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 0
[   42.836198] rkisp_hw fdff0000.rkisp: rkisp_hw_shutdown
[   42.836816] mpp-iep2 fdef0000.iep: shutdown device
[   42.837281] mpp-iep2 fdef0000.iep: shutdown success
[   42.837762] mpp_vepu2 fdee0000.vepu: shutdown device
[   42.838215] mpp_vepu2 fdee0000.vepu: shutdown success
[   42.838703] mpp_jpgdec fded0000.jpegd: shutdown device
[   42.839167] mpp_jpgdec fded0000.jpegd: shutdown success
[   42.839671] mpp_vdpu2 fdea0400.vdpu: shutdown device
[   42.840123] mpp_vdpu2 fdea0400.vdpu: shutdown success
[   42.840914] xhci-hcd xhci-hcd.4.auto: remove, state 4
[   42.841381] usb usb6: USB disconnect, device number 1
[   42.842709] xhci-hcd xhci-hcd.4.auto: USB bus 6 deregistered
[   42.843547] xhci-hcd xhci-hcd.4.auto: remove, state 4
[   42.844059] usb usb5: USB disconnect, device number 1
[   42.845588] xhci-hcd xhci-hcd.4.auto: USB bus 5 deregistered
[   42.864949] reboot: Power down

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值