Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.51 KB | None | 0 0
  1. $> cat ../meta-vodalys-bsp/recipes-kernel/linux/linux-vodalys_git.bb
  2. SUMMARY = "Linux Kernel for Vodalys-Labs"
  3. DESCRIPTION = "Linux Kernel provided and supported by Vodalys-Labs with focus on \
  4. i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU."
  5.  
  6. LINUX_VERSION ?= "3.18"
  7. LINUX_VERSION_EXTENSION ?= "-veobox"
  8.  
  9. inherit kernel
  10. require recipes-kernel/linux/linux-yocto.inc
  11.  
  12. PR = "r1"
  13. PV = "${LINUX_VERSION}+git${SRCPV}"
  14.  
  15. SRCREV = "15424e20aede07ab1e29443a55d92fc80d2ed589"
  16.  
  17. SRC_URI = "git://github.com/Vodalys/linux-2.6-imx.git;branch=${SRCBRANCH} \
  18. file://defconfig \
  19. "
  20.  
  21. COMPATIBLE_MACHINE = "(mx6)"
  22.  
  23. do_configure_prepend() {
  24. echo 'CONFIG_EXTRA_FIRMWARE="lattice-ecp3.bit v4l-coda960-imx6q.bin"' >> ${WORKDIR}/defconfig
  25. cp -arv ${STAGING_DIR_TARGET}/lib/firmware/lattice-ecp3.bit ${S}/firmware/ || die "no lattice firmware found"
  26. cp -arv ${STAGING_DIR_TARGET}/lib/firmware/v4l-coda960-imx6q.bin ${S}/firmware/ || die "no coda firmware found"
  27. }
  28. [jm@tatooine build]$ cat ../meta-vodalys-bsp/recipes-kernel/linux/linux-vodalys_git.bbappend
  29. KBRANCH = "mx6-camera-vbx-v3.18"
  30. PV = "${LINUX_VERSION}-local"
  31.  
  32. PR = "r1"
  33.  
  34. FILESEXTRAPATHS_prepend := "${THISDIR}/files/${MACHINE}:"
  35.  
  36. inherit externalsrc
  37.  
  38. EXTERNALSRC = "/run/media/jm/SSD_JM/Projets/vodabox3/poky/build/linux-2.6-imx/"
  39.  
  40. $> bitbake -c menuconfig virtual/kernel
  41. WARNING: Host distribution "Arch-rolling" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
  42. Loading cache: 100% |#########################################################################################################################################################| ETA: 00:00:00
  43. Loaded 2153 entries from dependency cache.
  44. NOTE: Resolving any missing task queue dependencies
  45.  
  46. Build Configuration:
  47. BB_VERSION = "1.24.0"
  48. BUILD_SYS = "x86_64-linux"
  49. NATIVELSBSTRING = "Arch-rolling"
  50. TARGET_SYS = "arm-poky-linux-gnueabi"
  51. MACHINE = "vodabox3"
  52. DISTRO = "poky"
  53. DISTRO_VERSION = "1.7"
  54. TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
  55. TARGET_FPU = "vfp-neon"
  56. meta
  57. meta-yocto
  58. meta-yocto-bsp = "(nobranch):02627ad3d93e8221daf5d178c096ab48a9d1fd68"
  59. meta-fsl-arm = "(nobranch):6d9cbabc49ae40ccf1ff80893c07790a25ef91b1"
  60. meta-vodalys-bsp = "master:3d6c7c44350edca6a11d31611eb2715ca21e7a8b"
  61. meta-networking
  62. meta-webserver
  63. meta-oe
  64. meta-python
  65. meta-multimedia
  66. meta-filesystems = "(detachedfrom510b7a9):510b7a9d8d5dda07120df5866507742a626478c1"
  67. meta-vodalys = "(detachedfrom34aecc5):34aecc5912f31d85053d2035d99743254bf5228d"
  68.  
  69. NOTE: Preparing runqueue
  70. NOTE: Executing SetScene Tasks
  71. NOTE: Executing RunQueue Tasks
  72. ERROR: Function failed: do_configure (log file is located at /run/media/jm/SSD_JM/Projets/vodabox3/poky/build/tmp/work/vodabox3-poky-linux-gnueabi/linux-vodalys/3.18-local-r1/temp/log.do_configure.4347)
  73. ERROR: Logfile of failure stored in: /run/media/jm/SSD_JM/Projets/vodabox3/poky/build/tmp/work/vodabox3-poky-linux-gnueabi/linux-vodalys/3.18-local-r1/temp/log.do_configure.4347
  74. Log data follows:
  75. | DEBUG: Executing python function sysroot_cleansstate
  76. | DEBUG: Python function sysroot_cleansstate finished
  77. | DEBUG: Executing shell function do_configure
  78. | '/run/media/jm/SSD_JM/Projets/vodabox3/poky/build/tmp/sysroots/vodabox3/lib/firmware/lattice-ecp3.bit' -> '/run/media/jm/SSD_JM/Projets/vodabox3/poky/build/linux-2.6-imx//firmware/lattice-ecp3.bit'
  79. | '/run/media/jm/SSD_JM/Projets/vodabox3/poky/build/tmp/sysroots/vodabox3/lib/firmware/v4l-coda960-imx6q.bin' -> '/run/media/jm/SSD_JM/Projets/vodabox3/poky/build/linux-2.6-imx//firmware/v4l-coda960-imx6q.bin'
  80. | NOTE: make oldnoconfig
  81. | make: *** No rule to make target 'oldnoconfig'. Stop.
  82. | NOTE: make oldconfig
  83. | make: *** No rule to make target 'oldconfig'. Stop.
  84. | ERROR: oe_runmake failed
  85. | WARNING: /run/media/jm/SSD_JM/Projets/vodabox3/poky/build/tmp/work/vodabox3-poky-linux-gnueabi/linux-vodalys/3.18-local-r1/temp/run.do_configure.4347:1 exit 1 from
  86. | oe_runmake oldconfig
  87. | ERROR: Function failed: do_configure (log file is located at /run/media/jm/SSD_JM/Projets/vodabox3/poky/build/tmp/work/vodabox3-poky-linux-gnueabi/linux-vodalys/3.18-local-r1/temp/log.do_configure.4347)
  88. ERROR: Task 2 (/run/media/jm/SSD_JM/Projets/vodabox3/poky/meta-vodalys-bsp/recipes-kernel/linux/linux-vodalys_git.bb, do_configure) failed with exit code '1'
  89. NOTE: Tasks Summary: Attempted 250 tasks of which 249 didn't need to be rerun and 1 failed.
  90. No currently running tasks (250 of 251)
  91.  
  92. Summary: 1 task failed:
  93. /run/media/jm/SSD_JM/Projets/vodabox3/poky/meta-vodalys-bsp/recipes-kernel/linux/linux-vodalys_git.bb, do_configure
  94. Summary: There was 1 WARNING message shown.
  95. Summary: There was 1 ERROR message shown, returning a non-zero exit code.
  96.  
  97.  
  98. $> ls -al tmp/work/vodabox3-poky-linux-gnueabi/linux-vodalys/3.18-local-r1/
  99. total 20
  100. drwxr-xr-x 4 jm jm 4096 Dec 18 11:13 .
  101. drwxr-xr-x 10 jm jm 4096 Dec 18 11:13 ..
  102. -rw-r--r-- 1 jm jm 63 Dec 18 11:13 defconfig
  103. drwxr-xr-x 2 jm jm 4096 Dec 18 11:13 linux-vodalys-3.18-local
  104. drwxr-xr-x 2 jm jm 4096 Dec 18 11:13 temp
  105.  
  106. $> ls -al tmp/work/vodabox3-poky-linux-gnueabi/linux-vodalys/3.18-local-r1/linux-vodalys-3.18-local/
  107. total 12
  108. drwxr-xr-x 2 jm jm 4096 Dec 18 11:13 .
  109. drwxr-xr-x 4 jm jm 4096 Dec 18 11:13 ..
  110. -rw-r--r-- 1 jm jm 63 Dec 18 11:13 .config
  111. -rw-r--r-- 1 jm jm 0 Dec 18 11:26 .scmversion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement