Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 161fbda in mainline


Ignore:
Timestamp:
2012-03-05T21:44:00Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
77b52f0
Parents:
fcc6224
Message:

kernel,arm32: Add BeagleBoard-xM (MD37x) memory information.

Location:
kernel/arch/arm32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/_link.ld.in

    rfcc6224 r161fbda  
    99#ifdef MACHINE_gta02
    1010#define KERNEL_LOAD_ADDRESS 0xb0a08000
     11#elif defined MACHINE_beagleboardxm
     12#define KERNEL_LOAD_ADDRESS 0x80a00000
    1113#else
    1214#define KERNEL_LOAD_ADDRESS 0x80a00000
  • kernel/arch/arm32/include/mm/frame.h

    rfcc6224 r161fbda  
    4848#ifdef MACHINE_gta02
    4949#define BOOT_PAGE_TABLE_ADDRESS  0x30010000
     50#elif defined MACHINE_beagleboardxm
     51#define BOOT_PAGE_TABLE_ADDRESS  0x80008000
    5052#else
    5153#define BOOT_PAGE_TABLE_ADDRESS  0x00008000
     
    5759#ifdef MACHINE_gta02
    5860#define PHYSMEM_START_ADDR      0x30008000
     61#elif defined MACHINE_beagleboardxm
     62#define PHYSMEM_START_ADDR      0x80000000
    5963#else
    6064#define PHYSMEM_START_ADDR      0x00000000
  • kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c

    rfcc6224 r161fbda  
    5252static size_t bbxm_get_irq_count(void);
    5353static const char *bbxm_get_platform_name(void);
     54
     55#define BBXM_MEMORY_START       0x80000000      /* physical */
     56#define BBXM_MEMORY_SIZE        0x10000000      /* 256 MB, first chunk */
    5457
    5558static struct beagleboard {
     
    123126{
    124127        // FIXME: This is just a guess...
    125         *start = 0;
    126         *size = 256 * 1024 * 1024;
     128        *start = BBXM_MEMORY_START;
     129        *size = BBXM_MEMORY_SIZE;
    127130}
    128131
Note: See TracChangeset for help on using the changeset viewer.