⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 redboot.ebsa285

📁 Intel XScale PXA255 引导Linux的Redboot 版bootloader源代码!
💻 EBSA285
📖 第 1 页 / 共 2 页
字号:
        You have now updated your board completely.  Phew!5. To update RedBoot with a new version of RedBoot, it is necessary to run   a RAM-based version of RedBoot which itself re-writes the ROM-based one,   because you can't re-write the code that is executing at the time.   RedBoot> fi lo RedBoot[backup]   RedBoot> g   +   RedBoot(tm) debug environment - built 07:45:57, Aug  7 2000   Copyright (C) 2000, Red Hat, Inc.      RAM: 0x00000000-0x01000000   FLASH: 0x41000000 - 0x41400000, 16 blocks of 0x00040000 bytes ea.   IP: 192.168.1.25, Default server: 192.168.1.101   show tcp = 0x00030d48   RedBoot>         .. continue with step 3, using whatever your new boot image is called        in the TFTP-place, in .srec format.You probably also want to set up then environment with your own IPaddresses and so on.  Recall that this IP address is the one you use forGDB to talk to the board, not the IP address which the eCos applicationwill take on (by BOOTP/DHCP or whatever means according to configury asusual).   RedBoot> fconfig   Network debug at boot time: false    Use BOOTP for network configuration: false    Local IP address: 192.168.1.25    Default server IP address: 192.168.1.101    GDB connection port: 1000    Run script at boot: false    RedBoot> Building RedBoot----------------To rebuild RedBoot from source, first cut out the attached configurationexport file "redboot.RAM" and save it somewhere, say /tmp/redboot.RAM  mkdir redboot  cd redboot  ecosconfig new ebsa redboot  ecosconfig import /tmp/redboot.RAM  ecosconfig tree  makeTo build the ROM version, in a different build/config directory, justchange the startup mode (at the end of the export file) and add an enableof CYGSEM_HAL_ROM_MONITOR, or use the attached config export redboot.ROM.The resulting files will be, in each of the ROM and RAM startup buildplaces:   70456     ..../install/bin/redboot.bin  433104     ..../install/bin/redboot.elf   91407     ..../install/bin/redboot.img  194732     ..../install/bin/redboot.srecThe .elf and .srec files have the obvious relationship to those supplied inthe "loaders/arm-ebsa285" directory in the install.Here are the redboot.RAM and .ROM configuration exports:=========================== redboot.RAM =====================================cdl_savefile_version 1;cdl_savefile_command cdl_savefile_version {};cdl_savefile_command cdl_savefile_command {};cdl_savefile_command cdl_configuration { description hardware template package };cdl_savefile_command cdl_package { value_source user_value wizard_value inferred_value };cdl_savefile_command cdl_component { value_source user_value wizard_value inferred_value };cdl_savefile_command cdl_option { value_source user_value wizard_value inferred_value };cdl_savefile_command cdl_interface { value_source user_value wizard_value inferred_value };cdl_configuration eCos {    description "" ;    hardware    ebsa285 ;    template    redboot ;    package -hardware CYGPKG_HAL_ARM current ;    package -hardware CYGPKG_HAL_ARM_EBSA285 current ;    package -hardware CYGPKG_IO_PCI current ;    package -hardware CYGPKG_DEVS_ETH_ARM_EBSA285 current ;    package -hardware CYGPKG_IO_SERIAL_ARM_EBSA285 current ;    package -hardware CYGPKG_DEVICES_WATCHDOG_ARM_EBSA285 current ;    package -template CYGPKG_HAL current ;    package -template CYGPKG_INFRA current ;    package -template CYGPKG_REDBOOT current ;    package CYGPKG_IO_FLASH current ;    package CYGPKG_IO_ETH_DRIVERS current ;    package CYGPKG_DEVS_FLASH_EBSA285 current ;};cdl_option CYGBLD_BUILD_GDB_STUBS {    user_value 0};cdl_option CYGDBG_DEVS_ETH_ARM_EBSA285_CHATTER {    user_value 0};cdl_option CYGNUM_DEVS_ETH_ARM_EBSA285_DEV_COUNT {    user_value 1};cdl_option CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS {    inferred_value 1};cdl_option CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT {    inferred_value 0};cdl_option CYGSEM_HAL_VIRTUAL_VECTOR_DIAG {    user_value 1};cdl_option CYGSEM_HAL_USE_ROM_MONITOR {    inferred_value 0 0};cdl_option CYGBLD_BUILD_REDBOOT {    user_value 1};cdl_component CYG_HAL_STARTUP {    user_value RAM};=========================== redboot.RAM ================================================================ redboot.ROM =====================================cdl_savefile_version 1;cdl_savefile_command cdl_savefile_version {};cdl_savefile_command cdl_savefile_command {};cdl_savefile_command cdl_configuration { description hardware template package };cdl_savefile_command cdl_package { value_source user_value wizard_value inferred_value };cdl_savefile_command cdl_component { value_source user_value wizard_value inferred_value };cdl_savefile_command cdl_option { value_source user_value wizard_value inferred_value };cdl_savefile_command cdl_interface { value_source user_value wizard_value inferred_value };cdl_configuration eCos {    description "" ;    hardware    ebsa285 ;    template    redboot ;    package -hardware CYGPKG_HAL_ARM current ;    package -hardware CYGPKG_HAL_ARM_EBSA285 current ;    package -hardware CYGPKG_IO_PCI current ;    package -hardware CYGPKG_DEVS_ETH_ARM_EBSA285 current ;    package -hardware CYGPKG_IO_SERIAL_ARM_EBSA285 current ;    package -hardware CYGPKG_DEVICES_WATCHDOG_ARM_EBSA285 current ;    package -template CYGPKG_HAL current ;    package -template CYGPKG_INFRA current ;    package -template CYGPKG_REDBOOT current ;    package CYGPKG_IO_FLASH current ;    package CYGPKG_IO_ETH_DRIVERS current ;    package CYGPKG_DEVS_FLASH_EBSA285 current ;};cdl_option CYGBLD_BUILD_GDB_STUBS {    user_value 0};cdl_option CYGDBG_DEVS_ETH_ARM_EBSA285_CHATTER {    user_value 0};cdl_option CYGNUM_DEVS_ETH_ARM_EBSA285_DEV_COUNT {    user_value 1};cdl_option CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS {    inferred_value 1};cdl_option CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT {    inferred_value 0};cdl_option CYGSEM_HAL_VIRTUAL_VECTOR_DIAG {    user_value 1};cdl_option CYGSEM_HAL_USE_ROM_MONITOR {    inferred_value 0 0};cdl_option CYGBLD_BUILD_REDBOOT {    user_value 1};cdl_component CYG_HAL_STARTUP {    user_value ROM};cdl_option CYGSEM_HAL_ROM_MONITOR {    user_value 1};=========================== redboot.ROM =====================================[end]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -