[Avila] loading redboot image without using JTAG or flash burners

David Acker dacker at roinet.com
Wed Feb 28 10:33:41 EST 2007


Bhanu Prakash Adhikari wrote:
> Hi,
> 
> I succeed in building redboot with arm-elf toolchains.
> 
> I want to load redboot image for ROM or RAM on Avila board.
> 
> Do we have some guidance document or procedure to do it?
> 

For the 3rd time....as far as I know, if your current redboot is in rom 
mode, you will need to boot linux (or some other os) and overwrite it 
from there.  Make sure linux is configured to have redboot partition 
support on.

#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
CONFIG_MTD_CONCAT=y
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_REDBOOT_PARTS=y
CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_AFS_PARTS is not set

Then use a tool like flashcp.  See mtd utils .

bash-3.1# flash_unlock /dev/mtd0
bash-3.1# flashcp -v redboot.bin /dev/mtd0
bash-3.1# reboot

Good luck!

-Ack





More information about the Avila mailing list