Initial Commit
- initial default booting image
This commit is contained in:
4
board/friendlyarm/nanopi-neo/extlinux.conf
Normal file
4
board/friendlyarm/nanopi-neo/extlinux.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
label NanoPi NEO linux
|
||||
kernel /boot/zImage
|
||||
devicetree /boot/sun8i-h3-nanopi-neo.dtb
|
||||
append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p1 rootwait panic=10
|
||||
17
board/friendlyarm/nanopi-neo/genimage.cfg
Normal file
17
board/friendlyarm/nanopi-neo/genimage.cfg
Normal file
@@ -0,0 +1,17 @@
|
||||
# Minimal SD card image for the NanoPi NEO.
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = false
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8K
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
offset = 1M
|
||||
}
|
||||
}
|
||||
2
board/friendlyarm/nanopi-neo/patches/linux/linux.hash
Normal file
2
board/friendlyarm/nanopi-neo/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 f4855f382c1b735c84072bdef36db5bcd5dc7b0c37e42f5104317149a0a486ef linux-6.18.18.tar.xz
|
||||
2
board/friendlyarm/nanopi-neo/patches/uboot/uboot.hash
Normal file
2
board/friendlyarm/nanopi-neo/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b60d5865cefdbc75da8da4156c56c458e00de75a49b80c1a2e58a96e30ad0d54 u-boot-2026.01.tar.bz2
|
||||
5
board/friendlyarm/nanopi-neo/post-build.sh
Executable file
5
board/friendlyarm/nanopi-neo/post-build.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname "$0")"
|
||||
|
||||
install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$TARGET_DIR"/boot/extlinux/extlinux.conf
|
||||
41
board/friendlyarm/nanopi-neo/readme.txt
Normal file
41
board/friendlyarm/nanopi-neo/readme.txt
Normal file
@@ -0,0 +1,41 @@
|
||||
Nanopi NEO
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
This default configuration will allow you to start experimenting with the
|
||||
buildroot environment for the NanoPi NEO. With the current configuration
|
||||
it will bring-up the board, and allow access through the serial console.
|
||||
|
||||
FriendlyARM Nanopi NEO link:
|
||||
https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make friendlyarm_nanopi_neo_defconfig
|
||||
$ make
|
||||
|
||||
Note: you will need access to the internet to download the required
|
||||
sources.
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
$ sudo sync
|
||||
|
||||
Insert the micro SD card in your Nanopi NEO and power it up. The console
|
||||
is on the debug TTL UART, 115200 8N1.
|
||||
|
||||
Ethernet
|
||||
==========
|
||||
|
||||
# udhcpc -i eth0
|
||||
|
||||
Enjoy!
|
||||
Reference in New Issue
Block a user