-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmd-x
19 lines (19 loc) · 816 Bytes
/
cmd-x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
echo ===== Preparing XLoader =====
fatload usb 0:1 0x0 /vInstaller/xloader/xloader.img
nand erase 0x0 0x100000
nand write.jffs2 0x0 0x0 0x40000
nand write.jffs2 0x0 0x40000 0x40000
nand write.jffs2 0x0 0x80000 0x40000
nand write.jffs2 0x0 0xC0000 0x40000
echo ===== Preparing U-Boot =====
fatload usb 0:1 0x0 /vInstaller/u-boot/u-boot.img
nand erase 0x100000 0x180000
nand write.jffs2 0x0 0x100000 0x40000
echo ===== Preparing Android =====
fatload usb 0:1 0x800000 /vInstaller/kernel/uImage_Android
nand erase 0x280000 0x800000
nand write.jffs2 0x800000 0x280000 0x800000
savee
fatload usb 0:1 0x1200000 /vInstaller/installer/installrd.gz
setenv bootargs 'console=ttyAMA0,115200 mem=192M root=/dev/ram rw initrd=0x01200000,32M init=/linuxrc no_console_suspend androidboot.console=ttyAMA0 video=vfb:'
bootm 0x800000