diff options
| -rw-r--r-- | meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb index 187b01d9..b26f23ff 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb | |||
| @@ -172,6 +172,9 @@ KERNEL_ROOT_SD ?= "root=/dev/\${bootdev}${PARTNUM} ro rootwait" | |||
| 172 | # Set Kernel root filesystem parameter for JTAG/QSPI/OSPI/NAND(using RAMDISK) boot | 172 | # Set Kernel root filesystem parameter for JTAG/QSPI/OSPI/NAND(using RAMDISK) boot |
| 173 | KERNEL_ROOT_RAMDISK ?= "root=/dev/ram0 rw" | 173 | KERNEL_ROOT_RAMDISK ?= "root=/dev/ram0 rw" |
| 174 | 174 | ||
| 175 | # Append the kernel command line | ||
| 176 | KERNEL_COMMAND_APPEND ?= "" | ||
| 177 | |||
| 175 | BITSTREAM_LOAD_ADDRESS ?= "0x100000" | 178 | BITSTREAM_LOAD_ADDRESS ?= "0x100000" |
| 176 | 179 | ||
| 177 | do_configure[noexec] = "1" | 180 | do_configure[noexec] = "1" |
| @@ -231,6 +234,7 @@ do_compile() { | |||
| 231 | -e 's/@@PARTNUM@@/${PARTNUM}/' \ | 234 | -e 's/@@PARTNUM@@/${PARTNUM}/' \ |
| 232 | -e 's:@@KERNEL_ROOT_SD@@:${KERNEL_ROOT_SD}:' \ | 235 | -e 's:@@KERNEL_ROOT_SD@@:${KERNEL_ROOT_SD}:' \ |
| 233 | -e 's:@@KERNEL_ROOT_RAMDISK@@:${KERNEL_ROOT_RAMDISK}:' \ | 236 | -e 's:@@KERNEL_ROOT_RAMDISK@@:${KERNEL_ROOT_RAMDISK}:' \ |
| 237 | -e 's:@@KERNEL_COMMAND_APPEND@@:${KERNEL_COMMAND_APPEND}:' \ | ||
| 234 | "${WORKDIR}/boot.cmd.${BOOTMODE}${BOOTFILE_EXT}" > "${WORKDIR}/boot.cmd" | 238 | "${WORKDIR}/boot.cmd.${BOOTMODE}${BOOTFILE_EXT}" > "${WORKDIR}/boot.cmd" |
| 235 | mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr | 239 | mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr |
| 236 | sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \ | 240 | sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \ |
