http://git.kernel.org/?p=linux/kernel/git/kki_ap/samsung-ap-2.6.git;a=summary
'Kernel Porting > Linux' 카테고리의 다른 글
| 구글 안드로이드 오픈소스 프로젝트 사이트 .... (0) | 2008/10/22 |
|---|---|
| KELP 이규명님 프레임버퍼 테스트 소스 .... (0) | 2007/12/28 |
| MMAP 예제 ... (0) | 2007/12/18 |
| 구글 안드로이드 오픈소스 프로젝트 사이트 .... (0) | 2008/10/22 |
|---|---|
| KELP 이규명님 프레임버퍼 테스트 소스 .... (0) | 2007/12/28 |
| MMAP 예제 ... (0) | 2007/12/18 |
| Mozilla.org에서 다운로드한 미니모질라 소스 ...... (0) | 2008/03/28 |
|---|
| IPV6 & IPV4 Header 구조 ... (0) | 2008/02/17 |
|---|
| How can I implement BL_JUMP mode in eboot to jump to a existing OS (0) | 2008/02/09 |
|---|---|
| WINCE 어드레스 맵핑 .... (0) | 2008/02/08 |
// BANK_A BOOT AREA
#define OEM_MEM_BOOTLOADER_START 0x00000000
#define OEM_MEM_BOOTLOADER_SIZE 0x200
#define OEM_MEM_BOOTLOADER_SAVE_START 0x00008000
#define OEM_MEM_BOOTLOADER_SAVE_SIZE 0x200
#define OEM_MEM_PAGE_TABLE_START 0x00010000
#define OEM_MEM_PAGE_TABLE_SIZE 0x1000
#define OEM_MEM_BOOTARG_START 0x00018000
#define OEM_MEM_BOOTARG_SIZE 0x600
#define OEM_MEM_MBOOT_START 0x00020000
#define OEM_MEM_MBOOT_SIZE 0x3f800
#define OEM_MEM_IMAGE_SHARE_ARGS_PA_START 0x00080000
#define OEM_MEM_IMAGE_SHARE_ARGS_PA_SIZE 0x180000
#define OEM_MEM_OSIMAGE_START 0x80200000
#define OEM_MEM_NANDSAVE_BUFFER_START 0x83900000
#include <windows.h>
#include <bsp.h>
typedef void (ApplicationFunction)(void);
#define ApplicationStart ((ApplicationFunction*)OEM_MEM_MBOOT_START)
extern"C"
extern void ReadNand( unsigned int* Dst, unsigned int NANDPage, int Size4 );
extern"C"
void BootMain(void)
{
// Nand use fixed power
// Nand interface is not shared any gpio
// NAND_nWP seted to Low ( only read, write protected ) but Anything will do.
//--------------------------------------------------------------------------
// Read copy from NAND Flash
ReadNand( (unsigned int*)OEM_MEM_MBOOT_START, OEM_NAND_MBOOT_START, OEM_NAND_MBOOT_SIZE);
for (register int i=0; i<OEM_NAND_BOOTLOADER_SIZE; i++) //copy bootloader except cpu vectors area for nand save
*(unsigned char*)(i+OEM_MEM_BOOTLOADER_SAVE_START)= *(unsigned char *)(i);
//--------------------------------------------------------------------------
// go to MultiBootloader
ApplicationStart();
}
OEM_SYSTEM_ADDRTABLE.h
// Virtual, Physical, Size(MB)
// Hole Space Address
0x80000000, 0x00000000, 64, // BANK_A
0x88000000, 0x40000000, 32, // BANK_B
0x90200000, 0x80000000, 1, // nSCS0
0x90300000, 0x84000000, 1, // nSCS1
0x90400000, 0x88000000, 1, // nSCS2
0x90500000, 0x8c000000, 1, // DTK:EthernetI/O
0x90600000, 0x8d000000, 1, // DTK:EthernetMem
0x90700000, 0x8e000000, 1, // DTK:SRAM
0x90800000, 0x8f000000, 1, // DTK:Debug
0x90900000, 0x9c000000, 1, // NANDFlash
0x94000000, 0xa0000000, 64, // PCMCIA#0IO
0x98000000, 0xa4000000, 64, // PCMCIA#1
0x9c000000, 0xa8000000, 64, // PCMCIA#0MEM
0x90a00000, 0xbc000000, 1, // IDE
0x90000000, 0xc0000000, 1, // NOMALIO
0x90100000, 0xe0000000, 1, // FASTIO
0,
#include <windows.h>
#include <mes_mp2530f.h>
#include <OEM_SYSTEM.h>
const DWORD g_oalAddressTable[] = {
#include "OEM_SYSTEM_ADDRTABLE.h"
};
extern void KernelStart(PDWORD pAddress);
void BootMain(PDWORD pAddressTable)
{
KernelStart(pAddressTable);
}
| How can I implement BL_JUMP mode in eboot to jump to a existing OS (0) | 2008/02/09 |
|---|---|
| WINCE 어드레스 맵핑 .... (0) | 2008/02/08 |
| DirectX 9.0 한글 사이트 ... (0) | 2008/02/02 |
|---|
| 후지쯔노트북 A6020 WIN-XP 설치 가이드 .... (0) | 2007/12/30 |
|---|---|
| 내가 요즈음 구매해서 아끼는 물건 ... (0) | 2007/12/13 |
| 구글 안드로이드 오픈소스 프로젝트 사이트 .... (0) | 2008/10/22 |
|---|---|
| KELP 이규명님 프레임버퍼 테스트 소스 .... (0) | 2007/12/28 |
| MMAP 예제 ... (0) | 2007/12/18 |