Difference between revisions of "Target Software Installation"
(→Flash memory partitions) |
(→Flash memory partitions) |
||
Line 4: | Line 4: | ||
! width="66%" | Address range !! type | ! width="66%" | Address range !! type | ||
|- align="center" | |- align="center" | ||
− | |0x10000000 - 0x10040000 | + | |0x10000000 - 0x10040000 ( 256KB ) |
| U-Boot | | U-Boot | ||
|- align="center" | |- align="center" | ||
− | |0x10040000 - 0x10060000 | + | |0x10040000 - 0x10060000 ( 128KB ) |
| U-Boot environment variables | | U-Boot environment variables | ||
|- align="center" | |- align="center" | ||
− | |0x10060000 - 0x100A0000 | + | |0x10060000 - 0x100A0000 ( 256KB ) |
| FPGA bitfile | | FPGA bitfile | ||
|- align="center" | |- align="center" | ||
− | |0x100A0000 - 0x10220000 | + | |0x100A0000 - 0x10220000 ( 1.5MB ) |
| Linux kernel image | | Linux kernel image | ||
|- align="center" | |- align="center" | ||
− | |0x10220000 - end of flash | + | |0x10220000 - end of flash ( ~6MB ) |
| Root filesystem | | Root filesystem | ||
|} | |} |
Revision as of 20:59, 27 January 2007
Contents
Flash memory partitions
Address range | type |
---|---|
0x10000000 - 0x10040000 ( 256KB ) | U-Boot |
0x10040000 - 0x10060000 ( 128KB ) | U-Boot environment variables |
0x10060000 - 0x100A0000 ( 256KB ) | FPGA bitfile |
0x100A0000 - 0x10220000 ( 1.5MB ) | Linux kernel image |
0x10220000 - end of flash ( ~6MB ) | Root filesystem |
Linux kernel installation
First check your kernel size is smaller than the armadeus kernel partiiton (ex 1MB) How ?????????????????????????? Load kernel image with u-boot through network:
BIOS> tftpboot 08000000 pathtoyourhostedbuildrootdir/linux-kernel-2.6.12-arm.bin
or serial line:
BIOS> loadb 08000000 Ctrl+Altgr+c to access kermit command line then... send pathtoyourhostedbuildrootdir/linux-kernel-2.6.12-arm.bin the you can type the c command to reconnect to the terminal
Flash kernel image with:
BIOS> run flash_kernel
!!! WARNING!! If the new kernel is too large, this operation can destroy data that is stored behind the kernel (e.g. rootfs) !!! Check that Bytes transferred = 1040676 (fe124 hex) value is less than 0xfffff ????????????????????????,
Linux rootfs installation
Load rootfs image with u-boot through network:
BIOS> tftpboot 08000000 pathtoyourhostedbuildrootdir/rootfs.arm_nofpu.jffs2
or serial line:
BIOS> loadb 08000000 Ctrl+Altgr+\+c to access kermit command line then... send pathtoyourhostedbuildrootdir/rootfs.arm_nofpu.jffs2
the you can type the c command to reconnect to the terminal
Flash rootfs image with:
BIOS> run flash_rootfs
Now you should be ready to test linux:
BIOS> boot
FPGA firmware installation
The FPGA firmwares are in the armadeus/software/firmware tree You can make some trials with the armadeus/software/firmware/ps2/ps2_top.bin file !!! check your file size is smaller than the firmware partition size (AKA 256KB)
Load FPGA firmware image file with u-boot through network:
BIOS> tftpboot 08000000 pathtoyourhostedfirmwaredir/fpgafirmware.bin
or serial line:
BIOS> loadb 08000000 Ctrl+Altgr+\+c to access kermit command line then... C-Kermit> send pathtoyourhostedfirmwaredir/fpgafirmware.bin
then you can type the c command to reconnect to the terminal
Flash firmware image with:
BIOS> run flash_firmware
Test your new FPGA firmware:
BIOS> fpga load 0 ${firmware_addr} ${firmware_len}
When your are satisfied with your firmware you can make it autoloaded at power up:
BIOS> setenv firmware_autoload 1 BIOS> saveenv