Skip to contentSkip to conversation

Add defconfig for MIPS Creator ci40

PATCH New Abhimanyu Vishwakarma 2 participants 2 messages Apr 24, 2017 – Apr 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v10 2/2 Add defconfig for MIPS Creator ci40

From: Abhimanyu Vishwakarma <[email protected]>

---
Changes v1->v2
- No change
Changes v2->v3 (Suggested by Arnout)
- Remove uImage and add fitImage generation
- Tidy readme.txt
- Tidy ci40_defconfig, remove custom toolchain and add wifi helper packages Some changes are not done:
- Using git-helper:
- Custom kernel doesnt provide tar file, so it didnt work for me
Changes v3->v4 (Suggested by Arnout)
- Use github helper for getting kernel/u-boot
- rename fitImage.its -> fitImage.its.in to reflect as template file, remove hardcoded dtb filename
- Find dtb file in output/images directory and use first dtb in fitImage
- Remove image size from genimage.cfg
- Tidy readme.txt and add section to explain how to stop u-boot autoboot, how to make it persistent, and other grammar
Changes v4->v5 (Suggested by Thomas)
- Use fixed kernel entry addr
- Generate vmlinux.bin.gz from generate vmlinux.bin
- Remove generating uImage (not required for anything now)
Changes v5->v6
- Use kernel generate fitimage
- bump up u-boot version
- Change emailid from imgtec.com -> personal id
Changes v6->v7 (Suggested by Thomas)
- Use genimage.sh script
- Improve and fix grammer in readme.txt
Changes v7->v8 (Suggested by Arnout)
- Use genimage.sh script from POST_IMAGE_SCRIPT
- Use uboot kconfig base config
- Remove dts config from defconfig
- Some other small cleanup
- rebase on master
Changes v8->v9 (Suggested by Arnout)
- Use sh instead of bash where bash feature is not needed
- Use sudo for command run on user PC
- Update bootloader flashing help text in readme.txt
Changes v9->v10
- No changes

 board/ci40/genimage.cfg  | 12 +++++++++
 board/ci40/post-build.sh |  4 +++
 board/ci40/readme.txt    | 65 ++++++++++++++++++++++++++++++++++++++++++++++++
 configs/ci40_defconfig   | 48 +++++++++++++++++++++++++++++++++++
 4 files changed, 129 insertions(+)
 create mode 100644 board/ci40/genimage.cfg
 create mode 100755 board/ci40/post-build.sh
 create mode 100644 board/ci40/readme.txt
 create mode 100644 configs/ci40_defconfig
board/ci40/genimage.cfg new file +12 -0
new file mode 100644
index 000000000..0ffc91ce8
@@ -0,0 +1,12 @@
+# Minimal SD card image
+#
+
+image sdcard.img {
+  hdimage {
+  }
+
+  partition rootfs {
+    partition-type = 0x83
+    image = "rootfs.ext4"
+  }
+}
board/ci40/post-build.sh new file +4 -0
new file mode 100755
index 000000000..9af74c7a7
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Copy to target
+cp ${BINARIES_DIR}/vmlinux.gz.itb ${TARGET_DIR}/fitImage
board/ci40/readme.txt new file +65 -0

65 lines not on this page · raw message

configs/ci40_defconfig new file +48 -0

48 lines not on this page · raw message

Signature · 1 line
2.11.0
#1 lore raw

PATCH v10 2/2 Add defconfig for MIPS Creator ci40

Quoted 40 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Abhimanyu" == Abhimanyu Vishwakarma <[email protected]> writes:

From: Abhimanyu Vishwakarma <[email protected]>

---
Changes v1->v2
- No change
Changes v2->v3 (Suggested by Arnout)
- Remove uImage and add fitImage generation
- Tidy readme.txt
- Tidy ci40_defconfig, remove custom toolchain and add wifi helper packages Some changes are not done:
- Using git-helper:
- Custom kernel doesnt provide tar file, so it didnt work for me
Changes v3->v4 (Suggested by Arnout)
- Use github helper for getting kernel/u-boot
- rename fitImage.its -> fitImage.its.in to reflect as template file, remove hardcoded dtb filename
- Find dtb file in output/images directory and use first dtb in fitImage
- Remove image size from genimage.cfg
- Tidy readme.txt and add section to explain how to stop u-boot autoboot, how to make it persistent, and other grammar
Changes v4->v5 (Suggested by Thomas)
- Use fixed kernel entry addr
- Generate vmlinux.bin.gz from generate vmlinux.bin
- Remove generating uImage (not required for anything now)
Changes v5->v6
- Use kernel generate fitimage
- bump up u-boot version
- Change emailid from imgtec.com -> personal id
Changes v6->v7 (Suggested by Thomas)
- Use genimage.sh script
- Improve and fix grammer in readme.txt
Changes v7->v8 (Suggested by Arnout)
- Use genimage.sh script from POST_IMAGE_SCRIPT
- Use uboot kconfig base config
- Remove dts config from defconfig

Quoted 8 lines

- Some other small cleanup
- rebase on master
Changes v8->v9 (Suggested by Arnout)
- Use sh instead of bash where bash feature is not needed
- Use sudo for command run on user PC
- Update bootloader flashing help text in readme.txt
Changes v9->v10
- No changes

Committed, thanks. Thank you for your persistence in getting this integrated!

Signature · 1 line
Bye, Peter Korsgaard