Author Topic: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM  (Read 69377 times)

Offline ArbyLaw

  • Newbie
  • *
  • Posts: 1
  • Reputation: +23/-0
    • View Profile
[DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« on: September 16, 2012, 01:26:03 AM »
UPDATE

Quote from: Update 1
Do not be discouraged guys :D
This is what I got from my email :D
=======================================
Nick Lambourne
To : me
=======================================
Hi Arby,

Firstly, apologizes. I have been travelling to Taiwan and then took a few weeks holiday. I am back from today however and will get onto the forums and update you!

Thanks,

Nick.

I start this thread specifically for Open Dialogue with Broadcom to discuss GPU Driver for SGY.
For the developers, please discuss this issue here. And for the members who do not understand the issue, please do not need to post a comment. This is only for developers and Broadcom.

This open dialogue is the idea of ​​Nick Lambourne (Broadcom) and has been approved by Squadzone to start an open dialogue here.

This is proof that Nick Lambourne who proposes to hold an open dialogue.




DO NOT SPAM HERE ! OR YOU WILL BE BANNED !!

And for the moderator, we ask for your cooperation.

Let's start discuss !
« Last Edit: October 23, 2012, 04:22:00 AM by ArbyLaw »

Offline Squadzone

  • Moderator
  • Jr. Member
  • *****
  • Posts: 68
  • Reputation: +396/-13
  • Just be your self
    • View Profile
    • BMKG
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #1 on: September 16, 2012, 09:01:40 AM »
Currently we cant build any custom rom because limited info about bcm21553 chip and also the gpu, we saw gpu version is video core IV using antutu and quadran app, but im still not sure the info until we got that from broadcom itself, we trying to build a custom based rom, but we stuck in gpu render (color is inverted) and also we dunno what samsung did, for making libui work with this, since we trying harder to making a wrapper for this, but still no luck, i hope broadcom can help us, so our device never die, and development still going on,

Sorry for my english, :)

Offline Squadzone

  • Moderator
  • Jr. Member
  • *****
  • Posts: 68
  • Reputation: +396/-13
  • Just be your self
    • View Profile
    • BMKG
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #2 on: September 16, 2012, 09:11:16 AM »
We need the sdk of driver or some info about this, like qualcomm and realtek did, so we can try to implement some of that, to our development, until we got the info or the clue, development cant continue, we just can making a custom rom base from stock or firmware from samsung, and we dont want this, we want to build by ourself from oasp or maybe cyanogenmod source, like other devices can, and im apologize about what we did now, we just want broadcom helping us and started to join our community, opensource community, we dont want to force broadcomm, but only that we can for now :(

Here im one of developer who working for development Samsung Galaxy Young aka Gt-S5360

See this my device config for this device
http://Https://github.com/Squadzone/android_samsung_device_totoro

Hope all of you can help us, :)

Offline n_lambourne

  • Newbie
  • *
  • Posts: 15
  • Reputation: +93/-1
    • View Profile
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #3 on: September 16, 2012, 09:59:07 PM »
Hi all,

Firstly, I'm very happy to see such interest in this range of handsets. Its a great phone for the features / price and Broadcom is proud to be associated with it.

The baseband being asked about here is the BCM21553:

   http://www.broadcom.com/products/Cellular/3G-Baseband-Processors/BCM21553

The graphics accelerator within this device is known as the VideoCore IV GPU. Like many companies that develop graphics hardware, we can configure our GPU for different performance levels and you will find other devices that contain this technology in the market.

The BCM2763 is an SoC that appears in other handsets, and is unrelated to the Galaxy Y. It does however contain a VideoCore IV GPU hardware accelerator, but with a different configuration.

What I would like to request initially are details about what this project is doing so we can study and understand what is going on.

Specific questions are:

* What is the Android revision of your project?
* A link to the src repository to checkout + build instructions so we can study the existing solution
* A list of problems found with using the existing Gingerbread binaries on this updated firmware build that you have found

Many thanks,

Nick.

Offline [Saint]

  • Hero Member
  • *****
  • Posts: 990
  • Reputation: +644/-29
    • View Profile
    • www.rockbox.org
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #4 on: September 16, 2012, 10:09:05 PM »
Holy...

Wow...just, wow.

We have Broadcom royalty showing up in our little neck of the woods? Wow, just...wow.



[Saint]
Please don't PM me about support issues.
Personal Messages for support will be ignored.

Offline Squadzone

  • Moderator
  • Jr. Member
  • *****
  • Posts: 68
  • Reputation: +396/-13
  • Just be your self
    • View Profile
    • BMKG
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #5 on: September 17, 2012, 12:29:25 AM »
Hi all,

Firstly, I'm very happy to see such interest in this range of handsets. Its a great phone for the features / price and Broadcom is proud to be associated with it.

The baseband being asked about here is the BCM21553:

   http://www.broadcom.com/products/Cellular/3G-Baseband-Processors/BCM21553

The graphics accelerator within this device is known as the VideoCore IV GPU. Like many companies that develop graphics hardware, we can configure our GPU for different performance levels and you will find other devices that contain this technology in the market.

The BCM2763 is an SoC that appears in other handsets, and is unrelated to the Galaxy Y. It does however contain a VideoCore IV GPU hardware accelerator, but with a different configuration.

What I would like to request initially are details about what this project is doing so we can study and understand what is going on.

Specific questions are:

* What is the Android revision of your project?
* A link to the src repository to checkout + build instructions so we can study the existing solution
* A list of problems found with using the existing Gingerbread binaries on this updated firmware build that you have found

Many thanks,

Nick.

Thanks for answer, we are working in gingerbread v2.3.7
The source is here
http://Https://github.com/CyanogenMod branch gingerbread
And for aosp
We sync with -b gingerbread latest update which version is 2.3.7 same as CyanogenMod

For SoC, we just know gpu are Video core IV but we saw this version is bcm2763 from searching in the web, like pdadb.net
And for bcm21553 as far as we know, unsupported by aosp since we never saw this chip was implemented in there, no command found about this chip, so we stuck in libui (library for input), so we trying making a wrapper for that but still no luck, wr have working hardware in our building like bluetooth, all sensor working and wifi sometimes working too, but without libui, we cant interact woth the device, sometimes hang up, we trying using libui from stock firmware but it break the mediascanner, sdcard not detected,
If you want to try the rom, we can give latest build

Offline AmirChee

  • Newbie
  • *
  • Posts: 10
  • Reputation: +2/-3
    • View Profile
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #6 on: September 17, 2012, 04:24:37 PM »
Galaxy Ace "S5830I/C/M" has BCM21553, videocam IV, CPU: 832, same GPU .. so that the demand for these higher driver .. We just wait for the drivers, if it is at all possible to build and improve čjanogenmod gpu, to be able to more applications that use

Offline n_lambourne

  • Newbie
  • *
  • Posts: 15
  • Reputation: +93/-1
    • View Profile
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #7 on: September 17, 2012, 04:47:41 PM »
Hi,

Got it.

So its only Gingerbread for now - should make this simpler to resolve!

I understand there appears to be some incompatibility at run time with cyanogen mod when copying over the proprietary blobs from the device into the build to enable the GPU. In particular, libUI is somehow incompatible with the shipping binaries for some reason.

Off hand, I can not image what the issue is, but Broadcom will download this GB version and take a look.

Can you help with a few details please?

* What is the "lunch" combo used to build the Galaxy Y from this branch?
* What are the flashing instructions to update the device after building the image?
* Please share the ROM image you built as well so we can check to see we can replicate the issue

Many thanks,

Nick.

Offline AmirChee

  • Newbie
  • *
  • Posts: 10
  • Reputation: +2/-3
    • View Profile
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #8 on: September 17, 2012, 06:47:25 PM »
I'm sorry my English is a little weak ...
We require your just looking to free up drivers for gpu if possible, or give us some information that we could build CijanogenMod,AOKP,Aosp and other systems that are 95% to phone, now we need drivers for the GPU, because without them we are totally blocked
« Last Edit: September 17, 2012, 06:49:27 PM by AmirChee »

Offline n_lambourne

  • Newbie
  • *
  • Posts: 15
  • Reputation: +93/-1
    • View Profile
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #9 on: September 17, 2012, 07:18:47 PM »
Hi AmirChee,

At the moment, our GPU drivers are not developed in an easy manner in which we can split into open source SW and proprietary object code.

Broadcom is investigating a solution to release the EGL wrapper code for our driver as a start to solve this request, but it requires significant work and checking before this can happen.

What I would like to do is unblock the ROM community here ASAP whilst we look for a longer term solution / relationship. For this, we need to study the exact issue to understand what is really going on.

Many thanks,

Nick.

Offline AmirChee

  • Newbie
  • *
  • Posts: 10
  • Reputation: +2/-3
    • View Profile
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #10 on: September 17, 2012, 08:36:51 PM »
n_lambourne
In any case, thanks for the hint that you give your support and help .. I hope you find a solution about EGL wrapper code ..
Squadzone
How's the system, provided you find some solution?

Offline amaldas

  • Newbie
  • *
  • Posts: 8
  • Reputation: +6/-0
    • View Profile
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #11 on: September 17, 2012, 09:07:02 PM »
Hi,

Got it.

So its only Gingerbread for now - should make this simpler to resolve!

I understand there appears to be some incompatibility at run time with cyanogen mod when copying over the proprietary blobs from the device into the build to enable the GPU. In particular, libUI is somehow incompatible with the shipping binaries for some reason.

Off hand, I can not image what the issue is, but Broadcom will download this GB version and take a look.

Can you help with a few details please?

* What is the "lunch" combo used to build the Galaxy Y from this branch?
* What are the flashing instructions to update the device after building the image?
* Please share the ROM image you built as well so we can check to see we can replicate the issue

Many thanks,

Nick.

you can get the latest build pf CM7 ( 2.3.7 ) and the instruction for the installation from here

http://forum.xda-developers.com/showthread.php?t=1777363
current issues
no wifi  :'(
bluetooth  :'(
Colour is still swapped  :'(

if you want to try CM9 ( 4.04 ) go here [ not that bugs are the same in both build ]

http://forum.xda-developers.com/showthread.php?t=1812435

« Last Edit: September 17, 2012, 09:18:43 PM by amaldas »

Offline n_lambourne

  • Newbie
  • *
  • Posts: 15
  • Reputation: +93/-1
    • View Profile
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #12 on: September 18, 2012, 01:30:05 AM »
Thanks all.

So far I have done:

   repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
   repo sync

source build/setup.sh
lunch

* Which combo should I be using here / which device  tree contains the Board support config?
* Where is the script to extract the proprietary blobs from the device? Which exact firmware is being used here for this extraction?

Downloaded latest build (.63) from here:

   http://www.mediafire.com/?jhbxwrghqkrtc7l

Observations:

* Seems fairly stable! Good job so far.
* Android has R + G swapped - should be quick to resolve this one

Thanks,

Nick.

Offline Squadzone

  • Moderator
  • Jr. Member
  • *****
  • Posts: 68
  • Reputation: +396/-13
  • Just be your self
    • View Profile
    • BMKG
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #13 on: September 18, 2012, 03:16:44 AM »
Thanks nick

you can use this extractor

https://raw.github.com/Squadzone/android_device_samsung_totoro/master/extract-files.sh

but still need investigating again for proprietary that linking into EGL,

for board config and other, all you need is here

https://github.com/Squadzone/android_device_samsung_totoro

just put into device/samsung/totoro

then save this file into cyanogen_totoro.mk

http://pastebin.com/dqfctn9W

put this, into vendor/cyanogen/products

then do

. build/envsetup.sh && brunch totoro

if all makefiles is correct, build will run..

for proprietary files, we extracting from stock firmware (ship with the devices), and should be working with new stock firmware leaked

Offline n_lambourne

  • Newbie
  • *
  • Posts: 15
  • Reputation: +93/-1
    • View Profile
Re: [DEV's][BROADCOM] OPEN DIALOGUE WITH BROADCOM
« Reply #14 on: September 18, 2012, 04:13:44 AM »
More steps:

mkdir device/samsung -p
git clone https://github.com/Squadzone/android_device_samsung_totoro.git  device/samsung/totoro

curl http://pastebin.com/raw.php?i=dqfctn9W > vendor/cyanogen/products/cyanogen_totoro.mk

source build/envsetup.sh
brunch totoro

make -j8

First error - classic missing kernel:

#Target buildinfo: out/target/product/totoro/root/default.prop
#make: *** No rule to make target `device/samsung/totoro/kernel', needed by #`out/target/product/totoro/kernel'.  Stop.
#make: *** Waiting for unfinished jobs....

HACK for now
>> touch device/samsung/totoro/kernel

make -j8

Next error:

#make: *** No rule to make target `vendor/cyanogen/proprietary/RomManager.apk', needed by #`out/target/product/totoro/system/app/RomManager.apk'.  Stop.
#make: *** Waiting for unfinished jobs....

HACK for now
>> remove lines 89+90 from ./vendor/cyanogen/products/common.mk

Last error before I have to bail as its late:

#device/samsung/totoro/libgralloc/gralloc.cpp: In member function 'virtual size_t #PmemAllocatorDepsDeviceImpl::getPmemTotalSize(int, size_t*)':
#device/samsung/totoro/libgralloc/gralloc.cpp:69: error: 'm' was not declared in this scope


* Is there a known fix for the error above?
* Can you point me at a pre-built kernel I can download please that works with this distro?
* What is expected to happen with the RomManager build above?

Thanks,

Nick.