Difference between revisions of "Buildroot:GSoC2013 ARM Multimedia"
Spenser309 (talk | contribs) |
Spenser309 (talk | contribs) (→Week 37) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 159: | Line 159: | ||
* Bump libdrm to latest. | * Bump libdrm to latest. | ||
** Enable experimental support for omap, exynos, and snapdragon. | ** 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
- ti-gfx patches.
- package opengl benchmarks.
- package arm-fpu openmax libraries.
- omxplayer patches.
- mali driver patches.
- package libhybris.
- get daily builds running.
Weekly achievements
Week 22
- Booted basic Buildroot on BeagleBoard xM.
- Resubmit v9 of gst-omx patchset with webkit fixes.
- Required bump of libgtk2, libsoup, etc.
- Started automated builds at https://gillilanding.com/jenkins/job/buildroot-arm-minimal/
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
- Accepted Gstreamer 1.x and gst-omx patches.
- Created Video showing off gst-omx on RPi. See: http://blog.spensergilliland.com/2013/06/accelerated-video-decoding-on-rpi-using.html .
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
- Attempting to build enc_dec_demo for sunxi in cedarx-libs
- Add includes to fix some build errors.
- preprocessor failures at https://gist.github.com/anonymous/6194508 . File does not exist in repo.
- Talk to #linux-sunxi suggested by wingrime to replace encoder_type.h with type.h .
- Deal with awful makefile which uses CFLAGS improperly so set all -I includes in buildroot.
- Finally beat the preprocessor only to find a bunch of errors at the compile stage. https://gist.github.com/anonymous/6194791
- Suggested by wingrime to move to A20 SDK but he did not elaborate further. The errors appear to be an out of date version of types.h .
- 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)
- 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.
- Adding glmark2
- Created package dir and added basic info.
- requires jpeglib.h. fixed.
- requires libpng12. Fixed.
- requires libdrm and libdrm requires xlibs. build fails due to same error as https://gist.github.com/anonymous/6195121 therefore switch to soft-float CS toolchain.
- requires mesa3d. Fixed
- Bug in mesa3d build see https://gist.github.com/anonymous/6197590 .
- 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
- 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
- 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
- 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.
- Need to test on Cubieboard
- 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
- 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.
- Build error on udev see https://gist.github.com/anonymous/6466511 and config.log https://gist.github.com/anonymous/6466530 .
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
Notes
Pandaboard powervr drivers https://launchpad.net/~tiomap-dev/+archive/omap-trunk/+packages . Also, official omap4 & 5 ddx releases http://git.ti.com/graphics .