diff options
Diffstat (limited to 'conf/machine/include/socfpga.inc')
| -rw-r--r-- | conf/machine/include/socfpga.inc | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/conf/machine/include/socfpga.inc b/conf/machine/include/socfpga.inc index 813313f..a618b87 100644 --- a/conf/machine/include/socfpga.inc +++ b/conf/machine/include/socfpga.inc | |||
| @@ -16,8 +16,6 @@ MACHINE_KERNEL_PR = "r1" | |||
| 16 | UBOOT_ENTRYPOINT = "0x80008000" | 16 | UBOOT_ENTRYPOINT = "0x80008000" |
| 17 | UBOOT_LOADADDRESS = "0x80008000" | 17 | UBOOT_LOADADDRESS = "0x80008000" |
| 18 | 18 | ||
| 19 | SERIAL_CONSOLE = "115200 ttyS0" | ||
| 20 | |||
| 21 | KERNEL_IMAGETYPE ?= "zImage" | 19 | KERNEL_IMAGETYPE ?= "zImage" |
| 22 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" | 20 | MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" |
| 23 | MACHINE_FEATURES = "kernel26" | 21 | MACHINE_FEATURES = "kernel26" |
| @@ -26,29 +24,9 @@ MACHINE_FEATURES = "kernel26" | |||
| 26 | IMAGE_FSTYPES ?= "cpio ext3 tar.gz" | 24 | IMAGE_FSTYPES ?= "cpio ext3 tar.gz" |
| 27 | 25 | ||
| 28 | # u-boot setup | 26 | # u-boot setup |
| 29 | UBOOT_SUFFIX = "img" | 27 | UBOOT_SUFFIX ?= "sfp" |
| 30 | 28 | UBOOT_BINARY ?= "u-boot-with-spl.${UBOOT_SUFFIX}" | |
| 31 | # AV and CV uBoot + SPL mkpimage type binary | 29 | |
| 32 | SPL_BINARY_cyclone5 = "u-boot-with-spl.sfp" | ||
| 33 | SPL_BINARY_arria5 = "u-boot-with-spl.sfp" | ||
| 34 | |||
| 35 | # Set extlinux.conf up | ||
| 36 | UBOOT_EXTLINUX ??= "0" | ||
| 37 | UBOOT_EXTLINUX_ROOT ?= "root=/dev/mmcblk0p3" | ||
| 38 | UBOOT_EXTLINUX_LABELS ?= "default" | ||
| 39 | UBOOT_EXTLINUX_CONSOLE ?= "earlycon" | ||
| 40 | UBOOT_EXTLINUX_MENU_DESCRIPTION_default ?= "Linux Default" | ||
| 41 | UBOOT_EXTLINUX_KERNEL_IMAGE_default ?= "../${KERNEL_IMAGETYPE}" | ||
| 42 | UBOOT_EXTLINUX_FDTDIR_default ??= "../" | ||
| 43 | UBOOT_EXTLINUX_KERNEL_ARGS_default ??= "rootwait rw" | ||
| 44 | |||
| 45 | # Add default variables for wic creation of sdcard image | ||
| 46 | IMAGE_BOOT_FILES ?= " \ | ||
| 47 | ${KERNEL_DEVICETREE} \ | ||
| 48 | ${KERNEL_IMAGETYPE} \ | ||
| 49 | " | ||
| 50 | |||
| 51 | WKS_FILE ?= "sdimage-cyclone5-arria5.wks" | ||
| 52 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy virtual/kernel:do_deploy" | 30 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot virtual/bootloader:do_deploy virtual/kernel:do_deploy" |
| 53 | 31 | ||
| 54 | 32 | ||
