Skip to content
Snippets Groups Projects
Commit 32517423 authored by Daniel Gachet's avatar Daniel Gachet
Browse files

wip

parent 8c11f2a9
No related branches found
No related tags found
No related merge requests found
...@@ -2,12 +2,10 @@ ...@@ -2,12 +2,10 @@
board/friendlyarm/nanopi-neo-plus2/genimage.cfg | 4 +- board/friendlyarm/nanopi-neo-plus2/genimage.cfg | 4 +-
.../nanopi-neo-plus2/linux-extras.config | 11 +++ .../nanopi-neo-plus2/linux-extras.config | 11 +++
.../nanopi-neo-plus2/nanopi-neo-plus2.dts | 7 ++ .../nanopi-neo-plus2/nanopi-neo-plus2.dts | 7 ++
.../nanopi-neo-plus2/rootfs_overlay/etc/fstab | 10 +++ configs/friendlyarm_nanopi_neo_plus2_defconfig | 97 +++++++++++++---------
.../rootfs_overlay/etc/network/interfaces | 10 +++
configs/friendlyarm_nanopi_neo_plus2_defconfig | 94 +++++++++++++---------
package/dropbear/S50dropbear | 2 +- package/dropbear/S50dropbear | 2 +-
package/openssh/S50sshd | 3 + package/openssh/S50sshd | 3 +
9 files changed, 104 insertions(+), 43 deletions(-) 7 files changed, 87 insertions(+), 43 deletions(-)
diff --git a/board/friendlyarm/nanopi-neo-plus2/boot.cmd b/board/friendlyarm/nanopi-neo-plus2/boot.cmd diff --git a/board/friendlyarm/nanopi-neo-plus2/boot.cmd b/board/friendlyarm/nanopi-neo-plus2/boot.cmd
new file mode 100644 new file mode 100644
...@@ -68,44 +66,11 @@ index 0000000000..f80383b0ff ...@@ -68,44 +66,11 @@ index 0000000000..f80383b0ff
+/ { +/ {
+ /delete-node/ leds; + /delete-node/ leds;
+}; +};
diff --git a/board/friendlyarm/nanopi-neo-plus2/rootfs_overlay/etc/fstab b/board/friendlyarm/nanopi-neo-plus2/rootfs_overlay/etc/fstab
new file mode 100644
index 0000000000..970cea4fcc
--- /dev/null
+++ b/board/friendlyarm/nanopi-neo-plus2/rootfs_overlay/etc/fstab
@@ -0,0 +1,10 @@
+# <file system> <mount pt> <type> <options> <dump> <pass>
+/dev/root / ext2 rw,noauto 0 1
+proc /proc proc defaults 0 0
+devpts /dev/pts devpts defaults,gid=5,mode=620,ptmxmode=0666 0 0
+tmpfs /dev/shm tmpfs mode=0777 0 0
+tmpfs /tmp tmpfs mode=1777 0 0
+tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0
+sysfs /sys sysfs defaults 0 0
+192.168.0.4:/home/lmi/workspace /usr/workspace nfs hard,nolock 0 0
+/dev/mmcblk0p1 /usr/vfat vfat defaults 0 0
diff --git a/board/friendlyarm/nanopi-neo-plus2/rootfs_overlay/etc/network/interfaces b/board/friendlyarm/nanopi-neo-plus2/rootfs_overlay/etc/network/interfaces
new file mode 100644
index 0000000000..1c9a9e2625
--- /dev/null
+++ b/board/friendlyarm/nanopi-neo-plus2/rootfs_overlay/etc/network/interfaces
@@ -0,0 +1,10 @@
+# interface file auto-generated by buildroot
+
+auto lo
+iface lo inet loopback
+
+auto eth0
+iface eth0 inet static
+ address 192.168.0.14
+ netmask 255.255.255.0
+ gateway 192.168.0.4
\ No newline at end of file
diff --git a/configs/friendlyarm_nanopi_neo_plus2_defconfig b/configs/friendlyarm_nanopi_neo_plus2_defconfig diff --git a/configs/friendlyarm_nanopi_neo_plus2_defconfig b/configs/friendlyarm_nanopi_neo_plus2_defconfig
index 461e468cb6..28f8db92b2 100644 index 461e468cb6..23ed244b7e 100644
--- a/configs/friendlyarm_nanopi_neo_plus2_defconfig --- a/configs/friendlyarm_nanopi_neo_plus2_defconfig
+++ b/configs/friendlyarm_nanopi_neo_plus2_defconfig +++ b/configs/friendlyarm_nanopi_neo_plus2_defconfig
@@ -1,24 +1,66 @@ @@ -1,24 +1,69 @@
BR2_aarch64=y BR2_aarch64=y
-BR2_cortex_a53=y -BR2_cortex_a53=y
BR2_ARM_FPU_VFPV4=y BR2_ARM_FPU_VFPV4=y
...@@ -130,6 +95,9 @@ index 461e468cb6..28f8db92b2 100644 ...@@ -130,6 +95,9 @@ index 461e468cb6..28f8db92b2 100644
+BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_PACKAGE_LINUX_TOOLS_PERF=y +BR2_PACKAGE_LINUX_TOOLS_PERF=y
+BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
+BR2_PACKAGE_GDB=y
+BR2_PACKAGE_GDB_SERVER=y
+BR2_PACKAGE_GDB_DEBUGGER=y
+BR2_PACKAGE_LTRACE=y +BR2_PACKAGE_LTRACE=y
+BR2_PACKAGE_STRACE=y +BR2_PACKAGE_STRACE=y
+BR2_PACKAGE_VALGRIND=y +BR2_PACKAGE_VALGRIND=y
...@@ -182,7 +150,7 @@ index 461e468cb6..28f8db92b2 100644 ...@@ -182,7 +150,7 @@ index 461e468cb6..28f8db92b2 100644
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_neo_plus2" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi_neo_plus2"
BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
@@ -27,36 +69,8 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM=y @@ -27,36 +72,8 @@ BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb"
BR2_TARGET_UBOOT_SPL=y BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin" BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin"
......
...@@ -23,6 +23,11 @@ sudo dnf install -y gnome-tweak-tool firewall-config kernel-devel libyaml-devel ...@@ -23,6 +23,11 @@ sudo dnf install -y gnome-tweak-tool firewall-config kernel-devel libyaml-devel
sudo dnf install -y gcc-c++ autoconf libtool dtc make patch ctags openssl-devel uboot-tools ncurses-devel mercurial sudo dnf install -y gcc-c++ autoconf libtool dtc make patch ctags openssl-devel uboot-tools ncurses-devel mercurial
sudo dnf install -y flex bison swig python-devel python3-devel policycoreutils-python-utils perl-ExtUtils-MakeMaker sudo dnf install -y flex bison swig python-devel python3-devel policycoreutils-python-utils perl-ExtUtils-MakeMaker
## make additional symbolic links for former libraries used by aarch64 gdb
## probably to be removed with newest buildroot version
sudo ln -s /usr/lib64/libtinfo.so.6.1 /usr/lib64/libtinfo.so.5
sudo ln -s /usr/lib64/libncursesw.so.6.1 /usr/lib64/libncursesw.so.5
#install git tools and configure keyring #install git tools and configure keyring
sudo dnf install -y git-gui meld sudo dnf install -y git-gui meld
sudo dnf install -y git-credential-libsecret sudo dnf install -y git-credential-libsecret
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment