Mercurial > flash_v2
changeset 1634:421a48d5aded
* include/pkgconf/mlt_sh_sh7750_dreamcast_ram.mlt: Add entry section.
* include/pkgconf/mlt_sh_sh7750_dreamcast_ram.ldi: Add entry section.
* src/boot.S: New file. Add Dreamcast startup entry. Fixes failed
bootup.
| author | jlarmour |
|---|---|
| date | Fri, 14 May 2004 12:01:00 +0000 |
| parents | 5b90296c022f |
| children | 00f02cd81799 |
| files | packages/hal/sh/dreamcast/current/ChangeLog packages/hal/sh/dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl packages/hal/sh/dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.h packages/hal/sh/dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.ldi packages/hal/sh/dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.mlt packages/hal/sh/dreamcast/current/include/plf_io.h |
| diffstat | 6 files changed, 78 insertions(+), 57 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/hal/sh/dreamcast/current/ChangeLog +++ b/packages/hal/sh/dreamcast/current/ChangeLog @@ -1,3 +1,19 @@ +2004-04-30 Yoshinori Sato <ysato@users.sourceforge.jp> + + * cdl/hal_sh_sh7750_dreamcast.cdl: Build boot.S. + * src/boot.S: New file. Add Dreamcast startup entry. Fixes failed + bootup. + * include/pkgconf/mlt_sh_sh7750_dreamcast_ram.mlt: Add entry section. + * include/pkgconf/mlt_sh_sh7750_dreamcast_ram.ldi: Add entry section. + +2004-04-22 Yoshinori Sato <ysato@users.sourceforge.jp> + + * cdl/hal_sh_sh7750_dreamcast.cdl: typo fix. + +2004-04-21 Yoshinori Sato <ysato@users.sourceforge.jp> + + * include/plf_io.h: add macro "CYGARC_PCI_DMA_ADDRESS" + 2001-11-21 Jesper Skov <jskov@redhat.com> * cdl/hal_sh_sh7750_dreamcast.cdl: Added
--- a/packages/hal/sh/dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl +++ b/packages/hal/sh/dreamcast/current/cdl/hal_sh_sh7750_dreamcast.cdl @@ -64,6 +64,7 @@ cdl_package CYGPKG_HAL_SH_SH7750_DREAMCA requires { CYGDAT_REDBOOT_SH_LINUX_BOOT_COMMAND_LINE == "mem=16M" } compile hal_diag.c plf_misc.c dreamcast_pci.c fb_support.c + compile -library=libextras.a boot.S implements CYGINT_HAL_DEBUG_GDB_STUBS implements CYGINT_HAL_DEBUG_GDB_STUBS_BREAK @@ -82,8 +83,8 @@ cdl_package CYGPKG_HAL_SH_SH7750_DREAMCA cdl_component CYG_HAL_STARTUP { display "Startup type" flavor data - legal_values "RAM" - default_value "RAM" + legal_values {"RAM"} + default_value {"RAM"} no_define define -file system.h CYG_HAL_STARTUP description "
--- a/packages/hal/sh/dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.h +++ b/packages/hal/sh/dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.h @@ -1,17 +1,17 @@ -// eCos memory layout - Wed Nov 01 08:48:23 2000 - -// This is a generated file - do not edit - -#ifndef __ASSEMBLER__ -#include <cyg/infra/cyg_type.h> -#include <stddef.h> - -#endif -#define CYGMEM_REGION_ram (0x8c000000) -#define CYGMEM_REGION_ram_SIZE (0x1000000) -#define CYGMEM_REGION_ram_ATTR (CYGMEM_REGION_ATTR_R | CYGMEM_REGION_ATTR_W) -#ifndef __ASSEMBLER__ -extern char CYG_LABEL_NAME (__heap1) []; -#endif -#define CYGMEM_SECTION_heap1 (CYG_LABEL_NAME (__heap1)) -#define CYGMEM_SECTION_heap1_SIZE (0x8d000000 - (size_t) CYG_LABEL_NAME (__heap1)) +// eCos memory layout - Wed Nov 01 08:48:23 2000 + +// This is a generated file - do not edit + +#ifndef __ASSEMBLER__ +#include <cyg/infra/cyg_type.h> +#include <stddef.h> + +#endif +#define CYGMEM_REGION_ram (0x8c000000) +#define CYGMEM_REGION_ram_SIZE (0x1000000) +#define CYGMEM_REGION_ram_ATTR (CYGMEM_REGION_ATTR_R | CYGMEM_REGION_ATTR_W) +#ifndef __ASSEMBLER__ +extern char CYG_LABEL_NAME (__heap1) []; +#endif +#define CYGMEM_SECTION_heap1 (CYG_LABEL_NAME (__heap1)) +#define CYGMEM_SECTION_heap1_SIZE (0x8d000000 - (size_t) CYG_LABEL_NAME (__heap1))
--- a/packages/hal/sh/dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.ldi +++ b/packages/hal/sh/dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.ldi @@ -1,26 +1,27 @@ -// eCos memory layout - Wed Nov 01 08:48:23 2000 - -// This is a generated file - do not edit - -#include <cyg/infra/cyg_type.inc> - -MEMORY -{ - ram : ORIGIN = 0x8c000000, LENGTH = 0x1000000 -} - -SECTIONS -{ - SECTIONS_BEGIN - SECTION_vectors (ram, 0x8c010200, LMA_EQ_VMA) - SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA) - SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA) - SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA) - SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA) - SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA) - SECTION_gcc_except_table (ram, ALIGN (0x1), LMA_EQ_VMA) - SECTION_data (ram, ALIGN (0x8), LMA_EQ_VMA) - SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA) - CYG_LABEL_DEFN(__heap1) = ALIGN (0x8); - SECTIONS_END -} +// eCos memory layout - Wed Nov 01 08:48:23 2000 + +// This is a generated file - do not edit + +#include <cyg/infra/cyg_type.inc> + +MEMORY +{ + ram : ORIGIN = 0x8c000000, LENGTH = 0x1000000 +} + +SECTIONS +{ + SECTIONS_BEGIN + SECTION_entry (ram, 0x8c010000, LMA_EQ_VMA) + SECTION_vectors (ram, 0x8c010200, LMA_EQ_VMA) + SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA) + SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA) + SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA) + SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA) + SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA) + SECTION_gcc_except_table (ram, ALIGN (0x1), LMA_EQ_VMA) + SECTION_data (ram, ALIGN (0x8), LMA_EQ_VMA) + SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA) + CYG_LABEL_DEFN(__heap1) = ALIGN (0x8); + SECTIONS_END +}
--- a/packages/hal/sh/dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.mlt +++ b/packages/hal/sh/dreamcast/current/include/pkgconf/mlt_sh_sh7750_dreamcast_ram.mlt @@ -1,12 +1,13 @@ -version 0 -region ram 8c000000 1000000 0 ! -section vectors 0 1 0 1 1 1 1 1 8c010200 8c010200 text text ! -section text 0 4 0 1 0 1 0 1 fini fini ! -section fini 0 4 0 1 0 1 0 1 rodata1 rodata1 ! -section rodata1 0 8 0 1 0 1 0 1 rodata rodata ! -section rodata 0 8 0 1 0 1 0 1 fixup fixup ! -section fixup 0 4 0 1 0 1 0 1 gcc_except_table gcc_except_table ! -section gcc_except_table 0 1 0 1 0 1 0 1 data data ! -section data 0 8 0 1 0 1 0 1 bss bss ! -section bss 0 10 0 1 0 1 0 1 heap1 heap1 ! -section heap1 0 8 0 0 0 0 0 0 ! +version 0 +region ram 8c000000 1000000 0 ! +section entry 0 1 0 1 1 1 1 1 8c010000 8c010000 text text ! +section vectors 0 1 0 1 1 1 1 1 8c010200 8c010200 text text ! +section text 0 4 0 1 0 1 0 1 fini fini ! +section fini 0 4 0 1 0 1 0 1 rodata1 rodata1 ! +section rodata1 0 8 0 1 0 1 0 1 rodata rodata ! +section rodata 0 8 0 1 0 1 0 1 fixup fixup ! +section fixup 0 4 0 1 0 1 0 1 gcc_except_table gcc_except_table ! +section gcc_except_table 0 1 0 1 0 1 0 1 data data ! +section data 0 8 0 1 0 1 0 1 bss bss ! +section bss 0 10 0 1 0 1 0 1 heap1 heap1 ! +section heap1 0 8 0 0 0 0 0 0 !
--- a/packages/hal/sh/dreamcast/current/include/plf_io.h +++ b/packages/hal/sh/dreamcast/current/include/plf_io.h @@ -117,6 +117,8 @@ externC void cyg_hal_plf_pci_init(void); #define HAL_PCI_PHYSICAL_MEMORY_BASE 0x00000000 #define HAL_PCI_PHYSICAL_IO_BASE 0x00000000 +#define CYGARC_PCI_DMA_ADDRESS(_x_) ((_x_) & 0x1fffffff) + //----------------------------------------------------------------------------- #endif // ifndef CYGONCE_PLF_IO_H // End of plf_io.h
