summaryrefslogtreecommitdiff
path: root/unmaintained/uboot-cubox/boot.txt
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/uboot-cubox/boot.txt')
-rw-r--r--unmaintained/uboot-cubox/boot.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/unmaintained/uboot-cubox/boot.txt b/unmaintained/uboot-cubox/boot.txt
new file mode 100644
index 000000000..348639632
--- /dev/null
+++ b/unmaintained/uboot-cubox/boot.txt
@@ -0,0 +1,12 @@
+echo ======== Starting boot ========
+usb start
+setenv uimagearg 'uImage'
+setenv uinitarg 'uInitrd'
+setenv my1arg 'console=ttyS0,115200n8 console=tty1,115200n8'
+setenv my2arg 'vmalloc=384M video=dovefb:lcd0:1280x720-32@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=0'
+ext2load ide 0:1 0x04000000 /boot/${uinitarg} && ext2load ide 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/sda1 rw rootwait' && bootm 0x02000000 0x04000000
+ext2load usb 0:1 0x04000000 /boot/${uinitarg} && ext2load usb 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/sda1 rw rootwait' && bootm 0x02000000 0x04000000
+ext2load mmc 0:1 0x04000000 /boot/${uinitarg} && ext2load mmc 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/mmcblk0p1 rw rootwait' && bootm 0x02000000 0x04000000
+ext2load ide 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/sda1 rw rootwait' && bootm 0x02000000
+ext2load usb 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/sda1 rw rootwait' && bootm 0x02000000
+ext2load mmc 0:1 0x02000000 /boot/${uimagearg} && setenv bootargs ${my1arg} ${my2arg} 'root=/dev/mmcblk0p1 rw rootwait' && bootm 0x02000000