Advertisement
buletz

ucl starterkit

Oct 1st, 2012
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. <LIST name="SK-iMX53-USB" desc="Choose USB boot">
  2. <CMD type="boot" body="BootStrap" file ="u-boot_mfg.bin" >Read from DDR script from U-Boot to init DDR Memory.</CMD>
  3. <CMD type="load" file="uImage_safe" address="0x70800000"
  4. loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing Kernel.</CMD>
  5. <!--<CMD type="load" file="initramfs.cpio.gz.uboot" address="0x70B00000"-->
  6. <!--<CMD type="load" file="initramfs.cpio.gz.uboot" address="0x73000000"-->
  7. <!-- loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing Initramfs.</CMD> -->
  8. <CMD type="jump" > Jumping to OS image. </CMD>
  9. <!-- <CMD type="find" body="Updater" timeout="180"/>
  10. <CMD type="push" body="mknod block,mmcblk0,/dev/mmcblk0,block"/>
  11.  
  12. <CMD type="push" body="send" file="mksdcard.sh.tar">Sending partition shell</CMD>
  13. <CMD type="push" body="$ tar xf $FILE "> Partitioning...</CMD>
  14. <CMD type="push" body="$ sh mksdcard.sh /dev/mmcblk0"> Partitioning...</CMD>
  15. <CMD type="push" body="mknod block/mmcblk0,mmcblk0p1,/dev/mmcblk0p1,block"/>
  16. <CMD type="push" body="send" file="files/u-boot-mx53.bin">Sending U-Boot</CMD>
  17. <CMD type="push" body="$ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2 skip=2">write U-Boot to sd card</CMD>
  18. <CMD type="push" body="send" file="files/uImage">Sending kernel uImage</CMD>
  19. <CMD type="push" body="$ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2048">write kernel image to sd card</CMD>
  20. <CMD type="push" body="$ mkfs.ext3 -j /dev/mmcblk0p1">Formatting rootfs partition</CMD>
  21. <CMD type="push" body="$ mkdir -p /mnt/mmcblk0p1"/>
  22. <CMD type="push" body="$ mount -t ext3 /dev/mmcblk0p1 /mnt/mmcblk0p1"/>
  23. <CMD type="push" body="pipe tar -jxv -C /mnt/mmcblk0p1" file="files/rootfs.tar.bz2">Sending and writting rootfs</CMD>
  24. <CMD type="push" body="frf">Finishing rootfs write</CMD>
  25. <CMD type="push" body="$ umount /mnt/mmcblk0p1">Unmounting rootfs partition</CMD>
  26. <CMD type="push" body="$ echo Update Complete!">Done</CMD> -->
  27. </LIST>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement