Q ? JetPlatform_device_samsung_jet

General discussion and feedback on development topics

Q ? JetPlatform_device_samsung_jet

Postby MadRocker » Tue Feb 15, 2011 1:12 am

It seems I am missing some info or missed a few days somewhere.

https://github.com/JetDroid/JetPlatform ... ng_jet.git
Is for ?? and how do I use it ?

Same goes for the 2D_3D_acceleration_working_source.tar.gz and when I place it in the experimental-2.6.29-dopi there is a mach problem.

I have deleted 8 times and did the git 8 times and still the same problem, experimental-2.6.29-dopi .
Last clean download was 11Feb so it has to be the latest version I have.

Thijs got it working, so where am I missing the working kernel he is using ???

Can someone help me get on the same page as everyone else ?
Code: Select all
  CC      arch/arm/mach-s3c6410/mach-jet.o
arch/arm/mach-s3c6410/mach-jet.c:820:4: error: 'GPIO_VT_PCM_CLK' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:822:4: error: 'GPIO_VT_PCM_SYNC' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:823:4: error: 'GPIO_VT_PCM_IN' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:824:4: error: 'GPIO_VT_PCM_OUT' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:925:4: error: 'GPIO_USIM_BOOT' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:925:21: error: 'GPIO_USIM_BOOT_AF' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:953:4: error: 'GPIO_ALPS_ON' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:953:19: error: 'GPIO_ALPS_ON_AF' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:960:4: error: 'GPIO_FM_LDO_ON' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:960:21: error: 'GPIO_FM_LDO_ON_AF' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:1033:2: error: initializer element is not constant
arch/arm/mach-s3c6410/mach-jet.c:1033:2: error: (near initialization for 'instinctq_sleep_gpio_table[2][0]')
arch/arm/mach-s3c6410/mach-jet.c:1033:2: error: initializer element is not constant
arch/arm/mach-s3c6410/mach-jet.c:1033:2: error: (near initialization for 'instinctq_sleep_gpio_table[2][1]')
arch/arm/mach-s3c6410/mach-jet.c:1055:2: error: initializer element is not constant
arch/arm/mach-s3c6410/mach-jet.c:1055:2: error: (near initialization for 'instinctq_sleep_gpio_table[8][0]')
arch/arm/mach-s3c6410/mach-jet.c:1067:4: error: 'GPIO_LCD_DET' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:1067:2: error: initializer element is not constant
arch/arm/mach-s3c6410/mach-jet.c:1067:2: error: (near initialization for 'instinctq_sleep_gpio_table[12][0]')
arch/arm/mach-s3c6410/mach-jet.c:1067:19: error: 'GPIO_LCD_DET_AF' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:1067:2: error: initializer element is not constant
arch/arm/mach-s3c6410/mach-jet.c:1067:2: error: (near initialization for 'instinctq_sleep_gpio_table[12][1]')
make[1]: *** [arch/arm/mach-s3c6410/mach-jet.o] Error 1
make: *** [arch/arm/mach-s3c6410] Error 2
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Advertisement

Re: Q ? JetPlatform_device_samsung_jet

Postby Dopi » Tue Feb 15, 2011 3:27 pm

MadRocker wrote:It seems I am missing some info or missed a few days somewhere.

https://github.com/JetDroid/JetPlatform ... ng_jet.git
Is for ?? and how do I use it ?

This is for compiling Froyo. I forked it from the Spica (Samdroid) sources. The idea is of course to have all device specific modifications in one place. For Eclair we don't have it that accurate.

MadRocker wrote:Same goes for the 2D_3D_acceleration_working_source.tar.gz and when I place it in the experimental-2.6.29-dopi there is a mach problem.

I have deleted 8 times and did the git 8 times and still the same problem, experimental-2.6.29-dopi .
Last clean download was 11Feb so it has to be the latest version I have.

I have a similar problem. The modules give me a big headache. Everything I compile from source does not seem to work. (just like my 2011-02-01 testing kernel). The main kernel is no problem on my side.

MadRocker wrote:Thijs got it working, so where am I missing the working kernel he is using ???

I agree.

@Thijs, what kind if magic did you use?

MadRocker wrote:Can someone help me get on the same page as everyone else ?
Code: Select all
  CC      arch/arm/mach-s3c6410/mach-jet.o
arch/arm/mach-s3c6410/mach-jet.c:820:4: error: 'GPIO_VT_PCM_CLK' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:822:4: error: 'GPIO_VT_PCM_SYNC' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:823:4: error: 'GPIO_VT_PCM_IN' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:824:4: error: 'GPIO_VT_PCM_OUT' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:925:4: error: 'GPIO_USIM_BOOT' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:925:21: error: 'GPIO_USIM_BOOT_AF' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:953:4: error: 'GPIO_ALPS_ON' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:953:19: error: 'GPIO_ALPS_ON_AF' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:960:4: error: 'GPIO_FM_LDO_ON' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:960:21: error: 'GPIO_FM_LDO_ON_AF' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:1033:2: error: initializer element is not constant
arch/arm/mach-s3c6410/mach-jet.c:1033:2: error: (near initialization for 'instinctq_sleep_gpio_table[2][0]')
arch/arm/mach-s3c6410/mach-jet.c:1033:2: error: initializer element is not constant
arch/arm/mach-s3c6410/mach-jet.c:1033:2: error: (near initialization for 'instinctq_sleep_gpio_table[2][1]')
arch/arm/mach-s3c6410/mach-jet.c:1055:2: error: initializer element is not constant
arch/arm/mach-s3c6410/mach-jet.c:1055:2: error: (near initialization for 'instinctq_sleep_gpio_table[8][0]')
arch/arm/mach-s3c6410/mach-jet.c:1067:4: error: 'GPIO_LCD_DET' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:1067:2: error: initializer element is not constant
arch/arm/mach-s3c6410/mach-jet.c:1067:2: error: (near initialization for 'instinctq_sleep_gpio_table[12][0]')
arch/arm/mach-s3c6410/mach-jet.c:1067:19: error: 'GPIO_LCD_DET_AF' undeclared here (not in a function)
arch/arm/mach-s3c6410/mach-jet.c:1067:2: error: initializer element is not constant
arch/arm/mach-s3c6410/mach-jet.c:1067:2: error: (near initialization for 'instinctq_sleep_gpio_table[12][1]')
make[1]: *** [arch/arm/mach-s3c6410/mach-jet.o] Error 1
make: *** [arch/arm/mach-s3c6410] Error 2

I don't see these when compiling experimental-2.6.29-dopi. Can you give me a "git status && git log" output to see we are on the same commit?

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: Q ? JetPlatform_device_samsung_jet

Postby MadRocker » Wed Feb 16, 2011 8:23 am

This happens when I add Thijs 2D_3D_acceleration_working_source.tar.gz 2Feb GPIO topic files to the kernel.

This happens with a clean download + this tar. I can avoid this by excluding the gpio part of the tar file.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: Q ? JetPlatform_device_samsung_jet

Postby Dopi » Wed Feb 16, 2011 10:39 am

MadRocker wrote:This happens when I add Thijs 2D_3D_acceleration_working_source.tar.gz 2Feb GPIO topic files to the kernel.

Are you adding binaries or sources?

MadRocker wrote:This happens with a clean download + this tar. I can avoid this by excluding the gpio part of the tar file.

I don't seem to understand. Can you try to explain your problem again?

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: Q ? JetPlatform_device_samsung_jet

Postby Thijs » Wed Feb 16, 2011 10:54 am

Hi guys,

I'm sorry, my spare-time is very limited at the moment.

The modules I provided gave me the same black/flashing screens as you guys. But MadRocker posted a solution somewhere if I'm not mistaking.

However, I think I used some zip file containing sources from the SamDroid site as baseline (at least for a few modules). It might be an option to revert to Leshak's modules which can be found in github.

ps: The good thing is there's a lot of good work done. The down-side is that it's hard to follow progress (if you're not visiting one or two times a day)... Good to see you're consolidating all great work!! :D

Best regards - Thijs
Thijs
Dev Team
Dev Team
 
Posts: 114
Joined: Fri Sep 10, 2010 6:28 pm

Re: Q ? JetPlatform_device_samsung_jet

Postby MadRocker » Wed Feb 16, 2011 8:29 pm

Sorry the problem I have is with th gpio error when compiling and Thijs mentioned the mach-jet might have issues. I need to get hold of Thijs's mach-jet to get past this problem as his mach-jet has been fixed or something.

Dopi, Clean download = delete ~/JetDroid/JetKernel folder then do the complete clean fresh git download as if never installed. Then add the source modules in this zip file above.

To reproduce:
rm -rf ~/JetDroid/JetKernel
cd ~/JetDroid
git clone -n git://github.com/Dopi/JetKernel.git
ln -s JetKernel kernel
cd ~/JetDroid/JetKernel
git checkout -b experimental-2.6.29-dopi origin/experimental-2.6.29-dopi

Extract "2D_3D_acceleration_working_source.tar.gz" to ~/JetDroid/JetKernel .

2D_3D_acceleration_working_source.tar.gz
http://code.google.com/p/mad-rocker-s8000/downloads/detail?name=2D_3D_acceleration_working_source.tar.gz&can=2&q=

Good fixed file causing compile problems in mach-jet = /2D_3D_acceleration_working_source/source/JetKernel/arch/arm/mach-s3c6400/include/mach/jet_gpio.h

The black screen in eclair is memory + gralloc + chunk + copybit issue, in Froyo and ginger black with 1 white _ = need to rebuild the tom3q gles6410 drivers with ginger fix 16Jan or later files for all JetDroid versions.

Thanks Thijs, yup this keeping track of samdroid is a job ob it's own.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: Q ? JetPlatform_device_samsung_jet

Postby KB_JetDroid » Thu Feb 17, 2011 2:09 am

Hi MadRocker

I think I know the problem you are facing.
The last time when I compiled Thijs' modules, they were properly compiled. But when I loaded them using insmod in init.rc, they were not working. This was the reason 2D/3D acceleration was not working.
I have mentioned this problem in some other post.
To resolve this problem I added the jetmodules directory in kernel drivers, modified gpio file as per these modules and finally modified the makefiles and kconfig files to build these modules inside kernel. This worked and I could see the 2D/3D acceleration working. All these modified sources I posted in the "2D_3D_acceleration_working_source.tar.gz" patch.
I think also incuded the jet_gpio.h along with it. Let me know if it is missing.

But I forgot to mention that I was still using the old "experimental-2.6.29" branch.
I think this is the reason you are getting these errors.
Later I had taken the latest "experimental-2.6.29-dopi" branch and merged the changes with it. If the problem persists, I'll post the working branch once I reach home this weekend.

Hope this helps.

- KB
KB_JetDroid
Dev Team
Dev Team
 
Posts: 82
Joined: Sun Nov 14, 2010 12:18 pm

Re: Q ? JetPlatform_device_samsung_jet

Postby MadRocker » Thu Feb 17, 2011 3:26 am

Sorry for the incorrect names above.

Yup this will likely solve it. I will try the old "experimental-2.6.29" branch as well as the "experimental-2.6.29-dopi" has this mach-jet clash.

Thanks.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

Re: Q ? JetPlatform_device_samsung_jet

Postby KB_JetDroid » Thu Feb 17, 2011 4:19 am

One more thing.
The last update I was using on the experimental-2.6.29 branch was on 10-Nov by vasek !!!
Later Dopi had pushed few more changes on thos branch. I tried to pull and merge them with my code but it was giving me errors. I was lazy enough to ignore it and reverted back to 10-Nov commit.
So if you wanna try with this branch, you need to take the code from 10-Nov commit.
Oh god... why I dont start using git properly. :oops:
Sorry for the trouble...

- KB
KB_JetDroid
Dev Team
Dev Team
 
Posts: 82
Joined: Sun Nov 14, 2010 12:18 pm

Re: Q ? JetPlatform_device_samsung_jet

Postby Dopi » Sat Feb 19, 2011 8:39 pm

KB_JetDroid wrote:I think I know the problem you are facing.
The last time when I compiled Thijs' modules, they were properly compiled. But when I loaded them using insmod in init.rc, they were not working. This was the reason 2D/3D acceleration was not working.
I have mentioned this problem in some other post.
To resolve this problem I added the jetmodules directory in kernel drivers, modified gpio file as per these modules and finally modified the makefiles and kconfig files to build these modules inside kernel. This worked and I could see the 2D/3D acceleration working. All these modified sources I posted in the "2D_3D_acceleration_working_source.tar.gz" patch.
I think also incuded the jet_gpio.h along with it. Let me know if it is missing.

Sorry, I don't understand the problems you are having. Are you sure your version of the experimental-2.6.29-dopi kernel is up to date? There have been a number of changes to the jet specific files (mach-jet.c and jet-gpio.h). And of course it is very likely that every now and then there was a version in the repo that did not compile. Please check the current version.

KB_JetDroid wrote:But I forgot to mention that I was still using the old "experimental-2.6.29" branch.
I think this is the reason you are getting these errors.
Later I had taken the latest "experimental-2.6.29-dopi" branch and merged the changes with it. If the problem persists, I'll post the working branch once I reach home this weekend.

I would be happy to see your patches. Especially any way to get the 2d / 3d modules working for the current (experimental-2.6.29-dopi) main kernel are are missing for our next kernel release.

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm


Return to Development Discussion / Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

  • Advertisement
cron