|
楼主 |
发表于 2019-1-11 21:24
|
显示全部楼层
本帖最后由 jocover 于 2019-2-4 23:12 编辑
- / # fw_printenv
- stat /dev/env OK
- attemptboot=if test ${reboot_mode} = charging; then run try_auto_burn; fi;echo Attempting booting...;setenv bootcmd run storeboot; saveenv; run logodisplay; run switchbootonce; run switchrootfspartonce;run resetinitargs; run storeargs;save; if unifykey get usid; then setenv bootargs ${bootargs} androidboot.serialno=${usid};fi;if unifykey get mac; then setenv bootargs ${bootargs} mac=${mac};fi;imgread kernel ${bootpart} ${loadaddr};bootm;run bootrecovery
- baudrate=115200
- boardname=m8_board
- bootargs=root=/dev/system rootfstype=ext4 init=/sbin/init console=ttyS0,115200n8 no_console_suspend ramoops.mem_address=0x04e00000 ramoops.mem_size=0x100000 ramoops.record_size=0x8000 ramoops.console_size=0x4000 cvbsdrv=0 vdaccfg=0xa000 logo=osd1,loaded,0x7900000,1080p,full hdmimode=1080p cvbsmode=576cvbs androidboot.firstboot=1 hdmitx=1080p
- bootcmd=run storeboot
- bootdelay=1
- bootfile=boot.img
- bootm_low=0x00000000
- bootm_size=0x80000000
- bootpart=kernel
- bootpath=u-boot.bin
- bootrecovery=run revertbootpart; run storeboot
- bootsdargs=setenv bootargs root=/dev/mmcblk0p1 rw rootfstype=ext2 rootwait init=/sbin/init console=ttyS0,115200n8 no_console_suspend cvbsdrv=${cvbs_drv} vdaccfg=${vdac_config} logo=osd1,loaded,${fb_addr},${outputmode},full hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${hdmimode}
- bootsdcard=echo Booting ...;run bootsdargs; mmcinfo;ext2load mmc 0 ${loadaddr} boot.img;bootm
- bootsize=100000
- bootstart=0
- bootupdate=echo Updating...;run bootupdateargs; mmcinfo;fatload mmc 0 ${loadaddr} boot.img;bootm
- bootupdateargs=setenv bootargs root=/dev/mmcblk0p1 rw rootfstype=vfat rootwait init=/sbin/init console=ttyS0,115200n8 no_console_suspend cvbsdrv=${cvbs_drv} vdaccfg=${vdac_config} logo=osd1,loaded,${fb_addr},${outputmode},full hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${hdmimode} firmware=rootfs.tar.gz
- check_rebootmode=get_rebootmode; clear_rebootmode; echo reboot_mode=${reboot_mode};if test ${reboot_mode} = factory_reset; then defenv; fi;
- checkbootpart=if test ${second_image_load} = off; then setenv bootpart boot;else if test ${second_image_load} = on; then setenv bootpart kernel; fi;fi;
- checkrootfspart=if test ${second_rootfs_load} = off; then setenv rootfs_part system;else if test ${second_rootfs_load} = on; then setenv rootfs_part backup; fi;fi;
- chipname=8726m8
- console=ttyS0,115200n8
- cvbs_drv=0
- cvbsmode=576cvbs
- display_bpp=16
- display_color_bg=0
- display_color_fg=0xffff
- display_color_format_index=16
- display_height=1080
- display_layer=osd2
- display_width=1920
- do_preloaddtb=if test ${second_image_load} = on; then imgread dtb kernel ${loadaddr}; else imgread dtb boot ${loadaddr}; fi;
- enable_halt=0
- ethact=Meson_Ethernet
- ethaddr=00:15:18:01:81:31
- fb_addr=0x7900000
- fb_height=1080
- fb_width=1920
- firstboot=1
- gatewayip=10.18.9.1
- get_dt=checkhw
- hdmimode=1080p
- hostname=arm_m8
- identifyWaitTime=750
- initargs=root=/dev/system rootfstype=ext4 init=/sbin/init console=ttyS0,115200n8 no_console_suspend ramoops.mem_address=0x04e00000 ramoops.mem_size=0x100000 ramoops.record_size=0x8000 ramoops.console_size=0x4000
- initrd_high=60000000
- ipaddr=10.18.9.97
- led_factory=green
- loadaddr=0x12000000
- loadaddr_logo=0x13000000
- logodisplay=store read logo ${loadaddr_logo} 0 0x400000;bmp display ${loadaddr_logo}; bmp scale;
- netmask=255.255.255.0
- normalsize=400000
- normalstart=1000000
- outputmode=1080p
- p0path=uImage
- p0size=400000
- p0start=1000000
- p1path=android.rootfs
- p1size=8000000
- p1start=1400000
- partnum=2
- preboot=run test_facreset;if itest ${upgrade_step} == 3; then run prepare; run storeargs; run update; fi; if itest ${upgrade_step} == 1; then defenv_reserve_env; setenv upgrade_step 2; saveenv;fi; run check_rebootmode;run prepare;run storeargs;run update_ir; run switch_bootmode
- preloaddtb=run do_preloaddtb
- prepare=logo size ${outputmode}; video open; video clear; video dev open ${outputmode};imgread pic logo bootup ${loadaddr_logo}; bmp display ${bootup_offset}; bmp scale;
- reboot_mode=charging
- recovery=echo enter recovery;setenv bootargs ${bootargs};wipeisb;if mmcinfo; then if fatload mmc 0 ${loadaddr} recovery.img; then bootm;fi;fi; if usb start 0; then if fatload usb 0 ${loadaddr} recovery.img; then bootm; fi;fi;if imgread kernel recovery ${loadaddr}; then bootm; else echo no recovery in flash; fi;
- resetinitargs=setenv initargs root=/dev/${rootfs_part} rootfstype=ext4 init=/sbin/init console=ttyS0,115200n8 no_console_suspend ramoops.mem_address=0x04e00000 ramoops.mem_size=0x100000 ramoops.record_size=0x8000 ramoops.console_size=0x4000
- revertbootpart=if test ${second_image_load} = off; then setenv second_image_load on; else if test ${second_image_load} = on;then setenv second_image_load off; fi; fi; saveenv
- rootfs_part=system
- sdc_burning=sdc_burn ${sdcburncfg}
- sdcburncfg=aml_sdc_burn.ini
- second_image_load=on
- second_rootfs_load=off
- serverip=10.18.9.113
- stderr=serial
- stdin=serial
- stdout=serial
- stop_dcdn=0
- store=2
- storeargs=setenv bootargs ${initargs} cvbsdrv=${cvbs_drv} vdaccfg=${vdac_config} logo=osd1,loaded,${fb_addr},${outputmode},full hdmimode=${hdmimode} cvbsmode=${cvbsmode} androidboot.firstboot=${firstboot} hdmitx=${hdmimode}
- storeboot=if test ${reboot_mode} = charging; then run try_auto_burn; fi;echo Booting...; run logodisplay; run checkbootpart; run checkrootfspart; run resetinitargs; run storeargs;save; if unifykey get usid; then setenv bootargs ${bootargs} androidboot.serialno=${usid};fi;if unifykey get mac; then setenv bootargs ${bootargs} mac=${mac};fi;imgread kernel ${bootpart} ${loadaddr};bootm;run bootrecovery
- switch_bootmode=if test ${reboot_mode} = factory_reset; then run recovery;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = usb_burning; then run usb_burning;else if test ${wipe_data} = failed; then echo wipe_data=${wipe_data}; run recovery;else fi;fi;fi;fi
- switchbootonce=if test ${second_image_load} = off; then setenv bootpart kernel;else if test ${second_image_load} = on; then setenv bootpart boot; fi;fi;
- switchrootfspartonce=if test ${second_rootfs_load} = off; then setenv rootfs_part backup;else if test ${second_rootfs_load} = on; then setenv rootfs_part system;fi;fi;
- test_facreset=if test ${wipe_data} = failed; then echo -wipe_data=${wipe_data}; run prepare; run storeargs; run recovery;fi; if test ${wipe_cache} = failed; then echo -wipe_cache=${wipe_cache}; run prepare; run storeargs; run recovery;fi;
- testaddr=0x12400000
- try_auto_burn=update 700 750;
- update=run usb_burning; if mmcinfo; then if fatexist mmc 0 ${sdcburncfg}; then run sdc_burning; else if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;run recovery;fi;else run recovery;fi;
- update_ir=if irdetect; then run update; fi
- upgrade_step=2
- usb_burning=update 1000
- vdac_config=0xa000
- video_dev=tvout
- wipe_cache=success
- wipe_data=success
- xl_kernel_ver=V1.0.427
- xl_rootfs_version=V1.0.427
- xl_softmode=usermode
- xl_system_ver=V1.0.427
- xl_test_flag=false
- xl_uboot_version=V1.0.2
复制代码
uboot
- df -h
- Filesystem Size Used Available Use% Mounted on
- /dev/system 506.3M 351.3M 125.3M 74% /
- devtmpfs 314.5M 0 314.5M 0% /dev
- tmpfs 424.6M 0 424.6M 0% /dev/shm
- tmpfs 424.6M 680.0K 424.0M 0% /tmp
- tmpfs 424.6M 56.0K 424.6M 0% /run
- /dev/misc 30.9M 92.0K 28.6M 0% /misc
- /dev/cache 487.9M 51.4M 400.7M 11% /var/cache
- /dev/app1 239.9M 104.5M 118.6M 47% /tmp/app_mnt
- /dev/app1 239.9M 104.5M 118.6M 47% /thunder
- /dev/sda1 57.8G 88.0M 57.7G 0% /media/sda1
- tmpfs 424.6M 680.0K 424.0M 0% /var/lib/samba/private/msg.sock
复制代码
emmc分区信息- [ 6.645205] add_emmc_partition
- [ 6.645422] [mmcblk1p01] bootloader offset 0x000000000000, size 0x000000400000
- [ 6.645621] [mmcblk1p02] reserved offset 0x000002400000, size 0x000004000000
- [ 6.645820] [mmcblk1p03] cache offset 0x000006c00000, size 0x000020000000
- [ 6.646032] [mmcblk1p04] env offset 0x000027400000, size 0x000000800000
- [ 6.646228] [mmcblk1p05] logo offset 0x000028400000, size 0x000002000000
- [ 6.646434] [mmcblk1p06] recovery offset 0x00002ac00000, size 0x000002000000
- [ 6.646631] [mmcblk1p07] misc offset 0x00002d400000, size 0x000002000000
- [ 6.646836] [mmcblk1p08] instaboot offset 0x00002fc00000, size 0x000020000000
- [ 6.647032] [mmcblk1p09] kernel offset 0x000050400000, size 0x000002000000
- [ 6.647227] [mmcblk1p10] boot offset 0x000052c00000, size 0x000002000000
- [ 6.647433] [mmcblk1p11] system offset 0x000055400000, size 0x000040000000
- [ 6.647632] [mmcblk1p12] backup offset 0x000095c00000, size 0x000040000000
- [ 6.647838] [mmcblk1p13] app0 offset 0x0000d6400000, size 0x000010000000
- [ 6.648036] [mmcblk1p14] app1 offset 0x0000e6c00000, size 0x000010000000
- [ 6.648231] [mmcblk1p15] data offset 0x0000f7400000, size 0x0000dac00000
复制代码
|
|