Advertisement
Guest User

Untitled

a guest
Mar 13th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. 'V��KBZ�6
  2. ���\�if test -e mmc 0:1 boot/.next;
  3. then setenv condev "console=ttyAML0,115200n8";
  4. else setenv condev "console=ttyS0,115200n8 earlyprintk=aml-uart,0xc81004c0"; fi
  5.  
  6. if test -e mmc 0:1 boot/.next;
  7. then setenv rootdev "/dev/mmcblk1p1";
  8. else setenv rootdev "/dev/mmcblk0p1"; fi
  9.  
  10. if test -e mmc 0:1 boot/.next;
  11. then setenv bootargs "root=${rootdev} rootwait rootflags=data=writeback rw rootfstype=ext4 ${condev} no_console_suspend consoleblank=0 fsck.repair=yes loglevel=5 net.ifnames=0";
  12. else setenv bootargs "root=${rootdev} rootwait rootflags=data=writeback rw rootfstype=ext4 ${condev} no_console_suspend consoleblank=0 cvbsmode=576cvbs hdmimode=1080p60hz cvbsdrv=0 m_bpp=24 loglevel=5 net.ifnames=0"; fi
  13.  
  14. ${bloader} ${initrd_start} /boot/uInitrd
  15.  
  16. if test -e mmc 0:1 boot/.next;
  17. then ${bloader} ${dtb_mem_addr} boot/dtb/amlogic/meson-gxl-s905x-libretech-cc.dtb;
  18. else ${bloader} ${dtb_mem_addr} boot/dtb/meson-gxl-s905x-libretech-cc.dtb; fi
  19.  
  20. fdt addr ${dtb_mem_addr}
  21.  
  22. if test -e mmc 0:1 boot/.next;
  23. then ${bloader} 0x01080000 boot/uImage;
  24. else ${bloader} ${loadaddr} /boot/zImage; fi
  25.  
  26. if test -e mmc 0:1 boot/.next;
  27. then bootm 0x01080000 ${initrd_start} ${dtb_mem_addr};
  28. else booti ${loadaddr} ${initrd_start} ${dtb_mem_addr}; fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement