initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
setenv fdt_high ffffffff
|
||||
|
||||
setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
|
||||
|
||||
fatload mmc 0 $kernel_addr_r zImage
|
||||
fatload mmc 0 $fdt_addr_r sun8i-h3-nanopi-neo.dtb
|
||||
|
||||
bootz $kernel_addr_r - $fdt_addr_r
|
||||
@@ -0,0 +1,34 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"sun8i-h3-nanopi-neo.dtb",
|
||||
"boot.scr"
|
||||
}
|
||||
}
|
||||
|
||||
size = 10M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8K
|
||||
size = 1016K # 1MB - 8KB
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
Intro
|
||||
=====
|
||||
|
||||
The instructions herein are valid for the FriendlyARM NanoPi NEO,
|
||||
both the 256MiB and 512MiB versions. They should also work for the
|
||||
NanoPi NEO Air, but this is untested so far.
|
||||
|
||||
The FriendlyARM Nanopi NEO is a 4x4cm² board with an Allwiner H3 SoC:
|
||||
- quad-core Cortex-A7 @1.2GHz
|
||||
- 256 or 512MiB of DDR
|
||||
- uSDCard as only storage option
|
||||
- 3x USB 2.0 host (one socket, two on expansion pin-holes)
|
||||
- 1x USB 2.0 OTG (also used as power source)
|
||||
- 10/100 ethernet MAC
|
||||
- GPIOs, SPI, I2c...
|
||||
|
||||
Support for the Nanopi NEO in U-Boot and Linux is very recent, so only
|
||||
core, basic features are available.
|
||||
|
||||
Unfortunately, support for the ethernet MAC and the USB OTG are not
|
||||
yet upstream, but are being actively worked on.
|
||||
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make friendlyarm_nanopi_neo_defconfig
|
||||
$ make
|
||||
|
||||
Note: you will need access to the internet to download the required
|
||||
sources.
|
||||
|
||||
You will then obtain an image ready to be written to your micro SDcard:
|
||||
|
||||
$ dd if=output/images/sdcard.img of=/dev/sdX bs=1M
|
||||
|
||||
Notes:
|
||||
- replace 'sdX' with the actual device with your micro SDcard,
|
||||
- you may need to be root to do that (use 'sudo').
|
||||
|
||||
Insert the micro SDcard in your NanoPi NEO and power it up. The console
|
||||
is on the serial line, 115200 8N1.
|
||||
Reference in New Issue
Block a user