Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Make minor change and Compile
« previous next »
  • Print
Pages: [1]

Author Topic: Make minor change and Compile  (Read 2849 times)

Offline mild4u

  • Member
  • *
  • Posts: 9
Make minor change and Compile
« on: August 15, 2011, 09:52:06 PM »
I want to make some changes to apps/keymaps/keymap-e200.c so I can use UP and Down buttons to scroll. I followed this http://www.rockbox.org/wiki/LinuxSimpleGuideToCompiling
The process was completed but my changes didn't work and looks like I will need some trials to get it working.

This one step in the document above:
Now, type cd rockbox/tools. Type chmod +x rockboxdev.sh, then type sudo ./rockboxdev.sh. You will be asked to choose the platform you want to compile for. If you are unsure, type s m a e i. This will prepare your computer to be able to build for all Rockbox targets. However, this will take much longer to prepare than a single platform, so if you know your target, just type the corresponding letter and continue.


Now my question is:
Do I have to follow the above step everytime after I make changes to keymap-e200.c or that is just needed once and then upon subsequent changes, I simply need to compile again and make zip?

I believe I just need to compile but want to double check. And what exactly the above step does?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Make minor change and Compile
« Reply #1 on: August 15, 2011, 09:57:29 PM »
That just builds gcc.  You only have to do that once. 
Logged

Offline mild4u

  • Member
  • *
  • Posts: 9
Re: Make minor change and Compile
« Reply #2 on: August 15, 2011, 10:19:55 PM »
Thank you.
After going through all the hassel of virtualbox,SVN and all setups I hope I will achieve what I want.

Post Merge: August 15, 2011, 11:25:19 PM
What would be the smallest possible change I can do which could be visible instantly after installing the new build.
I want to make sure my build process is correct because till now I made few changes and installed new build but I don't see any results.
« Last Edit: August 15, 2011, 11:25:19 PM by mild4u »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Make minor change and Compile
« Reply #3 on: August 16, 2011, 12:20:07 AM »
If you get a working binary as the result of running "make" then the process was successful.  A rather simple and visible change would be to change the splash screen that gets displayed while Rockbox boots.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline mild4u

  • Member
  • *
  • Posts: 9
Re: Make minor change and Compile
« Reply #4 on: August 16, 2011, 10:42:12 PM »
Quote from: Chronon on August 16, 2011, 12:20:07 AM
If you get a working binary as the result of running "make" then the process was successful.  A rather simple and visible change would be to change the splash screen that gets displayed while Rockbox boots.
Thanks but I couldn't find a decent example on how to change the splash screen. Any docs links or help?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Make minor change and Compile
« Reply #5 on: August 17, 2011, 02:34:02 AM »
The images are stored in apps/bitmaps/native/
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline mild4u

  • Member
  • *
  • Posts: 9
Re: Make minor change and Compile
« Reply #6 on: August 17, 2011, 05:05:29 PM »
Quote from: Chronon on August 17, 2011, 02:34:02 AM
The images are stored in apps/bitmaps/native/
Thanks Chronon. I did find that folder but there are like few images of tockbox with same look but different resolution. How do I find what one is used by my device?
If you don't have idea that's ok, I will go ahead and modify all of them and hope to see some visual changes with new build. :)
Logged

Offline mc2739

  • Developer
  • Member
  • *
  • Posts: 262
Re: Make minor change and Compile
« Reply #7 on: August 17, 2011, 08:42:54 PM »
The Rockbox logo image for the e200 is:

Code: [Select]
rockboxlogo.176x54x16.bmp
Logged

Offline mild4u

  • Member
  • *
  • Posts: 9
Re: Make minor change and Compile
« Reply #8 on: August 17, 2011, 11:11:10 PM »
Quote from: mc2739 on August 17, 2011, 08:42:54 PM
The Rockbox logo image for the e200 is:

Code: [Select]
rockboxlogo.176x54x16.bmp

Thanks mc2739. That made it easy. Ok so my modified image showed up on start so my build process is fine.
But my main issues isn't yet solved: You can check that here: http://forums.rockbox.org/index.php/topic,28411.0.html

Thank you for all help guys.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Make minor change and Compile
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.084 seconds with 15 queries.