prit ntenv arch=riscv b_part=1 2 3 baudrate=115200 board=jh7100 board_name=jh7100 boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootriscv64.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi boot_efi_bootmgr=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr;fi boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf} boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_syslinux_conf=extlinux/extlinux.conf boot_targets=dhcp mmc0 bootcmd=devnum=0; run mmc_boot bootcmd_dhcp=devtype=dhcp; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00027:UNDI:003000;setenv bootp_arch 0x1b;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci; bootcmd_mmc0=devnum=0; run mmc_boot bootdelay=2 bootdir=/boot bootenv=uEnv.txt bootfstype=ext4 bootpart=0:3 cpu=fu740 distro_bootcmd=run bootcmd_mmc0 efi_dtb_prefixes=/ /dtbs-edge/ /dtbs-starfive/ efi_fdtfile=starfive/jh7100-starfive-visionfive-v1.dtb ethact=dwmac.10020000 ethaddr=6c:cf:39:00:05:a4 ext4bootenv=for b_p in ${b_part}; do if ext4load mmc ${mmcdev}:${b_p} ${loadaddr} ${bootdir}/${bootenv}; then run importbootenv; fi; done; fatenv=fatload mmc ${testpart} ${loadaddr} ${testenv};env import -t ${loadaddr} ${filesize} fdt_addr_r=0x88000000 fdt_high=0xffffffffffffffff fdtcontroladdr=ff6ee700 fdtfile=starfive/jh7100-visionfive.dtb fdtsetup=fdt addr ${fdtcontroladdr} fileaddr=a0000000 filesize=1ea importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize} initrd_high=0xffffffffffffffff kernel_addr_r=0x84000000 kernel_comp_addr_r=0x90000000 kernel_comp_size=0x10000000 load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile} loadaddr=0xa0000000 loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv} mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi mmcbootenv=setenv bootpart ${mmcdev}:${mmcpart}; mmc dev ${mmcdev}; if mmc rescan; then run loadbootenv && run importbootenv; run ext4bootenv; if test -n $uenvcmd; then echo Run uenvcmd ...; run uenvcmd; fi; fi mmcdev=0 mmcpart=3 mmcsetup=mmc part preboot=run mmcbootenv ramdisk_addr_r=0x88300000 scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done; setenv devplist scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;run boot_efi_bootmgr;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootriscv64.efi; then echo Found EFI removable media binary efi/boot/bootriscv64.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scan_sf_for_scripts=${devtype} read ${scriptaddr} ${script_offset_f} ${script_size_f}; source ${scriptaddr}; echo SCRIPT FAILED: continuing... script_offset_f=0x1fff000 script_size_f=0x1000 scriptaddr=0x88100000 serial#=VF7100A1-2209-D008E000-000005A5 sf_boot=if sf probe ${busnum}; then devtype=sf; run scan_sf_for_scripts; fi soc=jh7100 stderr=serial@12440000 stdin=serial@12440000 stdout=serial@12440000 testenv=u74_uEnv.txt testpart=0:1 vendor=starfive ver=U-Boot 2022.01-rc2-VisionFive (May 24 2022 - 16:37:12 +0000)StarFive Environment size: 4766/126972 bytes VisionFive #