Advertisement
sebus

fw_printenv Coreelec

Nov 13th, 2020
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.49 KB | None | 0 0
  1. ##############################################
  2. # CoreELEC #
  3. # https://coreelec.org #
  4. ##############################################
  5.  
  6. CoreELEC (official): 9.2.5 (Amlogic.arm)
  7. CoreELEC:~ # fw_printenv
  8. EnableSelinux=permissive
  9. aml_dt=gxl_p212_2g
  10. baudrate=115200
  11. 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,1080p60hz maxcpus=4 vout=1080p60hz,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx=,rgb0 cvbsdrv=0 androidboot.firstboot=0 jtag=apao androidboot.ddrclk=912MHz androidboot.hardware=amlogic mac=06:61:61:12:db:43 androidboot.mac=06:61:61:12:db:43
  12. bootcmd=if test ${bootfromnand} = 1; then setenv bootfromnand 0; saveenv; else run start_autoscript; run librefromsd; run librefromusb; fi; run storeboot
  13. bootdelay=1
  14. bootfromnand=0
  15. bootfromrecovery=0
  16. bootup_offset=0x10ac330
  17. bootup_size=0x3f4c8
  18. 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;
  19. cvbs_drv=0
  20. cvbsmode=576cvbs
  21. ddrclk=912MHz
  22. display_bpp=16
  23. display_color_bg=0
  24. display_color_fg=0xffff
  25. display_color_index=16
  26. display_height=1080
  27. display_layer=osd1
  28. display_width=1920
  29. dtb_mem_addr=0x1000000
  30. ethact=dwmac.c9410000
  31. 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;
  32. fb_addr=0x3d800000
  33. fb_height=1080
  34. fb_width=1920
  35. fdt_high=0x20000000
  36. firstboot=0
  37. gatewayip=10.18.9.1
  38. hdmimode=1080p60hz
  39. hdmitx_rgb=0
  40. hostname=arm_gxbb
  41. init_display=osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale
  42. 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
  43. ipaddr=10.18.9.97
  44. irremote_update=if irkey_update 1000000; then echo read irkey ok!; run update;fi;
  45. jtag=apao
  46. librefromsd=if mmcinfo; then if fatload mmc 0 ${loadaddr} kernel.img; then run sddtb; setenv bootargs ${bootargs} bootfromsd; bootm; fi; fi
  47. librefromusb=if usb start 0; then if fatload usb 0 ${loadaddr} kernel.img; then run usbdtb; setenv bootargs ${bootargs} bootfromusb; bootm; fi; fi
  48. loadaddr=1080000
  49. mac=06:61:61:12:db:43
  50. maxcpus=4
  51. netmask=255.255.255.0
  52. oranth_adckey_update=if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run sdc_burning; update 120000; run recovery_from_flash;
  53. outputmode=1080p60hz
  54. preboot=run factory_reset_poweroff_protect;run upgrade_check;run init_display;run storeargs;run upgrade_key;run irremote_update;run switch_bootmode;
  55. reboot_mode=normal
  56. 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
  57. 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;
  58. 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;
  59. recovery_offset=0
  60. recovery_part=recovery
  61. sdc_burning=sdc_burn ${sdcburncfg}
  62. sdcburncfg=aml_sdc_burn.ini
  63. sddtb=if fatload mmc 0 ${dtb_mem_addr} dtb.img; then echo sd dtb.img loaded; else store dtb read $dtb_mem_addr; fi
  64. serverip=10.18.9.113
  65. start_autoscript=if mmcinfo; then run start_mmc_autoscript; fi; if usb start; then run start_usb_autoscript; fi;
  66. start_mmc_autoscript=if fatload mmc 0 1020000 s905_autoscript; then autoscr 1020000; fi;
  67. start_usb_autoscript=if fatload usb 0 1020000 s905_autoscript; then autoscr 1020000; fi; if fatload usb 1 1020000 s905_autoscript; then autoscr 1020000; fi; if fatload usb 2 1020000 s905_autoscript; then autoscr 1020000; fi; if fatload usb 3 1020000 s905_autoscript; then autoscr 1020000; fi;
  68. stderr=serial
  69. stdin=serial
  70. stdout=serial
  71. 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},rgb${hdmitx_rgb} cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag} androidboot.ddrclk=${ddrclk}; setenv bootargs ${bootargs} androidboot.hardware=amlogic;run cmdline_keys;
  72. storeboot=if imgread kernel boot ${loadaddr}; then bootm ${loadaddr}; fi;run update;
  73. 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 run try_auto_burn; fi;fi;fi;
  74. try_auto_burn=update 700 750;
  75. 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;
  76. upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;
  77. upgrade_key=saradc open 0; if saradc get_in_range 0 0x50; then msleep 50; if saradc get_in_range 0 0x50; then echo update by key...;run oranth_adckey_update; fi;fi
  78. upgrade_step=2
  79. usb_burning=update 1000
  80. usbdtb=if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo usb dtb.img loaded; else store dtb read $dtb_mem_addr; fi
  81. wipe_cache=successful
  82. wipe_data=successful
  83. ethaddr=B5:5C:0A:17:02:94
  84. CoreELEC:~ #
  85.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement