Initial Commit
- initial default booting image
This commit is contained in:
15
board/zynqmp/post-build.sh
Executable file
15
board/zynqmp/post-build.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# genimage will need to find the extlinux.conf
|
||||
# in the binaries directory
|
||||
|
||||
CONSOLE="$2"
|
||||
ROOT="$3"
|
||||
|
||||
mkdir -p "${BINARIES_DIR}"
|
||||
cat <<-__HEADER_EOF > "${BINARIES_DIR}/extlinux.conf"
|
||||
label linux
|
||||
kernel /Image
|
||||
devicetree /system.dtb
|
||||
append console="${CONSOLE}" root="/dev/${ROOT}" rw rootwait
|
||||
__HEADER_EOF
|
||||
Reference in New Issue
Block a user