OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/orpsocv2
    from Rev 462 to Rev 465
    Reverse comparison

Rev 462 → Rev 465

/sw/apps/spiflash/Makefile
31,7 → 31,7
 
include $(SW_ROOT)/Makefile.inc
 
OR32_LDFLAGS = -lgcc -Tspiflash-program.ld -e 256
OR32_LDFLAGS = -L$(SW_ROOT)/lib -lorpsoc -lgcc -Tspiflash-program.ld -e 256
 
$(SW_ROOT)/utils/bin2binsizeword:
$(Q)$(MAKE) -C $(SW_ROOT)/utils bin2binsizeword
/sw/apps/spiflash/README
38,8 → 38,15
variable PROGRAMMINGFILE should be set to point to myapp.bin, the binary
version of the program we are to load into the flash memory.
 
# make spiflash-program.elf PROGRAMMINGFILE=/path/to/myapp.bin
To ensure the correct settings for UART and other peripherals are picked up
ensure the BOARD_PATH variable is set correctly, too.
 
# make spiflash-program.elf PROGRAMMINGFILE=/path/to/myapp.bin \
BOARD_PATH=`pwd`/../../../actel/ordb1a3pe1500
 
It's advisable to do a "make distclean" first, to clear out any previously
compiled software for other boards.
 
The steps to embed the size of the program in the binary and then link it
into the final executable are all done automatically by the Makefile.
 
48,6 → 55,7
do the programming (and verification of the image) and 'v' will verify the
image again.
 
Warning:
Note that in the flash on the ORSoC dev board, there appears to be 3 pages,
either pages 130-132 or pages 180-182 which do not provide reliable data when
read from. The cause of this is unknown. If this is a big problem, be sure that

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.