source: trunk/tools/bootloader_tsar/boot_config.h @ 1

Last change on this file since 1 was 1, checked in by alain, 7 years ago

First import

File size: 1.8 KB
RevLine 
[1]1/****************************************************************************
2 * This file defines various hardware and configuration parameters for the  *
3 * ALMOS-MKH boot-loader.                                                    *
4 ****************************************************************************/
5
6#ifndef _BOOT_CONFIG_H
7#define _BOOT_CONFIG_H
8
9// Debug options
10#define DEBUG_BOOT_INFO     1
11#define DEBUG_BOOT_ELF      1
12#define DEBUG_BOOT_IOC      0
13#define DEBUG_BOOT_FAT32    1
14#define USE_FIXED_FORMAT    0
15
16// io_cluster identifier
17#define IO_CXY              0
18
19// Peripheral base addresses (in io_cluster)
20#define SEG_IOC_BASE        0xb3000000
21#define SEG_TTY_BASE        0xb4000000
22#define SEG_MMC_BASE        0xb2000000
23
24// boot code temporary segment
25#define BOOT_BASE           0x100000        /* 'boot.elf' base address.     */
26#define BOOT_MAX_SIZE       0x100000        /* 'boot.elf' max size.         */
27
28// arch_info temporary segment
29#define ARCHINFO_BASE       0x200000        /* 'arch_info.bin' base address */
30#define ARCHINFO_MAX_SIZE   0x200000        /* 'arch_info.bin' max size.    */
31
32// kernel code temporary segment
33#define KERN_BASE           0x400000        /* 'kernel.elf' base address    */
34#define KERN_MAX_SIZE       0x100000        /* 'kernel.elf' max size.       */
35
36// Preloader temporary segment
37#define PRELOADER_BASE      0x0             /* Preloader base address.      */
38#define PRELOADER_MAX_SIZE  0x100000        /* Preloader max size.          */
39
40// Temporary stacks segments
41#define BOOT_STACK_BASE     0x504000        /* Boot stack base address.     */
42#define BOOT_STACK_SIZE     0x1000          /* Boot stack size (4Kb)        */
43
44// Pas clair du tout TODO   [AG]
45#define KERN_IMG_TMP_BASE   0X600000
46
47#endif  // _BOOT_CONFIG_H
Note: See TracBrowser for help on using the repository browser.