It is currently June 19th, 2013, 3:13 pm Advanced search

Compiling from Buildroot - Lessons learned

Guides, mods, hacks and tips related to the XIOS DS XBMC Linux port

Re: Compiling from Buildroot - Lessons learned

Postby xbmc4u » October 15th, 2012, 4:58 pm

Thanks Speedster & sensite but I don't think that is what I want to accomplish. That sounds like it will change the action of the Menu button in all screens and not just the Home.xml. I still want the context menu to work as normal in all the other screens. I only want to activate the Favourites with the Menu button only at the top level as Menu (or <c>) has no meaning in Home.xml.

What I really want to figure out is how does <s> in Home.xml map to <control type="button" id="20"> and then do the same trick to map <c> to <control type="button" id="21">.

Not really sure if that makes any sense.
xbmc4u
Hardcore
 
Posts: 474
Joined: July 17th, 2012, 11:01 am

Re: Compiling from Buildroot - Lessons learned

Postby Speedster » October 15th, 2012, 5:11 pm

keyboard.xml has different sections for button mappings - the global section is used if a mapping is not defined in one of the subsections (like FullScreeVideo for example).

Check out all the different mappings for <c> at https://github.com/Pivosgroup/xbmc/blob ... yboard.xml
Speedster
Hardcore
 
Posts: 122
Joined: August 7th, 2012, 6:28 pm
Location: Australia

Re: Compiling from Buildroot - Lessons learned

Postby xbmc » October 18th, 2012, 11:07 am

Hi there,

Ive just installed a spare laptop of mine with debian 6.0 without gui. I wanna have a go at compiling my own version of linux for my pivos. Can someone tell me how to get started please.

Thanks
xbmc
 
Posts: 8
Joined: October 11th, 2012, 12:25 pm

Re: Compiling from Buildroot - Lessons learned

Postby aasoror » October 18th, 2012, 11:45 am

xbmc » October 18th, 2012, 3:07 pm wrote:Hi there,

Ive just installed a spare laptop of mine with debian 6.0 without gui. I wanna have a go at compiling my own version of linux for my pivos. Can someone tell me how to get started please.

Thanks


install the packages listed on the OP then execute the two commands at the bottom of the OP.
The AIOS wiki - The AIOS Semiofficial firmwares
Calling upon ALL AIOSers, your feedback is needed -- Calling upon ALL XIOSers, your feedback is needed
XIOS XBMC: Setup, Nightlies: M1 - M3 - Android - Keep the annoying XIOS developers happy, always attach a log with your bug report, here is how.
User avatar
aasoror
Pivos Employee
 
Posts: 8741
Joined: September 26th, 2011, 4:18 pm

Re: Compiling from Buildroot - Lessons learned

Postby ykhehra1 » October 29th, 2012, 8:58 am

How to delete post here?
Last edited by ykhehra1 on October 31st, 2012, 6:00 am, edited 1 time in total.
ykhehra1
Dedicated
 
Posts: 90
Joined: July 15th, 2012, 2:19 am

Re: Compiling from Buildroot - Lessons learned

Postby pepito » October 29th, 2012, 5:07 pm

Hi guys, i have a problem at the end of the build.
It used to work fine on ubuntu 10.10 but today i updated to 12.04 and
it seems to go fine, but at the end when signing the image something goes wrong:


/home/xxxxx/Downloads/my_htpc/buildroot-linux/output/host/usr/bin/fakeroot -- /home/xxxxx/Downloads/my_htpc/buildroot-linux/output/build/_fakeroot.fs
Reading files/folders...
Setting permissions...
Creating symlinks...
Done!
/home/xxxxx/Downloads/my_htpc/buildroot-linux/output/build/_fakeroot.fs: 2: /home/xxxxx/Downloads/my_htpc/buildroot-linux/output/build/_fakeroot.fs: pushd: not found
Error: Unable to access jarfile signapk.jar
rm -f /home/xxxxx/Downloads/my_htpc/buildroot-linux/output/build/.fakeroot*


- My python version 2.7.3
- My java runtime is OpenJDK 1.7.0

Also, a question, why is needed the java signing?
pepito
 
Posts: 11
Joined: October 21st, 2012, 3:08 pm

Re: Compiling from Buildroot - Lessons learned

Postby sensite » October 30th, 2012, 3:21 am

I think you should download oracle Jdk and try, I never tried with open Jdk.
sensite
Hardcore
 
Posts: 276
Joined: July 16th, 2012, 4:32 pm

Re: Compiling from Buildroot - Lessons learned

Postby pepito » October 30th, 2012, 5:41 am

hi, thanks for your answer.

sensite » October 30th, 2012, 3:21 am wrote:I think you should download oracle Jdk and try, I never tried with open Jdk.


tried installing jdk1.7 but still not working. the same error.
pepito
 
Posts: 11
Joined: October 21st, 2012, 3:08 pm

Re: Compiling from Buildroot - Lessons learned

Postby pepito » October 30th, 2012, 6:08 am

Solved!

This was a tricky one, since ubuntu 12 bash was replaced with dash wich does not have pushd / popd.
I just replaced the /bin/sh symlink from dash back to bash and it worked.




pepito » October 30th, 2012, 5:41 am wrote:hi, thanks for your answer.



tried installing jdk1.7 but still not working. the same error.
pepito
 
Posts: 11
Joined: October 21st, 2012, 3:08 pm

Re: Compiling from Buildroot - Lessons learned

Postby ykhehra1 » October 31st, 2012, 6:05 am

libjpeg-turbo download link http://voxel.dl.sourceforge.net/sourcef ... .90.tar.gz is down since last night.
Getting following error:

>>> jpeg 1.1.90 Downloading
--2012-10-31 07:04:57-- http://voxel.dl.sourceforge.net/sourcef ... .90.tar.gz
Resolving voxel.dl.sourceforge.net (voxel.dl.sourceforge.net)... 107.6.88.169, 107.6.92.98, 107.6.92.97, ...
Connecting to voxel.dl.sourceforge.net (voxel.dl.sourceforge.net)|107.6.88.169|:80... connected.
HTTP request sent, awaiting response... 503 Service Temporarily Unavailable
2012-10-31 07:05:42 ERROR 503: Service Temporarily Unavailable.

--2012-10-31 07:05:42-- http://sources.buildroot.net//libjpeg-t ... .90.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109
Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-10-31 07:05:43 ERROR 404: Not Found.

make: *** [/home/xbmc/buildroot-linux/output/build/jpeg-1.1.90/.stamp_downloaded] Error 1



So I copy the file with same name from following link to buildroot/dl/ and run make again. it seems like package get install, but gives following error again.
http://sourceforge.net/projects/libjpeg ... 2beta1%29/
/home/xbmc/buildroot-linux/output/external-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: tjbench-tjutil.o: Relocations in generic ELF (EM: 3)
tjbench-tjutil.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [tjbench] Error 1
make[3]: Leaving directory `/home/xbmc/buildroot-linux/output/build/jpeg-1.1.90'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/xbmc/buildroot-linux/output/build/jpeg-1.1.90'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/xbmc/buildroot-linux/output/build/jpeg-1.1.90'
make: *** [/home/xbmc/buildroot-linux/output/build/jpeg-1.1.90/.stamp_built] Error 2
xbmc@HTPC:~/buildroot-linux$


Any solution please

------------------
Seems like I might have fix it for now by installing lateste 1.2.1 version, still compiling the build. Lets see if this file from other source make it work.
What should I need to run on xbmc to see if this different libjpeg-turbo working as original one supposed to do?
ykhehra1
Dedicated
 
Posts: 90
Joined: July 15th, 2012, 2:19 am

PreviousNext

Return to XIOS DS (Linux) Guides, Mods, Hacks and Tips

Who is online

Users browsing this forum: No registered users and 1 guest