#include <stdio.h> #define AHB_HBURST_SINGLE 0x0 #define AHB_HWRITE_READ 0x0 next.htrans = AHB_HTRANS_IDLE; wait_for = period; } next.htrans = AHB_HTRANS_IDLE; wait_for = period; wait_for = delay; void advanceClock(){ void convHexToBinary(char* dst, int data, int size){ char c = '0' + ((data>>i) & 0x00000001); void printSignal(void){ convHexToBinary(htrans,curr.htrans,2); fprintf(fp,"%s.htrans\t<= %s;\n",sig_name,htrans); fprintf(fp,"wait for %d ns;\n",wait_for); int main(){ setWriteDataInt32((int*)0x9000000,0x00000030); setWaitFor(200); setReadDataInt32((int*)0x9000000); setWaitFor(200); setWriteDataInt32((int*)0x9010000,0x0000000a); setWriteDataInt32((int*)0x9010004,0x00000002); setWriteDataInt32((int*)0x9000000,0x00000003); setWaitFor(200); } |
*EB에서 NFS를 mount하기 위한 debian 서버 설정 |
현재설정 Environment size: nfs쓸때 |
지금까지 작업하던 rev D 보드를 돌려주고 revC를 받아옴. Address Name |
드디어 돌아간다 Flash Area Base 0x40000000 Address Name Flash Area Base 0x40040000 Address Name Flash Area Base 0x44000000 Address Name Flash Area Base 0x44040000 Address Name |
http://www.arm.com/support/faqdev/14409.html
Applies to: AB926EJ-S, Core Tiles, Emulation Baseboard (EB), PB926EJ-S, Versatile Note: the examples below are using an Emulation Baseboard (EB) with a CT11MPCore. For other systems, the file names and paths will be slightly different but the procedures will be the same. It should be pointed out that ARM does not support Linux. These instructions are provided in order to assist customers who are using our development boards and for some reason need to rebuild one of the kernel images posted on http://www.arm.com/linux/linux_download.html. This FAQ assumes that you are building the kernel on an x86 Linux host. The file and path names here refer to the versions available at the time of writing. These will change in future releases - modify the command lines accordingly. 1. Downloading the required files Ensure that there is at least 250Mb of storage space available on the computer where you intend to build the kernel - this will be required for building. Download the following files from the ARM Linux Download page to a work directory on your build computer:
2. Extracting the downloaded components Extract the toolchain into the work directory and set up the CROSS_COMPILE environment variable: $ mkdir codesourcery
$ tar -C codesourcery $ export CROSS_COMPILE="$PWD/codesourcery/bin/arm-none-linux-gnueabi-"
Extract the pre-built U-Boot package and add the current directory (where the mkimage utility was extracted) to the PATH:$ tar xzf U-Boot-RealView-EB.tar.gz
$ export PATH="$PATH:$PWD"
Extract and patch the kernel source and set up the ARCH environment variable:$ tar xjf linux-2.6.17.tar.bz2
$ cd linux-2.6.17
$ gzip -cd ../patch-2.6.17-arm1.gz | patch -p1
$ cd ..
$ export ARCH=arm
Extract the pre-built Linux kernel image: $ tar xzf Image-RealView-EB-2.6.17-arm1.tar.gz
3. Configuring and building the Linux kernel It is highly recommended you start with an existing configuration file from one of the prebuilt kernel packages. Copy this into your Linux source tree, renaming it .config:$ cp kernel/src/2.6.17/configs/config-2.6.17-arm1-realview-eb-mpcore Import the configuration settings from the new .config:$ cd linux-2.6.17
$ make oldconfig
Modify the configuration to suit your purposes using
Now build your kernel: $ make uImage
After the build has completed, the resulting uImage will be located in the arch/arm/boot directory.
|
http://www.arm.com/support/faqdev/14586.html
|
보드에 linux 올리기
|
http://www.arm.com/support/downloads/info/11950.html
------------------------------------------------------------------- Progcards - ARM 개발 보드의 programmable logic 에 이미지를 올리기 위해 사용되는 프로그램 |
FPGA 이미지 보드에 올리기 from RealView™ Emulation Baseboard User Guide
------------------------------------------------------------------------- http://infocenter.arm.com/help/topic/com.arm.doc.dui0303c/DUI0303C_emulation_baseboard_user_guide.pdf 2.9. Loading FPGA and PLD imagesThis section describes the format of the board files and how to use the
|