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.
- Set the environment
parameter:
setenv ipaddr 192.168.xxx.xxx; setenv serverip 192.168.xxx.xxx;
- 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;
- Load and
execute:
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
- 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:- 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;
- 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;
- Load and
execute:
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
- Login with the following
credentials:
buildroot login:root Password: starfive
- Set the environment
parameter: