dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: CVS version does not build
From: Johan Vromans (
Date: 2003-12-20

I cannot build the CVS version (031220-1817 MET) anymore:

 % sh-elf-gcc -Os -nostdlib -o rockbox.elf lang.o alarm_menu.o credits.o debug_menu.o language.o main.o main_menu.o menu.o misc.o onplay.o playlist.o playlist_menu.o playlist_viewer.o plugin.o screens.o settings.o settings_menu.o sleeptimer.o sound_menu.o status.o tree.o wps.o wps-display.o recorder/bmp.o recorder/icons.o recorder/keyboard.o recorder/peakmeter.o recorder/radio.o recorder/recording.o recorder/widgets.o -L. -lrockbox -lgcc -L../firmware -Wl,-Map,
sh-elf/bin/ld: address 0xf001048 of rockbox.elf section .iram is not within region IRAM

Inspecting shows:

  Memory Configuration

  Name Origin Length Attributes
  DRAM 0x0000000009000000 0x00000000001f8000
  IRAM 0x000000000f000000 0x0000000000001000
  *default* 0x0000000000000000 0xffffffffffffffff

  .iram 0x000000000f000000 0x1048 load address 0x00000000090267bc

Apparently, IRAM has been told to be 0x1000 long, while in fact it
needs 0x1048 bytes.

How can I solve this?

-- Johan

Page was last modified "Jan 10 2012" The Rockbox Crew