summaryrefslogtreecommitdiff
path: root/target/arm/pcduino-3b
diff options
context:
space:
mode:
Diffstat (limited to 'target/arm/pcduino-3b')
-rw-r--r--target/arm/pcduino-3b/extlinux.conf4
-rw-r--r--target/arm/pcduino-3b/genimage.cfg20
2 files changed, 24 insertions, 0 deletions
diff --git a/target/arm/pcduino-3b/extlinux.conf b/target/arm/pcduino-3b/extlinux.conf
new file mode 100644
index 000000000..dbbb487c0
--- /dev/null
+++ b/target/arm/pcduino-3b/extlinux.conf
@@ -0,0 +1,4 @@
+LABEL default
+ kernel /boot/kernel
+ devicetreedir /boot
+ append root=PARTUUID=f6c8cabe-f191-4392-89bb-2ba14119482e rootwait console=${console} rootfstype=ext4 panic=10
diff --git a/target/arm/pcduino-3b/genimage.cfg b/target/arm/pcduino-3b/genimage.cfg
new file mode 100644
index 000000000..9d2d124f1
--- /dev/null
+++ b/target/arm/pcduino-3b/genimage.cfg
@@ -0,0 +1,20 @@
+image sdcard.img {
+ partition u-boot {
+ in-partition-table = false
+ image = "u-boot-sunxi-with-spl.bin"
+ offset = 8K
+ size = 1000K # 1MB - 8KB(offset) - 16KB(GPT)
+ }
+
+ hdimage {
+ partition-table-type = "gpt"
+ gpt-location = 1008K # 1MB - 16KB(GPT)
+ gpt-no-backup = true
+ }
+
+ partition rootfs {
+ offset = 1M
+ image = "rootfs.ext"
+ partition-uuid = f6c8cabe-f191-4392-89bb-2ba14119482e
+ }
+}