Skip to content

Commit

Permalink
env: r3: add bootnvme without asking but loading env from nvme_boot
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-w committed Jul 21, 2024
1 parent a0a9ca1 commit 285dd4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uEnv_r3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ lstftp=if tftp ${loadaddr} ${serverip}:r3-itbfiles.lst;then setexpr listend ${lo
askkernel=askenv kernelinput "enter kernel-name:";
askbootnetfit=run lstftp askkernel;if printenv kernelinput; then setenv bootfile "${kernelinput}"; run bootnetfit;fi

bootnvme=run usenvme; if test "$device" = "nvme"; then run loadenv; run newboot;fi
askbootnvme=run usenvme; if test "$device" = "nvme"; then run askkernel;if printenv kernelinput; then setenv fit $kernelinput;run newboot;fi;fi

bootnetfit=run buildargs;run setbootconf;if tftp $kaddr ${bootfile}; then bootm ${kaddr}${bootconf};;fi
Expand Down Expand Up @@ -88,6 +89,6 @@ boot0=run lskernel;run askkernel;if printenv kernelinput ;then setenv fit ${kern
bootmenu_0=1. Enter kernel-name to boot from SD/EMMC.=run boot0
bootmenu_1=2. Boot kernel from TFTP.=run askbootnetfit
bootmenu_2=3. Boot from SD/EMMC.=run newboot
bootmenu_3=4. Boot kernel from NVME.=run askbootnvme
bootmenu_3=4. Boot kernel from NVME.=run bootnvme

bootmenu_default=2

0 comments on commit 285dd4d

Please sign in to comment.