Skip to main content

Close boot log information

In this guide, we will use the SDK path /home/ubuntu/Core3566 as an example. Please adjust the path to your actual SDK location.

1. Method for Modifying DDR Loader

  1. Navigate to the DDR path according to your actual SDK absolute path.

  2. To disable or switch off the print output in DDR Loader, you need to modify the UART print configuration in the file rkbin/tools/ddrbin_param.txt with the following parameter:

    uart id=0xf  # UART controller id, set to 0xf to disable printing
  3. Run the compilation command.

    ./ddrbin_tool ddrbin_param.txt ../bin/rk35/rk3566_ddr_1056MHz_v1.16.bin
    root@ubuntu:/home/ubuntu/Core3566/rkbin/tools# ./ddrbin_tool ddrbin_param.txt ../bin/rk35/rk3566_ddr_1056MHz_v1.16.bin
    version v1.14 20221214
    version 2

    new bin config:
    uart id: 15
    modify end

2. Method for Modifying U-Boot

  1. Enter the u-boot directory.

    root@ubuntu:/home/ubuntu/Core3566/rkbin/tools# cd ../../u-boot
    root@ubuntu:/home/ubuntu/Core3566/u-boot# cp ./configs/luckfox_rk356x_defconfig .config
    root@ubuntu:/home/ubuntu/Core3566/u-boot# make menuconfig
  2. Use '/' to search.

  3. Enter the search bar, input your search content, and press Enter.

  4. Enter the search bar, input your search content, and press Enter.

  5. Go to the corresponding option, press Y to enable the feature, and finally, Save.

  6. Save the config.

    make savedefconfig
    cp defconfig ./configs/luckfox_rk356x_defconfig

3. Method for Modifying Kernel

  1. Enter the kernel directory and search for the Luckfox device tree file.

    root@ubuntu:/home/ubuntu/Core3566/u-boot# cd /home/ubuntu/Core3566/kernel/arch/arm64/boot/dts/rockchip
    root@ubuntu:/home/ubuntu/Core3566/kernel/arch/arm64/boot/dts/rockchip# ls | grep luckfox*
    core3566-luckfox-rk3566.dtsi
    root@ubuntu:/home/ubuntu/Core3566/kernel/arch/arm64/boot/dts/rockchip# vim core3566-luckfox-rk3566.dtsi
  2. Open it with an editor and delete the highlighted section in the device tree.

  1. Finally, change the status from status="okay"; to status="disabled";.

4. Image Compilation

  1. Select the branch to compile, specifying whether to output the video signal via HDMI or MIPI DSI.

    ./build.sh lunch
  2. Compile the image.

    export RK_ROOTFS_SYSTEM=debian
    ./build.sh