iAudiophile.net Forums
Go Back   iAudiophile.net Forums > Hard Disk Players > iAudio X5 > X5 Rockbox Discussions

Post New Thread  Reply
 
Thread Tools Display Modes
Old 09-17-2007, 18:54   #1
viperman3
Member
 
Join Date: Dec 2005
Location: Canada
Posts: 85
Default Trying to compile a more current build of RB based on maxwen0's patch series

Well, it's been such a long while since the last maxwen0 build so I got myself to try to follow maxwen0's patch series and have a got at compiling a version on RB based on more current code.

Anyways, this being the first time I tried this, there were bound to be some problems to overcome ... so this is the reason why I'm posting this.

The patches I applied without any errors, but when I issue the make command to compile the code, I get an error.

Here's the snippit of the output:

Code:
Normal build selected
Using source code root directory: /rockbox-20070917
Using m68k-elf-gcc 3.4.5 (304)
Using m68k-elf-ld 2.16
Created Makefile
bash-3.2$ make
gcc -g rdf2binary.c -o rdf2binary
gcc -g convbdf.c -o convbdf
gcc -g codepages.c codepage_tables.c -o codepages
gcc -O -ansi -g   -c -o scramble.o scramble.c
gcc -O -ansi -g   -c -o iriver.o iriver.c
gcc -O -ansi -g   -c -o mi4.o mi4.c
gcc -O -ansi -g   -c -o gigabeat.o gigabeat.c
gcc -g  scramble.o iriver.o mi4.o gigabeat.o   -o scramble
gcc -O -ansi -g   -c -o descramble.o descramble.c
gcc -g  descramble.o iriver.o gigabeat.o   -o descramble
gcc -g mkboot.c -o mkboot
gcc -DAPPLICATION_NAME=\"bmp2rb\" -g bmp2rb.c -o bmp2rb
Create sysfont.h
Header parsed
CC ata_idle_notify.c
CC backlight.c
CC buffer.c
CC id3.c
CC powermgmt.c
CC system.c
CC usb.c
CC kernel.c
CC rolo.c
CC thread.c
CC timer.c
CC panic.c
CC debug.c
CC common/atoi.c
CC common/crc32.c
CC common/ctype.c
CC common/dir_uncached.c
CC common/file.c
CC common/dircache.c
CC common/disk.c
CC common/errno.c
CC common/memcmp.c
CC common/memchr.c
CC common/qsort.c
CC common/random.c
CC common/sprintf.c
CC common/strcasecmp.c
CC common/strcasestr.c
CC common/strcat.c
CC common/strchr.c
CC common/strcmp.c
CC common/strcpy.c
CC common/strncmp.c
CC common/strncpy.c
CC common/strrchr.c
CC common/strtok.c
CC common/structec.c
CC common/timefuncs.c
CC common/unicode.c
CC scroll_engine.c
CC arabjoin.c
CC bidi.c
CC font_cache.c
CC font.c
CC hangul.c
CC lru.c
CC drivers/lcd-16bit.c
CC drivers/lcd-remote-2bit-vi.c
drivers/lcd-remote-2bit-vi.c: In function `lcd_remote_puts_customline_style_offset':
drivers/lcd-remote-2bit-vi.c:1067: error: too many arguments to function lcd_remote_putsxyofs'
make[1]: *** [/rockbox-20070917/build/firmware/drivers/lcd-remote-2bit-vi.o] Error 1
make: *** [build] Error 2
So, this is where I'm stuck

Anyone willing to assist on this matter?

btw, here's the order I applied the patches in (I changed the names of the patches to include a number sequence)

Code:
patch --binary -p1 < 01-ymargin-scrollinfo_20070728.patch
patch --binary -p0 < 02-scroll-margins_20070915.patch
patch --binary -p0 < 03-album_art_20070823.patch
patch --binary -p1 < 04-bmpresize-20070624.patch
patch --binary -p1 < 06-multifont_complete-20070831.patch
patch --binary -p1 < 07-customline-20070915.patch
patch --binary -p0 < 08-custom_list_position-20070622.patch
patch --binary -p1 < 09-WPS-buffer.patch
patch --binary -p1 < 10-increase_button_filtering.patch
patch --binary -p1 < 11-battery_minutes_tag.patch
patch --binary -p0 < 12-rockcalendar.patch
patch --binary -p0 < 14-newinsert.patch
patch --binary -p1 < 16-dircache_size.patch
regards,

vm3
viperman3 is offline View viperman3's Photo Album   Reply With Quote
Old 09-17-2007, 21:25   #2
hweb21
Web User
 
hweb21's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 503
Default

You have better chances posting it here. And thanks for trying

http://forums.rockbox.org/index.php?board=33.0
__________________
20gb iHP-120 -> 32gb X5 -> 16gb S9
hweb21 is offline View hweb21's Photo Album   Reply With Quote
Old 09-22-2007, 09:02   #3
viperman3
Member
 
Join Date: Dec 2005
Location: Canada
Posts: 85
Default

I have made some progress. I was able to compile a simulator, however, there's a problem with the scrolling text. At times the text splits about 2/3 from right to left and then there are two lines scrolling. One above the other (both with the same info, but scrolling at different rates)

I'm now trying to figure out where this problem is being introduced.

Programming is not my forte so this most definetly will take a while to figure out

regards


vm3
viperman3 is offline View viperman3's Photo Album   Reply With Quote
Old 09-22-2007, 22:20   #4
hweb21
Web User
 
hweb21's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 503
Default

If you upload the sim, I could help ya since it deals with the wps, And thanks again for trying to update his build
__________________
20gb iHP-120 -> 32gb X5 -> 16gb S9
hweb21 is offline View hweb21's Photo Album   Reply With Quote
Old 09-23-2007, 10:22   #5
viperman3
Member
 
Join Date: Dec 2005
Location: Canada
Posts: 85
Default

here is the X5 compiled version based on rockbox-20070918-r14740 source:


http://www.mediafire.com/?50nydy7ml9g

This is the patch series I used:

ymargin-scrollinfo_20070728.patch
scroll-margins_20070915.patch
album_art_20070823.patch
bmpresize-20070624.patch
progressbar_slider_20070622-MOD.patch
multifont_complete-20070831.patch
customline-20070915-MOD.patch
custom_list_position-20070622.patch
WPS-buffer.patch
increase_button_filtering.patch
battery_minutes_tag.patch
newinsert.patch
dircache_size.patch

There are a few patches I didn't apply (compilation errors)
Still trying to figure out how to resolve the errors.

Here's the Simulator link:


http://www.mediafire.com/?6z3ettghtmm


Update: Added links to http://www.mediafire.com for better service ... Thanks, hweb21, for the link info.

Last edited by viperman3; 09-23-2007 at 18:32.
viperman3 is offline View viperman3's Photo Album   Reply With Quote
Old 09-23-2007, 12:07   #6
hweb21
Web User
 
hweb21's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 503
Default

Thanks!!! But it wont let me download the build (No slots available)

Next time upload to, much better service
http://www.mediafire.com/
__________________
20gb iHP-120 -> 32gb X5 -> 16gb S9

Last edited by hweb21; 09-23-2007 at 14:21.
hweb21 is offline View hweb21's Photo Album   Reply With Quote
Old 09-23-2007, 18:30   #7
viperman3
Member
 
Join Date: Dec 2005
Location: Canada
Posts: 85
Default

Quote:
Originally Posted by hweb21 View Post
Thanks!!! But it wont let me download the build (No slots available)

Next time upload to, much better service
http://www.mediafire.com/
links have been updated
viperman3 is offline View viperman3's Photo Album   Reply With Quote
Old 09-24-2007, 21:35   #8
hweb21
Web User
 
hweb21's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 503
Default

Tested and Approved to work on my updated themes.
Seal of Approval
__________________
20gb iHP-120 -> 32gb X5 -> 16gb S9
hweb21 is offline View hweb21's Photo Album   Reply With Quote
Old 09-24-2007, 23:38   #9
caliaa
Senior Member
 
Join Date: Jan 2005
Posts: 329
Default

Thanks!!!!

hweb21, which set of icons work with your themes?
caliaa is offline View caliaa's Photo Album   Reply With Quote
Old 09-25-2007, 06:31   #10
hweb21
Web User
 
hweb21's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 503
Default

Quote:
Originally Posted by caliaa View Post
Thanks!!!!

hweb21, which set of icons work with your themes?
I use mine,
http://www.mediafire.com/?ctb2xxhdo24


havent tried the other icons at http://www.rockbox.org/twiki/bin/view/Main/IconSets
__________________
20gb iHP-120 -> 32gb X5 -> 16gb S9
hweb21 is offline View hweb21's Photo Album   Reply With Quote
Old 09-25-2007, 09:33   #11
caliaa
Senior Member
 
Join Date: Jan 2005
Posts: 329
Default

Thank you, the other icons look weird. BTW, the build+patches compilation works great.
caliaa is offline View caliaa's Photo Album   Reply With Quote
Old 10-14-2007, 01:13   #12
viperman3
Member
 
Join Date: Dec 2005
Location: Canada
Posts: 85
Default new build

Got some help from rb forums and compiled another version based on maxwen0's patch series.

Used rockbox-20071011-r15073 from SVN and applied the following patch series:

ymargin-scrollinfo_20071002.patch
scroll-margins_20071006-2-MOD.patch
album_art_20071005.patch
bmp_resize-20071005.patch
progressbar_slider_20070622-MOD.patch
multifont-20071011.patch
customline-20071011-MOD.patch
customlist-20071012.patch
WPS-buffer.patch
increase_button_filtering.patch
6746_battery_minutes_tag.patch
rockcalendar-MOD.patch
newinsert.patch
dircache_size.patch

There are still a few patches I didn't apply (compilation errors)
Still trying to figure out how to resolve the errors.

Link to X5 compilation:
http://www.mediafire.com/?8mv3zdn4unv

Here's the Simulator link:
http://www.mediafire.com/?cg33ugsalag

Cheers
viperman3 is offline View viperman3's Photo Album   Reply With Quote
Old 10-14-2007, 18:06   #13
ya1950
Member
 
Join Date: Aug 2005
Posts: 129
Default

Thanks so much. New build is working fine on my machine. One very stupid request - any chance of putting back the bootscreen that maxwen0 was using? I ask because there are a lot of bootscreens available that can be switched with the Logo Swapper utility but it's easier to make the switch if the original compiled bootscreen is in 160x128 format.
Thanks for all your work!

Last edited by ya1950; 10-14-2007 at 18:10.
ya1950 is offline View ya1950's Photo Album   Reply With Quote
Old 10-15-2007, 07:18   #14
viperman3
Member
 
Join Date: Dec 2005
Location: Canada
Posts: 85
Default

Quote:
Originally Posted by ya1950 View Post
Thanks so much. New build is working fine on my machine. One very stupid request - any chance of putting back the bootscreen that maxwen0 was using? I ask because there are a lot of bootscreens available that can be switched with the Logo Swapper utility but it's easier to make the switch if the original compiled bootscreen is in 160x128 format.
Thanks for all your work!
I'll try to get the bootscreen logo implimented (I'm not too fond of the bootscreen that was being used, but if you have one you'd like I can impliment that.)
viperman3 is offline View viperman3's Photo Album   Reply With Quote
Old 10-15-2007, 08:07   #15
hweb21
Web User
 
hweb21's Avatar
 
Join Date: Jun 2006
Location: USA
Posts: 503
Default

If you have an idea, I can make it for you.
Here are some - http://protopage.com/rockbox#Main/Logo_Gallery
hweb21 is offline View hweb21's Photo Album   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 23:30.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.