Changeset 6 for trunk/tools/bootloader_tsar/boot_config.h
- Timestamp:
- Apr 26, 2017, 2:14:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bootloader_tsar/boot_config.h
r1 r6 1 /**************************************************************************** 2 * This file defines various hardware and configuration parameters for the * 3 * ALMOS-MKH boot-loader. * 4 ****************************************************************************/ 1 /********************************************************************************* 2 * This file defines various configuration parameters for ALMOS-MKH boot-loader. 3 ********************************************************************************/ 5 4 6 5 #ifndef _BOOT_CONFIG_H … … 8 7 9 8 // Debug options 10 #define DEBUG_BOOT_INFO 111 #define DEBUG_BOOT_ELF 19 #define DEBUG_BOOT_INFO 0 10 #define DEBUG_BOOT_ELF 0 12 11 #define DEBUG_BOOT_IOC 0 13 #define DEBUG_BOOT_ FAT32114 #define USE_FIXED_FORMAT012 #define DEBUG_BOOT_WAKUP 1 13 #define DEBUG_BOOT_FAT32 0 15 14 16 // io_cluster identifier17 #define IO_CXY 015 // Core identifier format 16 #define USE_FIXED_FORMAT 1 18 17 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 18 // cache line 19 #define CACHE_LINE_SIZE 64 20 21 // Preloader temporary segment 22 #define PRELOADER_BASE 0x0 /* Preloader base address. */ 23 #define PRELOADER_MAX_SIZE 0x4000 /* Preloader max size. */ 23 24 24 25 // boot code temporary segment 25 26 #define BOOT_BASE 0x100000 /* 'boot.elf' base address. */ 26 #define BOOT_MAX_SIZE 0x 100000 /* 'boot.elf' max size. */27 #define BOOT_MAX_SIZE 0x010000 /* 'boot.elf' max size. */ 27 28 28 29 // arch_info temporary segment 29 #define ARCHINFO_BASE 0x200000 /* 'arch_info.bin' base address */30 #define ARCHINFO_MAX_SIZE 0x 200000 /* 'arch_info.bin'max size. */30 #define ARCHINFO_BASE 0x200000 /* 'arch_info.bin' file base address */ 31 #define ARCHINFO_MAX_SIZE 0x010000 /* 'arch_info.bin' file max size. */ 31 32 32 33 // 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. */ 34 #define KERN_BASE 0x400000 /* 'kernel.elf' file base address */ 35 #define KERN_MAX_SIZE 0x100000 /* 'kernel.elf' file max size. */ 39 36 40 37 // Temporary stacks segments 41 38 #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 39 #define BOOT_STACK_SIZE 0x4000 /* Boot stack size (16Kb) */ 46 40 47 41 #endif // _BOOT_CONFIG_H
Note: See TracChangeset
for help on using the changeset viewer.