Skip to contentSkip to conversation

configs/nenopi_neo4: new updated defconfig

PATCH New Marek Belisko 3 participants 3 messages Apr 14, 2020 – Apr 18, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 configs/nenopi_neo4: new updated defconfig

This patch revert 8af7b11bd8a95bc41e4de46f727f3b0afde465a4 and add extra options to have build working

Updates:
- enable BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN
- bump kernel to 5.4
- increase default rootfs size to 70M
- use mainline u-boot
- added myself as maintainer (original author was removed from DEVELOPERS list)

---
 .gitlab-ci.yml                              |  1 +
 DEVELOPERS                                  |  2 ++
 board/friendlyarm/nanopi-neo4/extlinux.conf |  4 +++
 board/friendlyarm/nanopi-neo4/genimage.cfg  | 22 ++++++++++++
 board/friendlyarm/nanopi-neo4/post-build.sh |  5 +++
 board/friendlyarm/nanopi-neo4/readme.txt    | 53 +++++++++++++++++++++++++++
 configs/nanopi_neo4_defconfig               | 56 +++++++++++++++++++++++++++++
 7 files changed, 143 insertions(+)
 create mode 100644 board/friendlyarm/nanopi-neo4/extlinux.conf
 create mode 100644 board/friendlyarm/nanopi-neo4/genimage.cfg
 create mode 100755 board/friendlyarm/nanopi-neo4/post-build.sh
 create mode 100644 board/friendlyarm/nanopi-neo4/readme.txt
 create mode 100644 configs/nanopi_neo4_defconfig
.gitlab-ci.yml +1 -0
index 3869fa3..89968ea 100644
@@ -226,6 +226,7 @@ mx6sx_udoo_neo_defconfig: { extends: .defconfig }
 mx6udoo_defconfig: { extends: .defconfig }
 nanopi_m1_defconfig: { extends: .defconfig }
 nanopi_m1_plus_defconfig: { extends: .defconfig }
+nanopi_neo4_defconfig: { extends: .defconfig }
 nanopi_neo_defconfig: { extends: .defconfig }
 nanopi_r1_defconfig: { extends: .defconfig }
 nexbox_a95x_defconfig: { extends: .defconfig }
DEVELOPERS +2 -0
index 375ab07..dfcb7e4 100644
@@ -1605,6 +1605,8 @@ F:	package/libatasmart/
 F:	package/polkit/
 F:	package/sg3_utils/
 F:	package/udisks/
+F:	board/friendlyarm/nanopi-m4/
+F:	configs/nanopi_neo4_defconfig
 
 N:	Mario Lang <[email protected]>
 F:	package/brltty/
board/friendlyarm/nanopi-neo4/extlinux.conf new file +4 -0
new file mode 100644
index 0000000..91eef67
@@ -0,0 +1,4 @@
+label NanoPi Neo4 linux
+  kernel /boot/Image
+  devicetree /boot/rk3399-nanopi-neo4.dtb
+  append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk1p1 rootwait
board/friendlyarm/nanopi-neo4/genimage.cfg new file +22 -0
new file mode 100644
index 0000000..966c869
@@ -0,0 +1,22 @@
+image sdcard.img {
+	hdimage {
+	}
+
+	partition u-boot-tpl-spl-dtb {
+		in-partition-table = "no"
+		image = "idbloader.img"
+		offset = 32K
+	}
+
+	partition u-boot-dtb {
+		in-partition-table = "no"
+		image = "u-boot.itb"
+		offset = 8M
+		size = 30M
+	}
+
+	partition rootfs {
+		partition-type = 0x83
+		image = "rootfs.ext4"
+	}
+}
board/friendlyarm/nanopi-neo4/post-build.sh new file +5 -0
new file mode 100755
index 0000000..1f5ff6a
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+BOARD_DIR="$(dirname $0)"
+
+install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf
board/friendlyarm/nanopi-neo4/readme.txt new file +53 -0

53 lines not on this page · raw message

configs/nanopi_neo4_defconfig new file +56 -0

56 lines not on this page · raw message

Signature · 1 line
2.7.4
#1 lore raw

PATCH v4 1/1 configs/nenopi_neo4: new updated defconfig

Hello Marek,

I've applied, with some very minor tweaks.

First, typo in the commit title nenopi -> nanopi

Quoted 2 lines · On Tue, 14 Apr 2020 21:03:29 +0200 Marek Belisko…

This patch revert 8af7b11bd8a95bc41e4de46f727f3b0afde465a4 and add extra options to have build working

I've improved the wording a bit, because this is not just about reverting a previous patch.

DEVELOPERS F: package/libatasmart/ · line 1609

Quoted 10 lines
DEVELOPERS +2 -0
index 375ab07..dfcb7e4 100644
@@ -1605,6 +1605,8 @@ F:	package/libatasmart/
 F:	package/polkit/
 F:	package/sg3_utils/
 F:	package/udisks/
+F:	board/friendlyarm/nanopi-m4/
+F:	configs/nanopi_neo4_defconfig

Alphabetic ordering was not good here.

So I fixed those minor details, and applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH v4 1/1 configs/nenopi_neo4: new updated defconfig

Hi Thomas.

Quoted 4 lines · Thomas Petazzoni

Hello Marek,

I've applied, with some very minor tweaks.

Thanks a lot for fixes and for everything.

Quoted 25 lines

First, typo in the commit title nenopi -> nanopi

Quoted 2 lines · On Tue, 14 Apr 2020 21:03:29 +0200 Marek Belisko…

This patch revert 8af7b11bd8a95bc41e4de46f727f3b0afde465a4 and add extra options to have build working

I've improved the wording a bit, because this is not just about reverting a previous patch.

DEVELOPERS F: package/libatasmart/ · line 1609

Quoted 10 lines
DEVELOPERS +2 -0
index 375ab07..dfcb7e4 100644
@@ -1605,6 +1605,8 @@ F:      package/libatasmart/
 F:   package/polkit/
 F:   package/sg3_utils/
 F:   package/udisks/
+F:   board/friendlyarm/nanopi-m4/
+F:   configs/nanopi_neo4_defconfig

Alphabetic ordering was not good here.

Quoted 7 lines

So I fixed those minor details, and applied. Thanks!

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

BR,

marek

Signature · 10 lines
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com