📄 shannon.h
字号:
/* * shannon.h: SHANNON specific defines * * Copyright (C) 2001 Erik Mouw (J.A.K.Mouw@its.tudelft.nl) * * $Id: shannon.h,v 1.5 2001/12/08 07:04:30 timriker Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */#ident "$Id: shannon.h,v 1.5 2001/12/08 07:04:30 timriker Exp $"#ifndef BLOB_ARCH_SHANNON_H#define BLOB_ARCH_SHANNON_H/* boot CPU speed */#define CPU_SPEED (0x09)/* serial port */#define USE_SERIAL3/* GPIO for the LED */#define LED_GPIO (0x00000000) /* safe mode: no GPIO, no LED *//* Shannon memory layout is a bit precious because we want to be able * to load blob at the correct location for both 8 and 32MB * SODIMMs. We assume that the following amount of memory is at least * available in both situations: * * 1MB @ 0xc0000000 * 1MB @ 0xc8000000 * 4MB @ 0xd0000000 * 4MB @ 0xd8000000 * *//* the base address were blob-rest is loaded by the first stage loader */#define BLOB_ABS_BASE_ADDR (0xc8000400)/* where do various parts live in RAM */#define BLOB_RAM_BASE (0xc0120000)#define KERNEL_RAM_BASE (0xc0008000)#define PARAM_RAM_BASE (0xc8040000)#define RAMDISK_RAM_BASE (0xd0000000)#define PARAM_START PARAM_RAM_BASE/* and where do they live in flash */#define BLOB_FLASH_BASE (0x00000000)#define BLOB_FLASH_LEN (64 * 1024)#define PARAM_FLASH_BASE (BLOB_FLASH_BASE + BLOB_FLASH_LEN)#define PARAM_FLASH_LEN (64 * 1024)#define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN)#define KERNEL_FLASH_LEN ((1024 - 128) * 1024)#define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN)#define RAMDISK_FLASH_LEN (4 * 1024 * 1024 - BLOB_FLASH_LEN - PARAM_FLASH_LEN - KERNEL_FLASH_LEN)/* the position of the kernel boot parameters */#define BOOT_PARAMS (0xc0000100)/* the size (in kbytes) to which the compressed ramdisk expands */#define RAMDISK_SIZE (8 * 1024)#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -