source: soft/giet_vm/giet_boot/boot.ld @ 284

Last change on this file since 284 was 258, checked in by alain, 11 years ago

This is a major release, including a deep restructuration of code.
The main evolutions are

  • use of the Tsar preloader to load the GIET boot-loader from disk
  • introduction of a FAT32 file system library,
  • use of this fat32 library by the boot-loader to load the map.bin data structure, and the various .elf files
  • reorganisation of drivers (one file per peripheral).
  • introduction of drivers for new peripherals: vci_chbuf_dma and vci_multi_ahci.
  • introduction of a new physical memory allocator in the boot code.

This release has been tested on the tsar_generic_iob architecture,
for the two following mappings: 4c_1p_iob_four.xml and 4c_1p_iob_sort.xml

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1
2/****************************************************************************/
3/* Definition of the base addresses for all vsegs used by the GIET_VM       */
4/****************************************************************************/
5
6INCLUDE giet_vsegs.ld
7
8/****************************************************************************/
9/* Definition of the entry point for the BOOT code.                         */
10/* The address of the boot_init function is stored in the .elf header,      */
11/* and is used by the préloader to jump into the boot code.                 */
12/****************************************************************************/
13
14ENTRY(boot_init)
15
16/****************************************************************************/
17/* Grouping sections into virtual segment for boot code and data             */
18/****************************************************************************/
19SECTIONS
20{
21    . = seg_boot_code_base;
22    seg_boot_code :
23    {
24        *(.text)
25        *(.rodata)
26        *(.rodata.*)
27    }
28
29    . = seg_boot_data_base;
30    seg_boot_data :
31    {
32        *(.bootdata)
33        *(.fatdata)
34    }
35}
36
Note: See TracBrowser for help on using the repository browser.