Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <LIST name="SK-iMX53-USB" desc="Choose USB boot">
- <CMD type="boot" body="BootStrap" file ="u-boot_mfg.bin" >Read from DDR script from U-Boot to init DDR Memory.</CMD>
- <CMD type="load" file="uImage_safe" address="0x70800000"
- loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing Kernel.</CMD>
- <!--<CMD type="load" file="initramfs.cpio.gz.uboot" address="0x70B00000"-->
- <!--<CMD type="load" file="initramfs.cpio.gz.uboot" address="0x73000000"-->
- <!-- loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing Initramfs.</CMD> -->
- <CMD type="jump" > Jumping to OS image. </CMD>
- <!-- <CMD type="find" body="Updater" timeout="180"/>
- <CMD type="push" body="mknod block,mmcblk0,/dev/mmcblk0,block"/>
- <CMD type="push" body="send" file="mksdcard.sh.tar">Sending partition shell</CMD>
- <CMD type="push" body="$ tar xf $FILE "> Partitioning...</CMD>
- <CMD type="push" body="$ sh mksdcard.sh /dev/mmcblk0"> Partitioning...</CMD>
- <CMD type="push" body="mknod block/mmcblk0,mmcblk0p1,/dev/mmcblk0p1,block"/>
- <CMD type="push" body="send" file="files/u-boot-mx53.bin">Sending U-Boot</CMD>
- <CMD type="push" body="$ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2 skip=2">write U-Boot to sd card</CMD>
- <CMD type="push" body="send" file="files/uImage">Sending kernel uImage</CMD>
- <CMD type="push" body="$ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2048">write kernel image to sd card</CMD>
- <CMD type="push" body="$ mkfs.ext3 -j /dev/mmcblk0p1">Formatting rootfs partition</CMD>
- <CMD type="push" body="$ mkdir -p /mnt/mmcblk0p1"/>
- <CMD type="push" body="$ mount -t ext3 /dev/mmcblk0p1 /mnt/mmcblk0p1"/>
- <CMD type="push" body="pipe tar -jxv -C /mnt/mmcblk0p1" file="files/rootfs.tar.bz2">Sending and writting rootfs</CMD>
- <CMD type="push" body="frf">Finishing rootfs write</CMD>
- <CMD type="push" body="$ umount /mnt/mmcblk0p1">Unmounting rootfs partition</CMD>
- <CMD type="push" body="$ echo Update Complete!">Done</CMD> -->
- </LIST>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement