Hi all,
I'm trying to revive efforts to get PetaLinux working on a Xilinx ML505
board. I've read all the posts from the last 3 months that are at all
related, and have made some progress. Things are still not working
though. My framework has been the PetaLinux Platform From Scratch
tutorial found at
http://developer.petalogix.com/wiki/BoardGuides/Custom/Tutorial. I'm
using petalinux-v0.2.0-rc3, ISE 9.1.03, and EDK 9.1.02 with all relevant
updates. I have made whatever tweaks and adjustments have been needed to
get everything to compile and work to this point. Some of those tweaks
have been documented elsewhere, and others I made up on the fly. If you
have questions about what I've done, please ask, and I'll rack my brains
to remember what I did.
--As a side note, excellent work from the Petalogix group. Thank you.
In my current configuration, I can load the FPGA, and FS_Boot comes up
looking for an image. There is not an image in flash, so it waits for one
to be sent. I send the U-Boot image through kermit, and that works fine.
The U-Boot prompt comes up, and I have access to all the commands it
provides. I can send the ub.config.img file just fine, but the problem
I'm facing comes when I try to run that script. Everything works until it
tries to mess with the flash memory. It says I have locked blocks in the
flash. The exact output is as follows:
PetaLogix MicroBlaze-Auto Board Configuration
-----------------------------------------------------------------------
Network Configuration:
MTD Configuration:
Clobber DRAM Configuration:
Bootloader Configuration:
Kernel Configuration:
Boot Configuration:
Saving Configurations...
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
Flash erase error at address 4a040000
Block Erase Error.
Block locked.
done
Erased 1 sectors
U-Boot>
I have tried just about everything I can think of to test this flash
memory from the U-Boot prompt. I can use protect off and on, and flinfo
shows me that protection turns on and off, but any time I try erase, it
says:
Flash erase error at address XXXXXXXX
Block Erase Error,
Block locked.
And it repeats that message for all blocks attempted.
I'd appreciate any suggestions on this.
Thanks,
Justin Moon