configs/friendlyarm_nanopi_neo_plus2: use an extlinux instead of boot.cmd
This remove the file boot.cmd to use an extlinux.conf instead. Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
af42fc988e
commit
d867e80773
@@ -1,6 +0,0 @@
|
||||
setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
|
||||
|
||||
fatload mmc 0 $kernel_addr_r Image
|
||||
fatload mmc 0 $fdt_addr_r sun50i-h5-nanopi-neo-plus2.dtb
|
||||
|
||||
booti $kernel_addr_r - $fdt_addr_r
|
||||
4
board/friendlyarm/nanopi-neo-plus2/extlinux.conf
Normal file
4
board/friendlyarm/nanopi-neo-plus2/extlinux.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
label linux
|
||||
kernel /Image
|
||||
devicetree /sun50i-h5-nanopi-neo-plus2.dtb
|
||||
append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
|
||||
@@ -3,7 +3,7 @@ image boot.vfat {
|
||||
files = {
|
||||
"Image",
|
||||
"sun50i-h5-nanopi-neo-plus2.dtb",
|
||||
"boot.scr"
|
||||
"extlinux"
|
||||
}
|
||||
}
|
||||
size = 64M
|
||||
|
||||
4
board/friendlyarm/nanopi-neo-plus2/post-build.sh
Executable file
4
board/friendlyarm/nanopi-neo-plus2/post-build.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf
|
||||
Reference in New Issue
Block a user