On Mittwoch, 19. November 2003 02:22, RandyLin@mxic.com.tw wrote: > I have redboot rom mode on SNDS, but I can't find the > mlt_arm_snds_romram.ldi or .h > No one done this before? > Can anyone give me suggestion, or lead me to some document? I have made ROMRAM version for our new platform "ARM Industrial Module" which is based on the snds hal and which we will contribute back soon. Maybe you could make the same for the snds platform, but the problem is the RAM version of snds is starting at 0x20000 and there is not enough place for RedBoot (at least with network) executed from RAM. That means the RAM ldi file has to be changed too. This is the difference of the ramrom ldi file to the ram ldi file: diff -u5 -p -N mlt_arm_aim711_romram.ldi ../../../../snds/current/include/pkgconf/mlt_arm_snds_ram.ldi --- mlt_arm_aim711_romram.ldi Fri Oct 17 13:20:13 2003 +++ ../../../../snds/current/include/pkgconf/mlt_arm_snds_ram.ldi Mon Sep 29 17:16:19 2003 @@ -4,18 +4,18 @@ #include MEMORY { - ram : ORIGIN = 0x000000, LENGTH = 0x00800000 + ram : ORIGIN = 0x000000, LENGTH = 0x01000000 } SECTIONS { SECTIONS_BEGIN - SECTION_fixed_vectors (ram, 0x20, LMA_EQ_VMA) - SECTION_rom_vectors (ram, 0x1000, LMA_EQ_VMA) + SECTION_fixed_vectors (ram, 0x200, LMA_EQ_VMA) + SECTION_rom_vectors (ram, 0x00020000, LMA_EQ_VMA) SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA) SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA) SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA) SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA) SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA) Additionally I have attached the hal_platform_setup.h file of the AIM hal, which includes the relocating of the text segment. I haven't made a diff, because it would be confusing to read because I have changed a big part of it from being a "#define" macro to an assembler macro, so it is the same code but would be shown as difference because of the ";\" at the end of the line.