Advertisement
tieuvinhlong

10moons-S905x_M1303-v1.0-uboot-env

Apr 25th, 2017
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.76 KB | None | 0 0
  1. gxl_p212_v1#printenv
  2. EnableSelinux=enforcing
  3. baudrate=115200
  4. bootargs=root=/dev/system rootfstype=ext4 init=/sbin/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1
  5. ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=enforcing logo=osd1,loaded,0x3d800000,1080p60hz maxcpus=4 vout=1080p60hz,
  6. enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx=1080p60hz cvbsdrv=0 androidboot.firstboot=1 jtag=apee androidboot.hardware=amlogic mac=00:15:18:10:CE:28 androidboot.mac=00:15:18:10:CE:28
  7. bootcmd=run storeboot
  8. bootdelay=1
  9. bootsdcard=run sdcardargs; mmcinfo; ext2load mmc 0 ${loadaddr} boot.img; bootm ${loadaddr};
  10. bootup_offset=0x10803c0
  11. bootup_size=0x3f4c8
  12. bootupdate=run bootupdateargs; mmcinfo; fatload mmc 0 ${loadaddr} boot.img; bootm ${loadaddr};
  13. bootupdateargs=setenv bootargs root=/dev/mmcblk0p1 rootfstype=vfat ${initargs} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${hdmimode} cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag} firmware=rootfs.tar.gz;setenv bootargs ${bootargs} androidboot.hardware=amlogic;run cmdline_keys;
  14. cmdline_keys=if keyman init 0x1234; then if keyman read usid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.serialno=${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;
  15. cvbs_drv=0
  16. cvbsmode=576cvbs
  17. display_bpp=16
  18. display_color_bg=0
  19. display_color_fg=0xffff
  20. display_color_index=16
  21. display_height=1080
  22. display_layer=osd1
  23. display_width=1920
  24. dtb_mem_addr=0x1000000
  25. ethact=dwmac.c9410000
  26. ethaddr=00:15:18:01:81:31
  27. 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;
  28. fb_addr=0x3d800000
  29. fb_height=1080
  30. fb_width=1920
  31. fdt_high=0x20000000
  32. firstboot=1
  33. gatewayip=10.18.9.1
  34. hdmimode=1080p60hz
  35. hostname=arm_gxbb
  36. init_display=osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale
  37. initargs=init=/sbin/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000
  38. ipaddr=10.18.9.97
  39. jtag=apee
  40. loadaddr=1080000
  41. mac=00:15:18:10:CE:28
  42. maxcpus=4
  43. netmask=255.255.255.0
  44. outputmode=1080p60hz
  45. preboot=run factory_reset_poweroff_protect;run upgrade_check;run init_display;run storeargs;run upgrade_key;run switch_bootmode;
  46. reboot_mode=cold_boot
  47. recovery_from_flash=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi
  48. 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;
  49. 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;
  50. recovery_offset=0
  51. recovery_part=recovery
  52. sdc_burning=sdc_burn ${sdcburncfg}
  53. sdcardargs=setenv bootargs root=/dev/mmcblk0p1 rootfstype=ext2 ${initargs} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${hdmimode} cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.hardware=amlogic;run cmdline_keys;
  54. sdcburncfg=aml_sdc_burn.ini
  55. serverip=10.18.9.113
  56. stderr=serial
  57. stdin=serial
  58. stdout=serial
  59. storeargs=setenv bootargs root=/dev/system rootfstype=ext4 ${initargs} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${hdmimode} cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.hardware=amlogic;run cmdline_keys;
  60. storeboot=if imgread kernel boot ${loadaddr}; then bootm ${loadaddr}; fi;run update;
  61. 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;
  62. try_auto_burn=update 700 750;
  63. 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;
  64. upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;
  65. upgrade_key=if gpio input GPIOAO_2; then echo detect upgrade key; sleep 3;if gpio input GPIOAO_2; then run update; fi;fi;
  66. upgrade_step=0
  67. usb_burning=update 1000
  68. wipe_cache=successful
  69. wipe_data=successful
  70.  
  71. Environment size: 5890/65532 bytes
  72. gxl_p212_v1#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement