Tanure

vim3 uboot env

Sep 27th, 2020 (edited)
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.60 KB | None | 0 0
  1. kvim3#printenv
  2. EnableSelinux=permissive
  3. Irq_check_en=0
  4. active_slot=normal
  5. baudrate=115200
  6. bcb_cmd=get_avb_mode;get_valid_slot;
  7. boot_part=boot
  8. bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw rootfstype=ext4 console=tty0 console=ttyS0,115200n8 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 logo=osd0,loaded,0x3d80
  9. bootcmd=run start_autoscript; run storeboot;
  10. bootdelay=1
  11. bootfromnand=0
  12. chiprev=B
  13. cmdline_keys=if keyman init 0x1234; then if keyman read usid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.serialno=${usid};setenv serial ${usid};else setenv bootargs ${bootargs;
  14. colorattribute=444,8bit
  15. cvbs_drv=0
  16. cvbsmode=576cvbs
  17. display_bpp=24
  18. display_color_bg=0
  19. display_color_fg=0xffff
  20. display_color_index=24
  21. display_height=1920
  22. display_layer=osd0
  23. display_width=1080
  24. dtb_mem_addr=0x1000000
  25. eth_mac=c8:63:14:70:62:b9
  26. ethact=dwmac.ff3f0000
  27. ethaddr=02:00:00:0a:25:01
  28. factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${wipe_cache};if test ${wipe_data} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_
  29. fan_stop=i2c mw 0x18 0x88 0
  30. fb_addr=0x3d800000
  31. fb_height=1080
  32. fb_width=1920
  33. fdt_high=0x20000000
  34. fdtaddr=1000000
  35. filesize=b71e6
  36. firstboot=0
  37. frac_rate_policy=1
  38. fs_type=rootfstype=ext4
  39. gatewayip=192.168.1.1
  40. hdmi_read_edid=1
  41. hdmimode=1080p60hz
  42. hostname=KVIM3
  43. hwver=VIM3.V12
  44. init_display=get_rebootmode;echo reboot_mode:::: ${reboot_mode};if test ${reboot_mode} = quiescent; then setenv reboot_mode_android quiescent;run storeargs;setenv bootargs ${bootargs} androidbo;
  45. initargs=root=LABEL=ROOTFS rootflags=data=writeback rw rootfstype=ext4 console=tty0 console=ttyS0,115200n8 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0
  46. initrd_high=7f800000
  47. ipaddr=192.168.1.200
  48. irremote_update=if irkey 2500000 0xe31cfb04 0xb748fb04; then echo read irkey ok!; if itest ${irkey_value} == 0xe31cfb04; then run update;else if itest ${irkey_value} == 0xb748fb04; then run upd\
  49. fi;fi;fi;
  50. jtag=disable
  51. lcd_ctrl=0x00000083
  52. lcd_exist=0
  53. loadaddr=1080000
  54. lock=10001000
  55. maxcpus=6
  56. netmask=255.255.255.0
  57. osd_reverse=0
  58. otg_device=1
  59. outputmode=panel
  60. panel_type=lcd_0
  61. port_mode=0
  62. port_mode_change=fdt addr ${dtb_mem_addr}; kbi portmode r;if test ${port_mode} = 0; then fdt set /usb3phy@ffe09080 status okay;fdt set /pcieA@fc000000 status disable;else fdt set /usb3phy@ffe09;
  63. power_state=0
  64. preboot=run upgrade_check;run init_display;run storeargs;run upgrade_key;run vim3_check;run uboot_update_check;run wol_init;run port_mode_change;forceupdate;run fan_stop;
  65. reboot_mode=normal
  66. reboot_mode_android=normal
  67. recovery_from_flash=get_valid_slot;echo active_slot: ${active_slot};if test ${active_slot} = normal; then setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_off;
  68. recovery_from_sdcard=if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload mmc 0 ${loadaddr} recovery.img; then if fatload mmc 0 ${dtb_mem_addr} dtb.img; then ech;
  69. recovery_from_udisk=if fatload usb 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload usb 0 ${loadaddr} recovery.img; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo;
  70. recovery_offset=0
  71. recovery_part=recovery
  72. rpmb_state=0
  73. sdc_burning=sdc_burn ${sdcburncfg}
  74. sdcburncfg=aml_sdc_burn.ini
  75. sdr2hdr=2
  76. serial=1234567890
  77. serverip=192.168.1.230
  78. start_autoscript=if mmcinfo; then run start_mmc_autoscript; fi; if usb start ; then run start_usb_autoscript; fi;
  79. start_mmc_autoscript=if fatload mmc 0 1020000 s905_autoscript; then setenv autoscript_source mmc; autoscr 1020000; fi;
  80. start_usb_autoscript=if fatload usb 0 1020000 s905_autoscript; then setenv autoscript_source usb; autoscr 1020000; fi; if fatload usb 1 1020000 s905_autoscript; then setenv autoscript_source us;
  81. stderr=serial
  82. stdin=serial
  83. stdout=serial
  84. storeargs=setenv bootargs ${initargs} logo=${display_layer},loaded,${fb_addr} vout=${outputmode},enable hdmitx=${cecconfig},${colorattribute} hdmimode=${hdmimode} cvbsmode=${cvbsmode} osd_rever;
  85. storeboot=kbi resetflag 0;boot_cooling;cfgload;if load mmc 0:1 1020000 s905_autoscript || load mmc 1:1 1020000 s905_autoscript || load mmc 1:5 1020000 /boot/s905_autoscript; then autoscr 102000;
  86. switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then setenv reboot_mode_android normal;run storeargs;run recovery_from_flash;else if test ${reboot_mode} = update; then se;
  87. try_auto_burn=update 700 750;
  88. uboot_update_check=get_rebootmode;print reboot_mode;if test ${reboot_mode} = uboot_updated; then echo u-boot updated, pass to kernel...;saveenv;else if test -e mmc 1:5 /usr/lib/u-boot/.UBOOT-NE;
  89. update=run usb_burning; run sdc_burning; if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;
  90. updateu=tftp 1080000 u-boot.bin;mmc dev 1;store rom_write 1080000 0 ${filesize}
  91. upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;
  92. upgrade_key=if gpio input GPIOAO_7; then echo detect upgrade key;gpio set GPIOAO_4;run fan_stop;run update;fi;
  93. upgrade_step=0
  94. usb_burning=update 1000
  95. video_reverse=0
  96. vim3_check=kbi hwver; if test ${hwver} != Unknow; then echo Product checking: pass! Hardware version: ${hwver};else echo Product checking: fail!; sleep 5; reboot;fi;setenv bootargs ${bootargs} ;
  97. wipe_cache=successful
  98. wipe_data=successful
  99. wol_enable=0
  100. wol_init=kbi init;kbi powerstate;kbi trigger wol r;setenv bootargs ${bootargs} wol_enable=${wol_enable};if test ${power_state} = 1; then kbi trigger wol w 1;kbi poweroff;fi;
  101.  
  102. Environment size: 8999/65532 bytes
  103. kvim3#
Add Comment
Please, Sign In to add comment