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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  What is the differences between booting from "ram" "rom" and "disk"?
« previous next »
  • Print
Pages: [1]

Author Topic: What is the differences between booting from "ram" "rom" and "disk"?  (Read 2237 times)

Offline xman099

  • Member
  • *
  • Posts: 10
What is the differences between booting from "ram" "rom" and "disk"?
« on: November 24, 2009, 12:29:26 PM »
I followed the “iriver flashing”, and then, I can find  "boot ram image" "boot rom image" and "boot from disk" in boot menu.

I just know that it use the place which stored original firmware before to create "ram" and "rom" image. However, I really can't understand what the meaning of them. Is there any differences?

Thanks a lot.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: What is the differences between booting from "ram" "rom" and "disk"?
« Reply #1 on: November 24, 2009, 12:49:33 PM »
Boot from ROM - the build is stored in ROM and executed from ROM
Boot from RAM - the build is stored in ROM, but then copied to RAM and executed
Boot from Disk - the build is stored on Disk, then copied to RAM and executed

Executing from RAM uses additional memory that could otherwise be used for buffering audio if the build was executed from ROM, but is quicker.  Copying from ROM is quicker than copying from disk.

All as I understand it :)
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline xman099

  • Member
  • *
  • Posts: 10
Re: What is the differences between booting from "ram" "rom" and "disk"?
« Reply #2 on: November 24, 2009, 10:43:54 PM »
Thanks AlexP. :)

So, both of the "Boot from ROM" and "Boot from RAM" use the ROM image(0x001000 - 0x0EFFFF), what is RAM image(0x100000 - 0x1EFFFF) used for? ???

And, could I do the same thing(iriver flashing) on H3X0?
« Last Edit: November 25, 2009, 09:39:03 PM by xman099 »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: What is the differences between booting from "ram" "rom" and "disk"?
« Reply #3 on: November 26, 2009, 07:26:37 AM »
The H300 doesn't support this at this point, no.

As I understand it, the ROM image is the one stored in ROM and executed from ROM, and the RAM image is the one stored in ROM and executed from RAM.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: What is the differences between booting from "ram" "rom" and "disk"?
« Reply #4 on: November 26, 2009, 07:39:38 AM »
The RAM/ROM images are different because they are built to run from different places. It doesn't matter where they are stored, it only matters where they are going to actually run from in the end: anything that gets loaded to RAM to run it must be a RAM image, anything run directly from ROM must be a ROM image.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline xman099

  • Member
  • *
  • Posts: 10
Re: What is the differences between booting from "ram" "rom" and "disk"?
« Reply #5 on: November 26, 2009, 10:22:18 AM »
Thank both of you!  ;D I understand that FANLLY ;D
Logged

Offline pondlife

  • Developer
  • Member
  • *
  • Posts: 248
Re: What is the differences between booting from "ram" "rom" and "disk"?
« Reply #6 on: November 27, 2009, 07:21:17 AM »
If anyone is tempted to play with the H300 bootloader from SVN, they should know that it will currently brick your H300 (permanently, unless you have access to BDM kit and know how to use it).

The released (v5) bootloader is fine, I'm referring to the bleeding-edge SVN code.

pondlife
« Last Edit: November 27, 2009, 07:23:13 AM by pondlife »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  What is the differences between booting from "ram" "rom" and "disk"?
 

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

Page created in 0.082 seconds with 15 queries.