Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SYStem.LOG.off
- system.LOG.clear
- SYStem.LOG.list
- SYStem.LOG.OPEN /home/leroy/flash.log
- SYStem.LOG.on
- PRINT "resetting..."
- SYStem.Down
- TASK.RESet
- Break.Delete
- MAP.RESet
- sYmbol.RESet
- TRANSlation.RESet
- ; Initializing Debugger
- PRINT "initializing..."
- SYStem.CPU PXA270
- SYStem.Option TRST OFF ; necessary for the phyCORE board
- SYStem.Option WaitReset ON ; necessary for the phyCORE board
- SYStem.Option DACR ON ; give Debugger global write permissions
- SYStem.Option DynVector OFF ; automatic detection of vector table move
- TrOnchip.Set DABORT OFF ; used by Linux for page miss!
- TrOnchip.Set PABORT OFF ; used by Linux for page miss!
- TrOnchip.Set UNDEF OFF ; used by Linux for FPU detection
- SYStem.Option MMUSPACES OFF ; disable space ids to virtual addresses
- SYStem.JtagClock 4.0MHz ; 25.0MHz may cause troubles
- SYStem.Up
- ; Set Memory settings
- PER.Set.simple ASD:0x48000008 %Long 0x7FFC35B2 ; MSC0
- PER.Set.simple ASD:0x4800000C %Long 0x128C128C ; MSC1
- PER.Set.simple ASD:0x48000010 %Long 0x236C1281 ; MSC2
- PER.Set.simple ASD:0x48000000 %Long 0x08000AC9 ; MDCNFG
- PER.Set.simple ASD:0x48000004 %Long 0x01018018 ; MDREFR
- PER.Set.simple ASD:0x48000040 %Long 0x00000000 ; MDMRS
- PER.Set.simple ASD:0x4800001C %Long 0x00000000 ; SXCNFG
- ; external bus interface
- FLASH.RESet
- ; reset the FLASH declaration
- FLASH.CFI 0x00000000 L
- ; declare FLASH sectors via
- ; CFI query
- ;FLASH.CHANGEtype ALL AM29F100
- ; change type to AM29F100 to use "word wise" mode
- FLASH.UNLOCK ALL
- ; unlock FLASH if required
- FLASH.ReProgram ALL
- ; enable the FLASH for programming
- ;Data.LOAD.auto /home/lai/devel/uboot-2017-01/u-boot.bin
- Data.LOAD.binary /tftpboot/u-boot-rioms-pxa270.bin D:0x00000000--0x1FFFF
- ; load the programming file
- FLASH.ReProgram off
- ; program the FLASH and disable
- ; the FLASH programming
- SYStem.LOG.off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement