Advertisement
Guest User

printenv.vim

a guest
Aug 4th, 2017
101
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Hit Enter or space or Ctrl+C key to stop autoboot -- : 0
  2. kvim#printenv
  3. EnableSelinux=permissive
  4. active_slot=_a
  5. baudrate=115200
  6. bcb_cmd=get_valid_slot;
  7. bootargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,480p60hz maxcpus=4 vout=480p60hz,enable hdmimode=480p60hz cvbsmode= hdmitx= cvbsdrv= androidboot.firstboot=0 jtag=apao androidboot.hardware=amlogic androidboot.slot_suffix=_a
  8. bootcmd=run storeboot
  9. bootdelay=1
  10. bootup_offset=0x10d82a0
  11. bootup_size=0x17bb48
  12. cmdline_keys=if keyman init 0x1234; then if keyman read usid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.serialno=${usid};setenv serial ${usid};fi;if keyman read mac ${loadaddr} str; then setenv bootargs ${bootargs} mac=${mac} androidboot.mac=${mac};fi;if keyman read deviceid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.deviceid=${deviceid};fi;fi;
  13. colorattribute=444,10bit
  14. display_bpp=16
  15. display_color_bg=0
  16. display_color_fg=0xffff
  17. display_color_index=16
  18. display_height=480
  19. display_layer=osd1
  20. display_width=720
  21. dtb_mem_addr=0x1000000
  22. ethact=dwmac.c9410000
  23. ethaddr=56:ea:6d:1c:18:31
  24. 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_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; if test ${wipe_cache} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi;
  25. fb_addr=0x3d800000
  26. fb_height=1080
  27. fb_width=1920
  28. fdt_high=0x20000000
  29. firstboot=0
  30. gatewayip=10.18.9.1
  31. hdmimode=480p60hz
  32. hostname=KVim
  33. init_display=osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale
  34. initargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000
  35. ipaddr=10.18.9.97
  36. is.bestmode=false
  37. jtag=apao
  38. loadaddr=1080000
  39. maxcpus=4
  40. netmask=255.255.255.0
  41. outputmode=480p60hz
  42. preboot=run bcb_cmd; run factory_reset_poweroff_protect;run upgrade_check;run init_display;run storeargs;run upgrade_key;run vim_check;run switch_bootmode;
  43. reboot_mode=normal
  44. recovery_from_flash=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if itest ${upgrade_step} == 3; then if ext4load mmc 1:2 ${dtb_mem_addr} /recovery/dtb.img; then echo cache dtb.img loaded; fi;if ext4load mmc 1:2 ${loadaddr} /recovery/recovery.img; then echo cache recovery.img loaded; wipeisb; bootm ${loadaddr}; fi;else fi;if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi;
  45. recovery_from_sdcard=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};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 echo sd dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi;
  46. recovery_from_udisk=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};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 udisk dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi;
  47. recovery_offset=0
  48. recovery_part=recovery
  49. saradc_val=0x1ce
  50. sdc_burning=sdc_burn ${sdcburncfg}
  51. sdcburncfg=aml_sdc_burn.ini
  52. serverip=10.18.9.113
  53. stderr=serial
  54. stdin=serial
  55. stdout=serial
  56. storeargs=setenv bootargs ${initargs} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${cecconfig} cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.hardware=amlogic;run cmdline_keys;setenv bootargs ${bootargs} androidboot.slot_suffix=${active_slot};
  57. storeboot=if imgread kernel boot ${loadaddr}; then bootm ${loadaddr}; fi;run update;
  58. switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then run recovery_from_flash;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = cold_boot; then fi;fi;fi;
  59. try_auto_burn=update 700 750;
  60. 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;
  61. upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;
  62. upgrade_key=if gpio input GPIOAO_2; then echo detect upgrade key; sleep 3;if gpio input GPIOAO_2; then run update; fi;fi;
  63. upgrade_step=2
  64. usb_burning=update 1000
  65. vim_check=saradc open 1;if saradc get_in_range 0x1a0 0x220; then echo Product checking: pass!;else if saradc get_in_range 0x0 0x1cf; then echo Product checking: fail!; sleep 5; reboot;fi;fi;
  66. wipe_cache=successful
  67. wipe_data=successful
  68.  
  69. Environment size: 5360/65532 bytes
Advertisement
RAW Paste Data Copied
Advertisement