Click here to go to the forum index Click here for the home page
 
Author Message

<  TAP and patch development  ~  Step by step TAP compiler setup guides available.

Page 1 of 11
Goto page 1, 2, 3 ... 9, 10, 11  Next
peteru
Posted: Tue Oct 04, 2005 3:39 pm Reply with quote
Regular contributor Joined: 27 Mar 2005 Posts: 79 Location: Sydney, Australia
The TAP project home page documentation link now points to a new section that includes two step-by-step guides.

Part one covers Cygwin installation and setup.

Part two provides instructions for setting up the workspace, retrieving the latest source code, building TAPs and making use of the automated build infrastructure for your own TAP projects.

Please visit http://tap.berlios.de/ and click on the Documentation link.

Both guides include step by step examples in full colour!

_________________
I am not a regular reader of these forums, so don't expect a swift reply from me. If you need my attention, please visit Australian Topfield Forums.
View user's profile Send private message
swedish cook
Posted: Sun Oct 09, 2005 6:12 pm Reply with quote
Frequent contributor Joined: 19 Sep 2005 Posts: 349
Can we make this - or something like it sticky to help newbie developers please.

_________________
PVR:HUMAX Foxsat HDR (ex Toppy owner)
View user's profile Send private message
slatermethuen
Posted: Sun Feb 12, 2006 7:31 pm Reply with quote
Joined: 25 Jan 2006 Posts: 3
Hi,

I am keen to start developing code for the Toppy, but I'm not having any luck obtaining the tool chain. I've tried the berlios site for several days now but I keep getting time-outs. Is this stuff mirrored anywhere?

Cheers,

Andy
View user's profile Send private message
peteru
Posted: Fri Feb 17, 2006 6:47 pm Reply with quote
Regular contributor Joined: 27 Mar 2005 Posts: 79 Location: Sydney, Australia
Works for me. Perhaps you need to check with your ISP why your connection is b0rked?

_________________
I am not a regular reader of these forums, so don't expect a swift reply from me. If you need my attention, please visit Australian Topfield Forums.
View user's profile Send private message
Iain
Posted: Sat Feb 18, 2006 8:30 pm Reply with quote
Regular contributor Joined: 21 Jan 2006 Posts: 70 Location: Sutton Coldfield
I've got the same problem, following http://tap.berlios.de/cygwin_compiler_install.html

It's not downloading the file, and when you go to that link in a browser you can't even download it that way.

Anyone got it hosted anywhere else?

_________________
Toppy: TF5800PVR 250Gb Silver Firmware: 5.13.40 TX: Sutton Coldfield
Autostart TAPs: MyStuff 5.62b, eit2mei, Description Extender
Other TAPs: HDDInfo 1.0.1
View user's profile Send private message
simonc
Posted: Sat Feb 18, 2006 11:18 pm Reply with quote
Frequent contributor Joined: 12 Apr 2005 Posts: 5640 Location: Cheltenham
Seems to be mostly working using http://download.berlios.de/tap/tap_toolchain-1.1_cygwin-x86.tar.gz
I did see a page that said Invalid Key and not a lot else on the first attempt.
View user's profile Send private message Visit poster's website
tre4
Posted: Thu Apr 13, 2006 10:21 pm Reply with quote
Regular contributor Joined: 01 Apr 2005 Posts: 93
peteru wrote:
The TAP project home page documentation link now points to a new section that includes two step-by-step guides.

Part one covers Cygwin installation and setup.

Part two provides instructions for setting up the workspace, retrieving the latest source code, building TAPs and making use of the automated build infrastructure for your own TAP projects.


all of which would be great if it worked. This is driving me nuts I've followed all the instructions and theres always something that don't quite work.......
View user's profile Send private message
simonc
Posted: Thu Apr 13, 2006 11:21 pm Reply with quote
Frequent contributor Joined: 12 Apr 2005 Posts: 5640 Location: Cheltenham
Could you perhaps describe what doesn't work? Then at least it'd be possible to correct the guide.
View user's profile Send private message Visit poster's website
bluemini
Posted: Fri Apr 14, 2006 11:45 am Reply with quote
Joined: 14 Apr 2006 Posts: 2
A couple of questions, cos I am having some real problems finding any definitive and consistent information about installing Cygwin, the toolchain and the Topfield API and samples...and of course not having any luck getting things to work.

1) I have followed the guide above on installing cygwin and it places the toolchain in a directory /usr/local/topfield-gcc should I copy the files within this directory into /usr/local or is that the right place for them?

2) I unzipped the API into a folder c:\work and the samples in their resepective directories beneath it. When I run the build.bat in the fire sample, I get the following error (part shown) which looks like it's trying to compile using C++!!

C:\Work\FIRE>call ..\gcc fire.c

C:\Work\FIRE>mips-gcc.exe -O2 -c -mtap -mlong-calls -msoft-float -I..\ -I ..\inc
lude -I c:\cygwin\usr\include -I c:\cygwin\usr\local\include fire.c
3 [main] cpp 3992 C:\cygwin\USR\LOCAL\BIN\cpp.exe: *** fatal error - fork:
can't reserve memory for stack 0x23EB30 - 0x240000, Win32 error 487
2 [main] cpp 2108 child_copy: stack write copy failed, 0x23EB30..0x240000,
done 0, windows pid 2353764, Win32 error 5
1135082 [main] cpp 2528 C:\cygwin\USR\LOCAL\BIN\cpp.exe: *** fatal error - fork:
can't reserve memory for stack 0x23EB30 - 0x240000, Win32 error 487
1137349 [main] cpp 2108 child_copy: stack write copy failed, 0x23EB30..0x240000,
done 0, windows pid 2353764, Win32 error 5
3150782 [main] cpp 3028 C:\cygwin\USR\LOCAL\BIN\cpp.exe: *** fatal error - fork:
can't reserve memory for stack 0x23EB30 - 0x240000, Win32 error 487
3153037 [main] cpp 2108 child_copy: stack write copy failed, 0x23EB30..0x240000,
done 0, windows pid 2353764, Win32 error 5
7166664 [main] cpp 6136 C:\cygwin\USR\LOCAL\BIN\cpp.exe: *** fatal error - fork:
can't reserve memory for stack 0x23EB30 - 0x240000, Win32 error 487
7168926 [main] cpp 2108 child_copy: stack write copy failed, 0x23EB30..0x240000,
done 0, windows pid 2353764, Win32 error 5
cpp: vfork: No error


Any help would be appreciated, thanks

Nick
View user's profile Send private message
simonc
Posted: Fri Apr 14, 2006 1:11 pm Reply with quote
Frequent contributor Joined: 12 Apr 2005 Posts: 5640 Location: Cheltenham
The API itself is in a directory called topfield-sdk in include and lib subdirectories. The samples should go somewhere else, like your Work directoryYou don't need to move them anywhere else IIRC.

Ignore the batchfiles if you've installed the toolchain. Use some of the makefiles for TAPs in berlios as a base, they're pretty simple. I suppose it'd be a good idea for berlios to have a mirror of the Topfield samples with makefiles, but nobody has got round to it yet.

An example makefile can be found here:
http://svn.berlios.de/wsvn/tap/trunk/taps/MemoryDump/Makefile?op=file&rev=0&sc=0

This directory might also help:
http://svn.berlios.de/wsvn/tap/trunk/tools/toolchain/taptest/?rev=0&sc=0
View user's profile Send private message Visit poster's website
bluemini
Posted: Fri Apr 14, 2006 1:54 pm Reply with quote
Joined: 14 Apr 2006 Posts: 2
Thanks for that, I was getting in knots reading the Topfield pdf and then attempting to combine that with the Berlios info. Only had a slight glitch with the svn checkout playing up but I used my Windows SVN installation and now at least I can compile the .c to a .tap

Thanks again
View user's profile Send private message
tre4
Posted: Mon Apr 17, 2006 5:54 pm Reply with quote
Regular contributor Joined: 01 Apr 2005 Posts: 93
simonc wrote:
Could you perhaps describe what doesn't work? Then at least it'd be possible to correct the guide.


I think most of my problems seem to lie with connectivity.

I followed the instructions through but when I get to the WGET to download the toolchain it fails trying to access the site via port 80. Strangely if I telnet to the site:port I can enter a get command......

So I gave up on this and downloaded from windows putting the tar.gz in usr/local then uncompressing as per the rest of the instructions to get /usr/local/topfields-gcc so should be okay there.

Moved onto the initialising docs and I was okay up to the SVN command where again I get a failure. This time it is svn 2164_ cygtls::handle eceptions: Error while dumping state probably corrupted stack.....

Again it appears to be related to the http access from this program. I've even tried this with my firewall turned off but that has no effect . I tried to figure out where to go next but to be honest I ran out of time and didn't get any further. I did try wgetting some other addresses like the index.htm on my own site but that didn't work either......

Any advice would be greatfully received.
View user's profile Send private message
simonc
Posted: Wed Apr 19, 2006 10:40 am Reply with quote
Frequent contributor Joined: 12 Apr 2005 Posts: 5640 Location: Cheltenham
I think you're right, if wget isn't working it sounds more like a Cygwin installation issue. Unfortunately I don't know a great deal about getting Cygwin working. It's such a tedious process getting the right install options, is there a chance you've missed out a vital component?
View user's profile Send private message Visit poster's website
andyrogers
Posted: Mon Sep 18, 2006 9:28 pm Reply with quote
Frequent contributor Joined: 07 Dec 2005 Posts: 814
Hi Simon

I have been trying to compile some of your taps from your original source code for Remote & Description Extender and all I keep ongetting is getting errors which i do not understand.

I have installed cygwin and toolchain as per the instructions on the berlios website, when I run the make command I get the following info:-

C:\CYGWIN\HOME\ADMINI~1\PROJECTS\TAP\TRUNK\TAPS\REMOTE~1>make
MAKE single
MAKE[1]: Entering directory `/HOME/ADMINI~1/PROJECTS/TAP/TRUNK/TAPS/REMOTE~1'
/usr/local/topfield-gcc/bin/mips-gcc -mqnxpic -fno-delayed-branch -mlong-calls -
msoft-float -isystem /usr/local/topfield-gcc/topfield-sdk/include -D_TAP -O2 -I.
./../libs/libutils -I../../libs/Firmware -I../../libs/TSRCommander -c -o Remot
eExtender.o RemoteExtender.c
RemoteExtender.c:351: parse error before `Model'
RemoteExtender.c:351: warning: no semicolon at end of struct or union
RemoteExtender.c:354: parse error before `}'
RemoteExtender.c:354: warning: data definition has no type or storage class
RemoteExtender.c:357: parse error before `firmware'
RemoteExtender.c:360: `TF5800t' undeclared here (not in a function)
RemoteExtender.c:360: initializer element is not constant
RemoteExtender.c:360: (near initialization for `firmware[0]')
RemoteExtender.c:362: `TF5800t' undeclared here (not in a function)
RemoteExtender.c:362: initializer element is not constant
RemoteExtender.c:362: (near initialization for `firmware[3]')
RemoteExtender.c:363: warning: data definition has no type or storage class
RemoteExtender.c:366: parse error before `*'
RemoteExtender.c: In function `GetMHEGMode':
RemoteExtender.c:390: request for member `registerGroup' in something not a stru
cture or union
RemoteExtender.c: In function `ShowUnsupportedMessage':
RemoteExtender.c:456: `sysID' undeclared (first use in this function)
RemoteExtender.c:456: (Each undeclared identifier is reported only once
RemoteExtender.c:456: for each function it appears in.)
RemoteExtender.c:456: `_appl_version' undeclared (first use in this function)
MAKE[1]: *** [RemoteExtender.o] Error 1
MAKE[1]: Leaving directory `/HOME/ADMINI~1/PROJECTS/TAP/TRUNK/TAPS/REMOTE~1'
MAKE: *** [all] Error 2

I have got all of my paths setup, and have tried looking around every where, but am just having no luck at all in compiling any taps.

Can you please help me get unstuck with compiling taps. This is an area which I want to try and get into with programming.

Any help from you Simon or anyone else would really be much appreciated.

Thanks

Andy

_________________

Firmware: 5.14.09 Patched
AutoStart Taps: MyStuff v5.52b, eit2mei beta 7.8m7, , Power Manager v1.2, Tap Commander v1.32, TF5000 Display v1.53a, Discription Extender v2.3, SDS 1.3b, QuickJump 1.72
Other Taps: Sudoka, mei2archive, mei2eit, snake, meisearch
View user's profile Send private message
v12mike
Posted: Mon Sep 18, 2006 10:48 pm Reply with quote
Frequent contributor Joined: 03 Mar 2006 Posts: 247
Andy,

Try adding #include <model.h> to RemoteExtender.c

and model.o to the libutils.a line in the makefile

That then builds for me. It looks like someone has restructured libutils since RemoteExtender was checked in.


There is still an error with
tfcopy: Command not found, but it has already linked the tap by that point.

regards,
Mike
View user's profile Send private message

Display posts from previous:  

All times are GMT + 1 Hour
Page 1 of 11
Goto page 1, 2, 3 ... 9, 10, 11  Next

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum