Difference between revisions of "Buildroot:GSoC2013 ARM Multimedia"

From eLinux.org
Jump to: navigation, search
(Week 37)
 
(19 intermediate revisions by the same user not shown)
Line 23: Line 23:
 
| [http://beagleboard.org/Products/BeagleBone%20Black BeagleBoneBlack] || WIP || beagleblack || none
 
| [http://beagleboard.org/Products/BeagleBone%20Black BeagleBoneBlack] || WIP || beagleblack || none
 
|-
 
|-
| [http://www.genesi-tech.com/products/efika Efika MX] || Need Dev Board || imx5 || none
+
| [http://boundarydevices.com/products/sabre-lite-imx6-sbc/ SABRE] || WIP || imx6 || none
 
|-
 
|-
| [http://boundarydevices.com/products/sabre-lite-imx6-sbc/ SABRE] || WIP || imx6 || none
+
| [http://www.wandboard.org/ Wandboard] || WIP || imx6 || none
 
|-
 
|-
 
| [http://www.miniand.com/products/Cubieboard%20Developer%20Board Cubieboard] || WIP || cubieboard || none
 
| [http://www.miniand.com/products/Cubieboard%20Developer%20Board Cubieboard] || WIP || cubieboard || none
Line 121: Line 121:
 
** Notice libcedarv/<plat>/sample: attempt to build sample. Success!
 
** Notice libcedarv/<plat>/sample: attempt to build sample. Success!
 
** New issue on udev created by rebase. https://gist.github.com/anonymous/6195121 (possibly due to linaro toolchain)
 
** New issue on udev created by rebase. https://gist.github.com/anonymous/6195121 (possibly due to linaro toolchain)
 +
** Small udev bug fix patch for udev http://lists.busybox.net/pipermail/buildroot/2013-August/076370.html. Accepted.
 
** Need to find *.pmp for input to sample application.
 
** Need to find *.pmp for input to sample application.
 
* Adding glmark2
 
* Adding glmark2
Line 131: Line 132:
 
*** host-libxml2 does build the python bindings and something is installed (not sure if everything.) Attempting to determine if this is an unclean build issue. It may have been.   
 
*** host-libxml2 does build the python bindings and something is installed (not sure if everything.) Attempting to determine if this is an unclean build issue. It may have been.   
 
*** Another bug https://gist.github.com/anonymous/6197871 . It appears -m32 is passed in some absurd way. Added patch from http://lists.freedesktop.org/archives/mesa-dev/2012-April/021046.html
 
*** Another bug https://gist.github.com/anonymous/6197871 . It appears -m32 is passed in some absurd way. Added patch from http://lists.freedesktop.org/archives/mesa-dev/2012-April/021046.html
** Bug GLchar https://gist.github.com/anonymous/6198693
+
** Bug GLchar https://gist.github.com/anonymous/6198693. it's a simple typedef char GLchar; fix.
 +
** Bug need libgbm from mesa only in 7.11.x and up.  Bump mesa3d to 7.11.2.
 +
*** Bug https://bugs.freedesktop.org/show_bug.cgi?id=44618. Fixed in 9.1.6 (haha)
 +
*** Attempt bump from 7.10.3 -> 9.1.6.
  
 
=== Week 33 ===
 
=== Week 33 ===
 +
 +
* Attempt bump from 7.10.3 -> 9.1.6. Cont'd
 +
** try to remove libdrm_radeon dependency.
 +
** Set all config opts to disabled, except gbm.
 +
* Add glmark2
 +
** It built successfully with Mali on Cubieboard. 
 +
** Determine how to handle libpng12 requirement. Either regress libpng to 1.2.x, port forward to 1.4.x or add option to install multiple versions of libpng. Thomas: create libpng12 package. Done.
 +
** Finalize patches currently waiting in build dir. Done.
 +
** New bug https://gist.github.com/Spenser309/6251067 . New patch added to mesa.
 +
* Modify libdrm for reduced dependencies.
 +
** Only pthread-stubs is actually required.
 +
* Modify mesa3d to reduce dependencies provide more control.
 +
** Only libdrm, expat actually required.
 +
** Rewrite mesa3d to support reduced dependencies.
 +
** Really good pic of graphics stack http://people.freedesktop.org/~libv/graphics_driver_stack_%28FOSDEM2010_-_slides%29 .
 +
** Work on a more modular mesa3d.
 +
** Remove --enable-xorg option based on advice from http://lists.freedesktop.org/archives/mesa-dev/2013-April/037090.html .
 +
** Test x11 build. Success.
 +
** Test Wayland Build. Success.
 +
* Bump libdrm to latest.
 +
** Enable experimental support for omap, exynos, and snapdragon.
 +
* Testing glmark2 on target
 +
** Kernel Ooops https://gist.github.com/Spenser309/6251569 .
 +
** Try bumping kernel in cubieboard_defconfig. Success past the oops.
 +
** Error need a non-drm based version ie fbdev from https://code.launchpad.net/~laanwj/glmark2/fbdev . Altering packaging for new tree.
  
 
=== Week 34 ===
 
=== Week 34 ===
 +
 +
* glmark2
 +
** Need to test on Cubieboard
 +
*** Working! Required a largish patch for mali and the fbdev branch!
 +
** Need to test on RPI
 +
** Need to test on BeagleXM
 +
*** Boot failed with new uboot. Debugging.
 +
*** Reverting to 2011.06. (no img support)
 +
*** Reverting to 2011.12.  no luck.
 +
*** Assuming broken board.  Will attempt on other Beagle XM.
 +
* mesa3d
 +
** Need to test on Intel system.
 +
** Need to run BBB build with libdrm and see what that gives us.
 +
* Packaging changes
 +
** Create a patch to bump libdrm
 +
** Create a patch with fixes for sunxi-mali
 +
** Create a patch with bump and demo for sunxi-cedarx
 +
** Create a patch with mesa3d bump, modularization, and reorganization.
 +
** Create a patch for libpng12
 +
** Create a patch for glmark2
 +
* Start Wandboard (imx6) based testing.
 +
** Created wandboard_mksdcard.sh <creates sdcard for use with wandboard>
 +
** Created wandboard_sdcard.sh <installs images to wandboard sdcard>
 +
** Success wandboard requires that the sdcard be placed in the onmodule sdcard slot (not the expansion board)
 +
** OpenGL vv_launcher example app runs successfully.
 +
** Attempting glmark2 build.
  
 
=== Week 35 ===
 
=== Week 35 ===
 +
 +
* Added mesa3d-demos and got it to build without opengl.
 +
* Addressed previous patch set issues.
  
 
=== Week 36 ===
 
=== Week 36 ===
 +
 +
* Start work on Odroid U2
 +
** Build error on udev see https://gist.github.com/anonymous/6466511 and config.log https://gist.github.com/anonymous/6466530 .
 +
*** This is the same error that I had for sunxi-mali.  No known fix.  Workaround by building glibc toolchain using buildroot.
 +
** Build error with uboot see https://gist.github.com/anonymous/6467075 .
 +
*** selected processor does not support ARM mode `smc 0'
 +
*** Attempting patch based on http://ding34.blogspot.com/2013/05/error-selected-processor-does-not.html . Hit by vfpv3 errors.
 +
** Attempting to use odroid-next branch of uboot in github.com/hardkernel/u-boot . Does not compile no config available.
 +
** Stop trying to build uboot.
 +
*** Builds without kernel attempting build with opengl libraries.
  
 
=== Week 37 ===
 
=== Week 37 ===
 +
 +
* Patch securetty to add ttySAC*
 +
* Interesting site for exynos http://docs.kali.org/development/custom-odroid-kernel-image .
 +
** Replicate in Buildroot.
 +
* http://malideveloper.arm.com/develop-for-mali/drivers/open-source-mali-gpus-linux-exadri2-and-x11-display-drivers/
 +
** Bad USB-Uart driver lead to no output on console.  Using version from http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx fixed the issue.
 +
* First successful boot but modules.dep is missing (thus no ethernet, usb etc)
 +
** Doing a pull to see if some of the newer patches for kmod fixes the issue. Yes, fixed upstream.
  
 
=== Week 38 ===
 
=== Week 38 ===

Latest revision as of 16:13, 11 September 2013

Status and TODO

Checkout Information

Code is located in Spenser309's Github Account.

To do a checkout:

$ git clone git://github.com/Spenser309/buildroot.git -b <board> <directory>

Board List

Board Status Branch Notes
RaspberryPi WIP rpi gst-omx patches (Submitted)
PandaBoard WIP panda none
BeagleBoardXM WIP beaglexm defconfig patches (Brewing)
ti-gfx patches (Brewing)
BeagleBoneBlack WIP beagleblack none
SABRE WIP imx6 none
Wandboard WIP imx6 none
Cubieboard WIP cubieboard none
ODROID-U2 WIP exynos none

TODO

  1. ti-gfx patches.
  2. package opengl benchmarks.
  3. package arm-fpu openmax libraries.
  4. omxplayer patches.
  5. mali driver patches.
  6. package libhybris.
  7. get daily builds running.

Weekly achievements

Week 22

Week 23

  • RFC ti-gfx patches
  • v10 gstreamer and omx patches.
  • Accepted libglib and webkit patches.

Week 24

  • Published a Journal Paper which mentions Buildroot :)

Week 25

Week 26

  • ti-gfx RFC v2 & v3
  • ti-gfx v1
  • working qt4 integration.

Week 27

  • ti-gfx v2
  • ti-gfx v3
    • Fix headers
  • confirm plan of action with prabu on pandaboard support
    • newest pandaboard graphics is available from ubuntu launchpad
    • only supports hard float
  • beaglebone black up and running but no output on display.
    • investigating adding cape support as it may be required for hdmi out.
    • need to add firmware_install to linux.
    • Sent patches for firmware install.

Week 28

  • ti-gfx/qt patch
    • pvr2d.h and wsegl.h issues. Demos segfault when using WindowSystem=libpvrQWSWSEGL.so.1 . Was a unclean build issue.
    • Fix eglimage build.
    • PowerVR virtual package.
    • Release v4 patch
    • Release v5 patch
  • Beaglebone Black
    • Working HDMI output.
    • submit patch for beagle-capes package that installs in-kernel dtbos
  • Sunxi Mali
    • Created RFC for adding sunxi-mali drivers

Week 29

  • Send patch to fix libglib2 autobuild failures.
  • ti-gfx/qt patch
    • Release v6 patch - Merged!
  • Improved and mainlined sunxi-mali, and sunxi-cedarx patches

Week 30

  • Out of Town

Week 31

  • Out of Town

Week 32

Week 33

  • Attempt bump from 7.10.3 -> 9.1.6. Cont'd
    • try to remove libdrm_radeon dependency.
    • Set all config opts to disabled, except gbm.
  • Add glmark2
    • It built successfully with Mali on Cubieboard.
    • Determine how to handle libpng12 requirement. Either regress libpng to 1.2.x, port forward to 1.4.x or add option to install multiple versions of libpng. Thomas: create libpng12 package. Done.
    • Finalize patches currently waiting in build dir. Done.
    • New bug https://gist.github.com/Spenser309/6251067 . New patch added to mesa.
  • Modify libdrm for reduced dependencies.
    • Only pthread-stubs is actually required.
  • Modify mesa3d to reduce dependencies provide more control.
  • Bump libdrm to latest.
    • Enable experimental support for omap, exynos, and snapdragon.
  • Testing glmark2 on target

Week 34

  • glmark2
    • Need to test on Cubieboard
      • Working! Required a largish patch for mali and the fbdev branch!
    • Need to test on RPI
    • Need to test on BeagleXM
      • Boot failed with new uboot. Debugging.
      • Reverting to 2011.06. (no img support)
      • Reverting to 2011.12. no luck.
      • Assuming broken board. Will attempt on other Beagle XM.
  • mesa3d
    • Need to test on Intel system.
    • Need to run BBB build with libdrm and see what that gives us.
  • Packaging changes
    • Create a patch to bump libdrm
    • Create a patch with fixes for sunxi-mali
    • Create a patch with bump and demo for sunxi-cedarx
    • Create a patch with mesa3d bump, modularization, and reorganization.
    • Create a patch for libpng12
    • Create a patch for glmark2
  • Start Wandboard (imx6) based testing.
    • Created wandboard_mksdcard.sh <creates sdcard for use with wandboard>
    • Created wandboard_sdcard.sh <installs images to wandboard sdcard>
    • Success wandboard requires that the sdcard be placed in the onmodule sdcard slot (not the expansion board)
    • OpenGL vv_launcher example app runs successfully.
    • Attempting glmark2 build.

Week 35

  • Added mesa3d-demos and got it to build without opengl.
  • Addressed previous patch set issues.

Week 36

Week 37

Week 38

Notes

Pandaboard powervr drivers https://launchpad.net/~tiomap-dev/+archive/omap-trunk/+packages . Also, official omap4 & 5 ddx releases http://git.ti.com/graphics .

QT5 http://gpupowered.org/node/8