2160p60hz_deepcolor=420,10bit 2160p_h=2160 2160p_w=3840 2160p_x=0 2160p_y=0 EnableSelinux=permissive Irq_check_en=0 active_slot=_a aml_dt=s5_s928x_ax201-v2 arch=arm avb2=1 baudrate=115200 bcb_cmd=get_avb_mode;get_valid_slot;if test ${vendor_boot_mode} = true; then setenv loadaddr_kernel 0x3080000;setenv dtb_mem_addr 0x1000000;fi;if test ${active_slot} != normal; then echo ab mode, read dtb from kernel;setenv common_dtb_load imgread dtb ${boot_part} ${dtb_mem_addr};fi; board=tyson board_ddr_size=100200000 board_logo_part=odm_ext board_name=s5_ax201 boot_flag=0 boot_part=boot_a bootargs=init=/init console=ttyS0,921600 no_console_suspend earlycon=aml-uart,0xfe078000 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 loop.max_part=4 scramble_reg=0x0xfe02e030 otg_device=0 logo=osd0,loaded,0x00300000 vout=2160p60hz,disable panel_type=lcd_1 hdmitx=,420,10bit hdmimode=2160p60hz hdmichecksum=0x96390000 dolby_vision_on=0 hdr_policy=0 hdr_priority= frac_rate_policy=1 hdmi_read_edid=1 cvbsmode=576cvbs osd_reverse=0 video_reverse=0 irq_check_en=0 androidboot.selinux=permissive androidboot.firstboot=0 jtag=disable disable_ir=0 androidboot.bootloader=01.01.230824.140247 androidboot.hardware=amlogic mac=90:0E:B3:6D:72:1D androidboot.mac=90:0E:B3:6D:72:1D androidboot.wificountrycode=US androidboot.serialno=tyson80966011c740090b bootcmd=if test ${bootfromnand} = 1; then setenv bootfromnand 0; saveenv; else run bootfromsd; run bootfromusb; run bootfromemmc; fi; run storeboot bootdelay=0 bootfromemmc=run cfgloademmc bootfromnand=0 bootfromsd=if mmcinfo; then run cfgloadsd; if fatload mmc 0 ${loadaddr} kernel.img; then run sddtb; setenv bootargs ${bootargs} bootfromsd; bootm; fi; fi bootfromusb=usb start 0; run cfgloadusb; if fatload usb 0 ${loadaddr} kernel.img; then run usbdtb; setenv bootargs ${bootargs} bootfromusb; bootm; fi bootloader_version=01.01.230824.140247 bootm_low=0 bootm_size=e0000000 ce_on_emmc=no cfgloademmc=for p in 1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F; do if fatload mmc 1:${p} ${loadaddr} cfgload; then setenv device mmc; setenv devnr 1; setenv partnr ${p}; setenv ce_on_emmc "yes"; source ${loadaddr}; fi; done; cfgloadsd=if fatload mmc 0:1 ${loadaddr} cfgload; then setenv device mmc; setenv devnr 0; setenv partnr 1; source ${loadaddr}; fi cfgloadusb=if fatload usb 0:1 ${loadaddr} cfgload; then setenv device usb; setenv devnr 0; setenv partnr 1; source ${loadaddr}; fi check_result=succ cmdline_keys=setenv region_code US;setenv usid tyson${cpu_id};if keyman init 0x1234; then if keyman read usid ${loadaddr} str; then fi;if keyman read region_code ${loadaddr} str; then 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;setenv bootargs ${bootargs} androidboot.wificountrycode=${region_code};setenv bootargs ${bootargs} androidboot.serialno=${usid};setenv serial ${usid}; setenv serial# ${usid};factory_provision init; colorattribute=420,10bit common_dtb_load=imgread dtb boot_a 0x1000000 cpu=armv8 cpu_id=80966011c740090b cvbs_drv=0 cvbsmode=576cvbs disable_ir=0 display_bpp=16 display_color_bg=0 display_color_fg=0xffff display_color_index=16 display_height=1080 display_layer=osd0 display_width=1920 dolby_status=0 dolby_vision_on=0 dtb_mem_addr=0x1000000 dv_fw_addr=0xa00000 dv_fw_dir=/oem/firmware/dovi_fw.bin dv_fw_dir_odm_ext=/odm_ext/firmware/dovi_fw.bin dv_fw_dir_vendor=/vendor/firmware/dovi_fw.bin edid_14_dir=/mnt/vendor/odm_ext/etc/tvconfig/hdmi/port_14.bin edid_20_dir=/mnt/vendor/odm_ext/etc/tvconfig/hdmi/port_20.bin edid_select=0 ethaddr=90:0e:b3:6d:72:1d fatload_dev=usb fb_addr=0x00300000 fb_height=1080 fb_width=1920 fdt_high=0x20000000 fdtaddr=1000000 fdtcontroladdr=df787c60 firstboot=0 forUpgrade_1stBootIndex=0 forUpgrade_bootloaderCopies=3 forUpgrade_bootloaderIndex=0 forUpgrade_flashType=BOOT_EMMC forUpgrade_robustOta=true forUpgrade_secureBoot=false forUpgrade_socType=3e frac_rate_policy=1 fs_type=rootfstype=ramfs gatewayip=10.18.9.1 get_os_type=if store read ${os_ident_addr} ${boot_part} 0 0x1000; then os_ident ${os_ident_addr}; fi gpt_mode=false hdmi_colordepth=8 hdmi_colorspace=auto hdmi_read_edid=1 hdmichecksum=0x96390000 hdmimode=2160p60hz hdr_policy=0 hostname=arm_gxbb init_display=get_rebootmode;echo reboot_mode:::: ${reboot_mode};if test ${reboot_mode} = quiescent; then setenv reboot_mode_android quiescent;setenv dolby_status 0;setenv dolby_vision_on 0;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;osd open;osd clear;else if test ${reboot_mode} = recovery_quiescent; then setenv reboot_mode_android quiescent;setenv dolby_status 0;setenv dolby_vision_on 0;run storeargs;setenv bootargs ${bootargs} androidboot.quiescent=1;osd open;osd clear;else setenv reboot_mode_android normal;run storeargs;hdmitx hpd;hdmitx get_preferred_mode;hdmitx get_parse_edid;dovi process;watermark_init;vout output ${outputmode};osd open;osd clear;run load_bmp_logo;bmp scale;dovi set;dovi pkg;vpp hdrpkt;fi;fi; initargs=init=/init console=ttyS0,921600 no_console_suspend earlycon=aml-uart,0xfe078000 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 loop.max_part=4 scramble_reg=0x0xfe02e030 ipaddr=10.18.9.97 jtag=disable load_bmp_logo=if rdext4pic ${board_logo_part} $loadaddr; then bmp display $logoLoadAddr; else if imgread pic logo bootup $loadaddr; then bmp display $bootup_offset; fi; fi; loadaddr=0x00020000 loadaddr_kernel=0x3080000 loadaddr_rtos=0x00001000 lock=10101000 loglevel=7 mac=90:0E:B3:6D:72:1D netmask=255.255.255.0 nocs_mode=false os_ident_addr=0x00500000 osd_reverse=0 otg_device=0 outputmode=2160p60hz panel_type=lcd_1 partition_mode=dynamic port_map=4321 preboot=run upgrade_check;run init_display;run storeargs;run upgrade_key;bcb uboot-command;run switch_bootmode; reboot_mode=normal reboot_mode_android=normal reboot_status=reboot_init recovery_from_fat_dev=setenv loadaddr ${loadaddr_kernel};if fatload ${fatload_dev} 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload ${fatload_dev} 0 ${loadaddr} recovery.img; then if fatload ${fatload_dev} 0 ${dtb_mem_addr} dtb.img; then echo ${fatload_dev} dtb.img loaded; fi;setenv bootargs ${bootargs} ${fs_type};bootm ${loadaddr};fi; recovery_from_flash=echo active_slot: ${active_slot};setenv loadaddr ${loadaddr_kernel};if test ${active_slot} = normal; then setenv bootargs ${bootargs} ${fs_type} aml_dt=${aml_dt} recovery_part=${recovery_part} recovery_offset=${recovery_offset};if test ${upgrade_step} = 3; then if ext4load mmc 1:2 ${dtb_mem_addr} /recovery/dtb.img; then echo cache dtb.img loaded; fi;if test ${vendor_boot_mode} = true; then if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then bootm ${loadaddr}; fi;else if ext4load mmc 1:2 ${loadaddr} /recovery/recovery.img; then echo cache recovery.img loaded; wipeisb; bootm ${loadaddr}; fi;fi;else if imgread dtb recovery ${dtb_mem_addr}; then else echo restore dtb; run common_dtb_load;fi;fi;if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then bootm ${loadaddr}; fi;else if fdt addr ${dtb_mem_addr}; then else echo retry common dtb; run common_dtb_load; fi;if test ${partition_mode} = normal; then setenv bootargs ${bootargs} ${fs_type} aml_dt=${aml_dt} recovery_part=${boot_part} recovery_offset=${recovery_offset};if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;else if test ${vendor_boot_mode} = true; then setenv bootargs ${bootargs} ${fs_type} aml_dt=${aml_dt} recovery_part=${boot_part} recovery_offset=${recovery_offset} androidboot.slot_suffix=${active_slot};if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;else setenv bootargs ${bootargs} ${fs_type} aml_dt=${aml_dt} recovery_part=${recovery_part} recovery_offset=${recovery_offset} androidboot.slot_suffix=${active_slot};if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi;fi;fi;fi; recovery_from_sdcard=setenv fatload_dev mmc;if mmcinfo; then run recovery_from_fat_dev; fi; recovery_from_udisk=setenv fatload_dev usb;if usb start 0; then run recovery_from_fat_dev; fi; recovery_mode=false recovery_offset=0 recovery_part=recovery_a region_code=US retry_recovery_times=7 rollback_flag=0 rpmb_state=1 sdcburncfg=aml_sdc_burn.ini sddtb=if fatload mmc 0 ${dtb_mem_addr} dtb.img; then else store dtb read ${dtb_mem_addr}; fi serial=tyson80966011c740090b serial#=tyson80966011c740090b serverip=10.18.9.113 slot-suffixes=0 soc=s5 stderr=serial@8000 stdin=serial@8000 stdout=serial@8000 storage_param=store param;setenv bootargs ${bootargs} ${mtdbootparts}; storeargs=get_bootloaderversion;setenv bootargs ${initargs} otg_device=${otg_device} logo=${display_layer},loaded,${fb_addr} vout=${outputmode},${vout_init} panel_type=${panel_type} hdmitx=${cecconfig},${colorattribute} hdmimode=${hdmimode} hdmichecksum=${hdmichecksum} dolby_vision_on=${dolby_vision_on} hdr_policy=${hdr_policy} hdr_priority=${hdr_priority} frac_rate_policy=${frac_rate_policy} hdmi_read_edid=${hdmi_read_edid} cvbsmode=${cvbsmode} osd_reverse=${osd_reverse} video_reverse=${video_reverse} irq_check_en=${Irq_check_en} androidboot.selinux=${EnableSelinux} androidboot.firstboot=${firstboot} jtag=${jtag} disable_ir=${disable_ir};setenv bootargs ${bootargs} androidboot.bootloader=${bootloader_version} androidboot.hardware=amlogic;run cmdline_keys; storeboot=run get_os_type;run storage_param;if test ${os_type} = rtos; then setenv loadaddr ${loadaddr_rtos};store read ${loadaddr} ${boot_part} 0 0x400000;bootm ${loadaddr};else if test ${os_type} = kernel; then get_system_as_root_mode;echo system_mode in storeboot: ${system_mode};get_avb_mode;echo active_slot in storeboot: ${active_slot};if test ${system_mode} = 1; then setenv bootargs ${bootargs} ro rootwait skip_initramfs;else setenv bootargs ${bootargs} androidboot.force_normal_boot=1;fi;if test ${active_slot} != normal; then setenv bootargs ${bootargs} androidboot.slot_suffix=${active_slot};fi;setenv bootargs ${bootargs} androidboot.rollback=${rollback_flag};if fdt addr ${dtb_mem_addr}; then else echo retry common dtb; run common_dtb_load; fi;setenv loadaddr ${loadaddr_kernel};if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;else echo wrong OS format ${os_type}; fi;fi;echo try upgrade as booting failure; run update; 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} = quiescent; then setenv bootargs ${bootargs} androidboot.quiescent=1;else if test ${reboot_mode} = recovery_quiescent; then setenv bootargs ${bootargs} androidboot.quiescent=1;run recovery_from_flash;else if test ${reboot_mode} = cold_boot; then run usb_burning;else if test ${reboot_mode} = fastboot; then fastboot 0;fi;fi;fi;fi;fi;fi; update=run usb_burning; run recovery_from_sdcard;run recovery_from_udisk;run recovery_from_flash; upgrade_by_usbimg=usb start;if fatload usb 0 $loadaddr aml_sdc_burn.ini 1024; then echo exist aml_sdc_burn.ini; usb_burn aml_sdc_burn.ini;else echo NO exist aml_upgrade_package.img;fi; upgrade_check=echo recovery_status=${recovery_status};if itest.s "${recovery_status}" == "in_progress"; then run init_display;run storeargs; run recovery_from_flash;else fi;echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display;run storeargs; run update; fi; upgrade_key=if gpio input GPIOD_2; then echo detect upgrade key;if test ${boot_flag} = 0; then echo enter fastboot; setenv boot_flag 1; saveenv; fastboot 0;else if test ${boot_flag} = 1; then echo enter update; setenv boot_flag 2; saveenv; run update;else echo enter recovery; setenv boot_flag 0; saveenv; run recovery_from_flash;fi;fi;fi; upgrade_step=2 usb_burning=adnl 1200 usbdtb=if fatload usb 0 ${dtb_mem_addr} dtb.img; then else store dtb read ${dtb_mem_addr}; fi usid=tyson80966011c740090b vendor=amlogic vendor_boot_mode=true vendor_boot_part=vendor_boot video_reverse=0 vout_init=disable