Run the Other DTB Files with the Image.gz and initramfs.cpio.gz

If you want to load the other DTBs, for example, jh7110-visionfive-v2-wm8960.dtb, follow the steps below.
  1. Set the environment parameter:
    setenv ipaddr 192.168.xxx.xxx; setenv serverip 192.168.xxx.xxx;
  2. Upload files to DDR:
    tftpboot ${fdt_addr_r} jh7110-visionfive-v2-wm8960.dtb;
    tftpboot ${kernel_addr_r} Image.gz;
    tftpboot ${ramdisk_addr_r} initramfs.cpio.gz;
    run chipa_set_linux;run cpu_vol_set;
  3. Load and execute:
    booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
  4. Login with the following credentials:
    buildroot login:root
    Password: starfive

    Result:

    The launch is successful!

    Important: The command above only supports version equal to or later than VF2_v3.4.5. If your SDK version is VF2_v3.1.5 or earlier, please perform the following command:
    1. Set the environment parameter:
      setenv bootfile vmlinuz; setenv fdtcontroladdr 0xffffffffffffffff; setenv fileaddr a0000000; setenv ipaddr 192.168.xxx.xxx; setenv serverip 192.168.xxx.xxx;
      setenv kernel_comp_addr_r 0xb0000000;setenv kernel_comp_size 0x10000000;
      
    2. Upload files to DDR:
      tftpboot ${fdt_addr_r} jh7110-visionfive-v2-wm8960.dtb;
      tftpboot ${kernel_addr_r} Image.gz;
      tftpboot ${ramdisk_addr_r} initramfs.cpio.gz;
      run chipa_set_linux;
    3. Load and execute:
      booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
    4. Login with the following credentials:
      buildroot login:root
      Password: starfive