Hi Jarno, Please see my comments inline below Radde, Jarno wrote:
U-Boot is getting loaded after sending it to the 1st stage bootloader. The download of the configuration script works to and is stored in theflash. One thing that seems strage for me is that it says:## Booting image at 280c0000 ... Bad Magic Number I have no network connection to the board so I am using kermit todownload the u-boot-s.bin. Instead ofU-Boot> tftp $(clobstart) u-boot-s.bin I send the file using kermit U-Boot> loadb $(clobstart) ## Ready for binary (kermit) download to 0x10000000 at 115200 bps... ## Total Size = 0x0001c894 = 116884 Bytes ## Start Addr = 0x10000000 Like this. The next steps in the tutorial and their results are: U-Boot> protect off $(bootstart) +$(bootsize) Un-Protected 1 sectors This seems to work. U-Boot> erase $(bootstart) +$(bootsize) Flash erase error at address 28000000 done Erased 1 sectors WTF? This seems not to work. I don't know why.
Is your flash actually at 0x28000000 (ie have you changed the address of the flash from the default ML401 design?) If it's not, the errors you are seeing may be because u-boot (and possibly your kernel image) is out of sync with reality.
After you copy the finished EDK project across to Linux from Windows, you must run the "petalinux-copy-autoconfig" script to copy the new auto-config.in file into the correct place in the kernel tree. This script must be run from within that EDK project directory.
You will probably also need to run dos2unix on the auto-config.in file to remove CR/LF characters.
Until u-boot can see and erase flash then there's no point in trying the "cp" and other following commands.
Let us know how you go John ___________________________ microblaze-uclinux mailing list microblaze-uclinux@xxxxxxxxxxxxxx Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/