summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/u-boot/files/uboot-env.txt.ci2010
-rw-r--r--target/mips/imgtec-ci20/genimage.cfg33
2 files changed, 43 insertions, 0 deletions
diff --git a/package/u-boot/files/uboot-env.txt.ci20 b/package/u-boot/files/uboot-env.txt.ci20
new file mode 100644
index 000000000..c66316928
--- /dev/null
+++ b/package/u-boot/files/uboot-env.txt.ci20
@@ -0,0 +1,10 @@
+baudrate=115200
+board_mfr=NP
+bootargs=console=ttyS4,115200 console=tty0 mem=256M@0x0 mem=768M@0x30000000 rootwait root=/dev/mmcblk0p1 devtmpfs.mount=1
+bootcmd=run ethargs; ext4load mmc 0:1 0x88000000 /boot/kernel; bootm 0x88000000
+bootdelay=1
+ethargs=env set bootargs ${bootargs}
+loads_echo=1
+stderr=eserial0,eserial4
+stdin=eserial0,eserial4
+stdout=eserial0,eserial4
diff --git a/target/mips/imgtec-ci20/genimage.cfg b/target/mips/imgtec-ci20/genimage.cfg
new file mode 100644
index 000000000..8b55766ec
--- /dev/null
+++ b/target/mips/imgtec-ci20/genimage.cfg
@@ -0,0 +1,33 @@
+image sdcard.img {
+ hdimage {
+ }
+
+ partition uboot-spl {
+ in-partition-table = "no"
+ image = "u-boot-spl.bin"
+ offset = 512
+ }
+
+ partition uboot {
+ in-partition-table = "no"
+ image = "u-boot-dtb.img"
+ offset = 14K
+ }
+
+ partition uboot-env {
+ in-partition-table = "no"
+ image = "uboot-env.bin"
+ offset = 526K
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext"
+ offset = 2M
+ }
+
+ partition cfgfs {
+ partition-type = 0x88
+ image = "cfgfs.img"
+ }
+}